Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE

DB2LUW -- Why does Replicate require SYSADM user privilege to access DB2 records and transaction logs?

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
Sonja_Bauernfeind
Digital Support
Digital Support

DB2LUW -- Why does Replicate require SYSADM user privilege to access DB2 records and transaction logs?

Last Update:

Aug 28, 2020 5:36:25 AM

Updated By:

Sonja_Bauernfeind

Created date:

Nov 7, 2019 4:01:26 PM

Tech-note - FAQ

Question:

Why does Replicate require SYSADM user privilege to access DB2 records and transaction logs?
The question is also relevant when using the SAPApp/DB Endpoint with DB2LUW backend.

Answer:

The DB2 for LUW documentation in the Replicates User's Guide lists the following permission related prerequisites:

  • SYSADM or DBADM
  • DATAACCESS

The Replicate DB2 for LUW endpoint uses several APIs and tables that require these permissions, here are few examples:

  1. The db2ReadLog as specified in the IBM documentation required these permissions.
  2. The MON_GET_LOCKS which is needed for the transaction consistency mechanism, also requires either SYSADM or SYSMON authority, this is documented here.

In addition Replicate calls and uses these tables:

  • Catalog tables (e.g. SYSCAT.TABLES , SYSCAT.DATAPARTITIONS, SYSCAT.COLUMNS, SYSCAT.DATAPARTITIONEXPRESSION..).
  • Functions that require DATAACCESS authority (e.g. MON_FORMAT_LOCK_NAME, MON_GET_TRANSACTION_LOG, ENV_SYS_INFO..).
  • Tables used in the Task.
Labels (1)
Version history
Last update:
‎2020-08-28 05:36 AM
Updated by: