473,396 Members | 2,070 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,396 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 3992
"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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.