Job Seekers   Employers
dbapool: Authors | Submissions | Contact Us
   Forgot password? | Sign up
  Home   Discussion Forum   Articles   Interview Questions   FAQs   Scripts   Rewards   Analyzer   White Papers   Blog   Certification   Downloads   Tools
 

Topic: Performance & Tuning >> Optmizer use statistics which gatherd through dbms_stat package

Disclaimer: The purpose of all dbapool forums including OCP and Other Oracle Certification forums is to help each other with specific issues but not to share dump and copyrighted exam content, materials or intellectual property. You may review the entire Oracle Certification Program Candidate Agreement online Here.



  


 Title: Optmizer use statistics which gatherd through dbms_stat package
 rahul  Posted: Jul 23, 2007 12:14:02 PM

 Total Post: 16
 Joined: Feb, 2007






 hi
Friends Any ony give me suggestion that

what is diffrence of gather statistic through dbms_stats package or Analyze commands.
If Optimizer mode is Choose or we allready gather a table statistics through Analyze command so Execution plan is CBO or RBO.


 ankur
Posted: Jul 24, 2007 07:39:14 AM  

 Total Post: 58
 Joined: Nov, 2006






 
i read somewhere ...dbms_stats is able for parallel data gathering and block sampling ...something like that

 rahul
Posted: Jul 26, 2007 09:43:45 AM  

 Total Post: 16
 Joined: Feb, 2007






 
i am just asking about that if i gathered statistics through analayz command than execution plan is cost base or not.

 Mohammed Taj
Posted: Jul 30, 2007 01:08:24 AM  

 Total Post: 746
 Joined: Jul, 2007






 
Hi,

Oracle Corporation recommended gather database schema regularly.

through two method we can gather statistics
1.dbms_stats package
2.Analyze command

Oracle Corp recommended method is "dbms_stats" it is more accurate or efficient.

dbms_stats packages
http://dbataj.blogspot.com/search/label/DBMS_STATS

Regards
Taj


 rahul
Posted: Aug 14, 2007 06:46:35 AM  

 Total Post: 16
 Joined: Feb, 2007






 
Sorry to say that but not give me the asked question answer .

that is if we taken statistics through analyze command then optimizer mode is CBO or not

bye


 Time Zone: EDT

  




Forum Rules & Description


Who Can Read The Forum? Any registered user or guest
Who Can Post New Topics? Any registered user
Who Can Post Replies? Any registered user




 








Get FREE Magazines

Top 10 Forum User

  Murtuja Khokhar843
  Mohammed Taj746
  positive fanatic483
  Jayanta Sur479
  Vigyan Kaushik386
  Gitesh Trivedi322
  Gopu Gopi272
  neeraj sharma252
  Ramesh Jois245
  Bishal Khetan207






oracle Mag



  About Us Advertise Terms of Use Privacy Newsletters Contact Us    

Home   Discussion Forum   FAQs  Articles  Jobs   Newsletters  Directory  Downloads 

Our Premium Sponsor
Confio Software