C.6. Restarting the Analytics Engine (axe.recycle_ddb) #
You can restart the analytics engine to apply updated configuration parameters without restarting the current session. The updated configuration parameters apply only after the first executed analytical query.
Important
axe.recycle_ddb is a stored procedure reserved for troubleshooting, and it must not be used without supervision of a database engineer. The recommended way of applying updated configuration parameters is restarting the current session.
Execute this stored procedure outside a transaction block.
Before restarting the analytics engine, drop temporary Postgres Pro AXE tables from the session.
Required privileges: Superuser or the Postgres Pro AXE administrator with the EXECUTE privilege on this stored procedure.
For more information about access management, refer to Chapter 12.
Execute the following command on the Postgres Pro AXE server:
CALL axe.recycle_ddb();
Example C.1. Restarting the Analytics Engine and Updating Configuration Parameters
SHOW axe.memory_limit;
SELECT * FROM axe.query(' SELECT current_setting(''memory_limit'') ');
CALL axe.recycle_ddb();
SET axe.memory_limit = 1024;
SELECT * FROM axe.query(' SELECT current_setting(''memory_limit'') ');