473,398 Members | 2,404 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,398 software developers and data experts.

Runstats / OLTP environment

Environment: DB2 v8 LUW FP 15 Linux.

I have an OLTP system and several applications run frequent and
concurrent insert/delete/select statements.

Table sizes can grow a lot, and eventually I need to collect new
statistics.

While trying to use 'allow write access', this following warning is
returned:

SQL2314W Some statistics are in an inconsistent state. The newly
collected "TABLE" statistics are inconsistent with the existing
"INDEX" statistics.

Using allow read acces is not an option, unfortunately. I´ve tried
table and index sampling, but that also did not help much.

My question is: how bad can this 'inconsistency' be ? Can I safely
ignore it ? Or can this lead my system to poor query planning and
statement reponse times be slower than if statistics where taken using
'allow read access ?

Thanks, Michel.
Aug 24 '08 #1
1 2908
On Aug 23, 10:07*pm, Michel Esber <mic...@us.automatos.comwrote:
Environment: DB2 v8 LUW FP 15 Linux.

I have an OLTP system and several applications run frequent and
concurrent insert/delete/select statements.

Table sizes can grow a lot, and eventually I need to collect new
statistics.

While trying to use 'allow write access', this following warning is
returned:

SQL2314W *Some statistics are in an inconsistent state. *The newly
collected *"TABLE" statistics are inconsistent with the existing
"INDEX" *statistics.

Using allow read acces is not an option, unfortunately. I´ve tried
table and index sampling, but that also did not help much.

My question is: how bad can this 'inconsistency' be ? Can I safely
ignore it ? Or can this lead my system to poor query planning and
statement reponse times be slower than if statistics where taken using
'allow read access ?

Thanks, Michel.
All it means is that the number of rows in index (when examined by
runstats) is different than the number of rows in the table (when
runstats looked at the table immediately prior to that). This happens
becasue their are deletes and inserts happening while the runstats is
running. The differences are not likely to be significant, so just
ignore the warning.

Aug 24 '08 #2

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

Similar topics

1
by: LineVoltageHalogen | last post by:
Greetings All, I was wondering if any of you would share some of your experiences regarding the task of loading a data store from an Oltp source. We are using Analysis Services in a BI product...
1
by: Evan Smith | last post by:
Years ago I worked on a system which I believe was one of the first instances of EEE being used in an OLTP environment. It was fraught with lots of gotchas, but overall was made to work. This was...
3
by: Michael Sherf | last post by:
I'm looking for "real life" experiences of companies running DB2 in an 24x7 OLTP environment. Seems like most folks are using DB2 for DSS applications, rather than OLTP. If your DB2 production...
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...
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...
0
by: dsslim | last post by:
Hi, In my OLTP environment, packages are being executed while tables are being inserted but less deletes. And runstats not run at all. Will this affect the performance ? Since the packages...
0
by: RG | last post by:
I have a stored procedure which is called by db2 "call ....." statement from ksh script. When running from AIX DB2 v. 9.1.3 environment, after a while the stored procedure starts to hang and...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: 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
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
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...
0
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...
0
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...

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.