MySQL Forums
Forum List  »  Oracle

Prepared Statement Poor Performance
Posted by: Flavio Tobias
Date: June 10, 2014 10:32PM

I have a procedure which build a query that execute a select and use the result to create a temporary table (create table xyz as select....).
This query is executed as a prepared statement. The procedure takes about 2s to be executed, but when I run this query on the console, also creating the temporary table, it takes about 0.4s.

Is this normal?
Why this happens?
Is there someway to workaround this delay?


Options: ReplyQuote

Written By
Prepared Statement Poor Performance
June 10, 2014 10:32PM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.