G
Guest
On our production server, we have a great deal of data. To improve
performance, we give the user a "page" of data at a time and then spawn count
of the total number of products based on the query parameters on a separate
thread. The user can change their mind, of course, and change their query
before the count has returned for the previous query. We are trying to
simulate a lot of data on our developement server by putting a sleep command
(dbms_lock.sleep) in the stored procedure. I'm having problems terminating
the thread. I've used the bool variable as even abort, but it still takes the
full sleep time. Is the Oracle sleep command simular to the .Net command and
is not interruptable? It would be much easier to just load more data into teh
tables or at least do add some monster query into it for testing, but the DBA
says this should be just as good.
Thanks,
Susan
performance, we give the user a "page" of data at a time and then spawn count
of the total number of products based on the query parameters on a separate
thread. The user can change their mind, of course, and change their query
before the count has returned for the previous query. We are trying to
simulate a lot of data on our developement server by putting a sleep command
(dbms_lock.sleep) in the stored procedure. I'm having problems terminating
the thread. I've used the bool variable as even abort, but it still takes the
full sleep time. Is the Oracle sleep command simular to the .Net command and
is not interruptable? It would be much easier to just load more data into teh
tables or at least do add some monster query into it for testing, but the DBA
says this should be just as good.
Thanks,
Susan