Simulation of long-running Oracle DB query
Asked Answered
F

2

5

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?

Frore answered 7/9, 2009 at 14:6 Comment(0)
H
11

Consider using DBMS_LOCK.SLEEP(300), where parameter - number of seconds to wait.

Hurtado answered 7/9, 2009 at 14:8 Comment(0)
C
3

DBMS_LOCK.sleep

(http://www.oracle-base.com/articles/9i/UsefulProceduresAndFunctions9i.php)

Condyloid answered 7/9, 2009 at 14:9 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.