You are viewing an older version of this section. View current production version.
Triggers the garbage collector on the source aggregator and propagates to all the leaves.
TRIGGER <n> GC [FLUSH]
FLUSH: Releases all unused memory back to the operating system.
n: Specifies the number of passes of the GC to run. In practice, always use 3 passes of the GC.
- This command can be run on any aggregator.
- Only users with
SUPERprivileges can run this command.
TRIGGER 3 GC FLUSH;