One thing that van be happening is that you are hitting the RPC timeout for
the view server. The real question is..why do you have an 11 mb file?.
Would your project make sense it apart into smaller docs?
On Feb 9, 2015 6:41 PM, Luca Morandini lmorand...@ieee.org wrote:
Dear CouchDB community,
There is probably something off happening when parsing dates between what's
stored on disk in erlang what's sent back. Remember dates are not a thing
in JSON.
My advice would be to NEVER STORE DATES. New date().getTime() and just
get the milliseconds...and when you want to use it use new
Its pretty standard that every document has a type Field on it that let's
you know what kind of type that document is.
Then the map function just needs a if type == user for processing
specifically users
On Feb 1, 2015 3:52 AM, Ayhan Kesenci a.kesenc...@googlemail.com wrote:
Hello Friends I
of
different types in separate databases - this way you can also deal with
views and other design docs in a more simplified way.
HTH.
*With best regards,*
Kiril
On 2/3/2015 8:18 PM, Stanley Iriele wrote:
Its pretty
Yes...you can..but you might want to change your view first. Index on
time...that is to say emit the creation date in milliseconds into the
view...then use startkey=now() /endkey =now() - 7 days or something.
On Jan 29, 2015 8:03 AM, TAE JIN KIM snoweb...@hotmail.com wrote:
Are you sure I can
Hey TAE,
I think you have a misunderstanding about how views work in couchdb in
general. So let me start at a very high level.
When you create an index in SQL what basically happens is the database runs
a CREATE INDEX function and that index data structure is updated, whether
its a b-tree or
*delayed_commits *to true improve/fix this? Can it affect
performance noticeably?
Thanks!
On Wed, Jan 21, 2015 at 11:43 PM, Stanley Iriele siriele...@gmail.com
wrote:
Are you calling the view right after?...this is just a thought but they
may
not have committed to disk yet
Are you calling the view right after?...this is just a thought but they may
not have committed to disk yet at that point
On Jan 21, 2015 5:33 AM, Boaz Citrin bcit...@gmail.com wrote:
Hello,
We are having a strange issue using the bulk document API of couchdb 1.2.1;
1. We have a view on a
hmm?
your curl command should have worked just fine...something tells me you're
not typing EXACTLY what you sent...could you type history and paste it here?
Also...could you show us the map and reduce functions as well?
On Wed, Jan 21, 2015 at 1:46 PM, Ayhan Kesenci a.kesenc...@googlemail.com
Hey I can't actually see images on there
On Wed, Jan 21, 2015 at 3:59 PM, Ayhan Kesenci a.kesenc...@googlemail.com
wrote:
[image: Inline-Bild 1]
[image: Inline-Bild 2]
there are the map function and the command
2015-01-21 22:55 GMT+01:00 Stanley Iriele siriele...@gmail.com:
hmm?
your
...@googlemail.com
wrote:
the only thing that it is in the csv is
{rows:[ {key:null,value:1915} ]}
2015-01-22 1:22 GMT+01:00 Stanley Iriele siriele...@gmail.com:
Also it looks like your curl -X GET url has the GET and the url
touching so it looks like GETurl to me
On Wed, Jan 21, 2015 at 4
Also it looks like your curl -X GET url has the GET and the url
touching so it looks like GETurl to me
On Wed, Jan 21, 2015 at 4:21 PM, Stanley Iriele siriele...@gmail.com
wrote:
Hey I can't actually see images on there
On Wed, Jan 21, 2015 at 3:59 PM, Ayhan Kesenci a.kesenc...@googlemail.com
is this message in the csv file
{error:method_not_allowed,reason:Only GET,POST,HEAD allowed}
2015-01-22 1:52 GMT+01:00 Stanley Iriele siriele...@gmail.com:
I still can't see our output but we can proceed anyway :-D. You have a
reduce function in that map section and couchdb's default
(doc.user, null)
}
and when you query it it should look like this:
curl -X GET -g
http://127.0.0.1:5984/twitterdb/twitterdb/_design/user/_view/user?reduce=falseinclude_docs=true;
C:\Users\Sei_Erfolgreich\Desktop\text.txt
I hope this helps
On Wed, Jan 21, 2015 at 7:05 PM, Stanley Iriele siriele
/_design/user/_view/user reduce =
false C:\Users\Sei_Erfolgreich\Desktop\text.txt
2015-01-22 3:01 GMT+01:00 Stanley Iriele siriele...@gmail.com:
Huh?...no pass reduce=false as a url query string param...
So?reduce=false at the end of the query string
On Jan 21, 2015 5:49 PM, Ayhan Kesenci
That function seems weird... Could you paste the map and reduce functions
again?...why do do you have a reduce function that just returns null?
Instead of a value?.. Why have a reduce function at all?..
Also that if statement doesn't have {} maybe because it's a one liner?...
Meh...you should put
Citrin bcit...@gmail.com wrote:
I need to get the count of document that were associated to a group between
two given dates. Thanks!
On Sun, Oct 5, 2014 at 8:13 AM, Stanley Iriele siriele...@gmail.com
wrote:
Hey what date are you looking to filter to? Day/ month..year?
On Oct 4, 2014 10
And the result will be -
a, 2
b, 1
On Sun, Oct 5, 2014 at 9:36 AM, Stanley Iriele siriele...@gmail.com
wrote:
Right ...are you saying... That you need grouping down to the day?... In
which case you can just emit[ date, group]... The fate being the
milliseconds truncated to the day
,
...
}
I want to support a query with from-date = 2014-10-02T21:58:59.377Z
to-date= 2014-10-04T22:58:59.377Z
And the result will be -
a, 2
b, 1
On Sun, Oct 5, 2014 at 9:36 AM, Stanley Iriele siriele...@gmail.com
wrote:
Right ...are you saying... That you need grouping down
on
last time to get your desired output
On Oct 5, 2014 12:33 AM, Boaz Citrin bcit...@gmail.com wrote:
how could I solve it if let's say it would be limited to the second?
On Sun, Oct 5, 2014 at 10:07 AM, Stanley Iriele siriele...@gmail.com
wrote:
Or can it be down to saythe hour... Or minute
Comparing numbers is much faster and cheaper space wise than strings
On Oct 5, 2014 1:04 AM, Stanley Iriele siriele...@gmail.com wrote:
You would need a view... As I described earlier But BE SURE TO store
the UTC milliseconds on the doc...what...or use the getTime() function to
emit
chaining map reduce sounds really excitingbut for your current
solution...list functions would be the way to go
On Sun, Oct 5, 2014 at 10:03 AM, Giovanni P fiat...@gmail.com wrote:
as I always have trouble imagining the results of a some reduce function
with group_level and stuff alike, I
Hey what date are you looking to filter to? Day/ month..year?
On Oct 4, 2014 10:11 PM, Boaz Citrin bcit...@gmail.com wrote:
Thanks Giovanni,
You say I can get all the groups at the same time,
but how can I achieve this and also filter by date?
On Sun, Oct 5, 2014 at 4:04 AM, Giovanni P
Hey...thanks for your response. Somewhere in the mix I mentioned vector
clocks being returned as well. You shouldn't need the ancestor doc...just
what it holds as a collision. Your function should be able to given 2 docs
and a vector clocks be able to resolve the conflict.
This can take many
comes out of it.
H
From: Stanley Iriele siriele...@gmail.com
Sent: Monday, September 22, 2014 09:08
To: user@couchdb.apache.org
Subject: Re: Union functions
Hey...thanks for your response. Somewhere in the mix I mentioned vector
clocks being returned
the others or something
On Sep 17, 2014 10:42 PM, Stanley Iriele siriele...@gmail.com wrote:
Ora conflict is only saved as a conflict of this function returns
null.. Saying idk how to resolve this so leave it as a conflict
On Sep 17, 2014 10:39 PM, Stanley Iriele siriele...@gmail.com wrote
Hey,
This idea I'd still in the rough so bear with me a little. Couchdb is an ap
system... And stores the result of both docs during a conflict. We have
update functions as a way to do incremental updates. And show functions to
do a transform on a doc before sending it. Can we have union
Ora conflict is only saved as a conflict of this function returns
null.. Saying idk how to resolve this so leave it as a conflict
On Sep 17, 2014 10:39 PM, Stanley Iriele siriele...@gmail.com wrote:
Hey,
This idea I'd still in the rough so bear with me a little. Couchdb is an
ap system
seems like its a auto-response...I have no idea why it wold repeat every
minute or something but this is flooding my mailbox. Can the admin or this
email list do something about this??
On Sat, Sep 13, 2014 at 8:28 PM, browl...@tecture.com wrote:
I am out of the office from Monday, September
Judging from the email response storm... I'd say he's out of the office
On Sep 14, 2014 12:16 PM, Andrey Cherkashin andor...@gmail.com wrote:
On a vacation, he is out of office.
--
Andrey Cherkashin
Sent with Airmail
On September 14, 2014 at 12:15:18 PM, Mark Hahn (m...@hahnca.com) wrote:
:22 PM, Yves S. Garret
yoursurrogate...@gmail.com
wrote:
He's going to be in for quite a surprise when he's back from vacation
:) .
On Sun, Sep 14, 2014 at 3:19 PM, Stanley Iriele siriele...@gmail.com
wrote:
Judging from the email response storm... I'd say he's out of the office
This...email Really needs to stop being sent
On Sep 13, 2014 8:08 PM, browl...@tecture.com wrote:
I am out of the office from Monday, September 15th through Friday,
September 19th, returning Monday, September 22nd.
In my absence, please contact:
Support
(312) 895-4981 ext 2
Hey,
Just out of curiosity are you using views or just reading via the doc ID
with http gets?
On Aug 6, 2014 6:16 AM, Jason Woods de...@jasonwoods.me.uk wrote:
On 6 Aug 2014, at 13.56, Robert Newson rnew...@apache.org wrote:
Yes, the entire Erlang process should crash if it hits this kind
Interestingdoes the native view server have the same relationship with
couchdb? And by that I mean is there a pool of processes that read db files
from disk or is its relationship completely different?.
Also...can..and should the number of spun up processes be configurable?
By the way many
any thoughts on this?...Its not a blocker..I'd just really like to know
On Thu, Jul 10, 2014 at 3:44 PM, Stanley Iriele siriele...@gmail.com
wrote:
When a doc needs to be calculated for a particular set of entries from the
changes feed...are docs sent one at a time or in batches
. And it doesn’t
“calculate” docs; it just returns existing doc IDs and revision IDs.
If that’s not what you were actually asking, you’ll need to rephrase your
question more clearly.
—Jens
On Jul 13, 2014, at 8:49 PM, Stanley Iriele siriele...@gmail.com wrote:
any thoughts on this?...Its not a blocker
When a doc needs to be calculated for a particular set of entries from the
changes feed...are docs sent one at a time or in batches?... And is there
just one view server doing all of the computation.
Lastly...is there a way to configure or control any of the settings that
would dictate the
I think the real question is why are you dealing with a document that is
1gb in the first place? Basically what's happening is couchdb has to
load all of that doc into memory to use it in a map function and there is a
default timeout of like 5 seconds or something. Is there anyway you can
You don't need to keep re-sending your credentials...also..the header is
set to HttpOnly so you cannot access it from javascript land
try this or just remove your credentials:
$.ajax({
type: GET,
url: /_session,
contentType: application/json,
dataType: json,
I've personally used the vhosts +rewrites to solve a similar problem but I
used an internal show function in the ddoc as my web navigation...lastly
all of my attachments/ web pages were in 1 ddoc. And unsafe- rewrites were
enabled... A little proxy for really crazy requests and you're pretty much
So the default behavior us to wait until it's finished for that sequence
particular request. Can you send the exact query you're making... Are you
passing stale=OK?
On Apr 18, 2014 12:59 PM, Alex Schenkman a...@schenkman.info wrote:
Hi list,
According to what I see in the logs and the results
In an odd way this relates back to the BigCouch vs couchbase server
discussion the other week in that it clears up the confusion that arises
due to similar names and what not.
On Apr 9, 2014 9:48 AM, Jens Alfke j...@couchbase.com wrote:
On Apr 9, 2014, at 3:48 AM, Alexander Shorin
On Fri, Apr 4, 2014 at 1:28 AM, Benoit Chesneau bchesn...@gmail.com wrote:
On Fri, Apr 4, 2014 at 10:25 AM, Will Holley willhol...@gmail.com wrote:
.NET should set keep-alive by default.
I have a hard time believing that because its the library you're using not
NET itself that decides
.
Nick
On 4 April 2014 10:24, Stanley Iriele siriele...@gmail.com wrote:
On Fri, Apr 4, 2014 at 1:28 AM, Benoit Chesneau bchesn...@gmail.com
wrote:
On Fri, Apr 4, 2014 at 10:25 AM, Will Holley willhol...@gmail.com
wrote:
.NET should set keep-alive by default
Hey could you be a bit more specific about your problems? What is the
performance problem? What is your set up? What version of CouchDB are you
using?
This would be the place to fins all of things you mentioned BTW
On Apr 4, 2014 11:19 AM, Diogo Júnior diogo.jun...@fraunhofer.pt wrote:
Hi,
Are you tearing down the connection and reestablishing it every time? Or
have you played with the TCP_no_delay settings?... Could you define slow
and maybe post your function minus credentials?
On Apr 3, 2014 7:41 PM, Knudsen, Ken
ken.knud...@imaginecommunications.com wrote:
to a CouchDB
writes in CouchDB
can happen as fast..
ArangoDB is extremely fast, as I expected (waitforsync=false)... I thought
CouchDB would have been just as fast.
-Original Message-
From: Stanley Iriele [mailto:siriele...@gmail.com]
Sent: April-03-14 10:46 PM
To: user@couchdb.apache.org
Subject
: Stanley Iriele [mailto:siriele...@gmail.com]
Sent: April-03-14 11:04 PM
To: user@couchdb.apache.org
Subject: RE: Bench marking a simple 10k write
That's fine..I definitely relate to your situation.. If you want to do 10k
writes...use the bulk_docs API that should do the trick... Bit tearing
return stale data... Ever?... Like the example I
described above?... This mail thread really needs to be in a doc somewhere
BTW.. Again many thanks
On Mar 26, 2014 10:45 PM, Benoit Chesneau bchesn...@gmail.com wrote:
On Thursday, March 27, 2014, Stanley Iriele siriele...@gmail.com wrote:
Also
/bigcouch-zero-point-four/
On 27 Mar 2014, at 06:00, Stanley Iriele siriele...@gmail.com wrote:
This is again extremely helpful...thanks... MVCC says... Hey...while
you're
writing... Every one is still pointing to the old one for reads... But
the moment its done... Look at this new one
/dynamo-and-couchdb-clusters/
https://cloudant.com/blog/bigcouch-0-3/
https://cloudant.com/blog/bigcouch-zero-point-four/
On 27 Mar 2014, at 06:00, Stanley Iriele siriele...@gmail.com wrote:
This is again extremely helpful...thanks... MVCC says... Hey...while
you're
writing
AM, Robert Samuel Newson rnew...@apache.org wrote:
There'll definitely be official documentation on the clustering part of
couchdb.
On 27 Mar 2014, at 16:50, Stanley Iriele siriele...@gmail.com wrote:
Thanks Jens... I knew that the key value storage from memcache and
apologies for my
I'm trying to find a document comparing the two... Especially from a CAP
theorem / distributed write perspective.
How does bigcouch handle multiple simultaneous writes ? Is it first to
write? How is couchbase different?...
There is no clear comparison between documentation the on these
Apologies for the title.. It should be bigcouch vs couchbase
On Mar 26, 2014 12:43 AM, Stanley Iriele siriele...@gmail.com wrote:
I'm trying to find a document comparing the two... Especially from a CAP
theorem / distributed write perspective.
How does bigcouch handle multiple simultaneous
:43 AM, Stanley Iriele siriele...@gmail.com wrote:
How does bigcouch handle multiple simultaneous writes ? Is it first to
write? How is couchbase different?...
In Couchbase Server the key-space is partitioned among the nodes in the
cluster, so each key is 'owned' by one node at a time. So
26, 2014, at 9:31 AM, Stanley Iriele siriele...@gmail.com wrote:
Why would you say that couchbase scales better?...
That's getting way off-topic for this list, but http://couchbase.com has
a bunch of marketing materials and white papers and such, and we have sales
engineers you can talk
for all parties involved..
On Mar 26, 2014 2:58 PM, Stanley Iriele siriele...@gmail.com wrote:
Thanks again Jens for the reply... Couchbase has documentation on
this...and gobs of marketing... But bigcouch does not...
In bigcouch...all nodes can handle every request... But let's say a node
What is the difference between filtered changes feed and sync gateway?. Are
they that comparable?
On Mar 25, 2014 11:27 AM, Jens Alfke j...@couchbase.com wrote:
On Mar 25, 2014, at 12:41 AM, Suraj Kumar suraj.ku...@inmobi.com wrote:
If there are a million *.couch files under
, 2014 7:53 AM, Marcello Barnaba v...@openssl.it wrote:
On Mar 05, 2014, at 07:27, Stanley Iriele siriele...@gmail.com wrote:
I want to store a document for a particular game... Version...and
key...where key could be any string. I want there to be a key collision
on
insert
I don't want
Cocudb is a very flexible database so it really depends on what you're
trying to do with italso what language is your project in?
On Mar 4, 2014 9:43 AM, Ramanadham, Radhika radhika.ramanad...@emc.com
wrote:
Hi,
I am trying to see if couchDB is a good fit for my project. For the most
I want to store a document for a particular game... Version...and
key...where key could be any string. I want there to be a key collision on
insert
I don't want to make up some delimeter because that wouldn't go so well
On a scale of 1 to 10 how bad of an idea is this?
...@benjamindsmith.com wrote:
On 02/25/2014 11:25 AM, Stanley Iriele wrote:
So in clustering couchdb everyone recommends haproxy but I do t want to
pay
the price for an extra hop. Is there a better solution out there?.. I'm
thinking of pulling they keyspace doc in myself and just have a collection
I'm fairly new to erlang and I am going through the docs couchdb docs again
and its shows that proplists are the way objects documents are stored when
you interact with them in an map function (or whatever other function).
My question is...from what I have read proplists have linear performance
Basically my case is that I may have a doc with hundreds of keys
potentially and was curious about the behavior
On Thu, Feb 27, 2014 at 1:12 AM, Stanley Iriele siriele...@gmail.comwrote:
I'm fairly new to erlang and I am going through the docs couchdb docs
again and its shows that proplists
Use a proxy to say no posts and puts matching that Or...just don't call
it. :-) I exclusively use update handlers to update my docs unless I move
them in bulk
On Feb 27, 2014 2:46 PM, Alexander Shorin kxe...@gmail.com wrote:
How you suppose to deal with replication which stores documents
What is the couchbase equivalent of the changes feed?...just to be clear I
am using couchdb but I am asking for a friend. I am familiar with the
changes feed enough but it seems like this has been hidden away from the
developer in couchbase. ...how would someone achieve the same behavior from
hesitate to call it a view though, since it's the database itself just
rendered in the same format as views. You could think of it as primary
index vs secondary index.
B.
On 25 Feb 2014, at 06:59, Stanley Iriele siriele...@gmail.com wrote:
is the All docs a special view?...it never has
So in clustering couchdb everyone recommends haproxy but I do t want to pay
the price for an extra hop. Is there a better solution out there?.. I'm
thinking of pulling they keyspace doc in myself and just have a collection
of http clients connecting to different nodes.
My question is is the extra
is the All docs a special view?...it never has to be primed like
traditional views. why is that?...if a use a list function to fold over a
certain number of keys during a period of a lot of writes does this view
stay up to date ? or does it behave like a regular view?
This may not be too helpful to you but I solved this problem with update
handlers and a records database..each update returned an update record
object containing the docid the CTX user old.. All of the old keys and
new...the new changed keys.
I accumulated them in memory in a server than bulk but
Maps should not be used for that... Also...why can't show or list functions
be used for that?...
On Jan 8, 2014 10:59 AM, Hank Knight hknight...@gmail.com wrote:
I want to get the current timestamp according to the CouchDB server
using a GET request. When new documents are created, an update
That's the browser cache... Not the JavaScript call you'll make... Try
making call...logging it to the console.. Then making that call again a
second later... It should work just fine.. You can even get the age from
the show function... With a new date minus created date and just return
that in a
Wait...exactly are you trying g to accomplish with the current server time?
Here is my show function:
https://zuhqtr5.couchappy.com/test/show/show.txt
Here is what it does:
https://zuhqtr5.couchappy.com/test/_design/showtimestamp/_show/serverTime
How can I add a custom content header to this
Could you do what Jens just mentioned and just make a filter?that way a
seq number plus the filter should get you what you want
On Jan 6, 2014 1:28 PM, Jens Alfke j...@couchbase.com wrote:
On Jan 6, 2014, at 12:42 PM, Hank Knight hknight...@gmail.com wrote:
I want the ID of the most
The 1st thing I see right off the bat is that that is not valid json... The
keys need to be in quotes because they are strings... Second.. They query
arg needs to be a string too... I believe...I haven't used them in a
while...either way that's not valid json.
On Jan 2, 2014 6:54 AM, Oliver
Correct me if I'm wrong here... If every doc had some meta info with it...
And every URL rewrite went to a show or list function...couldn't you use
the sec object passed on the request object to get what you want?... Or
pass in some application level user credentials... Granted that doesn't
sound
Well..thanks for that I didn't realize that. The solution I was suggesting
would have been places behind a reverse proxy of course
On Jan 2, 2014 1:12 PM, Jan Lehnardt j...@apache.org wrote:
On 01 Jan 2014, at 23:32 , Stanley Iriele siriele...@gmail.com wrote:
Can't you just use vhosts
Yes...the new ID and rev are returned as headers.
X-Couch-Id is the new ID
X-Couch-Update-Newrev is the new revision
Here's where its mentioned in the docs
http://docs.couchdb.org/en/latest/api/ddoc/render.html?highlight=update#put--db-_design-ddoc-_update-func-docid
On Dec 30, 2013 3:11 PM,
than nothing but is there any
way to get the revision information returned like this?
return [doc, doc._rev]
On Mon, Dec 30, 2013 at 4:17 PM, Stanley Iriele siriele...@gmail.com
wrote:
Yes...the new ID and rev are returned as headers.
X-Couch-Id is the new ID
X-Couch-Update-Newrev
What's the hardware... Cocudb version...operating system of your
project...also that doesn't sound like a lot..sounds like there's something
funky going on...you're not spinning up new processes for each request are
you?
On Dec 26, 2013 7:51 PM, Vladimir Ralev vladimir.ra...@gmail.com wrote:
Hi
Even without bulk docs...that doesn't sound right..it sounds to me like the
library you're using is having a problem with its http client and the time
gap in closing a connection and opening a new one. Try looking at how many
open connections your app has when it starts to slow down.
I'm guessing
2:01 AM, david martin david.mar...@lymegreen.co.uk
wrote:
On 19/12/13 03:28, Stanley Iriele wrote:
Why did you place quotes around your timeout? Its just the value...
No
quotes
The 'value' of the timeout 50 is merely the form or
representation that is reported
On Dec 19, 2013 2:32 AM, david martin david.mar...@lymegreen.co.uk
wrote:
On 19/12/13 10:08, Stanley Iriele wrote:
Ahh yes yes you're right...hmm...it is possible that they place a guard on
the function and call it using the default value or something like
that...also...what is your doc so
Random asside.. Have you restarted the database?... Yes you can curl and
get the value but the process ..may not have respected it ...
On Dec 19, 2013 7:37 AM, david martin david.mar...@lymegreen.co.uk
wrote:
On 18/12/13 22:42, Robert Newson wrote:
There is something hard coded in there and I
Why did you place quotes around your timeout? Its just the value... No
quotes
On Dec 18, 2013 2:42 PM, Robert Newson rnew...@apache.org wrote:
There is something hard coded in there and I will find it eventually
and find why it was put there and by whom.
This attitude might
I have been reading through the couchdb docs online..,fantastic job by the
way, and I discovered the joy of returning json instead if stringifying
my objects and setting the application/json header myself
I don't see any official reference pointing out this goodie... Are there
more? Is there an
You mean _id right?
On Nov 28, 2013 3:20 PM, Gerardo Di Iorio aret...@gmail.com wrote:
Hi,
i try to use couchdb for store data sensor.
My document is
{
id:123
source:
I mean other than the fact that your json sample is totally hosed
On Nov 28, 2013 3:21 PM, Stanley Iriele siriele...@gmail.com wrote:
You mean _id right?
On Nov 28, 2013 3:20 PM, Gerardo Di Iorio aret...@gmail.com wrote:
Hi,
i try to use couchdb for store data sensor.
My document
A complete side note...good job on the documentation guys.. Its a one stop
shop for the most part...plus it looks really nice visually All in all
job well done
On Nov 28, 2013 7:01 PM, Alexander Shorin kxe...@gmail.com wrote:
Don't worry, it's just missed (like any usage examples). Thanks
@florian I am not sure what you mean 1 doc update changes all others...I
basically you operate on an index of things... Just like a list applies to
a view... And each call flushes a doc... Its OK for bulk updates to take a
while
And the output would be what is returned from the bulk updates
or something
On Nov 27, 2013 12:55 AM, Stanley Iriele siriele...@gmail.com wrote:
@florian I am not sure what you mean 1 doc update changes all others...I
basically you operate on an index of things... Just like a list applies to
a view... And each call flushes a doc... Its OK for bulk updates to take
Bulk updates in couchdb are a tad painful. you have to fetch them out of
the database apply your change and save them.
I propose adding the ability to have something like an update handler that
folds across documents
either in the way that lists do via get row
ex.
function (head, req){
while
Which on is faster..?..if couchdb just finds Startkey and walks until end
key... Is it that much faster then keys?? Which I'm guessing does a search
for every key?... Anyways is the gap in speed worth worrying about?..
I'm not in a position to benchmark one architecture vs the other so I'm
asking
I think the use of the word collection is misleading...even though they are
synonymous..type is far clearer... But that's all just my preference
On Nov 21, 2013 12:03 PM, Tim Black t...@alwaysreformed.com wrote:
I should note that instead of using the common convention Jens mentioned
of a
Wait...I believe you''re fundamentally have the idea of the update handler
wrong
curl -s -X PUT 'http://localhost:5984/i7rmdb/_design/compnbd/_update/
timestamp/testid' -d @/tmp/2.json
you don't need to pass in that json file
an update handler loads the latest version of that doc from the
at 12:44 AM, Vivek Pathak vpat...@orgmeta.com wrote:
I would like to do both update and run update handler - without having a
window of time between the client update and sever side update handler.
What is wrong with this ?
On 11/20/2013 03:36 AM, Stanley Iriele wrote:
Wait...I believe
When you say blocked... Do you mean time for the view to build? Or waiting
to get a doc out of the database while its being written?.. I thought couch
db was mvcc so there was none of that
On Nov 20, 2013 1:36 PM, Mark Hahn m...@reevuit.com wrote:
Database writes are not coupled to view
Idk..it sounds hackey.. But curl and crontab is good enough for me for the
views that can't fall more than 1 minute behind
On Nov 20, 2013 2:57 PM, Robert Newson rnew...@apache.org wrote:
The bigcouch merge will not bring any automatic view updating
scheduler. Nothing stops someone contributing
:
.it sounds hackey.
Just use update_after. It's not a hack.
On Wed, Nov 20, 2013 at 2:59 PM, Stanley Iriele siriele...@gmail.com
wrote:
Idk..it sounds hackey.. But curl and crontab is good enough for me for
the
views that can't fall more than 1 minute behind
On Nov 20, 2013 2:57 PM, Robert
TCP no delay?... Plus are you building a lot of indexes?... If you're just
serving documents I'm surprised it doesn't cache it all and mind its own
business I'm curious...is your test testing what yours actually going
to be using it for or are they just Benchmarks?
On Nov 20, 2013 3:24 PM, Joe
1 - 100 of 218 matches
Mail list logo