Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Ultimate Question: Oracle, MSSQL, Others vs MYSQL LIMIT Statement

Re: Ultimate Question: Oracle, MSSQL, Others vs MYSQL LIMIT Statement

From: Serge Rielau <srielau_at_ca.ibm.com>
Date: Tue, 01 Oct 2002 21:04:21 -0400
Message-ID: <3D9A4615.4050300@ca.ibm.com>


... further...
When an update causes a row to grow (e.g. my storing a longer variable length value). Then the DBMS will try to shuffle the other rows in the page to squeeze teh row in. When that fails the row has to move to another page and it leaves an indirection pointer (like the forwarding address you leave when you move :-). This indirection hurts performance (one more IO).
Reorg will remove those inderections and eliminate free space between rows that occurs if a row gets inserted in the place where a bigger row got deleted, or where a rows' variable fields shrank. Reorg may also try to enhance any chosen clustering of the data.

Cheers
Serge

-- 

Serge Rielau
DB2 UDB SQL Compiler Development
IBM Software Lab, Toronto

Try the DB2 UDB V8.1 beta at
http://www-3.ibm.com/software/data/db2/
Received on Tue Oct 01 2002 - 20:04:21 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US