mirror of
https://github.com/bringout/oca-technical.git
synced 2026-04-18 10:32:00 +02:00
Initial commit: OCA Technical packages (595 packages)
This commit is contained in:
commit
2cc02aac6e
24950 changed files with 2318079 additions and 0 deletions
|
|
@ -0,0 +1,7 @@
|
|||
To configure this module, you need to:
|
||||
|
||||
1. Go to Settings/Technical/Automation/Scheduled Actions
|
||||
2. Select actions *Vacuum Postgresql Tables* and *Analyze Postgresql Tables*
|
||||
3. Adapt the schedule to run at a time when your Odoo installation is least busy, take care that the analyze and vacuum cronjobs won't run simultaneously
|
||||
4. Adapt the parameters to match your setting, but the defaults should be fine for most users
|
||||
5. Note that the vacuum cronjob is inactive by default, because this is a potentially very heavy operation
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
- Kevin Kamaa \<kkahumba@therp.nl> (https://therp.nl)
|
||||
- Holger Brunn \<mail@hunki-enterprises.com> (https://hunki-enterprises.com)
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
This module adds a cronjob that vacuums or analyses postgres tables.
|
||||
|
||||
As postgres' autovacuum is not recommended for busy databases, it can be a better choice to schedule this process manually.
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
- it would be nice if the cronjob could detect some odoo-specific measure of "busyness" and only run if it is below some threshold
|
||||
- add some statistics in the model views about number of dead rows, last vacuum timestamp etc from https://www.postgresql.org/docs/current/monitoring-stats.html#MONITORING-PG-STAT-ALL-TABLES-VIEW
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
To use this module, you need to:
|
||||
|
||||
1. Go to Settings/Technical/Automation/Scheduled Actions
|
||||
2. Select action *Vacuum Postgresql Tables*
|
||||
3. Click the *Run Manually* button
|
||||
Loading…
Add table
Add a link
Reference in a new issue