Unix Technical Forum

quiesce disconnects but restart doesn't???

This is a discussion on quiesce disconnects but restart doesn't??? within the DB2 forums, part of the Database Server Software category; --> LUW/8.1.6 dropped a table at the behest of others. turned out it was in use. the drop seemed to ...


Go Back   Unix Technical Forum > Database Server Software > DB2

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-27-2008, 04:23 AM
BobTheDatabaseBoy
 
Posts: n/a
Default 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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-27-2008, 04:23 AM
Ian
 
Posts: n/a
Default Re: quiesce disconnects but restart doesn't???

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,
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:26 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com