If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > pctfree and cluster indexes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-11-09, 09:52
MarkhamDBA MarkhamDBA is offline
Registered User
 
Join Date: Dec 2008
Location: Toronto, Canada
Posts: 381
pctfree and cluster indexes

DB2 v8.2 on AIX 5.1 / DB2 v9.5 on AIX 6.5
we have OLTP environment. And pctfree params in our tables are all =-1 (from syscat.indexes). When I read on pctfree in the documentation it is always used with cluster indexes and we do not use cluster indexes. So my questions are:

- what does pctfree=-1 mean? (it's not in the documentation for some reason).
- what value of pctfree for OLTP environment should be used? (range)
- is it necessarely used with cluster indexes or can be used with regular indexes too?

Thanks in advance
__________________
DB2 v9.5 ESE on AIX v6.1/ v9./10 on z/OS
Reply With Quote
  #2 (permalink)  
Old 08-11-09, 10:31
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Quote:
Originally Posted by MarkhamDBA

- what does pctfree=-1 mean? (it's not in the documentation for some reason).
My guess would be that the value has not been specified when creating the index, and the default value is in effect.

Quote:
Originally Posted by MarkhamDBA
- what value of pctfree for OLTP environment should be used? (range)
That obviously depends on the number of inserts and updates to the indexed columns. The more changes you are making to the index, the higer PCTFREE should be. On the other hand, if you don't determine the particular index to be a performance bottleneck, you should probably leave PCTFREE alone.

Quote:
Originally Posted by MarkhamDBA
- is it necessarely used with cluster indexes or can be used with regular indexes too?
PCTFREE applies to any index.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On