Click here to Skip to main content
15,899,313 members
Home / Discussions / Database
   

Database

 
AnswerRe: IIF problem Pin
Pete O'Hanlon22-Jun-08 9:28
mvePete O'Hanlon22-Jun-08 9:28 
GeneralRe: IIF problem Pin
TheFoZ22-Jun-08 10:25
TheFoZ22-Jun-08 10:25 
QuestionSQL Server Reporting Services 2005 can not drillthrough if I'm not administrator Pin
Hanan88822-Jun-08 6:42
Hanan88822-Jun-08 6:42 
QuestionDatabase design question Pin
Mohammad A Gdeisat22-Jun-08 0:12
Mohammad A Gdeisat22-Jun-08 0:12 
AnswerRe: Database design question Pin
Luc Pattyn22-Jun-08 0:54
sitebuilderLuc Pattyn22-Jun-08 0:54 
AnswerRe: Database design question Pin
Scott Dorman22-Jun-08 1:19
professionalScott Dorman22-Jun-08 1:19 
GeneralRe: Database design question Pin
Mohammad A Gdeisat22-Jun-08 2:36
Mohammad A Gdeisat22-Jun-08 2:36 
GeneralRe: Database design question Pin
Scott Dorman22-Jun-08 3:06
professionalScott Dorman22-Jun-08 3:06 
Mohammad A Gdeisat wrote:
I really don't care much about space, but I care extremely about speed, I need my database requests to be served fast, no matter what the size is.


Again, some of this will depend on the caching mechanisms being used. The best way to achieve performance is going to be the use of an index on the ID field and stored procedures to lookup/retrieve the quote text. On the front-end website you always want to use the ID and the users culture. The drawback is that somewhere along the call chain from the app to the database you are going to need to decide which table needs to be queried (or column needs to be retrieved) based on the culture. This means a logic block in the code or in a stored procedure.

Your requirements (at least for this part) seem simple enough, create and test both methods and measure performance. It won't be exact, but you'll get an idea of relative performance between the two. The biggest factor no matter what is going to be using the ID for everything, having a good index, and caching.

Scott Dorman
Microsoft® MVP - Visual C# | MCPD
President - Tampa Bay IASA

Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai
[Forum Guidelines][Articles][Blog]

AnswerRe: Database design question Pin
Ashfield22-Jun-08 21:04
Ashfield22-Jun-08 21:04 
QuestionSSIS fuzzy look up package Pin
Member 400849220-Jun-08 21:45
Member 400849220-Jun-08 21:45 
QuestionTranspose rows as columns Pin
Member 400849220-Jun-08 15:54
Member 400849220-Jun-08 15:54 
AnswerRe: Transpose rows as columns Pin
Ashfield21-Jun-08 7:27
Ashfield21-Jun-08 7:27 
AnswerRe: Transpose rows as columns Pin
A Wong23-Jun-08 4:26
A Wong23-Jun-08 4:26 
QuestionIssue while updating the DateTime field thru VB.NET Pin
hariram2820-Jun-08 8:49
hariram2820-Jun-08 8:49 
AnswerRe: Issue while updating the DateTime field thru VB.NET Pin
Ashfield20-Jun-08 8:56
Ashfield20-Jun-08 8:56 
GeneralRe: Issue while updating the DateTime field thru VB.NET Pin
hariram2820-Jun-08 9:12
hariram2820-Jun-08 9:12 
GeneralRe: Issue while updating the DateTime field thru VB.NET Pin
Ashfield20-Jun-08 11:28
Ashfield20-Jun-08 11:28 
GeneralRe: Issue while updating the DateTime field thru VB.NET Pin
hariram2820-Jun-08 12:37
hariram2820-Jun-08 12:37 
GeneralRe: Issue while updating the DateTime field thru VB.NET Pin
Ashfield21-Jun-08 7:28
Ashfield21-Jun-08 7:28 
QuestionGenerating XML Schema of SQL Server 2005 Database Pin
Rocky#20-Jun-08 3:13
Rocky#20-Jun-08 3:13 
QuestionMySql and DbCommand [modified] Pin
gandalf_le_blanc20-Jun-08 3:10
gandalf_le_blanc20-Jun-08 3:10 
Questionexception handling sql server 2005 Pin
Learner52020-Jun-08 2:20
Learner52020-Jun-08 2:20 
AnswerRe: exception handling sql server 2005 Pin
Hesham Amin20-Jun-08 6:01
Hesham Amin20-Jun-08 6:01 
GeneralRe: exception handling sql server 2005 Pin
Learner52020-Jun-08 6:17
Learner52020-Jun-08 6:17 
QuestionChange data arrangement Pin
SomeGuyThatIsMe20-Jun-08 1:28
SomeGuyThatIsMe20-Jun-08 1:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.