Home » RDBMS Server » Server Administration » Statistics about a Schema,Database
Statistics about a Schema,Database [message #56024] Mon, 03 March 2003 04:58 Go to next message
Mukesh Raj Singh
Messages: 9
Registered: March 2003
Junior Member
Sir,
Tell me how to collect statistics about a schema, about a database.Does computing statistics changes the optimizer mode?
How to look for the Optimizer mode if it is not mentioned in Parameter file?
rgds
Mukesh
Re: Statistics about a Schema,Database [message #56040 is a reply to message #56024] Mon, 03 March 2003 11:31 Go to previous message
ctg
Messages: 146
Registered: July 2002
Senior Member
How to find optimizer mode (default is CHOOSE)
SQL> show parameter optimizer_mode
or
SQL> SELECT value
2> FROM v$parameter
3> WHERE name = 'optimizer_mode';

If optimizer_mode=CHOOSE, then when statistics exist on a table, oracle will use cost based optimizer when referencing that table. if there are no statistics, then oracle will used rules based optimizer.
Previous Topic: Oracle Server installation
Next Topic: NLS problem
Goto Forum:
  


Current Time: Sat Dec 28 22:32:25 CST 2024