Avatar of itsonlyme4
itsonlyme4

asked on 

Quiesce Database and deactivate/active Database to free memory

Occasionally we have DB backups fail because of insufficient memory (Db2 9.7 running on a 32bit OS)

What I would like to do is force all connections and Deactivate/Activate the Database like this:

db2 CONNECT TO MYDB;
db2 list applications for database MYDB show detail

# QUIESCE the database to force all connections
db2 QUIESCE DATABASE IMMEDIATE FORCE CONNECTIONS;
db2 CONNECT RESET

# DEACTIVATE the database
DB2 Attach to DB2
DB2 DEACTIVATE DB MYDB

# ACTIVATE the database
DB2 Attach to DB2
DB2 ACTIVATE DB MYDB

My question is....   is the QUIESCE necessary or will the Deactivate command force connections???????
DB2Databases

Avatar of undefined
Last Comment
itsonlyme4
ASKER CERTIFIED SOLUTION
Avatar of Kent Olsen
Kent Olsen
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of itsonlyme4
itsonlyme4

ASKER

Thank you!!!  

I just posted another question because I issued the db2 QUIESCE DATABASE IMMEDIATE FORCE CONNECTIONS and it is hanging..    this is what I'm seeing in the log:

MESSAGE : ADM2017C  The Event Monitor "DB2DETAILDEADLOCK" has reached its file
          capacity. Delete the files in the target directory
          "C:\DB2\NODE0000\SQL00001\DB2EVENT\db2detaildeadlock" or move them to
          another directory.

There are a bunch of .evt file and one .cnt file in the db2detaildeadlock folder.

not sure if I should move them ALL??
Databases
Databases

Databases are organized collections of data, most commonly accessed through management systems including schemas, tables, queries and processes that allow users to enter and manipulate the information or utilize it in other fashions, such as with web applications or for reporting purposes.

62K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo