dbTalk Databases Forums  

search question

comp.databases comp.databases


Discuss search question in the comp.databases forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
elodie
 
Posts: n/a

Default search question - 11-17-2011 , 03:11 PM






Hi everyone,

I am working on the following problem.

You are running a DBMS on a computer which has 3 kByte disk block
size. Reminder: 1kByte=1024bytes, 1 MByte = 1024 kBytes .

Table T in your database D has size 200MBytes. You execute a query:
"select * from T".
How much data will be read from the drive? Assume that n*size_of_tuple
= block_size, where n is natural.

I would appreciate it if somebody could give me a hand with that
problem.

Reply With Quote
  #2  
Old   
Jasen Betts
 
Posts: n/a

Default Re: search question - 11-18-2011 , 04:30 AM






On 2011-11-17, elodie <elodie.gillain (AT) gmail (DOT) com> wrote:
Quote:
Hi everyone,

I am working on the following problem.

You are running a DBMS on a computer which has 3 kByte disk block
size. Reminder: 1kByte=1024bytes, 1 MByte = 1024 kBytes .

Table T in your database D has size 200MBytes. You execute a query:
"select * from T".
How much data will be read from the drive? Assume that n*size_of_tuple
= block_size, where n is natural.

I would appreciate it if somebody could give me a hand with that
problem.
It depends on the plan the database decides to use to fetch the rows.
hopefully no more than 204801KB


--
⚂⚃ 100% natural

--- Posted via news://freenews.netfront.net/ - Complaints to news (AT) netfront (DOT) net ---

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.