on 05-03-2008 3:04 PM
Hi,
When i open a table definition on Database Studio, and then selects the Miscellaneous tab or Optimizer Statistics tab, on Console tab i get the message "Error loading catalog object.", all other tabs works very well.
MaxDB version is:
Kernel 7.6.03 Build 007-123-157-515
X64/LIX86 7.6.03 Build 007-123-157-515
how i can check because i get this message?
KR
Clóvis
Hi Clovis,
do you get the error for every table or just for some of them?
KR Lars
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
i get this error for all tables.
i saved the event log viewer and get the follow info about the error:
Database Studio
Version : 1.0
Eclipse Version : 3.2.0
-------------------------------------------------------------
[D:2008-05-05 09:27:02.046][ERROR ][T:10][G:1][S:none][M:none][C:SQL Studio Plugin] Error loading catalog object. [P:com.sap.sdb.tools.ui.sqlstudio][L:com.sap.sdb.tools.ui.sqlstudio.editor.tabledefeditor.TableDefFormEditor$1.run(TableDefFormEditor.java:471)]
com.sap.dbtech.jdbc.exceptions.DatabaseException: [-4004] (at 76): Unknown table name:SYSUPDSTATLOG
at com.sap.dbtech.jdbc.packet.ReplyPacket.createException(ReplyPacket.java:64)
at com.sap.dbtech.jdbc.ConnectionSapDB.throwSQLError(ConnectionSapDB.java:969)
at com.sap.dbtech.jdbc.ConnectionSapDB.execute(ConnectionSapDB.java:607)
at com.sap.dbtech.jdbc.CallableStatementSapDB.sendCommand(CallableStatementSapDB.java:1786)
at com.sap.dbtech.jdbc.StatementSapDB.sendSQL(StatementSapDB.java:911)
at com.sap.dbtech.jdbc.CallableStatementSapDB.doParse(CallableStatementSapDB.java:232)
at com.sap.dbtech.jdbc.CallableStatementSapDB.constructor(CallableStatementSapDB.java:185)
at com.sap.dbtech.jdbc.CallableStatementSapDB.<init>(CallableStatementSapDB.java:79)
at com.sap.dbtech.jdbc.ConnectionSapDB.prepareStatement(ConnectionSapDB.java:856)
at com.sap.dbtech.jdbc.trace.Connection.prepareStatement(Connection.java:276)
at com.sap.sdb.tools.ui.sqlstudio.dbutil.JdbcExtended.getOptimizerStatisticTime(JdbcExtended.java:138)
at com.sap.sdb.tools.ui.sqlstudio.dbutil.MaxDBTable.populateRuntimeCharacteristic(MaxDBTable.java:1368)
at com.sap.sdb.tools.ui.sqlstudio.dbutil.MaxDBTable.populateTablePartial(MaxDBTable.java:919)
at com.sap.sdb.tools.ui.sqlstudio.editor.tabledefeditor.TableDefFormEditor$1.run(TableDefFormEditor.java:449)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
Hi Clovis,
the 'RESOURCE' user does not have the required privileges to query the table in question here (domain.SYSUPDSTATLOG).
This catalog table is available to the 'DBA' users only.
The difference between these users is described in the documentation
[Database User (SAP Library - Basic Information|http://maxdb.sap.com/doc/7_6/4f/ac35406ee32e34e10000000a155106/content.htm]
Be aware - it's not the schema owner that needs to be the DBA user, but the user with which you logged onto in DB Studio to query the statistics data.
Anyhow - it's not too nice that DB Studio throws an error for that (even with newer versions). Perhabs this can be handled nicer.
KR Lars
HI Clovis,
the schema-list displays only those schemas, where the user you used to logon is actually the OWNER of that schema.
So in that case you'll have to make the owner of the schema DBA.
Anyhow, this user can also own other users in turn, that can use the schema but that are only RESOURCE users.
I guess as long as you don't allow anybody to directly connect to the database (should never happen), than it would be OK to just set usermode to DBA. Especially on your development system.
Regards,
Lars
BTW: there are these little funny things - forum points - for helpful answers...
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.