<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/couchdb.git, branch feature/database-partition-limits</title>
<subtitle>github.com: apache/couchdb.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/'/>
<entry>
<title>Enforce partition size limits</title>
<updated>2019-01-18T18:43:11+00:00</updated>
<author>
<name>Paul J. Davis</name>
<email>paul.joseph.davis@gmail.com</email>
</author>
<published>2018-12-14T17:06:03+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=d708bd6776fcce2cb243a05253fce477b037d5cb'/>
<id>d708bd6776fcce2cb243a05253fce477b037d5cb</id>
<content type='text'>
This limit helps prevent users from inadvertently misusing partitions by
refusing to add documents when the size of a partition exceeds 10GiB.

Co-authored-by: Robert Newson &lt;rnewson@apache.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This limit helps prevent users from inadvertently misusing partitions by
refusing to add documents when the size of a partition exceeds 10GiB.

Co-authored-by: Robert Newson &lt;rnewson@apache.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Use an accumulator when merging revision trees</title>
<updated>2019-01-18T18:43:11+00:00</updated>
<author>
<name>Paul J. Davis</name>
<email>paul.joseph.davis@gmail.com</email>
</author>
<published>2018-12-14T16:31:02+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=68a0557f93cdc4a519bf28ae5f628ea76fabe72a'/>
<id>68a0557f93cdc4a519bf28ae5f628ea76fabe72a</id>
<content type='text'>
This cleans up the `couch_db_updater:merge_rev_trees/7` to instead use
an accumulator argument.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This cleans up the `couch_db_updater:merge_rev_trees/7` to instead use
an accumulator argument.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add Elixir tests for database partitions</title>
<updated>2019-01-18T18:35:38+00:00</updated>
<author>
<name>Paul J. Davis</name>
<email>paul.joseph.davis@gmail.com</email>
</author>
<published>2018-11-28T16:58:42+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=91af772d609381defdd0c9e4fe22ae9f40478da0'/>
<id>91af772d609381defdd0c9e4fe22ae9f40478da0</id>
<content type='text'>
Co-authored-by: Garren Smith &lt;garren.smith@gmail.com&gt;
Co-authored-by: Robert Newson &lt;rnewson@apache.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Garren Smith &lt;garren.smith@gmail.com&gt;
Co-authored-by: Robert Newson &lt;rnewson@apache.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Support partitioned queries in Mango</title>
<updated>2019-01-18T18:35:38+00:00</updated>
<author>
<name>Paul J. Davis</name>
<email>paul.joseph.davis@gmail.com</email>
</author>
<published>2018-10-29T19:08:05+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=0541a3124a6196a0757d7693479ebc40c61e0f27'/>
<id>0541a3124a6196a0757d7693479ebc40c61e0f27</id>
<content type='text'>
Co-authored-by: Garren Smith &lt;garren.smith@gmail.com&gt;
Co-authored-by: Robert Newson &lt;rnewson@apache.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Garren Smith &lt;garren.smith@gmail.com&gt;
Co-authored-by: Robert Newson &lt;rnewson@apache.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Use index names when testing index selection</title>
<updated>2019-01-18T18:35:38+00:00</updated>
<author>
<name>Paul J. Davis</name>
<email>paul.joseph.davis@gmail.com</email>
</author>
<published>2018-12-19T17:48:45+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=234a9637552ef78f40350ac03bbd13fbd3c6fc07'/>
<id>234a9637552ef78f40350ac03bbd13fbd3c6fc07</id>
<content type='text'>
Using the internal hash values for indexes was a brittle approach to
ensuring that a specific index was or was not picked. By naming the
index and design docs we can more concretely ensure that the chosen
indexes match the intent of the test while also not breaking each time
mango internals change.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Using the internal hash values for indexes was a brittle approach to
ensuring that a specific index was or was not picked. By naming the
index and design docs we can more concretely ensure that the chosen
indexes match the intent of the test while also not breaking each time
mango internals change.
</pre>
</div>
</content>
</entry>
<entry>
<title>Optimize offset/limit for partition queries</title>
<updated>2019-01-18T18:35:38+00:00</updated>
<author>
<name>Paul J. Davis</name>
<email>paul.joseph.davis@gmail.com</email>
</author>
<published>2018-10-25T19:27:32+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=fe6849f5caaafc0a21fc8b4e97b898baffe94817'/>
<id>fe6849f5caaafc0a21fc8b4e97b898baffe94817</id>
<content type='text'>
Now that a single shard handles the entire response we can optimize work
normally done in the coordinator by moving it to the RPC worker which
then removes the need to send an extra `skip` number of rows to the
coordinator.

