Chapter 9. Deployingand Synchronizing Databases
Extracts(unloads) the relevant structures and/or data from the
consolidateddatabase to files
Loadsthose files into the newly created remote database
Toextract 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.
Notes Youcan also access this wizard by clicking Tools Adaptive Server
AnywhereExtract Database.
Ifyou use the wizard to extract a non-running database, it is only able to
unloadthe structure and data for you. Itcannot create the remote database
andreload it. Forthis reason, we recommend that you always extract
froma consolidated database that you are connected to in SybaseCentral.
Youcan also invoke the extraction wizard for a particular database or for
aparticular remote user—Sybase Central automatically fills in the
appropriateentries in the wizard.
Theextraction wizard always extracts (synchronizes) the remote database
usingthe WITH SYNCHRONIZATION option. In those rare cases
whereyou don’t want to use this option, you must use the
dbxtract
utility
instead.
Onlytables for users selected in the Filter Objects by Owner dialog
appearin the Extract Database wizard. Ifyou wish to view tables
belongingto a particular database user, right-click the database you are
unloading,choose Filter Objects by Owner from the popup menu, and
thenselect the desired user in the resulting dialog.
Formore information Forinformation about the extraction utility options, available as
command-lineoptions or as choices presented by the extraction wizard, see
“Extractionutility options” on page 306.
Designing an efficient extraction procedure
Itis very inefficient to create a large number of remote databases by running
theextraction utility for each one. Youcan make the process much more
efficient. This section describes one way of making the process more
efficient.
193