troubleshooting Question

Quiesce Database and deactivate/active Database to free memory

Avatar of itsonlyme4
itsonlyme4 asked on
DatabasesDB2
2 Comments1 Solution381 ViewsLast Modified:
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???????
ASKER CERTIFIED SOLUTION
Kent Olsen
Data Warehouse / Database Architect

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros