Hi Mark,
The instance owner in production is db2tgms and the instance owner in
dev is itgmsv9.
db2tgms has the privileges, bu I do not have an instance in dev with
that name. It is itgmsv9.
Hi Mark,
Hi Chris,
I was not able to reproduce this.
For example, for this query:
select dbadmauth, securityadmauth, substr(grantee, 1, 10) grantee
from sysibm.sysdbauth
I have:
in the database under instance db2inst1:
DBADMAUTH SECURITYADMAUTH GRANTEE
--------- --------------- ----------
Y Y DB2INST1
N N PUBLIC
when I restore this database under instance db2inst2 from the instance
owner of this instance I have:
DBADMAUTH SECURITYADMAUTH GRANTEE
--------- --------------- ----------
Y Y DB2INST1
N N PUBLIC
Y Y DB2INST2
so, it works as designed.
The reason why you don't have the same in you env can be only if you
didn't set the DB2_RESTORE_GRANT_ADMIN_AUTHORITIES registry variable
for your dev instance.
Otherwise you should open the PMR.
Regards,
Mark B.
The registry variable you mention was introduced in 9.7 FP2, so may be
the OP hasn't applied that fixpack yet?
Cheers!
--
Jeroen