PDA

View Full Version : Time of search in data base


Brucken
11-05-2003, 08:23 AM
Hi!!!!
I created a data base under oracle9i and I want to measure the search
time in this data base. Let us suppose that I have this request to
carry out:

select * from usager where name = 'John' and age = 45;

I want to know time that oracle puts to make this search in the data
base. What's the script enabling me to determine this search time?

Thanks.

Smiley
11-05-2003, 11:10 AM
"Brucken" <yaobrucken@yahoo.fr> wrote in message
news:59a217eb.0311050823.6bc8f128@posting.google.com... Hi!!!! I created a data base under oracle9i and I want to measure the search time in this data base. Let us suppose that I have this request to carry out: select * from usager where name = 'John' and age = 45; I want to know time that oracle puts to make this search in the data base. What's the script enabling me to determine this search time? Thanks.

You can use the command 'Set timing on' in SQL*Plus

Ron


MyLounge.com Site Map
Forum: Cars, Cell Phone, Database, Games, Home Improvement, IT, Music, School, Sports, Web Design, Web Server, Weight Loss

The MyLounge.com forum is intended for informational use only and should not be relied upon and is not a substitute for any advice. The information contained on MyLounge.com are opinions and suggestions of members and is not a representation of the opinions of MyLounge.com. MyLounge.com does not warrant or vouch for the accuracy, completeness or usefulness of any postings or the qualifications of any person responding. Please consult a expert or seek the services of an attorney in your area for more accuracy on your specific situation. Please note that our forums also serve as mirrors to Usenet newsgroups. Many posts you see on our forums are made by newsgroup users who may not be members of MyLounge.com Term of Service