CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: DBI:
How to write a script to check that query is timedout or not

 



balaji_ksvb
New User

May 28, 2009, 1:28 PM

Post #1 of 2 (3553 views)
How to write a script to check that query is timedout or not Can't Post

Hi all,

I am currently on process of writing a perl script to one of my test.

My test will verify that backup / restore operations are successful when executed concurrently with other DML and server operations.
One of the requirement of my test is to create a validator script that will verify that any SELECT operations against database that is backed up is not blocked. I think we can achieve this using timeout. For example, ­a reasonable timeout ­to those queries/­selects and just ­fail if such a timeout ­elapses.­

Can you please help me to write a perl script for this? It is really very urgent

Thanks
KB


1arryb
User

May 29, 2009, 12:39 PM

Post #2 of 2 (3523 views)
Re: [balaji_ksvb] How to write a script to check that query is timedout or not [In reply to] Can't Post

Hi balaji,

Sure we can help, but not yet: What is your strategy? That is, if you were doing this by hand, how would you do it? Once you have figured that out, we can talk.

Cheers,

Larry

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives