Comparison before and after compress of DB2

Source: Internet
Author: User

The following table type fields are compared before and after compress of DB2: metric Data type ColumnColumn name schema Data type name Length Scale Nulls limit --------- using PART_NUM sysibm character 15 0 NoCNTRY_CODE sysibm character 3 0 using sysibm character 3 0 using sysibm character 2 0 using sysibm date 4 sysibm date 4 0 NoSRP_PRICE sysibm decimal 19 4 sysibm decimal 19 4 sysibm decimal 19 4 sysibm decimal 19 4 sysibm decimal 19 4 sysibm decimal 19 4 sysibm decimal 19 4 sysibm decimal 19 4 sysibm decimal 19 4 sysibm decimal 19 4 sysibm decimal 19 4 sysibm decimal 19 4 sysibm decimal 19 4 sysibm decimal 19 4 sysibm decimal 19 4 sysibm timestamp 10 6 sysibm character 12 0 noSAP_ODS_ADD_DATE sysibm timestamp 10 6 NoMOD_BY_USER_NAME sysibm character 12 0 NoSAP_ODS_MOD_DATE sysibm timestamp 10 6 No 24 record (s) selected. select. tabschema,. tabname, decimal (B. pagesize *. npages/1024/1024, 20, 5) tablesize from syscat. tables a left join syscat. tablespaces B on. tbspaceid = B. tbspaceid where. TABSCHEMA = 'wwpp2' and. TABNAME = 'cntry _ price' and. type = 't'order by. tbspace C: \ Program Files (x86) \ IBM \ SQLLIB \ BIN> db2 select. tabschema,. tabname, decimal (B. pagesize *. npages/1024/1024, 20, 5) tablesize from syscat. tables a left join syscat. tablespaces B on. tbspaceid = B. tbspaceid where. TABSCHEMA = 'wwpp2' and. TABNAME = 'cntry _ price' and. type = 't'order by. tbspace tabschema tabname tablesize partition--------------------- WWPP2 CNTRY_PRICE 2562.00000 1 record (s) selected. c: \ Program Files (x86) \ IBM \ SQLLIB \ BIN> db2 select. tabschema,. tabname, decimal (B. pagesize *. npages/1024/1024, 20, 5) tablesize from syscat. tables a left join syscat. tablespaces B on. tbspaceid = B. tbspaceid where. TABSCHEMA = 'wwpp2' and. TABNAME = 'cntry _ price' and. type = 't'order by. tbspace tabschema tabname tablesize partition--------------------- WWPP2 CNTRY_PRICE 1964.00000 1 record (s) selected.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.