summaryrefslogtreecommitdiff
path: root/sql/DB2-create.sql
diff options
context:
space:
mode:
Diffstat (limited to 'sql/DB2-create.sql')
-rwxr-xr-xsql/DB2-create.sql8
1 files changed, 8 insertions, 0 deletions
diff --git a/sql/DB2-create.sql b/sql/DB2-create.sql
new file mode 100755
index 00000000..4187f6c8
--- /dev/null
+++ b/sql/DB2-create.sql
@@ -0,0 +1,8 @@
+CONNECT RESET@
+ATTACH TO db2inst1@
+CREATE DATABASE LEDGER USING CODESET UTF-8 TERRITORY US DFT_EXTENT_SZ 16@
+CONNECT TO LEDGER@
+CREATE BUFFERPOOL LEDGERBP_8K IMMEDIATE SIZE 1000 PAGESIZE 8192@
+CREATE TABLESPACE LEDGER_TS PAGESIZE 8K MANAGED BY SYSTEM USING ('LEDGER_TS') PREFETCHSIZE 8 BUFFERPOOL LEDGERBP_8K@
+CREATE TEMPORARY TABLESPACE LEDGER_TMP_8K PAGESIZE 8K MANAGED BY SYSTEM USING ('LEDGER_TMP_8K') BUFFERPOOL LEDGERBP_8K@
+CONNECT RESET@