notes/.config/newsboat/reddit_rss/CouchDB.rss
2023-01-28 05:22:19 -08:00

1 line
No EOL
41 KiB
XML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0" encoding="UTF-8"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/"><category term="CouchDB" label="r/CouchDB"/><updated>2023-01-28T12:50:44+00:00</updated><icon>https://www.redditstatic.com/icon.png/</icon><id>/r/CouchDB.rss</id><link rel="self" href="https://www.reddit.com/r/CouchDB.rss" type="application/atom+xml" /><link rel="alternate" href="https://www.reddit.com/r/CouchDB" type="text/html" /><logo>https://c.thumbs.redditmedia.com/csHEffPMBg6KBk7P.png</logo><title>CouchDB</title><entry><author><name>/u/ryandunndev</name><uri>https://www.reddit.com/user/ryandunndev</uri></author><category term="CouchDB" label="r/CouchDB"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;Hi all, I&amp;#39;m playing with PouchDB for an offline-first web app and wondering how best to solve a simple thing.&lt;/p&gt; &lt;p&gt;What I want is to be able to create the database with a couple of default example docs. There doesn&amp;#39;t seem to be any obvious response from `new PouchDB(&amp;#39;example&amp;#39;)` that would tell me &amp;#39;this is newly created&amp;#39; that I can use to trigger the default document creation.&lt;/p&gt; &lt;p&gt;I could put a flag somewhere, maybe a &amp;#39;config&amp;#39; document with &amp;#39;hasInitialised&amp;#39; in it and use that. But it seems a bit of a faff to create a whole additional database with a single document in it to store my config for a single flag. Is there something obvious I&amp;#39;m not seeing?&lt;/p&gt; &lt;p&gt;Thanks!&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/ryandunndev&quot;&gt; /u/ryandunndev &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/CouchDB/comments/10dhikt/pouchdb_and_creating_the_database_with_default/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/CouchDB/comments/10dhikt/pouchdb_and_creating_the_database_with_default/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_10dhikt</id><link href="https://www.reddit.com/r/CouchDB/comments/10dhikt/pouchdb_and_creating_the_database_with_default/" /><updated>2023-01-16T15:34:31+00:00</updated><published>2023-01-16T15:34:31+00:00</published><title>PouchDB and creating the database with default docs</title></entry><entry><author><name>/u/worststudentofmyuni</name><uri>https://www.reddit.com/user/worststudentofmyuni</uri></author><category term="CouchDB" label="r/CouchDB"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;Hi,&lt;/p&gt; &lt;p&gt;I have a uni work to do, and my project is to stress test CouchDB and monitor its docker container, with how it handles the request!&lt;/p&gt; &lt;p&gt;Do you have any stress test tools to recommend to use?&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/worststudentofmyuni&quot;&gt; /u/worststudentofmyuni &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/CouchDB/comments/107devq/stress_testing_couchdb/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/CouchDB/comments/107devq/stress_testing_couchdb/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_107devq</id><link href="https://www.reddit.com/r/CouchDB/comments/107devq/stress_testing_couchdb/" /><updated>2023-01-09T12:39:07+00:00</updated><published>2023-01-09T12:39:07+00:00</published><title>Stress testing CouchDB</title></entry><entry><author><name>/u/VeryVito</name><uri>https://www.reddit.com/user/VeryVito</uri></author><category term="CouchDB" label="r/CouchDB"/><content type="html">&amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/VeryVito&quot;&gt; /u/VeryVito &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://docs.couchdb.org/en/stable/whatsnew/3.3.html#version-3-3-0&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/CouchDB/comments/102b7qb/apache_couchdb_330_released_today/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_102b7qb</id><link href="https://www.reddit.com/r/CouchDB/comments/102b7qb/apache_couchdb_330_released_today/" /><updated>2023-01-03T15:40:58+00:00</updated><published>2023-01-03T15:40:58+00:00</published><title>Apache CouchDB 3.3.0 released today</title></entry><entry><author><name>/u/RTooDTo</name><uri>https://www.reddit.com/user/RTooDTo</uri></author><category term="CouchDB" label="r/CouchDB"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;Assume db holds bank account transactions, each transaction have a date and amount. How to create a view that will give transactions sorted by date, amount and running total (sum with previous amount incrementally)?&lt;/p&gt; &lt;p&gt;map only works with a single document, no access to the previous document. reduce reduces the grouped items by some aggregation. No idea how to access the previous row.&lt;/p&gt; &lt;p&gt;This is called a Window Function in SQL databases. Any help is appreciated.&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/RTooDTo&quot;&gt; /u/RTooDTo &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/CouchDB/comments/zw95v4/how_to_create_a_running_total_in_couchdb/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/CouchDB/comments/zw95v4/how_to_create_a_running_total_in_couchdb/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_zw95v4</id><link href="https://www.reddit.com/r/CouchDB/comments/zw95v4/how_to_create_a_running_total_in_couchdb/" /><updated>2022-12-27T06:47:40+00:00</updated><published>2022-12-27T06:47:40+00:00</published><title>How to create a running total in CouchDB?</title></entry><entry><author><name>/u/Servletless</name><uri>https://www.reddit.com/user/Servletless</uri></author><category term="CouchDB" label="r/CouchDB"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;I installed CouchDB on a cloud server instance w/ 512MB RAM, 20GB disk, and uploaded 200,000 json documents, totaling just under 1GB of documents.&lt;/p&gt; &lt;p&gt;Then I tried to create a simple view (conditional `emit` of 2 fields).&lt;/p&gt; &lt;p&gt;During the view creation I got &amp;quot;OS timeout&amp;quot;.&lt;/p&gt; &lt;p&gt;Then trying to use the view I get &amp;quot;OS error 137&amp;quot;.&lt;/p&gt; &lt;p&gt;(these are from memory as the error pop-up in Fauxton goes away before I could copy/paste)&lt;/p&gt; &lt;p&gt;Is this normal?&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/Servletless&quot;&gt; /u/Servletless &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/CouchDB/comments/za1fy8/is_couchdb_only_suitable_for_very_tiny_databases/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/CouchDB/comments/za1fy8/is_couchdb_only_suitable_for_very_tiny_databases/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_za1fy8</id><link href="https://www.reddit.com/r/CouchDB/comments/za1fy8/is_couchdb_only_suitable_for_very_tiny_databases/" /><updated>2022-12-01T22:04:07+00:00</updated><published>2022-12-01T22:04:07+00:00</published><title>is CouchDB only suitable for very tiny databases?</title></entry><entry><author><name>/u/Difficult-Sea-5924</name><uri>https://www.reddit.com/user/Difficult-Sea-5924</uri></author><category term="CouchDB" label="r/CouchDB"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;&lt;a href=&quot;https://bob742.blogspot.com/2022/11/i-tried-couchdb-and-i-like-it.html&quot;&gt;My latest blog entry on this here&lt;/a&gt;. I am mainly comparing it with MongoDB as far as NOSQL systems is concerned.&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/Difficult-Sea-5924&quot;&gt; /u/Difficult-Sea-5924 &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/CouchDB/comments/yyo0hv/i_tried_couchdb_and_i_really_like_it/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/CouchDB/comments/yyo0hv/i_tried_couchdb_and_i_really_like_it/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_yyo0hv</id><link href="https://www.reddit.com/r/CouchDB/comments/yyo0hv/i_tried_couchdb_and_i_really_like_it/" /><updated>2022-11-18T16:21:55+00:00</updated><published>2022-11-18T16:21:55+00:00</published><title>I tried CouchDB and I really like it</title></entry><entry><author><name>/u/Servletless</name><uri>https://www.reddit.com/user/Servletless</uri></author><category term="CouchDB" label="r/CouchDB"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;Those of you who are experienced CouchDB devs writing some very complex views, what does your IDE and test/deploy pipeline look like?&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/Servletless&quot;&gt; /u/Servletless &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/CouchDB/comments/yulnsb/how_do_you_develop_complex_views_writing/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/CouchDB/comments/yulnsb/how_do_you_develop_complex_views_writing/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_yulnsb</id><link href="https://www.reddit.com/r/CouchDB/comments/yulnsb/how_do_you_develop_complex_views_writing/" /><updated>2022-11-14T01:56:15+00:00</updated><published>2022-11-14T01:56:15+00:00</published><title>how do you develop complex views? writing javascript inside an escaped double quoted string doesn't seem sustainable beyond simple Hello World examples</title></entry><entry><author><name>/u/aderchox</name><uri>https://www.reddit.com/user/aderchox</uri></author><category term="CouchDB" label="r/CouchDB"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;I&amp;#39;m new to CouchDB, and more generally I&amp;#39;m new to &amp;quot;offline-first&amp;quot;.&lt;/p&gt; &lt;p&gt;I read somewhere that databases such as CouchDB that make offline-first possible, store a replication of the whole user&amp;#39;s dataset on their own side (client-side) as well, is it true?&lt;/p&gt; &lt;p&gt;If that&amp;#39;s the case, it doesn&amp;#39;t make sense to me... Please tell me what I&amp;#39;m getting wrong here? It means every time the user logs in to their account on a new device, or even on a new browser, (or worse, when Incognito browsing is used), their data must be downloaded fully? Couldn&amp;#39;t it be chopped into parts and then -like pagination-, keep only a more recent part on the client-side, then load more on need?&lt;/p&gt; &lt;p&gt;Of course, the new device/browser thing I said doesn&amp;#39;t happen frequently (the Incognito thing could happen more frequently though), but even if these happen every few times in a while, can be UX killer... Let&amp;#39;s say it&amp;#39;s a simple notes app with only 5000 notes, it will be almost 50MBs in size to download for the first time, that means a noticeable delay even on a good Internet connections before the initial UI load... Isn&amp;#39;t there a way to make this experience more smooth?&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/aderchox&quot;&gt; /u/aderchox &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/CouchDB/comments/yr7w3u/does_couchdb_really_keep_a_whole_replication_of/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/CouchDB/comments/yr7w3u/does_couchdb_really_keep_a_whole_replication_of/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_yr7w3u</id><link href="https://www.reddit.com/r/CouchDB/comments/yr7w3u/does_couchdb_really_keep_a_whole_replication_of/" /><updated>2022-11-10T07:00:54+00:00</updated><published>2022-11-10T07:00:54+00:00</published><title>Does CouchDB really keep a whole replication of the database on the client-side too?</title></entry><entry><author><name>/u/john_flutemaker</name><uri>https://www.reddit.com/user/john_flutemaker</uri></author><category term="CouchDB" label="r/CouchDB"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;Can you recommend a simple flask example to use CouchDB from Flask ?&lt;/p&gt; &lt;p&gt;I am newbie for both of them.&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/john_flutemaker&quot;&gt; /u/john_flutemaker &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/CouchDB/comments/w2nl2t/looking_for_flask_example/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/CouchDB/comments/w2nl2t/looking_for_flask_example/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_w2nl2t</id><link href="https://www.reddit.com/r/CouchDB/comments/w2nl2t/looking_for_flask_example/" /><updated>2022-07-19T08:29:05+00:00</updated><published>2022-07-19T08:29:05+00:00</published><title>Looking for Flask example</title></entry><entry><author><name>/u/_448</name><uri>https://www.reddit.com/user/_448</uri></author><category term="CouchDB" label="r/CouchDB"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;I am learning CouchDB. As I understand it, documents in the database cannot be grouped into categories, such as, for example, all receipt documents can be put into a receipt bucket, invoices can be put into invoice bucket etc.&lt;/p&gt; &lt;p&gt;Are there any free and opensource NoSQL databases that provide this feature of grouping documents according to category?&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/_448&quot;&gt; /u/_448 &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/CouchDB/comments/uz06lq/which_free_and_opensource_nosql_database_provides/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/CouchDB/comments/uz06lq/which_free_and_opensource_nosql_database_provides/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_uz06lq</id><link href="https://www.reddit.com/r/CouchDB/comments/uz06lq/which_free_and_opensource_nosql_database_provides/" /><updated>2022-05-27T15:03:41+00:00</updated><published>2022-05-27T15:03:41+00:00</published><title>Which free and opensource NoSQL database provides feature for creating group/bucket of documents?</title></entry><entry><author><name>/u/Complex_Presence</name><uri>https://www.reddit.com/user/Complex_Presence</uri></author><category term="CouchDB" label="r/CouchDB"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;Anyone know what causes this error when trying to view the settings in Fauxton?&lt;/p&gt; &lt;p&gt;Failed to load the configuration. Unexpected token &amp;lt; in JSON at position 0&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/Complex_Presence&quot;&gt; /u/Complex_Presence &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/CouchDB/comments/uoabkq/settings_issue/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/CouchDB/comments/uoabkq/settings_issue/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_uoabkq</id><link href="https://www.reddit.com/r/CouchDB/comments/uoabkq/settings_issue/" /><updated>2022-05-12T20:30:24+00:00</updated><published>2022-05-12T20:30:24+00:00</published><title>Settings issue</title></entry><entry><author><name>/u/Markl0</name><uri>https://www.reddit.com/user/Markl0</uri></author><category term="CouchDB" label="r/CouchDB"/><content type="html">&amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/Markl0&quot;&gt; /u/Markl0 &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://i.redd.it/daz3t3rc36q81.png&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/CouchDB/comments/tqftjl/improved_logo/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_tqftjl</id><link href="https://www.reddit.com/r/CouchDB/comments/tqftjl/improved_logo/" /><updated>2022-03-28T18:25:58+00:00</updated><published>2022-03-28T18:25:58+00:00</published><title>Improved Logo</title></entry><entry><author><name>/u/_448</name><uri>https://www.reddit.com/user/_448</uri></author><category term="CouchDB" label="r/CouchDB"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;I am comparing DB design for a simple &amp;quot;Post and Comment&amp;quot; system using Postgres and CouchDB. With Postgres I can design the following tables:&lt;/p&gt; &lt;p&gt;user_info {email, pass_hash, pass_salt, ...}&lt;/p&gt; &lt;p&gt;post_info {post_id, creator_email, title, text, ...}&lt;/p&gt; &lt;p&gt;comment_info {comment_id, creator_email, post_id, parent_comment_id, text, ...}&lt;/p&gt; &lt;p&gt;But if I use CouchDB, there is a concept of creating per-user tables. So I was thinking of the following design:&lt;/p&gt; &lt;p&gt;user_table {email, table_id}&lt;/p&gt; &lt;p&gt;user_&amp;lt;table_id&amp;gt; {email, pass_hash, pass_salt, ...}&lt;/p&gt; &lt;p&gt;post_&amp;lt;table_id&amp;gt; {post_id, &amp;lt;table_id&amp;gt;_creator_email, title, text, ...}&lt;/p&gt; &lt;p&gt;comment_&amp;lt;table_id&amp;gt; {comment_id, &amp;lt;table_id&amp;gt;_creator_email, &amp;lt;table_id&amp;gt;_post_id, &amp;lt;table_id&amp;gt;_parent_comment_id, text, ...}&lt;/p&gt; &lt;p&gt;I am in no way expert in Postgres and CouchDB, so my question is, is this the correct way to design per-user CouchDB tables? What is the better way? And what is the efficient way to create/use CRUD queries?&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/_448&quot;&gt; /u/_448 &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/CouchDB/comments/tqa4ub/postcomment_db_design_postgresql_vs_couchdb/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/CouchDB/comments/tqa4ub/postcomment_db_design_postgresql_vs_couchdb/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_tqa4ub</id><link href="https://www.reddit.com/r/CouchDB/comments/tqa4ub/postcomment_db_design_postgresql_vs_couchdb/" /><updated>2022-03-28T14:09:02+00:00</updated><published>2022-03-28T14:09:02+00:00</published><title>Post/Comment DB design: Postgresql v/s CouchDB</title></entry><entry><author><name>/u/nerdtakula</name><uri>https://www.reddit.com/user/nerdtakula</uri></author><category term="CouchDB" label="r/CouchDB"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;I&amp;#39;ve seen one plugin that hasn&amp;#39;t been updated in 6 years, and Google thinks I want to use CouchDB as a DB for ldap.&lt;/p&gt; &lt;p&gt;All I want is to have CouchDB authenticate against an ldap service like IPA.&lt;/p&gt; &lt;p&gt;Can someone point me in the right direction? Many thanks&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/nerdtakula&quot;&gt; /u/nerdtakula &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/CouchDB/comments/ri3j2v/its_it_possible_to_connect_couchdb_to_ldap_for/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/CouchDB/comments/ri3j2v/its_it_possible_to_connect_couchdb_to_ldap_for/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_ri3j2v</id><link href="https://www.reddit.com/r/CouchDB/comments/ri3j2v/its_it_possible_to_connect_couchdb_to_ldap_for/" /><updated>2021-12-16T23:44:21+00:00</updated><published>2021-12-16T23:44:21+00:00</published><title>It's it possible to connect CouchDB to ldap for auth?</title></entry><entry><author><name>/u/tektektektektek</name><uri>https://www.reddit.com/user/tektektektektek</uri></author><category term="CouchDB" label="r/CouchDB"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;I&amp;#39;ve been forced to come to this conclusion after getting a ton of timeouts and 500 errors when trying to simply replicate a database that contains a few 300MB JSON documents.&lt;/p&gt; &lt;p&gt;Querying Mango is also a futile exercise, it just times out.&lt;/p&gt; &lt;p&gt;I managed to resolve one issue, which was the system pulling the replication outputting the following in the log:&lt;/p&gt; &lt;pre&gt;&lt;code&gt;[error] 2021-12-08T22:19:49.862114Z couchdb@127.0.0.1 &amp;lt;0.22598.2&amp;gt; -------- Replicator, request GET to &amp;quot;http://localhost:5999/invoices/_changes?filter=filters%2Fdeletedfilter&amp;amp;feed=normal&amp;amp;style=all_docs&amp;amp;since=%222795484-g1ABjnwushUHF4iUF87asdf72hj3lkj4lkj28sdfd8&amp;amp;&amp;amp;Fikjsdlkjjr___-IJ2349sjdfglkjOLIJlk34l2kj3ijlIJFasdf_zjaihuHYUFhw;kljsdj442kjla9s8fqkjf%22&amp;amp;timeout=10000&amp;quot; failed due to error {error,req_timedout} [error] 2021-12-08T22:17:42.538990Z couchdb@127.0.0.1 &amp;lt;0.2043.0&amp;gt; -------- Replicator, request GET to &amp;quot;http://localhost:5999/invoices/_changes?filter=filters%2Fdeletedfilter&amp;amp;feed=normal&amp;amp;style=all_docs&amp;amp;since=%222795484-g1ABjnwushUHF4iUF87asdf72hj3lkj4lkj28sdfd8&amp;amp;&amp;amp;Fikjsdlkjjr___-IJ2349sjdfglkjOLIJlk34l2kj3ijlIJFasdf_zjaihuHYUFhw;kljsdj442kjla9s8fqkjf%22&amp;amp;timeout=10000&amp;quot; failed due to error {connection_closed,mid_stream} &lt;/code&gt;&lt;/pre&gt; &lt;p&gt;That &lt;code&gt;&amp;amp;timeout=10000&lt;/code&gt; is 1/3rd the value of the following parameter in &lt;code&gt;/opt/couchdb/etc/local.ini&lt;/code&gt;:&lt;/p&gt; &lt;pre&gt;&lt;code&gt;[replicator] connection_timeout = 30000 &lt;/code&gt;&lt;/pre&gt; &lt;p&gt;So I simply added another zero to make the timeout 100 seconds instead of 10.&lt;/p&gt; &lt;p&gt;But now I was getting 500 errors:&lt;/p&gt; &lt;pre&gt;&lt;code&gt;[error] 2021-12-08T23:03:42.464170Z couchdb@127.0.0.1 &amp;lt;0.626.0&amp;gt; -------- Replicator, request GET to &amp;quot;http://localhost:5999/invoices/_changes? filter=filters%2Fdeletedfilter&amp;amp;feed=normal&amp;amp;style=all_docs&amp;amp;since=%222795484-g1ABjnwushUHF4iUF87asdf72hj3lkj4lkj28sdfd8&amp;amp;&amp;amp;Fikjsdlkjjr___-IJ2349sjdfglkjOLIJlk34l2kj3ijlIJFasdf_zjaihuHYUFhw;kljsdj442kjla9s8fqkjf%22&amp;amp;timeout=100000&amp;quot; failed. The received HTTP error code is 500 &lt;/code&gt;&lt;/pre&gt; &lt;p&gt;It&amp;#39;s now the server holding the original database I&amp;#39;m replicating off that&amp;#39;s throwing errors.&lt;/p&gt; &lt;pre&gt;&lt;code&gt;[info] 2021-12-08T23:03:42.451681Z couchdb@127.0.0.1 &amp;lt;0.255.0&amp;gt; -------- couch_proc_manager &amp;lt;0.15833.2&amp;gt; died normal [error] 2021-12-08T23:03:42.451742Z couchdb@127.0.0.1 &amp;lt;0.21493.1&amp;gt; 455997af04 OS Process Error &amp;lt;0.15833.2&amp;gt; :: {os_process_error,{exit_status,1}} [error] 2021-12-08T23:03:42.451923Z couchdb@127.0.0.1 &amp;lt;0.21493.1&amp;gt; 455997af04 rexi_server: from: couchdb@127.0.0.1(&amp;lt;0.15895.1&amp;gt;) mfa: fabric_rpc:changes/3 throw:{os_process_error,{exit_status,1}} [{couch_os_process,prompt,2,[{file,&amp;quot;src/couch_os_process.erl&amp;quot;},{line,59}]},{couch_query_servers,proc_prompt,2,[{file,&amp;quot;src/couch_query_servers.erl&amp;quot;},{line,536}]},{couch_query_servers,with_ddoc_proc,2,[{file,&amp;quot;src/couch_query_servers.erl&amp;quot;},{line,526}]},{couch_query_servers,filter_docs_int,4,[{file,&amp;quot;src/couch_query_servers.erl&amp;quot;},{line,510}]},{lists,flatmap,2,[{file,&amp;quot;lists.erl&amp;quot;},{line,1250}]},{couch_query_servers,filter_docs,5,[{file,&amp;quot;src/couch_query_servers.erl&amp;quot;},{line,506}]},{couch_changes,filter,3,[{file,&amp;quot;src/couch_changes.erl&amp;quot;},{line,244}]},{fabric_rpc,changes_enumerator,2,[{file,&amp;quot;src/fabric_rpc.erl&amp;quot;},{line,517}]}] [notice] 2021-12-08T23:03:42.453155Z couchdb@127.0.0.1 &amp;lt;0.15304.1&amp;gt; 455997af04 localhost:5999 127.0.0.1 admin GET /invoices/_changes?filter=filters%2Fdeletedfilter&amp;amp;feed=normal&amp;amp;style=all_docs&amp;amp;since=%222796340-g1AAAACheJzLYWBgYMpgTmEQTM4vTc5ISXIwNDLXMwBCwxyQVCJDUv3___-zMpiTGEQj5ucCxdiNzcyTUgwMsenBY1IeC5BkaABS_-EGBk0FG2iSam5pkpSMTWsWADLTKlk%22&amp;amp;timeout=100000 500 ok 21392 &lt;/code&gt;&lt;/pre&gt; &lt;p&gt;So at this point I give up. I&amp;#39;ve tried increasing OS process timeouts, fabric timeouts, but... it&amp;#39;s so very unfortunate.&lt;/p&gt; &lt;p&gt;CouchDB is supposed to be able to handle 4GB JSON documents. It simply can&amp;#39;t. It can&amp;#39;t even handle a 200MB JSON document. Even if it could there&amp;#39;s zero documentation about how to give CouchDB whatever resources or time it needs to handle such a large document.&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/tektektektektek&quot;&gt; /u/tektektektektek &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/CouchDB/comments/rc67br/couchdb_is_terrible_if_not_dysfunctional_for/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/CouchDB/comments/rc67br/couchdb_is_terrible_if_not_dysfunctional_for/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_rc67br</id><link href="https://www.reddit.com/r/CouchDB/comments/rc67br/couchdb_is_terrible_if_not_dysfunctional_for/" /><updated>2021-12-09T01:24:36+00:00</updated><published>2021-12-09T01:24:36+00:00</published><title>CouchDB is terrible if not dysfunctional for large documents</title></entry><entry><author><name>/u/Old-Boysenberry-5748</name><uri>https://www.reddit.com/user/Old-Boysenberry-5748</uri></author><category term="CouchDB" label="r/CouchDB"/><content type="html">&amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/Old-Boysenberry-5748&quot;&gt; /u/Old-Boysenberry-5748 &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/CouchDB/comments/r11iau/do_i_have_to_download_couchdb_in_order_to_use_it/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/CouchDB/comments/r11iau/do_i_have_to_download_couchdb_in_order_to_use_it/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_r11iau</id><link href="https://www.reddit.com/r/CouchDB/comments/r11iau/do_i_have_to_download_couchdb_in_order_to_use_it/" /><updated>2021-11-24T09:43:19+00:00</updated><published>2021-11-24T09:43:19+00:00</published><title>Do I have to download couchDB in order to use it? Or does it just run online?</title></entry><entry><author><name>/u/SuperSpe</name><uri>https://www.reddit.com/user/SuperSpe</uri></author><category term="CouchDB" label="r/CouchDB"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;I am pretty new to CouchDB and I need some help... &lt;/p&gt; &lt;p&gt;I inherited the management of a 3-node cluster that manages a telephone switchboard. The biggest problem I&amp;#39;m having is a huge disparity on the size of each node. The database of the first node occupies about 70 gb, while the other two more than 200 gb.&lt;/p&gt; &lt;p&gt;I cloned the VMs to create a test environment and I tried to delete the 2 &amp;quot;big&amp;quot; machines to make them resynchronize with the first ... the result is that now the first always weighs 70, while the other two 20.&lt;/p&gt; &lt;p&gt;The other big problem is in viewing documents from Fauxton, once in two the whole cluster crashes and I have to restart all three machines.&lt;/p&gt; &lt;p&gt;&amp;#x200B;&lt;/p&gt; &lt;p&gt;q = 8&lt;/p&gt; &lt;p&gt;n = 3&lt;/p&gt; &lt;p&gt;&amp;#x200B;&lt;/p&gt; &lt;p&gt;Thanks!&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/SuperSpe&quot;&gt; /u/SuperSpe &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/CouchDB/comments/qpovnh/3_nodes_cluster_mismatch_node_size/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/CouchDB/comments/qpovnh/3_nodes_cluster_mismatch_node_size/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_qpovnh</id><link href="https://www.reddit.com/r/CouchDB/comments/qpovnh/3_nodes_cluster_mismatch_node_size/" /><updated>2021-11-08T22:23:33+00:00</updated><published>2021-11-08T22:23:33+00:00</published><title>3 nodes cluster, mismatch node size</title></entry><entry><author><name>/u/Dry-Objective-9542</name><uri>https://www.reddit.com/user/Dry-Objective-9542</uri></author><category term="CouchDB" label="r/CouchDB"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;Hi there,&lt;/p&gt; &lt;p&gt;I&amp;#39;m pretty new in the CouchDB, and I need to use CouchDB&amp;#39;s B-Tree structure for my project for calculating the min/max depth of the tree, counting the leaf nodes etc. As you know for doing this you need to know the keys/block pointers for each node, so the question is: What is the CouchDB&amp;#39;s keys or block pointers for each nodes?&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/Dry-Objective-9542&quot;&gt; /u/Dry-Objective-9542 &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/CouchDB/comments/q8sygp/what_is_the_keysblock_pointers_for_each_node/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/CouchDB/comments/q8sygp/what_is_the_keysblock_pointers_for_each_node/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_q8sygp</id><link href="https://www.reddit.com/r/CouchDB/comments/q8sygp/what_is_the_keysblock_pointers_for_each_node/" /><updated>2021-10-15T17:15:02+00:00</updated><published>2021-10-15T17:15:02+00:00</published><title>What is the keys/block pointers for each node</title></entry><entry><author><name>/u/tektektektektek</name><uri>https://www.reddit.com/user/tektektektektek</uri></author><category term="CouchDB" label="r/CouchDB"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;It is driving me crazy, every time I view a document the keys I want to see are in a different place. I know it might have a slight performance intact but I&amp;#39;d like the keys in a JSON documented sorted before display.&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/tektektektektek&quot;&gt; /u/tektektektektek &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/CouchDB/comments/q6d03a/can_i_have_fauxton_sort_keys_when_displaying_a/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/CouchDB/comments/q6d03a/can_i_have_fauxton_sort_keys_when_displaying_a/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_q6d03a</id><link href="https://www.reddit.com/r/CouchDB/comments/q6d03a/can_i_have_fauxton_sort_keys_when_displaying_a/" /><updated>2021-10-12T03:26:29+00:00</updated><published>2021-10-12T03:26:29+00:00</published><title>Can I have Fauxton sort keys when displaying a document?</title></entry><entry><author><name>/u/OpenMachine31</name><uri>https://www.reddit.com/user/OpenMachine31</uri></author><category term="CouchDB" label="r/CouchDB"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;hi ,&lt;/p&gt; &lt;p&gt;i&amp;#39;m new to couchdb and it&amp;#39;s a bit confusing for me , i&amp;#39;m looking for exemples/ guides to implement an auth with JWT token and any good documentation or tutorial apart from the official documentation.&lt;/p&gt; &lt;p&gt;thank you !&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/OpenMachine31&quot;&gt; /u/OpenMachine31 &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/CouchDB/comments/pa7qh4/how_to_implement_auth_with_jwt_token/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/CouchDB/comments/pa7qh4/how_to_implement_auth_with_jwt_token/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_pa7qh4</id><link href="https://www.reddit.com/r/CouchDB/comments/pa7qh4/how_to_implement_auth_with_jwt_token/" /><updated>2021-08-23T20:08:16+00:00</updated><published>2021-08-23T20:08:16+00:00</published><title>how to implement auth with JWT token</title></entry><entry><author><name>/u/tektektektektek</name><uri>https://www.reddit.com/user/tektektektektek</uri></author><category term="CouchDB" label="r/CouchDB"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;I was following &lt;a href=&quot;https://eclipsesource.com/blogs/2015/04/20/how-to-finally-delete-documents-in-couchdb/&quot;&gt;this guide&lt;/a&gt; but kept getting an error &lt;code&gt;local_endpoints_not_supported&lt;/code&gt; which I presume was because I was trying to replicate on the same CouchDB single-node database.&lt;/p&gt; &lt;p&gt;So I tried replicating to a different CouchDB single-node database by posting:&lt;/p&gt; &lt;pre&gt;&lt;code&gt;{ &amp;quot;_id&amp;quot;: &amp;quot;replicateCleanup&amp;quot;, &amp;quot;source&amp;quot;: &amp;quot;origdb&amp;quot;, &amp;quot;target&amp;quot;: &amp;quot;http://admin:mypass@172.31.22.3:5984/dup_origdb&amp;quot;, &amp;quot;create_target&amp;quot;: true, &amp;quot;filter&amp;quot;: &amp;quot;filters/deletedfilter&amp;quot;, &amp;quot;owner&amp;quot;: &amp;quot;admin&amp;quot;, &amp;quot;continuous&amp;quot;: true, } &lt;/code&gt;&lt;/pre&gt; &lt;p&gt;... to &lt;code&gt;_replicator&lt;/code&gt; database. When I queried this document I got:&lt;/p&gt; &lt;pre&gt;&lt;code&gt;{ &amp;quot;_id&amp;quot;: &amp;quot;replicateCleanup&amp;quot;, &amp;quot;_rev&amp;quot;: &amp;quot;1-211a0357b2a9e9f449506a10cedca640&amp;quot;, &amp;quot;source&amp;quot;: &amp;quot;origdb&amp;quot;, &amp;quot;target&amp;quot;: &amp;quot;http://admin:mypass@172.31.22.3:5984/dup_origdb&amp;quot;, &amp;quot;create_target&amp;quot;: true, &amp;quot;filter&amp;quot;: &amp;quot;filters/deletedfilter&amp;quot;, &amp;quot;owner&amp;quot;: &amp;quot;admin&amp;quot;, &amp;quot;continuous&amp;quot;: true, &amp;quot;_replication_state&amp;quot;: &amp;quot;failed&amp;quot;, &amp;quot;_replication_state_time&amp;quot;: &amp;quot;2021-08-19T00:57:15Z&amp;quot;, &amp;quot;_replication_state_reason&amp;quot;: &amp;quot;local_endpoints_not_supported&amp;quot; } &lt;/code&gt;&lt;/pre&gt; &lt;p&gt;What does &lt;code&gt;local_endpoints_not_supported&lt;/code&gt; mean? It&amp;#39;s not documented &lt;em&gt;anywhere&lt;/em&gt; and I can&amp;#39;t find &lt;em&gt;any&lt;/em&gt; reference to this error on the Internet.&lt;/p&gt; &lt;p&gt;How do I replicate a database in CouchDB?&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/tektektektektek&quot;&gt; /u/tektektektektek &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/CouchDB/comments/p74hof/how_do_i_replicate_a_database_with_filter/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/CouchDB/comments/p74hof/how_do_i_replicate_a_database_with_filter/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_p74hof</id><link href="https://www.reddit.com/r/CouchDB/comments/p74hof/how_do_i_replicate_a_database_with_filter/" /><updated>2021-08-19T01:00:55+00:00</updated><published>2021-08-19T01:00:55+00:00</published><title>How do I replicate a database with filter?</title></entry><entry><author><name>/u/mbroberg</name><uri>https://www.reddit.com/user/mbroberg</uri></author><category term="CouchDB" label="r/CouchDB"/><content type="html">&amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/mbroberg&quot;&gt; /u/mbroberg &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://medium.com/codait/simple-data-visualization-in-apache-couchdb-dd1e44dc05d4&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/CouchDB/comments/oypyue/simple_data_visualization_in_apache_couchdb/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_oypyue</id><link href="https://www.reddit.com/r/CouchDB/comments/oypyue/simple_data_visualization_in_apache_couchdb/" /><updated>2021-08-05T19:35:48+00:00</updated><published>2021-08-05T19:35:48+00:00</published><title>Simple Data Visualization in Apache CouchDB™</title></entry><entry><author><name>/u/ozeus012</name><uri>https://www.reddit.com/user/ozeus012</uri></author><category term="CouchDB" label="r/CouchDB"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;Does CouchDB follow the working of a client/server architecture?&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/ozeus012&quot;&gt; /u/ozeus012 &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/CouchDB/comments/ng1gw2/clientserver_architecture/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/CouchDB/comments/ng1gw2/clientserver_architecture/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_ng1gw2</id><link href="https://www.reddit.com/r/CouchDB/comments/ng1gw2/clientserver_architecture/" /><updated>2021-05-19T09:49:14+00:00</updated><published>2021-05-19T09:49:14+00:00</published><title>client/server architecture</title></entry><entry><author><name>/u/oroColato</name><uri>https://www.reddit.com/user/oroColato</uri></author><category term="CouchDB" label="r/CouchDB"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;Hi, I&amp;#39;m using couchdb, a think that I struggle about is how to set the ability for a user to have the ability to only create doc but not update or delete them, could someone help me? &lt;/p&gt; &lt;p&gt;Any help will be super useful, thanks in advance&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/oroColato&quot;&gt; /u/oroColato &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/CouchDB/comments/ms0ab0/a_user_that_can_only_create_docs_but_not_update/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/CouchDB/comments/ms0ab0/a_user_that_can_only_create_docs_but_not_update/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_ms0ab0</id><link href="https://www.reddit.com/r/CouchDB/comments/ms0ab0/a_user_that_can_only_create_docs_but_not_update/" /><updated>2021-04-16T10:22:35+00:00</updated><published>2021-04-16T10:22:35+00:00</published><title>A user that can only create docs but not update or delete</title></entry><entry><author><name>/u/skaf83</name><uri>https://www.reddit.com/user/skaf83</uri></author><category term="CouchDB" label="r/CouchDB"/><content type="html">&lt;!-- SC_OFF --&gt;&lt;div class=&quot;md&quot;&gt;&lt;p&gt;We have CouchDB setup to store sensor data and view reports via dashboard. Currently one DB is over 2TB in size and we need to get rid of old data. We couldnt find a way to delete data and free up the space. We though of filter replicate to a new DB and delete the old. We have a requirement of keeping past 6 months worth of data for viewing at a later day.&lt;/p&gt; &lt;p&gt;Option 1:&lt;/p&gt; &lt;p&gt;Create a new DB. Add a filtered replication from existing DB to get only last 6 months worth of data. Once the replication is completed start using the new DB and delete existing one.&lt;/p&gt; &lt;p&gt;Option 2:&lt;/p&gt; &lt;p&gt;Create a new DB and use that as the primary for data ingestion. Add a replication from new DB to existing larger DB and use that DB to view past months reports. After 6 months period, make a the new DB as primary for reports and delete larger DB.&lt;/p&gt; &lt;p&gt;What would be the best option considering your experience with similar approaches. Will there be better approach than this? What are the pros and cons. TIA.&lt;/p&gt; &lt;p&gt;&amp;#x200B;&lt;/p&gt; &lt;p&gt;&amp;#x200B;&lt;/p&gt; &lt;p&gt;&lt;a href=&quot;https://preview.redd.it/sm9wvsqds4p61.png?width=1248&amp;amp;format=png&amp;amp;auto=webp&amp;amp;s=529a074dae9a0dbf19a39e6a48d32819bfe80ce6&quot;&gt;https://preview.redd.it/sm9wvsqds4p61.png?width=1248&amp;amp;format=png&amp;amp;auto=webp&amp;amp;s=529a074dae9a0dbf19a39e6a48d32819bfe80ce6&lt;/a&gt;&lt;/p&gt; &lt;/div&gt;&lt;!-- SC_ON --&gt; &amp;#32; submitted by &amp;#32; &lt;a href=&quot;https://www.reddit.com/user/skaf83&quot;&gt; /u/skaf83 &lt;/a&gt; &lt;br/&gt; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/CouchDB/comments/mct0o6/couchdb_data_removal/&quot;&gt;[link]&lt;/a&gt;&lt;/span&gt; &amp;#32; &lt;span&gt;&lt;a href=&quot;https://www.reddit.com/r/CouchDB/comments/mct0o6/couchdb_data_removal/&quot;&gt;[comments]&lt;/a&gt;&lt;/span&gt;</content><id>t3_mct0o6</id><link href="https://www.reddit.com/r/CouchDB/comments/mct0o6/couchdb_data_removal/" /><updated>2021-03-25T07:59:17+00:00</updated><published>2021-03-25T07:59:17+00:00</published><title>CouchDB data removal</title></entry></feed>