T.R | Title | User | Personal Name | Date | Lines |
---|
794.1 | From the mouth of Oracle Corp... | HGOVC::DEANGELIS | Momuntai | Wed Nov 14 1990 04:01 | 26 |
| From Oracle's SQL*DBA V6 manual...
"An ORACLE database can be used in a software configuration known as SQL*Star.
SQL*Star is a collection of software, installed to support distributed
processing or a distributed database, which usually includes the following
three ORACLE components:
ORACLE RDBMS: The ORACLE RDBMS inherently contains the functionality to
support distributed databases (for example, to support
distributed queries), location transparency, and site autonomy.
...
SQL*Connect: This product is a "gateway" product to non-ORACLE databases, in
particular SQL/DS and DB2. SQL*Connect permits some Oracle
Corporation tools to operate on the non-ORACLE databases as if
they were ORACLE databases. In conjunction with SQL*Net,
SQL*Connect can be used on remote databases.
SQL*Net: SQL*Net is the heterogeneous network interface component of
SQL*star. It allows data to be sent across communications
protocols and handles the transfer of data between various
databases."
If you need more detail, let me know.
John.
|
794.2 | is SQL*NET transparent to the application? | THEWAV::FRIEDMAN | Robin Friedman | Wed Nov 14 1990 22:08 | 9 |
| Thanks for the info...
Does an application specifically reference SQL*NET or is the location
of the DB transparent to the application?
For example:
I have an application running on a VAX accessing a DB
on the same VAX. If I decide to move the DB to an ULTRIX DB server
do I need to modify the application to reference the DB via SQL*NET?
|
794.3 | More on SQL*Net | HGOVC::DEANGELIS | Momuntai | Thu Nov 15 1990 04:42 | 54 |
| � <<< Note 794.2 by THEWAV::FRIEDMAN "Robin Friedman" >>>
� -< is SQL*NET transparent to the application? >-
� Does an application specifically reference SQL*NET or is the location
� of the DB transparent to the application?
Well, you need to tell Oracle at LOGON time where the database is located.
This depends on the interface of use, eg. With SQL*Forms, you typically start
it like this:
RUNFORM formname [username/password] [@driver-prefix:nodename]
If you leave off the driver/node part the database is assumed to be local. If
you include it, a connection is made to the remote database. However, once in
the form the database location is transparent to the application.
From programs, again you have to connect to the database you're going to use.
This is done in the code via an
EXEC SQL CONNECT usr IDENTIFIED BY passwd;
Here "usr" can refer to a username only, therefore the database is local, or
can include the driver/node spec identifying the database as remote. Once
connected, all other SQL statements remain unchanged.
You can use multiple databases via a different syntax, eg.
EXEC SQL BEGIN DECLARE...
char host1[20] = " d:london";
char host2[20] = " d:hkong";
EXEC SQL END DECLARE...
EXEC SQL DECLARE DB1 DATABASE;
EXEC SQL DECLARE DB2 DATABASE;
EXEC SQL CONNECT :usr IDENTIFIED BY :password
AT DB1 USING :host1
AT DB2 USING :host2;
EXEC SQL AT DB1 DECALRE cursor_name CURSOR FOR SELECT...;
EXEC SQL OPEN cursor_name...;
� For example:
� I have an application running on a VAX accessing a DB
� on the same VAX. If I decide to move the DB to an ULTRIX DB server
� do I need to modify the application to reference the DB via SQL*NET?
As you can see above you may or may not have to do this depending on your
interface and how you specify the connect.
The other issue here is whether SQL*Net supports VAX to Ultrix connections.
My current docs don't explicitly say whether this is supported. It does support
Decnet and TCP/IP protocols, but I don't know what other support is required.
John.
|
794.4 | SQL*Net is supposedly transparent | BROKE::THOMAS | | Fri Dec 14 1990 22:53 | 10 |
| I'm no expert on SQL*Net, but my understanding is that it provides
a transparent layer over DECnet, TCP/IP, X.25, and SNA. You need
to install the appropriate SQL*Net environment(s) on every system
connected, but after that, applications/databases can communicate
without needing to know the underlying communications protocol.
More on SQL*Connect -- SQL*Connect provides access to non-ORACLE
databases (DB2, SQL/DS, and RMS) from selected ORACLE tools, namely
SQL*Plus. Please note that SQL*Connect is not available from
SQL*Forms.
|