Click here to Skip to main content
15,888,454 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: The connection's current state is closed. [modified] Pin
jceresini2-Feb-09 12:44
jceresini2-Feb-09 12:44 
GeneralRe: The connection's current state is closed. Pin
Franklinlloyd3-Feb-09 3:18
Franklinlloyd3-Feb-09 3:18 
Questiondrag controls asp.net Pin
cooltoad1232-Feb-09 6:26
cooltoad1232-Feb-09 6:26 
AnswerRe: drag controls asp.net Pin
mr_muskurahat2-Feb-09 6:50
mr_muskurahat2-Feb-09 6:50 
GeneralRe: drag controls asp.net Pin
Ranjit Viswakumar2-Feb-09 11:18
Ranjit Viswakumar2-Feb-09 11:18 
QuestionCompare 160 million records Pin
RajaAhmed2-Feb-09 5:14
RajaAhmed2-Feb-09 5:14 
AnswerRe: Compare 160 million records Pin
Manas Bhardwaj2-Feb-09 5:22
professionalManas Bhardwaj2-Feb-09 5:22 
GeneralRe: Compare 160 million records [modified] Pin
Colin Angus Mackay2-Feb-09 5:39
Colin Angus Mackay2-Feb-09 5:39 
Manas Bhardwaj wrote:
Cache this information in your application memory and od the comparision from the in memory records


That is a seriously screwed up idea! You are crazy if you think that's a good idea.

Let SQL Server do what SQL Server is best at and have it do the comparison rather than saturate your network with 160 million rows of data and then bring the client PC to its knees because you've just dumped a shed-load of data in it.

What do you think the memory requirements are for 160 million rows?

Assume an integer primary key: 4 bytes
Assume each address is an average of say 32 characters (using a western alphabet) 32 bytes.

36 bytes * 160 million = 5,760,000,000

In total that is just shy of 6Gb you want to dump in RAM! On top of that you have overhead for the operating system, other applications and so on.

[UPDATE] Okay, I misready what sort of address. If we assume 20 bytes for an email address, the memory requirement is less, but it is still significant. 24 * 160 million = 3.8Gb

*Developer Day Scotland - Free community conference
*Colin Angus Mackay's Blog
*Latest Scottish Developers Newsletter


Vogon Building and Loan advise that your planet is at risk if you do not keep up repayments on any mortgage secured upon it. Remember that the force of gravity can go up as well as down.

modified on Monday, February 2, 2009 11:45 AM

GeneralRe: Compare 160 million records Pin
RajaAhmed2-Feb-09 19:00
RajaAhmed2-Feb-09 19:00 
GeneralRe: Compare 160 million records Pin
Colin Angus Mackay2-Feb-09 21:30
Colin Angus Mackay2-Feb-09 21:30 
AnswerRe: Compare 160 million records Pin
Colin Angus Mackay2-Feb-09 5:44
Colin Angus Mackay2-Feb-09 5:44 
GeneralRe: Compare 160 million records Pin
RajaAhmed2-Feb-09 19:03
RajaAhmed2-Feb-09 19:03 
GeneralRe: Compare 160 million records Pin
Colin Angus Mackay2-Feb-09 21:40
Colin Angus Mackay2-Feb-09 21:40 
Questioncustom Action Pin
siva4552-Feb-09 3:15
siva4552-Feb-09 3:15 
QuestionChanging Gridview Color at runtime Pin
BalasubramanianK2-Feb-09 2:11
BalasubramanianK2-Feb-09 2:11 
AnswerRe: Changing Gridview Color at runtime Pin
Vimalsoft(Pty) Ltd2-Feb-09 3:03
professionalVimalsoft(Pty) Ltd2-Feb-09 3:03 
QuestionNeed help for new website. Pin
Rahul.RK2-Feb-09 1:46
Rahul.RK2-Feb-09 1:46 
AnswerRe: Need help for new website. Pin
SeMartens2-Feb-09 2:07
SeMartens2-Feb-09 2:07 
QuestionNot enough storage is available to complete this operation in asp Pin
richa0212-Feb-09 1:40
richa0212-Feb-09 1:40 
AnswerRe: Not enough storage is available to complete this operation in asp Pin
SeMartens2-Feb-09 1:44
SeMartens2-Feb-09 1:44 
GeneralRe: Not enough storage is available to complete this operation in asp Pin
richa0212-Feb-09 1:57
richa0212-Feb-09 1:57 
GeneralRe: Not enough storage is available to complete this operation in asp Pin
SeMartens2-Feb-09 2:03
SeMartens2-Feb-09 2:03 
GeneralRe: Not enough storage is available to complete this operation in asp Pin
richa0212-Feb-09 20:49
richa0212-Feb-09 20:49 
GeneralRe: Not enough storage is available to complete this operation in asp Pin
SeMartens2-Feb-09 21:04
SeMartens2-Feb-09 21:04 
Questioncontext menu with gidview without ajax toolkit Pin
md_refay2-Feb-09 0:39
md_refay2-Feb-09 0:39 

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.