[MCOL-1266] Too much logging and not clearing up Created: 2018-03-13 Updated: 2023-10-26 Resolved: 2018-03-13 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | ? |
| Affects Version/s: | 1.1.2 |
| Fix Version/s: | Icebox |
| Type: | Bug | Priority: | Major |
| Reporter: | BOBY PETER | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Environment: |
REHL 7 getsoftwareinfo Tue Mar 13 13:42:25 2018 Name : mariadb-columnstore-platform |
||
| Issue Links: |
|
||||||||
| Description |
|
I'm loading data into multiple columnstore tables through Cpimport. It is creating too much log files in the system and is not cleaning it.
Is there any flag or threshold that I could adjust so that it will keep these files only for few days? [root@usiaddcdsm13 columnstore_tmp_files]# ls -ltr /usr/local/mariadb/columnstore/data/bulk/log | wc [root@usiaddcdsm13 columnstore_tmp_files]# ls -ltr /tmp/columnstore_tmp_files | wc |
| Comments |
| Comment by Andrew Hutchings (Inactive) [ 2018-03-13 ] |
|
Closing as duplicate of |
| Comment by David Hill (Inactive) [ 2018-03-13 ] |
|
As noted in this document, MariaDB ColumnStore does do log rotation and 7 day cleanup for for the system and MariaDB SQL logs. So this file could be editted to also perform log cleanup on the data bulkload logs. So you could add this to the logrotate file mentioned in the documentation. This will rotate the logs daily and delete them after 3 days. /usr/local/mariadb/columnstore/data/bulk/log/* { missingok rotate 3 daily maxage 3 }/tmp/columnstore_tmp_files/* { missingok rotate 3 daily maxage 3 } |