No question at this time
DBA Top 10
1 A. Kavsek 8900
2 B. Vroman 6600
3 M. Cadot 5000
4 T. Boles 4550
5 P. Wisse 4500
6 J. Schnackenberg 3700
7 . Lauri 1300
8 G. Lambregts 800
9 T. P 700
9 R. Pattyn 700
About
DBA-Village
The DBA-Village forum
Forum as RSS
as RSS feed
Site Statistics
Ever registered users48392
Total active users1527
Act. users last 24h5
Act. users last hour3
Registered user hits last week277
Registered user hits last month713
Go up

Indexes have stale statistics
Next thread: Merge Join
Prev thread: oracle 11g r2 install ora-19587 error masege withe windows 7 64bit

Message Score Author Date
Hi , I am gathering the statistics of Indexes ,...... saumya das Jul 08, 2019, 19:57
Hi Saumya, Stale means the statistics are candi...... Philip Wisse Jul 09, 2019, 09:42
Hi Phil , Thanks for the Reply.. Yes I checked...... saumya das Jul 09, 2019, 13:50
Hi Sauma, Most likely there's no impact because...... Score: 100 PtsScore: 100 PtsScore: 100 PtsScore: 100 PtsScore: 100 Pts Philip Wisse Jul 09, 2019, 14:24

Follow up by mail Click here


Subject: Indexes have stale statistics
Author: saumya das, India
Date: Jul 08, 2019, 19:57, 7 days ago
Os info: AIX 7
Oracle info: oracle 12c
Message: Hi ,

I am gathering the statistics of Indexes , But still within 1 Day some indexes statistics become STALE.
Like to know what are the impact if index statistics become STALE. Onething I have observed the Indexes belongs to the Table which have very high DML transactions. will it impact performance.

Please suggest. what action I should Take.

Thanks
Saumya
Goto: Reply - Top of page 
If you think this item violates copyrights, please click here

Subject: Re: Indexes have stale statistics
Author: Philip Wisse, Netherlands
Date: Jul 09, 2019, 09:42, 7 days ago
Message: Hi Saumya,

Stale means the statistics are candidates to be refreshed on your next cycle of stats gathering.

So you don't have to do anything.

Regards, Philip
Your rating?: This reply is Good Excellent
Goto: Reply - Top of page 
If you think this item violates copyrights, please click here

Subject: Re: Indexes have stale statistics
Author: saumya das, India
Date: Jul 09, 2019, 13:50, 7 days ago
Message: Hi Phil ,

Thanks for the Reply..
Yes I checked that after gather stats the STALE stats is gone , But onething I want to know , if I have STALE stats in the database for the particular index , how much will it impact for the query that is using that particular Index.

Thanks
Saumya
Your rating?: This reply is Good Excellent
Goto: Reply - Top of page 
If you think this item violates copyrights, please click here

Subject: Re: Indexes have stale statistics
Author: Philip Wisse, Netherlands
Date: Jul 09, 2019, 14:24, 7 days ago
Score:   Score: 100 PtsScore: 100 PtsScore: 100 PtsScore: 100 PtsScore: 100 Pts
Message: Hi Sauma,

Most likely there's no impact because data always comes with a pattern.

But you can construct data sets which are difficult for the optimizer. For instance:
https://oracle-base.com/articles/12c/sql-plan-directives-12cr1

Oracle tries to make the optimizer smarter, check:
https://www.oracle.com/technetwork/database/bi-datawarehousing/twp-bp-for-stats-gather-12c-1967354.pdf

Bottom line, it depends on the data.

HTH, Philip
Your rating?: This reply is Good Excellent
Goto: Reply - Top of page 
If you think this item violates copyrights, please click here