问题
What is the simplest (preferably without any new table creation) way of running a database query which takes long time (at least several minutes) in Oracle DB?
回答1:
Consider using DBMS_LOCK.SLEEP(300), where parameter - number of seconds to wait.
回答2:
DBMS_LOCK.sleep
(http://www.oracle-base.com/articles/9i/UsefulProceduresAndFunctions9i.php)
来源:https://stackoverflow.com/questions/1389586/simulation-of-long-running-oracle-db-query