quiesce database

Description

Suspends and resumes updates to a specified list of databases.

Syntax

quiesce database < tag_name > hold < dbname list > [for external dump] 
	[to <manifest_file> [with override]]

or:

quiesce database tag_name release

Parameters

tag_name

is a user-defined name that designates the list of databases to hold or release. The tag_name must conform to the rules for identifiers.

database

is a database name.

for external dump

specifies that while updates to the databases in the list are suspended, you will physically copy all affected database devices, using some facility external to Adaptive Server. The copy operation is to serve as a replacement for the combination of dump database and load database.

manifest_file

the binary file which describes the databases that are present on a set of database devices. It can be created only if the set of databases that occupy those devices are isolated, self-contained on those devices.

Since the manifest file is a binary file, operations that can do character translations of the file contents (such as ftp) will corrupt the file unless done in binary mode

Examples

Example 1

Suspends update activity on salesdb and ordersdb:

quiesce database report_dbs hold salesdb, ordersdb 

Example 2

Resumes update activity on the databases labeled report_dbs:

quiesce database report_dbs release

Example 3

Suspends update activity to the pubs2 database and signifies your intent to make an external copy of this database:

quiesce database pubs_tag hold pubs2 for external dump

Example 4

Used to create a manifest file for a database that is going to be copied to another Adaptive Server:

quiesce database pubs_tag hold pubs2 for external dump to "/work2/sybase1/mpubs_file", with override

Usage

Permissions

quiesce database permission defaults to System Administrators.

See also

Commands dump database, dump transaction, mount, unmount

System procedures sp_helpdb, sp_who