oracle 21c with default container database is having issues with Hammerdb 4.4 #330
-
Hi All,
|
Beta Was this translation helpful? Give feedback.
Replies: 9 comments 8 replies
-
Please make sure that your instance "tpcc" is a pluggable database and you are not trying to create the schema in the container database. Try using instance names such as CDB and PDB to make it clear. If you try to create a user in the container database with sqlplus, you will get the same error:
As below, a manual test and then GUI build has no problem logging in with this password for the system user to the pluggable database and the build proceeds as expected, so this looks like an Oracle error rather than a HammerDB one.
Please confirm and mark as answered. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
I already have a pluggable database which I created with oracle DBCA UI. I have to use oracle service name as global database name, not the pluggable database name. If I use cdbpdb1 as the oracle service name in Hammerdb build options, I am getting could not resolve the connect identifier. Also tnsping is not working in that case. |
Beta Was this translation helpful? Give feedback.
-
Steve, Again, thanks for responding. In trying to use the hammerdbcli to debug this session, conencting as "sysetm" works, connecting as the TPROC-C user does not work. It is unclear if the TPROC-C user should already exist, or not. What debug steps should be taken after connecting? See screenshots. So connecting with "system" works in hammerdbcli, but in the UI, there are errors, with "missing close brace". If in the UI we repeat the system user and password for the TPROC-C user, we receive different errors, of missing close brace, see below. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Steve, any ideas? Again, it does not appear that HammerDB 4.3 or 4.4 can operate with Oracle 21c per all of the attempts. At a minimum, HammerDB appears to be missing SQLPLUS commands to perform an "Alter Session set container=$OraServiceName", where $OraServiceName is the name provided as the first variable in the UI. Are you aware of anyone who has successfully run HammerDB with 21c? |
Beta Was this translation helpful? Give feedback.
-
So you are saying:
and in the screenshot shows logging in to the pluggable database as the system user it still goes into cdb$root?
Login in to the container as system we go into cdb$root
Login to the pluggable database as system this has now changed and you go into cdb$root in 21c changing previous behaviour from what is seen here with 19c?
As before HammerDB logs in as system, creates the user and password and does the grants for you. This user should not be created before and you don't need to change anything in HammerDB. If 21c now prevents logging in to a pluggable database as the system user then of course that will prevent the user creation and this is the issue. Being a system user does not cause a constraint violation, the constraint violation comes from trying to create and load the same schema when it already exists. But of course it should not be created under the system user. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
Hi there,
Just to move the 21c version concern away, I run Hammerdb 4.4 with a 21c database freshly installed in OCI DBCS.
HDB was running on another compute node within the same subnet.
SQL> select * from v$version
Oracle Database 21c EE High Perf Release 21.0.0.0.0 - Production
SQL> ALTER SESSION SET CONTAINER=cdb$root;
Session altered.
SQL> col name for a8
col open_time for a33
select con_id,name,dbid,open_mode,open_time from v$containers;SQL> SQL>