DB2 Creating Table Spaces

Source: Internet
Author: User
Tags db2

--Buffer pool

CREATE Bufferpool Emp_buf_pool
IMMEDIATE All Dbpartitionnums
SIZE 250
Numblockpages 0
PAGESIZE K;

--Temporary table space

CREATE Temporary tablespace emp_tmp
In DATABASE PARTITION GROUP ibmtempgroup
PAGESIZE 32K
MANAGED by DATABASE
USING (File '/home/db2inst1/db2inst1/node0000/ng2_app8/t0000000/emp_tmp/hefei.dat ' 2G)
Extentsize 32
Prefetchsize AUTOMATIC Bufferpool Emp_buf_pool
OVERHEAD 7.50
Transferrate 0.06
DROPPED TABLE RECOVERY OFF;

--Physical table space
CREATE REGULAR tablespace tbs_emp
In DATABASE PARTITION GROUP ibmdefaultgroup
PAGESIZE 32K
MANAGED by DATABASE
USING (File '/home/db2inst1/db2inst1/node0000/ng2_app8/t0000000/tbs_emp ' 2G) extentsize 32
Prefetchsize AUTOMATIC Bufferpool Emp_buf_pool
OVERHEAD 7.50
Transferrate 0.06
DROPPED TABLE RECOVERY on;





DB2 Creating Table Spaces

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.