Re: CouchDB crashing on me (while doing benchmark with 1 million documents)

2011-04-05 Thread Cliff Williams
Luis, good morning. What platform (linux/windows) and version of couchdb are you running?? best regards Cliff On 05/04/11 06:49, Luis Miguel Silva wrote: Dear all, I'm doing some benchmarks on CouchDB and it seems i'm making it crash when i try to create 1 million parallel documents, using

Re: Uploading CSV data to Couchapp

2011-04-04 Thread Cliff Williams
only found links that describe the technique in very broad detail. Do you know of any links that describe it in reasonable detail? I'm an experienced Python/Ruby/C/C#/... coder and an occasional Erlang coder, but stuff like Node.js is completely new to me - I'm assuming that if I could

Re: Uploading CSV data to Couchapp

2011-04-04 Thread Cliff Williams
David, I hope you are well. I think that you have covered your options pretty well. "- upload the data& save it into a single "uploaded_csv" document in CouchDB. Within CouchDB, detect the presence of a new "uploaded_csv" document, extract and process the content using Javascript and save it

Re: Simple Docs in Numerous Views

2011-03-17 Thread Cliff Williams
Zdravko have you investigated Elasticsearch http://www.elasticsearch.org/ or Couchdb Lucene https://github.com/rnewson/couchdb-lucene. I personally have used Elasticsearch with the couchdb river (connector). I think these may help with your use case best regards cliff On 17/03/11 16:20, Zd

Re: CouchDB _changes + continuous + Ajax

2010-12-27 Thread Cliff Williams
onreadystatechange trigger, it only appends the result. So responseText is growing really big and after N seconds/hours/days maybe ill be out of memory. What to do, so i can avoid this? If something is not clear enough i'll post some code later with some more explanations and logs. Thanks From:

Re: CouchDB _changes + continuous + Ajax

2010-12-24 Thread Cliff Williams
N/A N/A I hope you are well and looking forward to Christmas I am not sure that I fully understand but are you querying using last sequence ? I use changesurl = "http://"+ host +":"+port.tostring+"/"+database+ "/_changes?feed=continuous&include_docs=true&heartbeat=1 +"&since="+lastseq"

Re: Document model of network

2010-12-19 Thread Cliff Williams
Ido, I hope you are well. have you had a look at http://wiki.apache.org/couchdb/HTTP_Bulk_Document_API (the section labelled Transactional Semantics with Bulk Updates) best regards cliff On 19/12/10 15:17, Ido Ran wrote: Hi, I have application which the primary data model is a network (gr

Re: Forcing document reindex

2010-11-17 Thread Cliff Williams
Nicolas, I am not sure if I fully understand your use case (however it does sound intriguing and unusual). A couple of things stick out in your commentary; "The data is only weakly relational." "DB updates are relatively few" I assume that you are getting data out of your legacy MySQL system

Re: CouchDB Web Server access on a LAN.

2010-11-17 Thread Cliff Williams
Neville, Glad you are up and running. It does not look as if hostname will work. I tried it on my test couchdb instance. using 0.0.0.0 will make it bind to available IP addresses which may, or may not be suitable. best regards cliff PS You can also access the configuration page from the

Re: CouchDB Web Server access on a LAN.

2010-11-17 Thread Cliff Williams
Neville, Good Morning. initially go to http://127.0.0.1:5984/_utils/config.html change the bind address (about half way down), restart couchdb, and you should be good to go best regards cliff On 17/11/10 08:02, Neville Franks wrote: I'm trying to access CouchDB on a PC on my LAN using its

Re: Join Query View

2010-11-11 Thread Cliff Williams
Duc, have you seen this document http://www.cmlenz.net/archives/2007/10/couchdb-joins look for view collations Also What would be the harm in constructing a document with {"ID":"someID","Name":"someName","Location":"someLocation","Serial":"someSerial","Model":"someModel","OS":"someOS","RAM":

Re: https?

