-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: volume of data impact?
PostPosted: Wed Sep 08, 2004 11:34 am 
Newbie

Joined: Mon May 03, 2004 1:08 am
Posts: 18
Assume we have tables Order and Orderlines
Every Order has 50 columns , each length 20
Every Order has 100 lines .
Each line has 50 columns with length 20 .


SingleQuery-
If we do join Order and Orderline amount of data retrieved (in characters)is

((50*20 ) + ( 50*20))*100) =200,000


Two Query-
If we get Order and then Orderline
(50*20) = 1000
(50*20*100) = 100,000
Total = 101,000


If we keep adding to this and make it even deeper graph then the volume of data is going to be more and more with the single query.

What impact does this have on performance?
The trade off clearly is less database calls as opposed to more volume.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.