History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-3216
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Robin Shen
Reporter: Phong Trinh
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
QuickBuild

Maintenance oF QuickBuild database

Created: 09/Jul/18 02:38 PM   Updated: 14/Jul/18 12:51 AM
Component/s: None
Affects Version/s: 8.0.5
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment: Linux


 Description  « Hide
 We are using PostgreSql for our QuickBuild database, and the database is running out of disk spaces sometimes. We have a maintenance job which checks several QuickBuild configurations every 30 minutes to see whether they are as desired. If not, it modifies them. Recently there were some reasons, these configurations were modified every 30 minutes, and this took a lot of disk spaces of the database. Could you please give me recommendations on maintenance of the QuickBuild database?

 Thank you in advance,
ptrinh

 All   Comments   Work Log   Change History      Sort Order:
Robin Shen [09/Jul/18 11:38 PM]
This is due to the fact that PostgreSQL does not purge LOBs automatically even if they are no longer being used. I'd suggest to write some form of stored procedure at PostgreSQL side to purge unused LOBs periodically as suggested here:
https://www.postgresql.org/docs/9.1/static/vacuumlo.html

Phong Trinh [13/Jul/18 03:04 PM]
Thank you for the suggestion, Robin.