04.01.2014 Views

Optimizing SQL Insert Performance - GSE Belux

Optimizing SQL Insert Performance - GSE Belux

Optimizing SQL Insert Performance - GSE Belux

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

MAXROWS n<br />

• Optimisation to avoid wasteful space search on partitioned tablespace in fixed<br />

length compressed and true variable length row insert<br />

• Must carefully estimate ‘average’ row size and how many ‘average’ size rows will<br />

fit comfortably in a single data page<br />

• When MAXROWS n is reached the page is marked full and out of space search<br />

• But introduces on going maintenance challenges<br />

– Could waste space?<br />

– What happens if compression is removed?<br />

– What happens if switch from uncompressed to compressed?<br />

– What happens when new columns are added?<br />

22<br />

© 2010 IBM Corporation

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!