473,320 Members | 1,817 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,320 software developers and data experts.

RUNSTATS taking looong time

Need urgent help...

I am trying to make a change in one column (primary key). I dropped
the primary key which dropped other 2-3 foreign keys referencing this
column.

I made the changes.

Re-built Primary key as well as Foreign keys which were dropped.

Now, many packages were invalid. So, I did rebound all those packages.

After all these, I tried to run RUNSTATS (with distribution and all
indexes) on all tables and it is taking LOOOOOONG time than it used to
take usually (all tables are taking loooong time including those
tables which are NOT at all involved in this change).

Can anyone help me in understanding this and to overcome this looong
time runstats PLEASE?
Nov 12 '05 #1
2 3980
"Kumar" <ku***@tumkurcity.com> wrote in message
news:2f*************************@posting.google.co m...
Need urgent help...

I am trying to make a change in one column (primary key). I dropped
the primary key which dropped other 2-3 foreign keys referencing this
column.

I made the changes.

Re-built Primary key as well as Foreign keys which were dropped.

Now, many packages were invalid. So, I did rebound all those packages.

After all these, I tried to run RUNSTATS (with distribution and all
indexes) on all tables and it is taking LOOOOOONG time than it used to
take usually (all tables are taking loooong time including those
tables which are NOT at all involved in this change).

Can anyone help me in understanding this and to overcome this looong
time runstats PLEASE?


Probably running short of space on system temporary tablespace. Other things
to look at include the sortheaps.
Nov 12 '05 #2
"Kumar" <ku***@tumkurcity.com> wrote in message
news:2f*************************@posting.google.co m...
Need urgent help...

I am trying to make a change in one column (primary key). I dropped
the primary key which dropped other 2-3 foreign keys referencing this
column.

I made the changes.

Re-built Primary key as well as Foreign keys which were dropped.

Now, many packages were invalid. So, I did rebound all those packages.

After all these, I tried to run RUNSTATS (with distribution and all
indexes) on all tables and it is taking LOOOOOONG time than it used to
take usually (all tables are taking loooong time including those
tables which are NOT at all involved in this change).

Can anyone help me in understanding this and to overcome this looong
time runstats PLEASE?


Probably running short of space on system temporary tablespace. Other things
to look at include the sortheaps.
Nov 12 '05 #3

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

Similar topics

0
by: Kumar | last post by:
Need urgent help... I am trying to make a change in one column (primary key). I dropped the primary key which dropped other 2-3 foreign keys referencing this column. I made the changes. ...
3
by: Jan Arickx | last post by:
My situation is as follows. I have several big SQL queries in a data warehouse using 1 big fact tables and 10 dimension tables. The queries join all of them together but the optimizer doesn't care...
7
by: Todd McNeill | last post by:
Hi- Something was just pointed out to me this morning. According to the V8 Command Reference, the RUNSTATS command no longer uses the SHRLEVEL CHANGE/REFERENCE clauses, and it looks to be...
1
by: raqfg | last post by:
Hi. I am trying to test out the automatic maintanance with notification feature of DB2 v8.2. I have enabled the auto maint with notification. The problem I am facing is that I only get email...
5
by: Jari Korkiakoski | last post by:
Hello, What kind of difference does it make to update statistics via 'REORGCHK UPDATE STATISTICS ON TABLE ALL' or by running directly 'runstats on table xxx.yyy with distribution and detailed...
2
by: David C | last post by:
I designed a datagrid with editable server controls such as text boxes, dropdowns in each row. That way, the user does not have to click "Edit" to get the editable controls. And with one save...
4
by: kenfar | last post by:
I've got a large table on db2 8.2.1 that I rarely perform runstats on. It has about 600 million rows organized in a single MDC time dimension on a non-dpf warehouse. Anyhow, we recently ran...
4
by: db2udb | last post by:
Hi, I have just taken over as the DBA for a database that has not had any reorgs/runstats run against it for the last three years. As a first step, I have just run reorg/runstats against the system...
3
by: Norm | last post by:
If RUNSTATS is called directly, we can specify UTIL_IMPACT_PRIORITY to limit CPU consumption. For automatic runstats, there is no place to specify this paramater. Will it use the DBM value of...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
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: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
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...

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.