Discussion:
check if the Db is quiesced
(too old to reply)
t***@yahoo.com.br
2007-10-17 11:23:58 UTC
Permalink
Hi all,

is there a way to check if the DB is quiesced?

My command set to backup is:

[code]
CONNECT TO SCRY;
UNQUIESCE DATABASE;
QUIESCE DATABASE IMMEDIATE FORCE CONNECTIONS;
CONNECT RESET;
BACKUP DATABASE SCRY TO "E:\DB2\SCRY\" WITH 2 BUFFERS BUFFER 1024 PARALLELISM 1 WITHOUT PROMPTING;
CONNECT TO SCRY;
CONNECT RESET;
[/code]

if I donĀ“t put "UNQUIESCE DATABASE", but the database is "QUIESCED",
I got an error. if I put, I got other error, like this:

[code]
UNQUIESCE DATABASE

SQL1373W Cannot unquiesce instance or database "SCRY", because it is not

quiesced.
[/code]

Is there a way to check this, like "IF DB IS QUIESCED" THEN....

thanks!
Priyanka
2007-10-22 10:47:46 UTC
Permalink
Hi,

Try to use db2pd tool


Thanks and Regards,
Priyanka
t***@yahoo.com.br
2007-10-23 15:42:40 UTC
Permalink
thanks!!!!! :-)

Loading...