You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2021/06/24 03:15:17 UTC

[GitHub] [couchdb-fauxton] leonardo2707 opened a new issue #1318: Is there any way to do shard database / view compression by shard

leonardo2707 opened a new issue #1318:
URL: https://github.com/apache/couchdb-fauxton/issues/1318


   Hello, I've been using couchdb in production for almost 2 years, and in this period I realized how greedy the couchdb is with the hard disk. At this time I've been performing views compression and database compression periodically, but my free space is decreasing (obviously because I'm not deleting any data), but I would like to know if there is a more thorough way to do the compression as per shards, is it possible to do shard compression by shard?
   
   Environment:
   I'm using couchdb version 2.3.1 on docker, I have 4 database replicas, 3 on industrial NUC's, 1 on amazon server
   
   Example of database compression I'm doing:
   
   ```bash
   curl  --location  --request POST  'https://couchdb.DNS/MY_DATABASE/_compact' \
   --header  'Authorization: Basic BASIC_AUTH' \
   --header  'Content-Type: application/json' \
   --data-raw  '{}'
   ```
   
   Example of view compression I'm doing:
   
   ```bash
   curl  --location  --request POST 'https://couchdb..DNS/MY_DATABASE/_compact/VIEW_NAME' \
   --header  'Authorization: Basic BASIC_AUTH' \
   --header  'Content-Type: application/json' \
   --data-raw  '{}'
   ```
   


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [couchdb-fauxton] leonardo2707 closed issue #1318: Is there any way to do shard database / view compression by shard

Posted by GitBox <gi...@apache.org>.
leonardo2707 closed issue #1318:
URL: https://github.com/apache/couchdb-fauxton/issues/1318


   


-- 
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: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [couchdb-fauxton] leonardo2707 commented on issue #1318: Is there any way to do shard database / view compression by shard

Posted by GitBox <gi...@apache.org>.
leonardo2707 commented on issue #1318:
URL: https://github.com/apache/couchdb-fauxton/issues/1318#issuecomment-868836713


   I just found out that this is not the right place to ask these questions, so I'm going to migrate the question to what I believe is the right place and close this issue.
   
   If someone went to this issue page because of the same question, I asked the same question on couchdb's git
   [link of the issue on couchdb](https://github.com/apache/couchdb/discussions/3642)


-- 
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: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org