Page 119
The Oracle7 Workgroup Server distributed and replication features provide a highly distributed client/server environment for the workgroups. The primary features include
This section introduces you to each of the preceding features. For detailed descriptions, refer to Oracle7 Server Distributed Systems, Volume I, "Distributed Data."
Database links enable connections between Oracle databases of a distributed system. A database link defines a unique path to a remote database:
create public database link stock using `stock.us';
stock is the name of the database link and stock.us is the path to a remote database. The three types of database links are private, public, and global. A private database link is owned and accessed by a specific user. A public database link can be accessed by any user. Both private and public database links can be created by users or DBAs. A global database link is created and managed by a global naming service, such as Oracle Names. Also, a global database link is created automatically for each database specified in Network Manager. It can be accessed by any user of any database in the network.
Once a database link is created, you can issue a distributed query to retrieve information from one or more remote tables at two or more nodes. You can also submit a query to join information from two or more remote tables. For example, the following distributed query joins information from two remote tables:
SELECT custname, phone, orderdesc, orderamt FROM app1.customer@market.us a, app2.order@sales.us b WHERE a.orderno = b.orderno;
Page 120
The Oracle7 Workgroup Server supports distributed update transaction with a two-phase commit mechanism, which guarantees the participating nodes either all commit or all roll back the transaction. This mechanism ensures the data integrity of the databases participating in the distributed transaction.
A snapshot is a copy of the entire table or a subset of a table. Read-only snapshots enable you to replicate data across Oracle7 databases; they are for queries only. You can retrieve data from read-only snapshots. The changes from a master table can propagate to its snapshot by refleshing the snapshot.
The Oracle*XA component contains the Oracle XA library, which is an external application program interface (API) that enables global transactions to be coordinated by a third-party transaction manager or transaction processing (TP) monitor, such as BEA Tuxedo, IBM CICS, and IBM Transarc Encina. The Oracle XA library subroutines provide the means for a transaction manager to inform an Oracle database how to handle and process the transactions. When you install the Oracle7 Workgroup Server products, the Oracle XA library is installed automatically.
The Oracle7 Workgroup Server supports the Oracle Open Gateway, which allows you to access data on a non-Oracle database, such as DB2 and Rdb. For example, the Oracle Transparent Gateway for DB2 enables you to access a DB2 database from an Oracle distributed database system. This process is transparent to the Oracle database users, so the users might not realize the data is from a remote, non-Oracle database. With the Oracle Open Gateway, you do not have to duplicate the data from non-Oracle databases to the Oracle database. The Oracle Open Gateway is not included in the Oracle7 Workgroup Server bundle.
Because of the similarities among the Oracle7 Server, the Oracle7 Workgroup Server, and the Personal Oracle7, it might not be obvious which product meets the needs of your client/server applications. This section suggests when it is appropriate to use the Oracle7 Workgroup Server and how the Oracle7 Workgroup Server meets your business and technical needs.
The Oracle7 Workgroup Server is appropriate in the following situations:
Page 121