Co-authored-by: Robert Newson &lt;rnewson@apache.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now that a single shard handles the entire response we can optimize work
normally done in the coordinator by moving it to the RPC worker which
then removes the need to send an extra `skip` number of rows to the
coordinator.

Co-authored-by: Robert Newson &lt;rnewson@apache.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Optimize all_docs queries in a single partition</title>
<updated>2019-01-18T18:35:38+00:00</updated>
<author>
<name>Paul J. Davis</name>
<email>paul.joseph.davis@gmail.com</email>
</author>
<published>2018-10-25T19:26:25+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=dc53a3f88781d4065d09b8f3940d8eff920965b5'/>
<id>dc53a3f88781d4065d09b8f3940d8eff920965b5</id>
<content type='text'>
If a user specifies document ids that scope the query to a single
partition key we can automatically determine that we only need to
consuly a single shard range.

Co-authored-by: Robert Newson &lt;rnewson@apache.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If a user specifies document ids that scope the query to a single
partition key we can automatically determine that we only need to
consuly a single shard range.

Co-authored-by: Robert Newson &lt;rnewson@apache.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Implement partitioned views</title>
<updated>2019-01-18T18:35:38+00:00</updated>
<author>
<name>Paul J. Davis</name>
<email>paul.joseph.davis@gmail.com</email>
</author>
<published>2018-10-25T19:19:07+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=cada5c5928d4141ecb7db9cb38882866edf91744'/>
<id>cada5c5928d4141ecb7db9cb38882866edf91744</id>
<content type='text'>
The benefit of using partitioned databases is that views can then be
scoped to a single shard range. This allows for views to scale nearly as
linearly as document lookups.

Co-authored-by: Garren Smith &lt;garren.smith@gmail.com&gt;
Co-authored-by: Robert Newson &lt;rnewson@apache.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The benefit of using partitioned databases is that views can then be
scoped to a single shard range. This allows for views to scale nearly as
linearly as document lookups.

Co-authored-by: Garren Smith &lt;garren.smith@gmail.com&gt;
Co-authored-by: Robert Newson &lt;rnewson@apache.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Implement `couch_db:get_partition_info/2`</title>
<updated>2019-01-18T18:35:38+00:00</updated>
<author>
<name>Paul J. Davis</name>
<email>paul.joseph.davis@gmail.com</email>
</author>
<published>2018-10-23T19:18:35+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=a5cd9621ab85cf0736f942c2176669c738d5d1be'/>
<id>a5cd9621ab85cf0736f942c2176669c738d5d1be</id>
<content type='text'>
This feature allows us to fetch statistics for a given partition key
which will allow for users to find bloated partitions and such forth.

Co-authored-by: Garren Smith &lt;garren.smith@gmail.com&gt;
Co-authored-by: Robert Newson &lt;rnewson@apache.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This feature allows us to fetch statistics for a given partition key
which will allow for users to find bloated partitions and such forth.

Co-authored-by: Garren Smith &lt;garren.smith@gmail.com&gt;
Co-authored-by: Robert Newson &lt;rnewson@apache.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Implement partitioned dbs</title>
<updated>2019-01-18T18:35:38+00:00</updated>
<author>
<name>Paul J. Davis</name>
<email>paul.joseph.davis@gmail.com</email>
</author>
<published>2018-10-25T22:03:00+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=d964ab5f7d68d5b05a1ab11655eb1653085452bb'/>
<id>d964ab5f7d68d5b05a1ab11655eb1653085452bb</id>
<content type='text'>
This change introduces the ability for users to place a group of
documents in a single shard range by specifying a "partition key" in the
document id. A partition key is denoted by everything preceding a colon
':' in the document id.

Every document id (except for design documents) in a partitioned
database is required to have a partition key.

Co-authored-by: Garren Smith &lt;garren.smith@gmail.com&gt;
Co-authored-by: Robert Newson &lt;rnewson@apache.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This change introduces the ability for users to place a group of
documents in a single shard range by specifying a "partition key" in the
document id. A partition key is denoted by everything preceding a colon
':' in the document id.

Every document id (except for design documents) in a partitioned
database is required to have a partition key.

Co-authored-by: Garren Smith &lt;garren.smith@gmail.com&gt;
Co-authored-by: Robert Newson &lt;rnewson@apache.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
