Chapter 9. Deploying and Synchronizing Databases

Notes

For more information

Extracts (unloads) the relevant structures and/or data from the consolidated database to files

Loads those files into the newly created remote database

To extract a database for a remote user (Sybase Central)

1. In the left pane, select the Adaptive Server Anywhere plug-in.

2. In the right pane, click the Utilities tab.

3. In the right pane, double-click Extract Database.

4. Follow the instructions in the wizard.

You can also access this wizard by clicking Tools Adaptive Server Anywhere Extract Database.

If you use the wizard to extract a non-running database, it is only able to unload the structure and data for you. It cannot create the remote database and reload it. For this reason, we recommend that you always extract from a consolidated database that you are connected to in Sybase Central.

You can also invoke the extraction wizard for a particular database or for a particular remote user—Sybase Central automatically fills in the appropriate entries in the wizard.

The extraction wizard always extracts (synchronizes) the remote database using the WITH SYNCHRONIZATION option. In those rare cases where you don’t want to use this option, you must use the dbxtract utility instead.

Only tables for users selected in the Filter Objects by Owner dialog appear in the Extract Database wizard. If you wish to view tables belonging to a particular database user, right-click the database you are unloading, choose Filter Objects by Owner from the popup menu, and then select the desired user in the resulting dialog.

For information about the extraction utility options, available as command-line options or as choices presented by the extraction wizard, see “Extraction utility options” on page 306 .

Designing an efficient extraction procedure

It is very inefficient to create a large number of remote databases by running the extraction utility for each one. You can make the process much more efficient. This section describes one way of making the process more efficient.

193

Page 211
Image 211
Sybase DC38133-01-0902-01 manual Designing an efficient extraction procedure