If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > General > Database Concepts & Design > Data warehouse and Index(es)

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-22-09, 17:12
Fakin Fakin is offline
Registered User
 
Join Date: Sep 2009
Posts: 39
Data warehouse and Index(es)

I looking for solutions about index in data warehouse database.

what is best practice?
if index(es) not created load is fast, but query is slow.

how this solving?
if we want index(es) and velocity of insert records in table.

because if index(es) created, load in table is slow or maybe I'am wrong beacuse I don't no which velocity of insert records is on good server.

Reply With Quote
  #2 (permalink)  
Old 12-22-09, 17:15
MarkATrombley MarkATrombley is offline
Registered User
 
Join Date: Jul 2009
Location: Michigan
Posts: 125
If you can load at night but query during the day then during the load process: drop the index, load the data, then recreate the index.
Reply With Quote
  #3 (permalink)  
Old 12-22-09, 17:30
Fakin Fakin is offline
Registered User
 
Join Date: Sep 2009
Posts: 39
Quote:
Originally Posted by MarkATrombley View Post
If you can load at night but query during the day then during the load process: drop the index, load the data, then recreate the index.
this is OK.

but, what if I have many records in table?

maybe few bilion record in table and load new data, drop index lasts few hours and create lasts few hours?

what then?
Reply With Quote
  #4 (permalink)  
Old 12-23-09, 07:36
MarkATrombley MarkATrombley is offline
Registered User
 
Join Date: Jul 2009
Location: Michigan
Posts: 125
Then you buy a bigger machine. A lot bigger. And faster.
Reply With Quote
  #5 (permalink)  
Old 12-23-09, 07:46
Fakin Fakin is offline
Registered User
 
Join Date: Sep 2009
Posts: 39
Quote:
Originally Posted by MarkATrombley View Post
Then you buy a bigger machine. A lot bigger. And faster.
thanks
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On