Slow Query Execuation [message #227404] |
Wed, 28 March 2007 03:09 |
bahy91
Messages: 91 Registered: September 2005 Location: Amsterdam
|
Member |
|
|
Hi All,
If a query like 'Drop user xxx cascade;' take more than 10 min to execute ..!then where must anybody start searching?which parameter in which configuration file must change to solve this slowness..?
Thanks in Advance,
|
|
|
|
Re: Slow Query Execution [message #227407 is a reply to message #227405] |
Wed, 28 March 2007 03:16 |
bahy91
Messages: 91 Registered: September 2005 Location: Amsterdam
|
Member |
|
|
Thanks for your reply,
well the schema is a test schema and it is small enough to execute the same query within 5 misc..so any suggestion?
thanks in Advance,
|
|
|
|
|
|
Re: Slow Query Execution [message #227439 is a reply to message #227422] |
Wed, 28 March 2007 04:35 |
bahy91
Messages: 91 Registered: September 2005 Location: Amsterdam
|
Member |
|
|
Thank you All,
The problem have nothing to do ' i think ' with the tablespace ..because i tried to drop another user which has another default_tablespace and the execution time of the other query is the same almost 22 min...
So any suggestions?
Thanks in Advance,
|
|
|
|
Re: Slow Query Execution [message #227470 is a reply to message #227428] |
Wed, 28 March 2007 05:40 |
bahy91
Messages: 91 Registered: September 2005 Location: Amsterdam
|
Member |
|
|
Hi All,
after i disabled all foreign keys constraints on all tables + disabled all triggers + truncate all tables..the execution time is still 22 min..
So any suggestions??
thanks in Advance,
|
|
|
Re: Slow Query Execuation [message #227478 is a reply to message #227444] |
Wed, 28 March 2007 06:14 |
bahy91
Messages: 91 Registered: September 2005 Location: Amsterdam
|
Member |
|
|
Hi All,
after i disabled all foreign keys constraints on all tables + disabled all triggers + truncate all tables..the execution time is still 22 min..
So any suggestions??
thanks in Advance,
|
|
|
|
|
Re: Slow Query Execution [message #227498 is a reply to message #227439] |
Wed, 28 March 2007 07:18 |
tahpush
Messages: 961 Registered: August 2006 Location: Stockholm/Sweden
|
Senior Member |
|
|
bahy91 wrote on Wed, 28 March 2007 11:35 | Thank you All,
The problem have nothing to do ' i think ' with the tablespace ..because i tried to drop another user which has another default_tablespace and the execution time of the other query is the same almost 22 min...
So any suggestions?
Thanks in Advance,
|
As I said earlier
Quote: |
1.If your schema is NOT sharing tablespace with another schema, the fastest way would be
DROP TABLESPACE tablespace_name INCLUDING CONTENTS.
|
Also have you monitored the OS while doing this ?
|
|
|