Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
KazaX
Starting Member
28 Posts |
Posted - 2008-11-25 : 06:48:03
|
| How can one estimate required i/o in blocks for block nested loop join and naive join?if I have 10^6 records in table R that occupies 100mb and 10^5 rec. in table S that occupies 200mb.the blocks read from disk are 50kb.Cache holds six blocks, a 1-block input buffer for one table, a 4-block buffer for theother, and a 1-block output buffer. And perform below query. SELECT R.A, S.CFROM R, SWHERE R.B = S.B is there a formula ? or sth?Really thanks |
|
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2008-11-25 : 06:51:04
|
It depends on a few things, such as present indexes, fragmentation and so on.. E 12°55'05.63"N 56°04'39.26" |
 |
|
|
KazaX
Starting Member
28 Posts |
Posted - 2008-12-02 : 03:22:02
|
quote: Originally posted by Peso It depends on a few things, such as present indexes, fragmentation and so on.. E 12°55'05.63"N 56°04'39.26"
U think is that an answer to my question... :) |
 |
|
|
|
|
|