Re: Building for Android

2011-03-30 Thread Dale Harvey
I have built on 2.3.2, the instructions should work however the wiki formatting has broken the patches, I will update the wiki with the patches Matt sent me Android recently added support for building on osx however it requires building a case sensitive disk image http://source.android.com/source/

Re: Surprisingly high CPU load

2011-03-30 Thread Benoit Chesneau
On Tue, Mar 29, 2011 at 3:26 PM, Grauel, Moritz wrote: > Hi, > > I am currently evaluating CouchDB. During my tests I have observed   > suprisingly high CPU load. I have installed a fresh CouchDB 1.0.2, created a > DB and inserted one doc { 'hello':'world'}. How do you insert it ? > > Then I ju

Re: Surprisingly high CPU load

2011-03-30 Thread Sam Bisbee
Along the lines of client side caching, check out Sag. Currently uses ETags to cache queries and docs in memory or disk with more storage mechanisms coming soon. http://www.saggingcouch.com https://github.com/sbisbee/sag/blob/master/src/SagCache.php Cheers, -- Sam Bisbee www.sbisbee.com On Wed,

Re: Surprisingly high CPU load

2011-03-30 Thread Sean Copenhaver
I would imagine the merging of memcache and couchdb (well couchbase but hopefully contributed back) could result in things like this. On Wed, Mar 30, 2011 at 12:55 PM, kowsik wrote: > In the end, RAM *always* wins. Use fragment caching (rails/sinatra) or > memcached/redis before you bother Couch

Re: Surprisingly high CPU load

2011-03-30 Thread kowsik
In the end, RAM *always* wins. Use fragment caching (rails/sinatra) or memcached/redis before you bother Couch. That said, I'm seeing direct doc fetches from CouchDB in the low 10's of milliseconds running on an EC2 large instance. This could be an interesting "feature" in CouchDB. Since it "knows

Re: create a document

2011-03-30 Thread Gabor Ratky
..and have a good understanding of what CouchDB is and what is not: http://guide.couchdb.org/ in bocca al lupo! On Mar 30, 2011, at 4:29 PM, Paul Davis wrote: > On Wed, Mar 30, 2011 at 10:26 AM, Mauro Fagnoni > wrote: >> Hi i have some question; after i create a database by phyton command* >>

Re: create a document

2011-03-30 Thread Paul Davis
On Wed, Mar 30, 2011 at 10:26 AM, Mauro Fagnoni wrote: > Hi i have some question; after i create a database by phyton command* > > from couchdbkit.client import Server > server = Server() > server.create_db(“python_test”)* > > how i can is create a document structure as represent the table structu

create a document

2011-03-30 Thread Mauro Fagnoni
Hi i have some question; after i create a database by phyton command* from couchdbkit.client import Server server = Server() server.create_db(“python_test”)* how i can is create a document structure as represent the table structure data as like SQL table i know that this document is not a table b

Re: Strange bug on long polling changes feed, using OS X

2011-03-30 Thread Matt Goodall
On 30 March 2011 08:56, Jyrki Pulliainen wrote: > On 28 March 2011 16:36, Matt Goodall wrote: > > On 28 March 2011 13:32, Jyrki Pulliainen > wrote: > > > >> Hi, > >> > >> I've run into a strange bug with longpoll changes feed, using OS X. I > >> can not reproduce this bug on Ubuntu Linux runnin

Re: eacces errors on startup

2011-03-30 Thread Paul Davis
On Wed, Mar 30, 2011 at 7:10 AM, Robert Newson wrote: > yes, they are significant errors. couchdb is unable to load some of > its modules, it's surprising it appears to work. > > B. > > On 30 March 2011 00:46, Wayne Conrad wrote: >> When I start couchdb, I see dozens of eacces errors in the log:

Re: Querying a view with a complex key with a wildcard

2011-03-30 Thread Nathan Vander Wilt
On Mar 29, 2011, at 8:39 PM, Mclendon, William C III wrote: > Hi, > > I've got a view that is built from a map.js that looks like this: > > function(doc) > { > if(doc['record type']=='search') >{ >emit( [doc.status, doc.time], doc ) >} > } Not related to the main discussion, but: Yo

Re: eacces errors on startup

2011-03-30 Thread Robert Newson
yes, they are significant errors. couchdb is unable to load some of its modules, it's surprising it appears to work. B. On 30 March 2011 00:46, Wayne Conrad wrote: > When I start couchdb, I see dozens of eacces errors in the log: > > [Tue, 29 Mar 2011 23:25:47 GMT] [error] [<0.20.0>] {error_repo

Re: CouchDB over a Windows network drive

2011-03-30 Thread Dave Cottlehuber
On 29 March 2011 22:57, Rob Pettefar wrote: >  Hi guys > I have just been trying out a way of storing the actual database and views > files on a different drive to the application (the final setup needed is for > the majority of data to be held on a NAS system). Hey Rob, the short answer is to u

Re: Surprisingly high CPU load

2011-03-30 Thread bryan rasmussen
How do people deal with this issue in production environments? Just adding more CPUs? Any optimizations that one commonly sees? Thanks, Bryan Rasmussen On Wed, Mar 30, 2011 at 11:54 AM, Filipe David Manana wrote: > On Wed, Mar 30, 2011 at 8:15 AM, Paul Hirst wrote: >> >> You might find this an

Re: Surprisingly high CPU load

2011-03-30 Thread Filipe David Manana
On Wed, Mar 30, 2011 at 8:15 AM, Paul Hirst wrote: > > You might find this an interesting read > https://issues.apache.org/jira/browse/COUCHDB-1092 > > The performance improvements discussed in that bug sound extremely > appealing but the discussion has gone quiet which is a great shame. I'm > sti

Re: Querying a view with a complex key with a wildcard

2011-03-30 Thread Mehdi El Fadil
hi, You can have a look at the section "View \ *Reversed result*" from the couchdb guide to understand why it did not work with your start key and descending order: http://guide.couchdb.org/editions/1/en/views.html Good luck, mehdi On Tue, Mar 29, 2011 at 9:17 PM, Mclendon, William C III wrote

Re: Update Huge Data By View

2011-03-30 Thread Simon Metson
Hi, You probably want to poll the _changes feed with a ?since parameter to get the changed documents since you last looked. These links might help: http://wiki.apache.org/couchdb/HTTP_database_API#Changes http://guide.couchdb.org/draft/notifications.html Cheers Simon Sent with Sparrow On Wedn

Re: Strange bug on long polling changes feed, using OS X

2011-03-30 Thread Jyrki Pulliainen
On 28 March 2011 16:36, Matt Goodall wrote: > On 28 March 2011 13:32, Jyrki Pulliainen wrote: > >> Hi, >> >> I've run into a strange bug with longpoll changes feed, using OS X. I >> can not reproduce this bug on Ubuntu Linux running the same version of >> CouchDB. This has been verified on two di

Update Huge Data By View

2011-03-30 Thread Panop S .
Hi, I have to update a huge amount of data and the data often get updated. If I fetch to query all the data at once, this will be slow performance of loading such a huge data. Do you have any way that we can get the data for specific range so

Re: Surprisingly high CPU load

2011-03-30 Thread Paul Hirst
On Tue, 2011-03-29 at 14:26 +0100, Grauel, Moritz wrote: > Hi, > > I am currently evaluating CouchDB. During my tests I have observed > suprisingly high CPU load. I have installed a fresh CouchDB 1.0.2, > created a DB and inserted one doc { 'hello':'world'}. > > Then I just fetch this single docume