- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Gather stats (Oracle) question
Operating System - HP-UX
1753481
Members
4544
Online
108794
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2005 04:42 AM
09-23-2005 04:42 AM
Re: Gather stats (Oracle) question
Well,
"setting" the statistcs helps a lot if you have a QA-System with less data than production and you try to track down execution plans on PRD with less data in QA. You select the PRD stats and set them in QA and have a better chance that the behavior is more equal. But you can not set all what influences the optimizer i.e. the index clustering factor might show the optimizer that someone is playing tricks.
If you google around a bit for optimizer and "set statistics" stuff, you'll sure find some presentation-slide of performance-consultants with examples. This is where I got mine (But as said, I am out of office for a while).
I would not go this way (setting stats) in general in production, may be just in single selected cases.
Your described effect that "histogramms helped" might be related to the bug I mentioned! Was that below 9.2.0.6 ?
I doubt that a general calculation of histograms on all tables is of help. They cost in terms of parsing time, because they have to be considered, and select-performance on several systemtables and they are of use only in some special cases, so I would not go and calculate histograms on the entire DB.
Any way good luck in hunting "gets" and "reads"
Volker
"setting" the statistcs helps a lot if you have a QA-System with less data than production and you try to track down execution plans on PRD with less data in QA. You select the PRD stats and set them in QA and have a better chance that the behavior is more equal. But you can not set all what influences the optimizer i.e. the index clustering factor might show the optimizer that someone is playing tricks.
If you google around a bit for optimizer and "set statistics" stuff, you'll sure find some presentation-slide of performance-consultants with examples. This is where I got mine (But as said, I am out of office for a while).
I would not go this way (setting stats) in general in production, may be just in single selected cases.
Your described effect that "histogramms helped" might be related to the bug I mentioned! Was that below 9.2.0.6 ?
I doubt that a general calculation of histograms on all tables is of help. They cost in terms of parsing time, because they have to be considered, and select-performance on several systemtables and they are of use only in some special cases, so I would not go and calculate histograms on the entire DB.
Any way good luck in hunting "gets" and "reads"
Volker
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2005 02:00 AM
10-04-2005 02:00 AM
Re: Gather stats (Oracle) question
Well, after playing with this for some time, I 've found a handful of good queries that have responded well to some histograms, and testing has proven that as Volker said - I need to recalculate my statistics with column specifics to refresh histograms properly, and have put them in jobs to get it done on a regular basis(where needed).
Thanks all for the help, it is much appreciated.
Thanks all for the help, it is much appreciated.
We are the people our parents warned us about --Jimmy Buffett
- « Previous
-
- 1
- 2
- Next »
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP