473,383 Members | 1,877 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

quiesce disconnects but restart doesn't???

LUW/8.1.6

dropped a table at the behest of others. turned out it was
in use. the drop seemed to go normally, and the table
disappeared from the displays (control center and aqt), but
the CREATE hung. hmmm. i didn't know about in-use yet.

so i did a Database Restart. same thing.

so i RTFM, and found Quiesce. what the hell, why not? then
the CREATE went fine.

Question: why does Restart not disconnect? seems backasswards
in terms engine functionality hierarchy; Quiesce being less
drastic than Restart. one of those quirks i'm likely to
remember, but it is a puzzlement.

btdb

Nov 12 '05 #1
1 1755
Ian
BobTheDatabaseBoy wrote:
LUW/8.1.6

dropped a table at the behest of others. turned out it was
in use. the drop seemed to go normally, and the table
disappeared from the displays (control center and aqt), but
the CREATE hung. hmmm. i didn't know about in-use yet.

so i did a Database Restart. same thing.

so i RTFM, and found Quiesce. what the hell, why not? then
the CREATE went fine.

Question: why does Restart not disconnect? seems backasswards
in terms engine functionality hierarchy; Quiesce being less
drastic than Restart. one of those quirks i'm likely to
remember, but it is a puzzlement.


RESTART DATABASE causes a database to perform crash recovery, and
has nothing to do with restarting the database instance. This can
be done while users are connected to the database (although any
in-flight transactions will be rolled back).

I can't be sure, but I suspect that one connection to the database
had a catalog lock which was holding up the CREATE TABLE.
Good luck,
Nov 12 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Boris Nikolaevich | last post by:
This is backwards of what I usually want--normally if you have a long-running ASP script, it's a good idea to check to see whether the client is still connected so you can cancel execution. ...
7
by: JS | last post by:
Can somebody explain how to get the tablespace out of quiesce mode? I am executing on each node of my EEE Win2K system: db2 quiesece tablespace for table schema.tablename RESET I get the...
1
by: Dale Franklin | last post by:
WRITE(YES) externalizes buffers to disk. WRITE(NO)does not. My question: why externalize to disk WRITE(YES) when WRITE(NO) will do the job when recovering to the quiesce point? Thanks!
0
by: beneisenstein | last post by:
We have a requirement for an application point in time recovery. This is basically a point before processing data that we would like to be able to rcover to. The environment is db2 v8.1 aix. We...
1
by: AVICENTE | last post by:
First, I´m sorry for my English... Always I quiesce a database, the instance crashes. This occurs only with one database, I can quiesce other databases in the same instance and nothing occur....
2
by: kaissoun | last post by:
hi, i have DB2 8.2 on linux and when i start a script to backup the DB , i receive this message on db2diag.log; ADM7508E Database quiesce request has failed. The sqlcode is "-1044" and there no...
1
by: sethwai | last post by:
Hi, When executing a quiesce immediate on a database does the command wait for all connections to be off the database before completing or does it act asynchronously? Lew
1
by: sethwai | last post by:
Hi, I can't think of a reason one might need to use the quiesce tablespace for tables command. Can anyone come up with a scenario when it might be beneficial or even mandatory to use the...
1
by: bic1ster | last post by:
I have a script to do this: CONNECT TO mydb; QUIESCE DATABASE IMMEDIATE FORCE CONNECTIONS; CONNECT RESET; backup database mydb to e:\sqlbackups\mydb compress; CONNECT TO mydb; UNQUIESCE...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.