Use the SHOW SYSTEM DEFAULT command to display the session timeout, rowset limit, and query timeout values.
SHOW SYSTEM DEFAULT
[SESSIONTIMEOUT | ROWSETLIMIT | QUERYTIMEOUT]
[DEFPRIORITY | MAXPRIORITY ] | [MATERIALZE [REFRESH] THRESHOLD]
[PASSWORDEXPIRY | PASSWORDPOLICY]
| Input | Description |
|---|---|
| DEFPRIORITY | The default priority for the system. |
| MATERIALIZE THRESHOLD | The refresh threshold for materialized views. Including the phrase REFRESH in this parameter is optional and has no effect. |
| MAXPRIORITY | The maximum priority for the system. |
| QUERYTIMEOUT | The amount of time a query can run before the system sends the administrator a message. A 0 indicates that there is no limit. |
| ROWSETLIMIT | The number of rows a query can return. A 0 indicates that there is no limit. |
| SESSIONTIMEOUT | The amount of time a session can be idle before the system terminates it. A 0 indicates that there is no limit. |
| PASSWORDEXPIRY | Displays the system global default settings for password expiration in n number of days. The n count begins with the date of the last password change. A 0 indicates that the passwords do not expire. |
| PASSWORDPOLICY | Displays the system default settings for the password policy parameter string. |
| Output | Description |
|---|---|
| NOTICE OPTION <value> | The command was successful. |
You must be an administrator, or you must be able to connect to the database and schema.
MYDB.SCH1(USER)=> SHOW SYSTEM DEFAULT QUERYTIMEOUT;
NOTICE: QUERYTIMEOUT is UNLIMITED