Disabling enable_sproc_hist_logging
Learn how to disable enable_sproc_hist_logging.
Note: After you disable this parameter, queries from stored procedure that is run from current
session are not recorded in the query history database.
Disabling enable_sproc_hist_logging globally
- Set the following line in
postgresql.conf.
enable_sproc_hist_logging = false - Restart Netezza Performance Server
Disabling enable_sproc_hist_logging at a session level
- Set
enable_sproc_hist_loggingtofalse:-
SYSTEM.ADMIN(ADMIN)=> show enable_sproc_hist_logging;
Example:SHOW VARIABLE SYSTEM.ADMIN(ADMIN)=> set enable_sproc_hist_logging=false; SET VARIABLE SYSTEM.ADMIN(ADMIN)=> show enable_sproc_hist_logging;SYSTEM.ADMIN(ADMIN)=> show enable_sproc_hist_logging; NOTICE: ENABLE_SPROC_HIST_LOGGING is on SHOW VARIABLE SYSTEM.ADMIN(ADMIN)=> set enable_sproc_hist_logging=false; SET VARIABLE SYSTEM.ADMIN(ADMIN)=> show enable_sproc_hist_logging; NOTICE: ENABLE_SPROC_HIST_LOGGING is off SHOW VARIABLE
-