0% found this document useful (0 votes)
25 views31 pages

Instalacion DB2

The document details the creation of a DB2 database named DB2CLM. It connects to the database as user db2inst1 with the given password. It then creates the database schema and grants permissions. It proceeds to create various tablespaces - FCISRM_TABLES, FCISRM_INDEXES, FCISRM_BLOBS, and FCISRM_TEMP. Finally it grants usage permissions on the tablespaces to user db2inst1.

Uploaded by

erik
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
25 views31 pages

Instalacion DB2

The document details the creation of a DB2 database named DB2CLM. It connects to the database as user db2inst1 with the given password. It then creates the database schema and grants permissions. It proceeds to create various tablespaces - FCISRM_TABLES, FCISRM_INDEXES, FCISRM_BLOBS, and FCISRM_TEMP. Finally it grants usage permissions on the tablespaces to user db2inst1.

Uploaded by

erik
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 31

Password cemex2013

Creación de base de datos

Se genero la instancia

DB2 CREATE DATABASE DB2CLM ON /db2inst1/tablespace USING CODESET UTF-8 TERRITORY US

db2 connect to DB2CLM user db2inst1 using C3m3x2oi3

db2 create schema DB2CLM authorization db2inst1

db2 GRANT CREATEIN, dropin, alterin on schema DB2CLM to user db2inst1


db2 create bufferpool FCISRM_BP immediate size 250 automatic pagesize 32 K

db2 connect reset

db2 create regular tablespace FCISRM_TABLES pagesize 32K managed by automatic storage
extentsize 16 prefetchsize 16 bufferpool FCISRM_BP overhead 10.67 transferrate 0.04 dropped
table recovery ON
db2 create regular tablespace FCISRM_INDEXES pagesize 32K managed by
automatic storage extentsize 16 prefetchsize 16 bufferpool FCISRM_BP
overhead 10.67 transferrate 0.04 dropped table recovery ON

db2 create regular tablespace FCISRM_BLOBS pagesize 32K managed by


automatic storage extentsize 64 prefetchsize 64 bufferpool FCISRM_BP
overhead 10.67 transferrate 0.04 dropped table recovery ON maxsize 20G
db2 create system temporary tablespace FCISRM_TEMP pagesize 32K managed
by database using (' /db2inst1/temporary ') extentsize 16 prefetchsize 16
bufferpool FCISRM_BP overhead 10.5 transferrate 0.14

db2 grant USE OF TABLESPACE FCISRM_TABLES TO db2inst1

db2 grant USE OF TABLESPACE FCISRM_INDEXES TO db2inst1

db2 grant USE OF TABLESPACE FCISRM_BLOBS TO db2inst1

db2 grant USE OF TABLESPACE FCISRM_TEMP TO db2inst1

You might also like