Configuring Authorities, Privileges, and Permissions
Configuring Authorities, Privileges, and Permissions
IBM DB2 privileges allow you to create or access database resources. Authority levels allow you to group privileges and perform higher-level database manager maintenance and utility operations. Together, these act to control access to the database manager and its database objects. You can access objects for which you have the required privilege or authority.
To load data into a table, you must have one of the following authorities:
SYSADM authority
DBADM authority
LOAD authority on the database and one of the following privileges:
INSERT privilege on the table when the load utility is invoked in insert, terminate, or restart mode.
INSERT and DELETE privilege on the table when the load utility is invoked in replace, terminate, or restart mode.
In addition, you must have proper read access and read/write permissions:
The database instance owner must have read access to the external loader input files.
If you run IBM DB2 as a service on Windows, you must configure the service start account with a user account that has read/write permissions to use LAN resources, including drives, directories, and files.
If you load to IBM DB2 EEE, the database instance owner must have write access to the load dump file and the load temporary file.