How does DB2 query all the Container in the Database?

Source: Internet
Author: User

This article mainly describes the actual operation methods of all Container in DB2 Database query. The following describes the actual operation methods of all Container in DB2 Database query, I hope this will help you in your future studies.

How does DB2 query all the iner in the Database?

 
 
  1. db2 "select substr(tbsp_name,1,25) tbsp_name,substr(container_name,1,50)  
  2. container_name,total_pages,usable_pages from sysibmadm.snapcontainer"  
  3. Exp  
  4. :  
  5. [db2inst1@localhost ~]$ db2 "select substr(tbsp_name,1,25) tbsp_name,substr(container_name,1,50)  
  6. container_name,total_pages,usable_pages from sysibmadm.snapcontainer"  
  7. TBSP_NAME CONTAINER_NAME TOTAL_PAGES USABLE_PAGES  
  8. SYSCATSPACE /home/db2inst1/db2inst1/NODE0000/SAMPLE/T0000000/C 8192 8188  
  9. TEMPSPACE1 /home/db2inst1/db2inst1/NODE0000/SAMPLE/T0000001/C 0 0  
  10. USERSPACE1 /home/db2inst1/db2inst1/NODE0000/SAMPLE/T0000002/C 4096 4064  
  11. IBMDB2SAMPLEREL /home/db2inst1/db2inst1/NODE0000/SAMPLE/T0000003/C 4096 4064  
  12. SYSTOOLSPACE /home/db2inst1/db2inst1/NODE0000/SAMPLE/T0000004/C 4096 4092  
  13. IBMDB2SAMPLEXML /home/db2inst1/db2inst1/NODE0000/SAMPLE/T0000005/C 4096 4064  
  14. SYSTOOLSTMPSPACE /home/db2inst1/db2inst1/NODE0000/SAMPLE/T0000006/C 0 0 

The above content is an introduction to all the Container methods in the DB2 Database query. I hope you will get some benefits.

The above content is the description of all the Container methods in the DB2 Database query, hoping to help you in this aspect.

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.