Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Oracle Server > apache - dbi - ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 16571 of 17418
Post > Topic >>

apache - dbi - running jobs after browser closed

by oldyork90@[EMAIL PROTECTED] May 16, 2008 at 08:58 AM

Greetings.

We have an apache server interfaced on a linux box to an oracle
database, 9i.  We use perl with dbi.

I'm fi****ng here, so it's just some ideas I need.  Bottom line of all
the following rambling is we need to be able to kill running jobs in
oracle.

There is a monster sql generated re****t that a web users can execute.
Since it does not return quickly, an understatement, the user kills
the browser and tires again... and sometimes again.  Messages to that
fact are ignored.  The problem is that the job is left running in the
database.  Just two instances of this re****t brings the system to it
knees, uptime re****ts over 4.00.

There are a few ways to fix this.  One if fix the damn re****t.

Another way is to kill the re****t.  But how.  If the user doesn't
logout, and just kills the browser, the re****t continues to run.
Perhaps we can monitor a web connection link with ajax calls... just a
thought.  If it doesn't  call back every so often, the job is killed
(how is another question, never killed an oracle process before).

We build the sql in the perl script and 'execute' it there.  Is there
any utility getting this installed into the database as a pl/sql
script.  Can a function limit itself to one instance in the schema? (I
suppose it could leave a timestamp in a table)
 




 2 Posts in Topic:
apache - dbi - running jobs after browser closed
oldyork90@[EMAIL PROTECTE  2008-05-16 08:58:26 
Re: apache - dbi - running jobs after browser closed
sybrandb@[EMAIL PROTECTED  2008-05-16 21:40:14 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 15:18:15 CST 2008.