No question at this time
DBA Top 10
1 A. Kavsek 8400
2 B. Vroman 5900
3 M. Cadot 5400
4 P. Wisse 4800
5 T. Boles 3700
6 J. Schnackenberg 2100
7 . Lauri 1500
8 R. Pattyn 700
9 T. P 600
9 J. PĂ©ran 600
About
DBA-Village
The DBA-Village forum
Forum as RSS
as RSS feed
Site Statistics
Ever registered users48407
Total active users1518
Act. users last 24h4
Act. users last hour1
Registered user hits last week254
Registered user hits last month927
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: 300 PtsScore: 300 PtsScore: 300 PtsScore: 300 PtsScore: 300 Pts Philip Wisse Jul 09, 2019, 14:24
Hi Sauma, At first glance you do have nothing t...... Lauri Jul 18, 2019, 11:58

Follow up by mail Click here


Subject: Indexes have stale statistics
Author: saumya das, India
Date: Jul 08, 2019, 19:57, 41 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, 41 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, 41 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, 41 days ago
Score:   Score: 300 PtsScore: 300 PtsScore: 300 PtsScore: 300 PtsScore: 300 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

Subject: Re-Indexes have stale statistics
Author: Lauri, Netherlands
Date: Jul 18, 2019, 11:58, 32 days ago
Message: Hi Sauma,

At first glance you do have nothing to do.
Just let the Oracle engine do the work for you.
If you notice any performance decrease and if you can identify the involved query, then used the recommendations links posted by Philip.
But do implement it then with care.

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