User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Oracle section within the Web Development category of DaniWeb, a massive community of 423,654 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,095 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Oracle advertiser: Programming Forums
Views: 415 | Replies: 1
Reply
Join Date: Jan 2008
Posts: 9
Reputation: Prodian is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
Prodian Prodian is offline Offline
Newbie Poster

Searching DB overhead

  #1  
Aug 5th, 2008
First off Im not a dba and Im fairly new to sql. These questions are probably basic SQL knowledge but here are the questions:

1. Say there are 75 million records in the database with about 100 columns. If you run a simple SELECT query with a couple where clauses, could this cause the system to "slow down" or "bog the system down"? I know hardware and usage play a part but lets just say thats not a concern.

2. How does the SELECT statement with where clauses search the database? Does it first look at the where clauses? For example: WHERE phone_number = 555555555. Does it go to the phone_number column and search ALL the phone numbers?

3. If there a more than one where clause, which where clause is processed first or are they processed simultaneously?

4. Is there a better way to search the db so these queries do not impact server performance?

Thanks for the help.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Feb 2007
Location: Bangalore,India
Posts: 1,270
Reputation: debasisdas is on a distinguished road 
Rep Power: 4
Solved Threads: 80
debasisdas's Avatar
debasisdas debasisdas is offline Offline
Nearly a Posting Virtuoso

Re: Searching DB overhead

  #2  
Aug 6th, 2008
for all your issues ,you need ot create indexes in column that is frequently bsing using in where clause of queries.
Share your Knowledge.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb Oracle Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the Oracle Forum

All times are GMT -4. The time now is 10:50 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC