incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Shorin <kxe...@gmail.com>
Subject Re: Bench marking a simple 10k write
Date Fri, 04 Apr 2014 06:45:44 GMT
On Fri, Apr 4, 2014 at 9:02 AM, Jens Alfke <jens@couchbase.com> wrote:
> On Apr 3, 2014, at 8:11 PM, Knudsen, Ken <Ken.Knudsen@imaginecommunications.com>
wrote:
>
>> Oh sure.. I was just following the same pattern I did for SQL
>
> As the name implies, NoSQL databases don’t work the same way as SQL/relational databases.
Part of that is that the APIs are different, and require some different patterns for working
with them efficiently.
>
> In CouchDB’s case, if you want to write a lot of docs at once, you use a _bulk_docs
request.

Actually, for SQL there is the same rule to run a lot of write
operations (insert/update/delete) in single transaction (read as "in
bulk") for better performance.

--
,,,^..^,,,

Mime
View raw message