Go Back   My Softskill Community > IT and Technical Topics > Databases and Oracle Technologies > Other Databases > informix
Connect with Facebook

Bookmark and Share
Reply
 
Thread Tools Display Modes
  #1  
Old 02-06-2010, 07:49 PM
srina's Avatar
srina srina is offline
Senior Member
 
Join Date: Sep 2009
Posts: 143
Rep Power: 1
srina is on a distinguished road
I51 Informix under control

INFORMIX UNDER CONTROL
divide any data flow into four stages: the produce stage, the reorder stage, the process
stage, and the consume stage. In the context of query processing, Produce represents
an access method generating records. Reorder reorders the items according to the dynamically
changing preferences of the consumer. Process is the set of operations that
are applied “downstream” to the records—this could involve query plan operators like
joins, shipping data across a slow network, rendering data onto the screen in data visualization,
etc. Consume captures the user think-time, if any—this is mainly for interactive
interfaces such as spreadsheets or data visualization. Since all these operations can go on
concurrently, we exploit the difference in throughput between the produce stage and the
process or consume stages to permute the items. For disk-based data sources, Produce
can run as fast as the sequential read bandwidth, whereas process may involve several random
I/Os which are much slower (Gray and Graefe, 1997). While the items sent out so far
are being processed/consumed, reorder can take more items from produce and permute
them.
The reorder operator tries to put as many interesting items as possible onto a mainmemory
buffer, and the process operator issues requests to get items from the buffer.
Process decides which item to get based on its performance goals. Reorder uses the
time gap between successive gets from the buffer (which may arise due to processing or
consumption time) to populate the buffer with more interesting items. It does this either
by using an index to fetch interesting items, or by aggressively prefetching from the input,
spooling uninteresting items onto an auxiliary disk. Policies for management of the buffer
and organization of the auxiliary disk are described in more detail in Raman et al. (1999b);
the basic idea is to evict least-interesting items from the buffer, and place them into chunks
on disk of records from the same group.
If the reorder operator can get records much faster than they can be processed, then the
reordering has two phases. In the first phase, reorder continually gets data, and tries to keep
the buffer full of interesting items in the appropriate ratios, carefully spooling uninteresting
items to chunks on the side disk. The second phase occurs when there is no more data to
get; at this point, reorder simply enriches the buffer by fetching chunks of interesting tuples
of interest from the side disk.
Reply With Quote
Share
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Informix under control srina informix 0 02-06-2010 07:47 PM
Informix under CONTROL: Online Query Processing srina informix 0 02-06-2010 07:44 PM
Project Planning and Control slisa IT Project Management 0 11-06-2009 09:26 PM
Informix Specifics kunal informix 0 10-01-2009 07:54 AM
Informix kunal informix 0 10-01-2009 07:50 AM

Mysoftskill Disclaimer: None of the files shown here are hosted or transmitted by this server. The links are provided solely by this site's users. The administrator's or staff of mysoftskill.com cannot be held responsible for what its users post, or any other actions of its users. You may not use this site to distribute or download any material when you do not have the legal rights to do so. It is your own responsibility to adhere to these terms. If you have any doubts about legality of content or you have any suspicions, feel free to contact us.

All times are GMT +6.5. The time now is 06:05 PM.

Design By: Mysoftskill.com Team
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.