SQL administration API portal: Arguments by privilege groups
You can view a list of admin() and task() function arguments, which are sorted by privilege groups, with links to information about the arguments.
Privilege groups identify what SQL administration API commands a user can run. Some function arguments are in multiple privilege groups. Privilege groups are granted to users so that they can run the commands that they need for their jobs. By default, only user informix or the DBSA can run SQL administration API commands.
Use the grant admin argument to grant privileges and the revoke admin argument to revoke privileges.
- ADMIN: The user can run all SQL administration API functions.
- BAR privilege group: The user can run backup and restore functions.
- FILE privilege group: The user can manage the message log and display file information.
- GRANT privilege group: The user has the privilege to grant and revoke privileges.
- HA privilege group: The user can run high-availability functions.
- MISC privilege group: The user can administer the database server.
- MONITOR privilege group: The user can run all SQL administration API functions that only display information.
- OPERATOR: The user can run all SQL administration API functions except functions in the GRANT privilege group.
- REPLICATION privilege group: The user can run Enterprise Replication cdr utility functions.
- SQL privilege group: The user can run functions that are related to SQL statements for managing databases.
- SQLTRACE privilege group: The user can run SQL tracing functions.
- STORAGE privilege group: The user can run space-related functions.
- TENANT privilege group: The user can run tenant database functions.
BAR privilege group
The BAR privilege group includes SQL administration API function arguments to back up your databases.
Argument | Version |
---|---|
archive fake argument: Perform an unrecorded backup (SQL administration API) | 11.50.xC1 |
ontape archive argument: Backup the data on your database (SQL administration API) | 11.70.xC2 |
onbar argument: Backup the storage spaces (SQL administration API) | 11.70.xC2 |
onsmsync argument: Synchronize with the storage manager catalog (SQL administration API) | 11.70.xC2 |
FILE privilege group
The FILE privilege group includes SQL administration API function arguments to manage message logs and display file information.
Argument | Version |
---|---|
file status argument: Display the status of a message log file (SQL administration API) | 11.10.xC3 |
message log rotate argument: Rotate the message log file (SQL administration API) | 11.10.xC3 |
message log delete argument: Delete a message log file (SQL administration API) | 11.10.xC3 |
message log truncate argument: Delete the contents of a message log file (SQL administration API) | 11.10.xC3 |
print file info argument: Display directory or file information (SQL administration API) | 11.70.xC2 |
GRANT privilege group
The GRANT privilege group includes SQL administration API function arguments to grant or revoke privileges for running SQL administration API commands to other users.
Argument | Version |
---|---|
grant admin argument: Grant privileges to run SQL administration API commands | 12.10.xC1 |
revoke admin argument: Revoke privileges to run SQL administration API commands | 12.10.xC1 |
HA privilege group
The HA privilege group includes SQL administration API function arguments to manage high-availability clusters.
MISC privilege group
The MISC privilege group includes SQL administration function arguments to administer the database server:
onstat
SQL administration API function arguments to monitor the database server by running onstat commands.
Argument | Version |
---|---|
onstat argument: Monitor the database server (SQL administration API) | 12.10.xC1 |
Configuration parameters
SQL administration API function arguments to update configuration parameters.
Data, partitions, and extents
SQL administration API function arguments to manage data, partitions, and extents.
Argument | Version |
---|---|
check data argument: Check data consistency (SQL administration API) | 11.10.xC1 |
check extents argument: Check extent consistency (SQL administration API) | 11.10.xC1 |
check partition argument: Check partition consistency (SQL administration API) | 11.10.xC1 |
checkpoint argument: Force a checkpoint (SQL administration API) | 11.10.xC1 |
create dbaccessdemo argument: Create the demonstration database (SQL administration API) | 12.10.xC1 |
onmode and C arguments: Control the B-tree scanner (SQL administration API) | 11.10.xC1 |
onmode and c arguments: Force a checkpoint (SQL administration API) | 11.10.xC1 |
print partition argument: Print partition information (SQL administration API) | 11.10.xC1 |
set dataskip argument: Start or stop skipping a dbspace (SQL administration API) | 11.10.xC1 |
set index compression argument: Change index page compression (SQL administration API) | 11.50.xC2 |
Listen threads
SQL administration API function arguments to control listen threads for a SOCTCP or TLITCP network protocol without interrupting existing connections.
Argument | Version |
---|---|
restart listen argument: Stop and start a listen thread dynamically (SQL administration API) | 11.50.xC6 |
start listen argument: Start a listen thread dynamically (SQL administration API) | 11.50.xC6 |
stop listen argument: Stop a listen thread dynamically (SQL administration API) | 11.50.xC6 |
Message log
SQL administration API function arguments to manage message logs.
Argument | Version |
---|---|
file status argument: Display the status of a message log file (SQL administration API) | 11.10.xC3 |
message log rotate argument: Rotate the message log file (SQL administration API) | 11.10.xC3 |
message log delete argument: Delete a message log file (SQL administration API) | 11.10.xC3 |
message log truncate argument: Delete the contents of a message log file (SQL administration API) | 11.10.xC3 |
Memory
SQL administration API function arguments to manage memory.
Argument | Version |
---|---|
add bufferpool argument: Add a buffer pool (SQL administration API) | 11.10.xC1 |
add memory argument: Increase shared memory (SQL administration API) | 11.10.xC1 |
onmode and a arguments: Add a shared-memory segment (SQL administration API) | 11.10.xC1 |
onmode and F arguments: Free unused memory segments (SQL administration API) | 11.10.xC1 |
onmode and n arguments: Unlock resident memory (SQL administration API) | 11.10.xC1 |
onmode and r arguments: Force residency of shared memory (SQL administration API) | 11.10.xC1 |
scheduler lmm enable argument: Specify automatic low memory management settings (SQL administration API) | 11.70.xC3 11.50xC9 |
scheduler lmm disable argument: Stop automatic low memory management (SQL administration API) | 11.70.xC3 11.50xC9 |
PDQ
SQL administration API function arguments to manage PDQ.
Argument | Version |
---|---|
onmode and D arguments: Set PDQ priority (SQL administration API) | 11.10.xC1 |
onmode and M arguments: Temporarily change decision-support memory (SQL administration API) | 11.10.xC1 |
onmode and Q arguments: Set maximum number for decision-support queries (SQL administration API) | 11.10.xC1 |
onmode and S arguments: Set maximum number of decision-support scans (SQL administration API) | 11.10.xC1 |
Server mode
SQL administration API function arguments to change the server mode.
Argument | Version |
---|---|
onmode and j arguments: Switch the database server to administration mode (SQL administration API) | 11.10.xC1 |
onmode and m arguments: Switch to multi-user mode (SQL administration API) | 11.10.xC1 |
SQL statement cache
SQL administration API function arguments to manage the SQL statement cache.
Argument | Version |
---|---|
onmode and e arguments: Change usage of the SQL statement cache (SQL administration API) | 11.10.xC1 |
onmode and W arguments: Reset statement cache attributes (SQL administration API) | 11.10.xC1 |
Other administrative tasks
SQL administration API function arguments to manage other administrative tasks.
MONITOR privilege group
The MONITOR privilege group includes SQL administration function arguments to monitor the message log, Enterprise Replication, and compression estimates.
Argument | Version |
---|---|
cdr error, cdr finderr, cdr
list repair, cdr list replicate, cdr
list replicateset, cdr list server, cdr
list template, cdr stats recv, and cdr
stats rqm arguments cdr argument: Administer Enterprise Replication (SQL administration API) |
12.10.xC1 |
file status argument: Display the status of a message log file (SQL administration API) | 11.10.xC3 |
index estimate_compression argument: Estimate index compression (SQL administration API) | 12.10.xC1 |
print error argument: Print an error message (SQL administration API) | 11.10.xC1 |
onstat argument: Monitor the database server (SQL administration API) | 12.10.xC1 |
table estimate_compression and fragment
estimate_compression arguments table or fragment arguments: Compress data and optimize storage (SQL administration API) |
11.50.xC4 |
REPLICATION privilege group
The REPLICATION privilege group includes SQL administration API function arguments to manage Enterprise Replication.
Argument | Version |
---|---|
cdr argument: Administer Enterprise Replication (SQL administration API) | 11.50.xC3 |
SQL privilege group
The SQL privilege group includes SQL administration API function arguments to create and drop databases and view error messages.
Argument | Version |
---|---|
create database argument: Create a database (SQL administration API) | 11.70.xC2 |
create dbaccessdemo argument: Create the demonstration database (SQL administration API) | 12.10.xC1 |
drop database argument: Drop a database (SQL administration API) | 11.70.xC2 |
print error argument: Print an error message (SQL administration API) | 11.10.xC1 |
SQLTRACE privilege group
The SQLTRACE privilege group includes SQL administration API function arguments to manage SQL tracing.
Argument | Version |
---|---|
set sql tracing argument: Set global SQL tracing (SQL administration API) | 11.10.xC1 |
set sql tracing database argument: Change database tracing (SQL administration API) | 11.50.xC3 |
set sql tracing session argument: Control tracing for a session (SQL administration API) | 11.50.xC3 |
set sql tracing user argument: Control tracing for users (SQL administration API) | 11.10.xC1 |
set sql user tracing argument: Set global SQL tracing for a user session (SQL administration API) | 11.50.xC3 |
STORAGE privilege group
The STORAGE privilege group includes SQL administration API function arguments for managing the following aspects of storage:
Storage space encryption argument
SQL administration API function argument to change the master encryption key for storage space encryption.
Argument | Version |
---|---|
master_key reset argument: Change the keystore password (SQL administration API) | 12.10.xC8 |
Automatic table storage location arguments
SQL administration API function arguments to manage the list of dbspaces that store automatically allocated fragments.
Argument | Version |
---|---|
autolocate database add argument: Add a dbspace to the dbspace list (SQL administration API) | 12.10.xC3 |
autolocate database anywhere argument: Add all dbspaces to the dbspace list (SQL administration API) | 12.10.xC3 |
autolocate database argument: Specify dbspaces for automatic location and fragmentation (SQL administration API) | 12.10.xC3 |
autolocate database off argument: Disable automatic fragmentation for a database (SQL administration API) | 12.10.xC3 |
autolocate database remove argument: Remove a dbspace from the dbspace list (SQL administration API) | 12.10.xC3 |
Compression
SQL administration API function arguments to manage the compression of data and to optimize storage.
Argument | Version |
---|---|
index compress repack shrink arguments: Optimize the storage of B-tree indexes (SQL administration API) | 12.10.xC1 |
index estimate_compression argument: Estimate index compression (SQL administration API) | 12.10.xC1 |
table or fragment arguments: Compress data and optimize storage (SQL administration API) | 11.50.xC4 |
purge compression dictionary arguments: Remove compression dictionaries (SQL administration API) | 11.50.xC4 |
For an overview of compression and storage optimization commands, see Table and fragment compress and uncompress operations (SQL administration API).
Logical and physical logs
SQL administration API function arguments to manage logical and physical logs.
Argument | Version |
---|---|
add log argument: Add a new logical log (SQL administration API) | 11.10.xC1 |
alter logmode argument: Change the database logging mode (SQL administration API) | 11.10.xC1 |
alter plog argument: Change the physical log (SQL administration API) | 11.10.xC1 |
drop log argument: Drop a logical log (SQL administration API) | 11.10.xC1 |
Mirroring
SQL administration API function arguments to manage mirroring.
Argument | Version |
---|---|
add mirror argument: Add a mirror chunk (SQL administration API) | 11.10.xC1 |
start mirroring argument: Starts storage space mirroring (SQL administration API) | 11.10.xC1 |
stop mirroring argument: Stops storage space mirroring (SQL administration API) | 11.10.xC1 |
Storage spaces
SQL administration API function arguments to manage chunks, blobspaces, dbspaces, and sbspaces.
Storage provisioning
SQL administration API function arguments to manage chunks, blobspaces, dbspaces, and sbspaces from storage pools.
TENANT privilege group
The TENANT privilege group includes SQL administration API function arguments to manage tenant databases.
Argument | Version |
---|---|
tenant create argument: Create a tenant database (SQL Administration API) | 12.10.xC4 |
tenant drop argument: Drop a tenant database (SQL Administration API) | 12.10.xC4 |
tenant update argument: Modify tenant database properties (SQL Administration API) | 12.10.xC4 |