The table itself was created with the option "COMPRESS YES", along with all
partitions, and then the data was loaded into the table.
No table-partitions were added (attached) afterwards.
When I try the command:
db2 reorg table [partitioned-table] resetdictionary;
I get the warning message:
SQL2220W The compression dictionary was not built for one or more data
objects.
The db2.nfy shows the following:
ADM5591W A compression dictionary could not be built for object "6" in
tablespace "5" because no eligible data was found. If a dictionary existed
a-priori it will be used instead.
The statistics for the table show that there is no compression at all in the
table:
AVGROWSIZE AVGCOMPRESSEDROWSIZE PCTPAGESSAVED AVGROWCOMPRESSIONRATIO
PCTROWSCOMPRESSED
---------- -------------------- ------------- ------------------------ ------------------------
612 0 0 +0,00000E+000
+0,00000E+000
What could be the problem here, why does the row compression not work?
Because of the empty table partition?
Because I don't read the table stats the right way?
Any ideas?
Regards,
Damir
I don't think you have an issue here.
What you got was a warning, not an error. It looks like you got
compressions for 2006-2008.
Note that in DB2 9.5 the remaining partitions will automatically be
compressed once sufficient data becomes available.
Cheers
Serge
--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab
AVGROWSIZE AVGCOMPRESSEDROWSIZE PCTPAGESSAVED AVGROWCOMPRESSIONRATIO
PCTROWSCOMPRESSED
---------- -------------------- ------------- ------------------------ ------------------------
173 173 71 +3,53826E+000
+1,00000E+002
Regards,
Damir
"Serge Rielau" <sri...@ca.ibm.com> wrote in message
news:62tcchF...@mid.individual.net...