on 12-09-2011 5:37 PM
I'm just starting to migrate from 9.5 to 9.7 and have started to use the 9.7 features for compression of data and index. I recall having read in the past somewhere that SAP recommended not to compress data/or index for SAP cluster and pool tables, ie these would be the tablespaces called CLU and POOL.
I have heard from an aquaintance that in new (fresh out of the box) SAP on 9.7 implemenations all tables/indexes are automatically (by default) compressed, except of course syscats and MDC's etc. On that note, also that volatile tables are not compressed.
My question:
What are others choosing to do? compress all or "ignore SAP cluster and pool tables"? volatile tables?
Hi,
For the Index compression, SAP states that after upgrade to DB2 9.7, compression flag is set to yes for the indexes that is created after upgrade. You can also refer to SAP note 1351160. Also, check below link:
Thanks
Sunny
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anke,
if you choose the compress otion in SAPINST , R3load will create all tables with COMPRESS YES but SAPINST will afterwards remove the COMPRESS flag for the tables that are know to be VOLATILE. The reason is that those are mostly queue tables and spending the CPU overhead for volatile data does not make much sense.
Some cluster tables have a bad compression rate since the cluster data is already compressed on SAP end. Now it depends on the length of the cluster data column if those data is created as a LOB column or if most of the LOB data is inlined in the data pages. Even if the compression rate is not good I believe it will not cause much overhead if some of those tables are compressed but most likely it will not give you much benefit. Would like to hear other opinions.
Regards
Frank
Hello Anke,
let me add to what Frank already has posted.
Often you would not see optimal compression rates with cluster tables in comparison to transparent tables. it could be something like 20 - 30% space savings Cluster vs. 80 - 90 % Transparent.
So, often compressing cluster tables does not add significantly to overall space savings on database level.
Nevertheless, depending on the individual structure of your database, even 30% space savings on a Cluster table may add significantly to overall space savings, for example if the major part of space is allocated by cluster tables.
In any case, i think, it makes sense to compress indexes, regardless of a table being transparent or not.
Hans-Juergen
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.