I'm new to Db2 and just installed v11.5 on my Ubuntu 18.04.
I referred these two links for setup purpose:
I'm using DB2 CLI to create a database. On typing in create database <database_name> and press enter, it just stays there; there's no output.
I checked the db2diag.log as well, it stops at this:
2021-05-18-15.41.46.618309+330 E653248E505 LEVEL: Event PID : 29136 TID : 140104312022784 PROC : db2sysc 0 INSTANCE: db2inst1 NODE : 000 DB : SOURCE
APPHDL : 0-7 APPID: *LOCAL.db2inst1.210518101139 AUTHID : DB2INST1 HOSTNAME: Host EDUID : 23 EDUNAME: db2agent (instance) 0 FUNCTION: DB2 UDB, base sys utilities, sqeLocalDatabase::FirstConnect, probe:1000 START : DATABASE: SOURCE : ACTIVATED: NO
Tried 3-4 times; on one occasion I just let it be and it took around 30-40 mins but it created the database. I'm not sure if I'm missing out any initialization step.
Kindly guide.
System Spec: RAM: 16GB, CPU(s): 8, Model name: Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz
create databasespeed depends on your resources : i/o performance (especially if these are virtualised/containerized), how much RAM is available to the instance, and your CPUs, and logging configuration. Please edit your question to add these details. If you are running in a container or VM it can also impact performance. - mao