Routine System Maintenance Tasks
To keep a HAWQ system running efficiently, the database must be regularly cleared of expired data and the table statistics must be updated so that the query optimizer has accurate information.
HAWQ requires that certain tasks be performed regularly to achieve optimal performance. The tasks discussed here are required, but database administrators can automate them using standard UNIX tools such as
cron scripts. An administrator sets up the appropriate scripts and checks that they execute successfully. See Recommended Monitoring and Maintenance Tasks for additional suggested maintenance activities you can implement to keep your HAWQ system running optimally.
Every database instance in HAWQ (master and segments) runs a PostgreSQL database server with its own server log file. For information about managing these log files, refer to HAWQ Database Server Log Files.
Log files are also generated when you invoke HAWQ management utilities such as
hawq start and
gpfdist. Management Utility Log Files provides information and maintenance strategies for these log files.