 |
The definitive Oracle Guide Oracle Functions, Oracle Errors, Oracle PL/SQL
|
| Precedente :: Successivo |
| Autore |
Messaggio |
OracleStream Ospite
|
Inviato: Mer Feb 21, 2007 10:35 am Oggetto: Oracle 10g is slow |
|
|
Hi, I've a problem with Oracle 10g R2 x64.
Some query are very slow than Oracle 9i. |
|
| Top |
|
 |
myOracle Ospite
|
Inviato: Mer Feb 21, 2007 10:49 am Oggetto: |
|
|
I have import an export of a user of Oracle 9i into Oracle 10g R2 x64 on Windows 2003 x64.
The problem is:
- i execute a query: the response time is 30 seconds and the CPU goes to 80%-90%.
- I re-execure the same query: the response time is 2 seconds and the CPU goes to 4% and the qry return the rows immediatly.
In oracle 9i:
- first time: CPU 6/7%, time 3 seconds
- same query other time: CPU 4%, time immediadly.
 |
|
| Top |
|
 |
forumadmin Site Admin
Registrato: 04/12/06 20:52 Messaggi: 26
|
Inviato: Mer Feb 21, 2007 10:50 am Oggetto: |
|
|
Hello OracleStream, MyOracle,
Sounds like a hard parse problem.
- Can yrou upload the query?
- The executin plans use
- the spfile/init.ora from the 10g system
Can you please do the following in SQL Plus:
1. alter session set events '10046 trace name context forever, level 8';
2. <run your query>
3. alter session set events '10046 trace name context off';
Please do it for the bad good running query.
This creates a trace file in the user_dump_dest.
Please upload the raw trace file and not a tkprof output. |
|
| Top |
|
 |
|
|
Non puoi inserire nuovi argomenti Non puoi rispondere a nessun argomento Non puoi modificare i tuoi messaggi Non puoi cancellare i tuoi messaggi Non puoi votare nei sondaggi
|
|