Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Cancelling a long running query
On Wed, 02 Nov 2005 12:22:16 +0530, amogh <amogh.r_at_gmail.com> wrote:
>Can someone please suggest me how I could write a query which executes
>continously (or recursively, to never return), using a table like EMP
>(or EMP joined with DEPT if necessary).
>
Take two big tables, join them, leaving out the join condition. This will result in a merge-join cartesian. Merge join-cartesians usually peg the CPU, and take forever.
-- Sybrand Bakker, Senior Oracle DBAReceived on Wed Nov 02 2005 - 02:04:44 CST
![]() |
![]() |