nickva commented on issue #5512:
URL: https://github.com/apache/couchdb/issues/5512#issuecomment-2822673822

   Per-db compaction schedule is not something we support. 
   
   If the two types of databases have very different sizes could try using 
`min_size` / `max_size` or `min_priority` / `max_priority` channel 
configurations with separate  `from`/`to` windows size and after removing the 
default channels (so they don't get picked up by those).
   
   https://docs.couchdb.org/en/stable/config/compaction.html
   
   There is also an un-documented `[smoosh.ignore] $shard = true` set of 
settings.
   
   It would look like:
   
   ```
   [smoosh.ignore]
   shards/50000000-5fffffff/foo.1563328001 = true
   shards/... = true
   ```
   
   You'd have to list them by shard range, name and creation suffix and then 
maybe toggle the lists periodically between A and B. 
   
   But your best bet might be to just create a custom script call POST 
`_compact` for each database based on your specific constraints.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to