關於 catalog db 的問題
請問大家
小妹我執行了
$ db2 catalog db appledb as applenew
有在 db2 list db directory 看到新的 alias名稱,
但在 db2 list db directory on /db2home/inst1 下,還是原本的DBName。
請問,這有辦法同步更改嗎 ?
或是有其他指令可以更動,謝謝。
$ db2 list db directory
System Database Directory
Database 1 entry:
Database alias = applenew
Database name = appledb
Local database directory = /db2home/inst1
Database release level = b.00
Comment =
Directory entry type = Indirect
Catalog database partition number = 0
Alternate server hostname =
Alternate server port number =
$ db2 list db directory on /db2home/inst1
Local Database Directory on /db2home/inst1
Database 1 entry:
Database alias = appledb
Database name = appledb
Database directory = SQL00005
Database release level = b.00
Comment =
Directory entry type = Home
Catalog database partition number = 0
Database partition number = 0
|