小编给大家分享一下db2中create database命令怎么用,希望大家阅读完这篇文章之后都有所收获,下面让我们一起去探讨吧!
CREATE DATABASE PERFDB
AUTOMATIC STORAGE YES
ON '/db2data' DBPATH ON '/db2data/db2inst1'
ALIAS PERFDB
USING CODESET GBK TERRITORY CN
COLLATE USING SYSTEM
PAGESIZE 8192
NUMSEGS 1
DFT_EXTENT_SZ 32
CATALOG TABLESPACE
MANAGED BY
AUTOMATIC STORAGE
EXTENTSIZE 4
PREFETCHSIZE -1
OVERHEAD -1
TRANSFERRATE -1
NO FILE SYSTEM CACHING
AUTORESIZE YES
INITIALSIZE 32 M
USER TABLESPACE
MANAGED BY
AUTOMATIC STORAGE
EXTENTSIZE 32
PREFETCHSIZE -1
OVERHEAD 7.5
TRANSFERRATE 0.06
NO FILE SYSTEM CACHING
AUTORESIZE YES
INITIALSIZE 32 M
TEMPORARY TABLESPACE
MANAGED BY
AUTOMATIC STORAGE
EXTENTSIZE 32
PREFETCHSIZE -1
OVERHEAD 7.5
TRANSFERRATE 0.06
FILE SYSTEM CACHING;
CREATE BUFFERPOOL BP32K
IMMEDIATE
ALL DBPARTITIONNUMS
SIZE AUTOMATIC
NUMBLOCKPAGES 0
PAGESIZE 32K;
CREATE EVENT MONITOR DB2DETAILDEADLOCK
FOR DEADLOCKS WITH DETAILS
WRITE TO FILE 'db2detaildeadlock'
MAXFILES 20
MAXFILESIZE 512
BUFFERSIZE 17
BLOCKED
APPEND
AUTOSTART
ON DBPARTITIONNUM 0
GLOBAL;
看完了这篇文章,相信你对“db2中create database命令怎么用”有了一定的了解,如果想了解更多相关知识,欢迎关注亿速云行业资讯频道,感谢各位的阅读!
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。