Unix Technical Forum

Kill Update Statistics

This is a discussion on Kill Update Statistics within the Informix forums, part of the Database Server Software category; --> Is there any way to kill a running update statistics. UPDATE STATISTICS HIGH FOR TABLE foo (bar) DISTRIBUTIONS ONLY. ...


Go Back   Unix Technical Forum > Database Server Software > Informix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-20-2008, 05:28 PM
Habichtsberg, Reinhard
 
Posts: n/a
Default Kill Update Statistics

Is there any way to kill a running update statistics.

UPDATE STATISTICS HIGH FOR TABLE foo (bar) DISTRIBUTIONS ONLY.

I tried with with onstat -z several times but it runs and runs and seems to
do nothing anyway.

Regards
Reinhard
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-20-2008, 05:28 PM
Art S. Kagel
 
Posts: n/a
Default Re: Kill Update Statistics

On Oct 17, 8:05 am, "Habichtsberg, Reinhard" <RHabichtsb...@arz-
emmendingen.de> wrote:
> Is there any way to kill a running update statistics.
>
> UPDATE STATISTICS HIGH FOR TABLE foo (bar) DISTRIBUTIONS ONLY.
>
> I tried with with onstat -z several times but it runs and runs and seems to
> do nothing anyway.


I concur with DL, there's no way to kill a running UPDATE STATISTICS
thread.

Art S. Kagel

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-20-2008, 05:29 PM
david@smooth1.co.uk
 
Posts: n/a
Default Re: Kill Update Statistics

On 17 Oct, 16:31, "Art S. Kagel" <art.ka...@gmail.com> wrote:
> On Oct 17, 8:05 am, "Habichtsberg, Reinhard" <RHabichtsb...@arz-
>
> emmendingen.de> wrote:
> > Is there any way to kill a running update statistics.

>
> > UPDATE STATISTICS HIGH FOR TABLE foo (bar) DISTRIBUTIONS ONLY.

>
> > I tried with with onstat -z several times but it runs and runs and seems to
> > do nothing anyway.

>
> I concur with DL, there's no way to kill a running UPDATE STATISTICS
> thread.
>
> Art S. Kagel


Why not? What is the stack for the thread? Is it in a critical section
otherwise that is a bug that needs to be reported to IBM.

David.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-20-2008, 05:29 PM
Art S. Kagel
 
Posts: n/a
Default Re: Kill Update Statistics

On Oct 24, 2:29 pm, "da...@smooth1.co.uk" <da...@smooth1.co.uk> wrote:
> On 17 Oct, 16:31, "Art S. Kagel" <art.ka...@gmail.com> wrote:
>
> > On Oct 17, 8:05 am, "Habichtsberg, Reinhard" <RHabichtsb...@arz-

>
> > emmendingen.de> wrote:
> > > Is there any way to kill a running update statistics.

>
> > > UPDATE STATISTICS HIGH FOR TABLE foo (bar) DISTRIBUTIONS ONLY.

>
> > > I tried with with onstat -z several times but it runs and runs and seems to
> > > do nothing anyway.

>
> > I concur with DL, there's no way to kill a running UPDATE STATISTICS
> > thread.

>
> > Art S. Kagel

>
> Why not? What is the stack for the thread? Is it in a critical section
> otherwise that is a bug that needs to be reported to IBM.


It's apparently in some kind of critical section because it dies
eventually if you kill the client task or onmode -z the session and
usually it rolls back. You'd have to ask John Miller why it works
that way and if it's WAD.

Art S. Kagel

> David.


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:46 AM.


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