2010-10-29 Thread Cliff Williams
Doug, I hope you are well. Couchdb does not handle https by itself. I think that a generally acceptable method would be to put couchdb behind a reverse proxy such as nginx and allow nginx to handle all of the ssl/tls traffic. (I don't like using VPNs for this sort of thing since it always fe

Re: Fetch multiple Documents with a single request

2010-10-14 Thread Cliff Williams
wrote: Hi Cliff, It's windows. I just tried on Linux and it works! Thanks for the hint ... Any idea what I would have to change, to make it work on windows? Cheers, Peter -Original Message----- From: Cliff Williams [mailto:cliffywi...@aol.com] Sent: Donnerstag, 14. Oktober 2010 12:5

Re: Fetch multiple Documents with a single request

2010-10-14 Thread Cliff Williams
Peter, what host are you running curl from ?? is it Linux or Windows ?? best regards cliff On 14/10/10 11:08, Peter Frisch wrote: I'm using couchDB 1.0.1 and it doesn't work, no matter, if I use the header option or not ... Might it be a setting within the couchDB or on the http server? Any

Re: Couchdb crashes on Windows

2010-10-03 Thread Cliff Williams
Dave, I hope you are well I downloaded your release. Regretfully I can confirm that we still have the 4GB limitation in couchdb running within windows. My setup is a win xp pro SP3. I will begin to look into the couch code. best regards Cliff PS Some great info in here http://github.com/d

Re: Return doc data with _changes feed?

2010-10-02 Thread Cliff Williams
Note to self read emails top down rather than bottom up Robert had already replied 5hrs ago Apologies Robert Best regards Cliff On 02/10/10 16:19, Cliff Williams wrote: Enrique I think that it is something like _changes?feed=continuous

Re: Return doc data with _changes feed?

2010-10-02 Thread Cliff Williams
Enrique I think that it is something like _changes?feed=continuous&include_docs=true best regards cliff On 02/10/10 11:49, Enrique Flores wrote: Hi, We are monitoring a database with the continuous changes API, but our bottleneck now is that we then have to turn around and request the a

Re: Couchdb crashes on Windows

2010-09-30 Thread Cliff Williams
think we're on the right track. On Wed, Sep 29, 2010 at 5:49 PM, Cliff Williams wrote: Dave, I hope you are well I too began to look at this a couple of nights ago. The process that I was going to follow; Establish a base case Write some file IO tests Apply these tests to th

Re: Couchdb crashes on Windows

2010-09-29 Thread Cliff Williams
Dave, I hope you are well I too began to look at this a couple of nights ago. The process that I was going to follow; Establish a base case Write some file IO tests Apply these tests to the Couchdb environment and see what differences popped out. At the very least I thought that

Re: Recap: Couchdb crashes on Windows

2010-09-27 Thread Cliff Williams
Peter, I had some time last night so I set up a fresh XP install with the windows binary from couchone. (I am interested in this since I am looking to set up couch on a number of windows machines.) I set up 5 clients to populate a test database with 2MB documents .. somewhat regretf

Re: Couchdb crashes on Windows

2010-09-25 Thread Cliff Williams
ing their quota's best regards cliff On 25/09/10 12:57, Peter Somers wrote: Hi Cliff, This could be it! Couchdb runs under the Local System account. I am not able to find quota settings for this account. Do you know where I can find these? Thanks, Peter 2010/9/25 Cliff Williams

Re: Couchdb crashes on Windows

2010-09-25 Thread Cliff Williams
Peter, Good afternoon just a hunch on my part, but do you have quotas set up for the user that you are running Couch under?. best regards cliff On 25/09/10 12:00, Peter Somers wrote: I was able to copy a 5GB file to the same folder as the .couch files resides without any problems. This ru

Re: CouchDB 1.0.1 crashing after an update.

2010-08-23 Thread Cliff Williams
Eric, Would it be as simple as permission errors. What happens when you run interactively as root? Best regards Cliff On 23/08/10 12:36, ericdes wrote: I had installed from source before (in /usr/local) and I did it too for the update (in /usr/local too). Eric. On 8/23/2010 12:06 AM, Ran

Re: ok so I've introduced myself - here is problem one

2010-08-21 Thread Cliff Williams
Paul, Take a look at this http://couchapp.org/page/authn-preview which is a good write up. Best regards Cliff On 21/08/10 09:13, Paul Gydos wrote: I have a couchone instance. I like the couchapp interface on couchone as far as not needing to be anything but a novice to sign up and get sta

Re: expected behaviour of changes feed

2010-08-15 Thread Cliff Williams
All, Please ignore my last paragraph I was able to replicate my own stupidity . everything on the changes feed is as expected. very best regards Cliff On 15/08/10 17:28, Cliff Williams wrote: All, Gave things a little time to settle down following the data loss issue

Re: expected behaviour of changes feed

2010-08-15 Thread Cliff Williams
ent but no entry if an attachment is deleted. Is this expected behaviour?. Very Best Regards Cliff On 08/08/10 17:10, J Chris Anderson wrote: On Aug 8, 2010, at 8:36 AM, Cliff Williams wrote: Mikeal& Sebastian tks for explanation . all clear in my head now. J Chris That&

Re: expected behaviour of changes feed

2010-08-08 Thread Cliff Williams
s of documents because they will go away after compaction anyway. every time a document is updated it removes it's previous sequence from the by-sequence index and the revision information is only available by querying for it on the document itself (until you compact). -Mikeal On Sat, Aug 7, 201

expected behaviour of changes feed

2010-08-07 Thread Cliff Williams
All, Good afternoon. using this url http://10.0.0.10:5984/test/_changes?since=14966&all_docs=true I get the following results {"results":[ {"seq":14971,"id":"ab53d85b92247bcbf251ef9abed4d998","changes":[{"rev":"2-b9cfa00cc907767d6bfdeca7dee5008f"}]}, {"seq":14973,"id":"ab53d85b92247bcbf251ef9a