473,660 Members | 2,426 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 4025
"Kumar" <ku***@tumkurci ty.com> wrote in message
news:2f******** *************** **@posting.goog le.com...
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***@tumkurci ty.com> wrote in message
news:2f******** *************** **@posting.goog le.com...
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
488
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. Re-built Primary key as well as Foreign keys which were dropped.
3
2167
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 which dimension table it joins first (we ran runstats on all of them but the dimensions look a lot alike... about same order of rows, ...). I know it should first join on 1 specific dimension if it's in the query since that dimension will discard...
7
7391
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 replaced with ALLOW READ/WRITE ACCESS. Is SHRLEVEL still a valid clause and interchangable with ALLOW..., or has it been deprecated and is it, or will it eventually become, invalid? We currently are not seeing any errors using SHRLEVEL in our...
1
7647
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 notifications from DB2 when there is an alarm as follows: ADM10500E Health indicator "Monitor Heap Utilization" ("db2.mon_heap_util") breached the "upper" alarm threshold of "95 %" with value "124 %" on "instance" "DB2"....
5
16479
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 indexes all" for all tables ? -- Jari Korkiakoski | jari.korkiakoski@iki.fi |#include <stddisclaimer.h> http://wwwkeys.eu.pgp.net:11371/pks/lookup?op=get&search=0x81F43B00
2
1274
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 button, I loop through each item, FindControl on each field, and save all the records displayed by the datagrid on one swoop. The problem is, it takes a looong time to draw the server control initially since all rows have to be populated with...
4
3314
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 runstats on it with a 20% sampling. After this was performed the highly selective queries using the time dimension slowed down drastically (8000% increase in duration). Earlier today I marked the table 'volatile' and queries went back to normal. ...
4
6011
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 catalog tables & rebound packages. I next intend to reorg/runstats all the application tables that I have identified as needing this and due to the remote possibility of this causing an adverse affect on performance, it has been decided that I...
3
4373
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 UTIL_IMPACT_LIM? Thanks in advance, Norm
0
8428
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8851
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8754
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8542
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7362
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6181
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5650
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
2760
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1984
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.