It would help, but views would build slower tho
On Sat, Oct 10, 2015 at 12:10 AM, Sebastian Rothbucher <
sebastianrothbuc...@googlemail.com> wrote:
> Hi,
>
> You could renice it but i'm not sure it would help - worth a try though
>
>Sebastian
>
> Von meinem iPhone gesendet
>
> > Am 09.10.2015
26, 2014 at 7:50 AM, Andrey Kuprianov
> wrote:
> > So the question is: how does one fully clear the
> > replication state from one db to another, so I can start replication
> from A
> > to B from scratch?
>
> In your logs find the line which looks like this one:
> [
Alexander, thank you for the reply. That looks exactly what I was looking
for :)
Cheers,
Andrey
On Tue, Aug 26, 2014 at 12:06 PM, Alexander Shorin wrote:
> On Tue, Aug 26, 2014 at 7:50 AM, Andrey Kuprianov
> wrote:
> > So the question is: how does one ful
thing happens. So the question is: how does one fully clear the
replication state from one db to another, so I can start replication from A
to B from scratch?
On Mon, Aug 25, 2014 at 11:36 AM, Andrey Kuprianov <
andrey.koupria...@gmail.com> wrote:
> Hi guys,
>
> We are having t
Hi guys,
We are having this replication problem on a couple of our servers. Here's a
Gist with the log (https://gist.github.com/andreyvk/62f788075fe42acf4720).
I had to star some sensitive data.
Servers are pulling data from each other and each of them is also pulling
from one more server. The wh
ue, Nov 26, 2013 at 9:28 PM, Andrey Kuprianov <
> andrey.koupria...@gmail.com> wrote:
>
> > Hi guys,
> >
> > I've come across a strange behavior when, if I use _replicator database,
> > design documents are not replicated. Is that normal?
> >
>
Hi guys,
I've come across a strange behavior when, if I use _replicator database,
design documents are not replicated. Is that normal?
Before we used curl to start/stop replication tasks and everything was
replicating well. However, since we moved to a "document-based"
replication, design documen
Please, ignore the 2nd question. My mistake on this account.
On Tue, Nov 12, 2013 at 1:32 PM, Andrey Kuprianov <
andrey.koupria...@gmail.com> wrote:
> I'd like to create a simple replicator DB management tool. We really need,
> so that it would be easy to manage replicatio
I'd like to create a simple replicator DB management tool. We really need,
so that it would be easy to manage replications across several servers.
Following the manual, I put a document into the _replicator DB. For example,
{
"_id": "dude",
"source": "db1",
"target": "db2",
"continuou
Cool!
On Wed, Sep 4, 2013 at 5:43 AM, Jan Lehnardt wrote:
> Congrats and thank you Dirkjan for a splendid release! :)
>
> Best
> Jan
> --
>
> On 03.09.2013, at 19:44, Dirkjan Ochtman wrote:
>
> > Dear community,
> >
> > Apache CouchDB 1.4.0 has been released and is available for download.
> >
with 1.3.1 it seems to get stuck.
Is there a better way to ensure that replication doesnt stop like that?
Andrey
On Thu, Aug 29, 2013 at 8:14 PM, Andrey Kuprianov <
andrey.koupria...@gmail.com> wrote:
> Hi guys,
>
> I'm running a few pull replications and basically this
Hi guys,
I'm running a few pull replications and basically this is a mesh between 4
servers (all of them are couch 1.3.1). Some of the replication statuses are
showing 100% progress but some seem to have stuck on a percentage below
100. Like the one below:
*Checkpointed source sequence 582782, cu
ed
it yesterday and I'm pretty happy with how much faster it is than
Javascript.
On Thu, Aug 15, 2013 at 12:01 PM, Jens Alfke wrote:
>
> On Aug 14, 2013, at 9:53 PM, Andrey Kuprianov
> wrote:
>
> > Nope, not misreading anything. And I understand they do. But the soone
Nope, not misreading anything. And I understand they do. But the sooner
they finish the better, wont you agree? It's mainly because of that we dont
do view updates during weekdays. So we normally wait until Sunday, in order
to make sure that no users are affected by degraded server performance.
@Ja
time.
>
> Obviously you can automate this procedure as needed. I do not update design
> documents much anymore, so I still use curl in a Bash script. YMMV.
>
>
> On Thu, Aug 15, 2013 at 10:25 AM, Andrey Kuprianov <
> andrey.koupria...@gmail.com> wrote:
>
> > Yups,
anley Iriele wrote:
> True... But the only way for that to happen is for them to bypass several
> other layers of security... In which case I'd have much bigger problems to
> worry about
> On Aug 14, 2013 8:08 PM, "Andrey Kuprianov"
> wrote:
>
> > So far it seems v
me an honest reason for picking up Erlang
> againI'm going to try converting all of my views to Erlang and see what
> happens..what's the worst that can happen? :-)
> On Aug 14, 2013 7:55 PM, "Andrey Kuprianov"
> wrote:
>
> > I had a 5-6 times speed
I had a 5-6 times speed boost yesterday, after converting one of my design
docs to Erlang. Like a breath of fresh air, if you ask me.
Andrey
On Wed, Aug 14, 2013 at 11:54 PM, Stanley Iriele wrote:
> I'm curious... What exactly is the performance gain from writing
> views/shows/ etc in Erlang
Great! Thanks again.
Andrey
On Wed, Aug 14, 2013 at 8:53 PM, Robert Newson wrote:
> Ah, sorry, I missed the nuance. Certainly each design document can use
> a different view server.
>
> B.
>
>
> On 14 August 2013 14:48, Andrey Kuprianov
> wrote:
> > Ah, so it
rty is per design document, so you can't mix
> views inside the same design document, but you can use different design
> documents.
>
> -Filippo
>
> On Aug 14, 2013, at 1:01 PM, Andrey Kuprianov wrote:
>
> > Hi all,
> >
> > Can I use Javascript + Erlang view se
Hi all,
Can I use Javascript + Erlang view servers together? Any requirements?
Thanks in advance!
Andrey
restarts the server if it dies (or is
> killed). Try
>
> ps -ef | grep couch
>
> and you should see the heartbeat process.
>
> Cheers,
> Mike
>
>
> On Fri, Aug 9, 2013 at 12:37 PM, Andrey Kuprianov <
> andrey.koupria...@gmail.com> wrote:
>
> > I trie
dfile management on first
> startup on some OS's.
>
> B.
>
>
> On 9 August 2013 10:45, Andrey Kuprianov
> wrote:
> > Hi guys,
> >
> > Im having trouble stopping couchdb service using the 'service couchdb
> > stop'. I've just installe
Hi guys,
Im having trouble stopping couchdb service using the 'service couchdb
stop'. I've just installed fresh couhdb-1.3.1 with couchdb-lucene 0.10.0 on
Ubuntu 12.04 LTS and saw that couchdb log is full of eaddrinuse error again.
netstat -anlp | grep 5984 was showing this:
tcp0 0
it reason
> > eaddrinuse
>
> This means that some process is already listen (ip:port) pair that
> CouchDB is also trying to. Try to look what process listens CouchDB's
> ip:port via lsof or netstat commands.
>
>
> --
> ,,,^..^,,,
>
>
> On Sat, Jul 20, 2013 at 8:12
).
On Sat, Jul 20, 2013 at 11:14 PM, Robert Newson wrote:
> "eaddrinuse". You have something already bound to port 5984 (probably
> another couchdb instance).
>
> On 20 July 2013 17:12, Andrey Kuprianov
> wrote:
> > Hi all,
> >
> > I keep on getting thi
Hi all,
I keep on getting this exception in couchdb log. The lot of them actually.
What do they mean? I have couchdb 1.3.1 freshly installed and also
couchdb-lucene attached to it.
Cheers,
Andrey
[Sat, 20 Jul 2013 16:08:57 GMT] [error] [<0.125.0>] {error_report,<0.31.0>,
Hi,
There's a 1st edition available, as opposed to reading a draft:
http://guide.couchdb.org/editions/1/en/index.html
Andrey
On Wed, May 22, 2013 at 3:27 PM, Dave Cottlehuber wrote:
> On 22 May 2013 07:52, polutan wrote:
> > Hello Folks :)
> >
> > I learn to make a very simple accounting a
Maybe someone can implement it for Ashraf, if he posted an ad. Because it
seems quite hopeless.
On Mon, May 20, 2013 at 7:46 PM, Michael Zedeler. wrote:
> Hi all.
>
> Maybe someone with admin rights can unsubscribe Ashraf?
>
> Regards,
>
> Michael.
>
>
> On 2013-05-19 17:52, Ashraf Janan wrote:
To build such a website, you'd need a dedicated server hosting like Amazon
Web Services (http://aws.amazon.com/) or a CouchDB hosting like IrisCouch (
http://www.iriscouch.com/service). In simpler terms: you can either rent a
server from someone (more expensive, but this will be your own server) or
Hi,
We have a bunch of Amazon servers running Ubuntu. We just installed Couchdb
from source and it works very well.
- followed couch's wiki, installed all dependencies first.
- then after running ./configure script, went through the check list and
figured out which dependencies were missing (i re
We do that and we have a cron to touch view every 5 min. Its just that at that
particular time we had to insert those 150k in one go (we were migrating from
mysql)
Sent from my iPhone
On 11 May, 2013, at 1:02 PM, Benoit Chesneau wrote:
> On May 9, 2013 1:17 PM, "Andrey Kuprianov&q
environment
>
>
> On 9 May 2013 12:16, Andrey Kuprianov wrote:
> > Rebuilding the views mentioned by James is hell! And the more docs and
> > views you have, the longer your views will have to catch up with the
> > updates. We dont have the best of the servers, but ours (dedica
Rebuilding the views mentioned by James is hell! And the more docs and
views you have, the longer your views will have to catch up with the
updates. We dont have the best of the servers, but ours (dedicated) took
several hours to rebuild our views (not too many as well) after we inserted
~150k docu
but you may want to
> consider caching result sets for dates in the past, maybe in redis? After
> all, once the date has expired the data is fixed right? Or not?
>
>
> On 16 April 2013 11:50, Andrey Kuprianov >wrote:
>
> > Muji, what happens if you have several hundred
ach.
>
> Cheers!
>
>
> On 16 April 2013 05:46, Andrey Kuprianov >wrote:
>
> > Nope, I need distinct values over a period of time. Not per day.
> >
> >
> > On Tue, Apr 16, 2013 at 11:30 AM, Keith Gable <
> zi...@ignition-project.com
> > >wro
> >
> > > On 04/15/2013 07:18 AM, Keith Gable wrote:
> > >
> > >> Output keys like so:
> > >>
> > >> [2010, 7, 10, "Australia"]
> > >>
> > >> Reduce function would be _count.
> > >>
> > >> st
ith Gable
>> A+, Network+, and Storage+ Certified Professional
>> Apple Certified Technical Coordinator
>> Mobile Application Developer / Web Developer
>>
>>
>> On Sun, Apr 14, 2013 at 8:37 PM, Andrey Kuprianov <
>> andrey.koupria...@gmail.com> wrote:
Btw, thank you for clarification.
On Mon, Apr 15, 2013 at 7:01 PM, Andrey Kuprianov <
andrey.koupria...@gmail.com> wrote:
> Lists wont get faster once that view hits 1mil mark either, however,
> reduce will not grow large as number of distinct countries is finite and
> r
the view server (converting from native to json
> too). In your case, your view was already fast (at least, when you
> only have 65k documents), so I'm not too surprised that the list
> approach was slower. The question is whether that remains true at a
> million documents.
>
>
documents were used in the
test). The reduce seems to run 20 times faster! I feel like lists are
actually slowing things down, not custom reduces.
Can anyone give me some good explanation regarding this?
Just FYI, I am using CouchDB 1.2.0.
On Mon, Apr 15, 2013 at 2:52 PM, Andrey Kuprianov <
a
Btw, is reduce function that you mentioned supposed to basically output
de-duplicate keys?
On Mon, Apr 15, 2013 at 1:10 PM, Andrey Kuprianov <
andrey.koupria...@gmail.com> wrote:
> Thanks. I'll try the lists. Completely forgot about them actually
>
>
>
> On Mon, Apr
of days in range) to filter in the show function.
>
> - JK
>
>
>
> Sent from my iPad
>
> On Apr 14, 2013, at 6:38 PM, "Andrey Kuprianov" <
> andrey.koupria...@gmail.com> wrote:
>
> > Hi guys,
> >
> > Just for the sake of a debate. Here'
See if your local.ini bind_address is set to 0.0.0.0 so that you can access
it locally and remotely.
On Thu, Apr 11, 2013 at 2:54 AM, Stanley Iriele wrote:
> A simple cat of etc/hosts... Should let you know!... And maybe nsswitch
> just to be sure
> On Apr 10, 2013 11:22 AM, "Robert Newson" wro
e we implemented it at Cloudant ages ago. So, it's coming.
>
> B.
>
>
> On 9 April 2013 22:22, Andrey Kuprianov
> wrote:
> > What Stanley said...
> >
> >
> > On Wed, Apr 10, 2013 at 10:20 AM, Stanley Iriele >wrote:
> >
> >> I think mu
g curl -H 'Range: bytes=0-1,1-2'? This has
> > been supported for a long time.
> >
> > B.
> >
> > On 9 April 2013 21:47, Andrey Kuprianov
> > wrote:
> > > Btw, are multiple ranges supported in this release?
> > >
> > >
> &g
s wondering...
On Wed, Apr 10, 2013 at 10:18 AM, Robert Newson wrote:
> "multiple ranges" meaning curl -H 'Range: bytes=0-1,1-2'? This has
> been supported for a long time.
>
> B.
>
> On 9 April 2013 21:47, Andrey Kuprianov
> wrote:
> > Btw, are mul
Btw, are multiple ranges supported in this release?
On Wed, Apr 10, 2013 at 9:41 AM, Andrey Kuprianov <
andrey.koupria...@gmail.com> wrote:
> Thank guys!
>
>
> On Wed, Apr 10, 2013 at 5:11 AM, Alexander Gabriel wrote:
>
>> thanks for the great work
>> I'
Thank guys!
On Wed, Apr 10, 2013 at 5:11 AM, Alexander Gabriel wrote:
> thanks for the great work
> I'm blown away by the replication speed recently. There must have been a
> big improvement probably with version 1.2.1
> Alex
>
>
>
> 2013/4/9 Noah Slater
>
> > Dear community,
> >
> > Apache Co
I have that too, but it's just and emulation. Not really a partial update.
As for me I feel CouchDB is seriously lacking relationships or link between
documents.For instance, I'd love to pull a document and whatever it
references in one go + whatever those documents referenced as well. I know
some
ng only an immediate parent id to get an infinite tree
> depth.
> >
> > thanks for your inspirations guys
> >
> > cheers
> > michael
> >
> > On 22/02/13 18:49, Andrey Kuprianov wrote:
> > > PS - storing only an immediate parent id would be the solution fo
PS - storing only an immediate parent id would be the solution for an
infinite tree depth.
On Fri, Feb 22, 2013 at 1:48 PM, Andrey Kuprianov <
andrey.koupria...@gmail.com> wrote:
> Storing immediate children in a parent is a bad idea in a sense that you
> will never be able to t
Storing immediate children in a parent is a bad idea in a sense that you
will never be able to traverse your tree back to the root, given a child
node.
Storing all in one doc - you will run out of space before you know it.
Documents have a finite length and the larger the document, the slower it
w
Hi Michael,
In our case we do it by storing a whole list of ancestor IDs on the
children nodes. Then, given ancestor ID, we can pull all the children nodes
and then build tree programmatically, if so needed.
You will need a view for that, where each ancestor ID is a key. Here's a
snippet:
if(doc
Yup, that's confirmed. They dont work for me either.
On Wed, Dec 19, 2012 at 3:21 PM, Hans Isbrücker wrote:
> Hello,
>
> I don't know where else to put this, but none of the following windows
> downloads are currently working:
>
> http://www.apache.org/dyn/closer.cgi?path=/couchdb/packages/win32
What does couch log say?
On Tue, Dec 11, 2012 at 6:06 PM, Lucas Toulouse wrote:
> Hello
>
> I test Couchdb for future production use.
>
> I want to use a instance of Couchdb as a backup on a server B. and I have a
> another couchdb that run only on localhost on a server A.
> I would use single
Very interesting, but unfortunately completely off-topic...
On Mon, Dec 10, 2012 at 4:52 PM, Ed Young wrote:
> This is not the place to post this.
>
> Admin - please warn this user.
>
> On 10/12/2012, at 19:15, Luca Morandini wrote:
>
> > Position no.: 0030516
> > Employment type: Full-time Fix
doesn't break the .couch
> file to be sure.
>
>
> On Mon, Dec 10, 2012 at 1:29 AM, Andrey Kuprianov <
> andrey.koupria...@gmail.com> wrote:
>
> > Has problems with Lucene, if you are using it. Do replication, if you
> can.
> > Safer this way.
>
Has problems with Lucene, if you are using it. Do replication, if you can.
Safer this way.
On Mon, Dec 10, 2012 at 3:28 PM, Paul Davis wrote:
> Should be fine.
>
>
> On Mon, Dec 10, 2012 at 1:14 AM, Michael Parker
> wrote:
>
> > Hi all,
> >
> > If I have a database that is performing create/upda
ql feeling guilty
> when doing multiple requests. I've gotten over that now. Doing 3
> fast simple requests is little to no worse than doing an sql query.
> This assumes a local DB which is all I've used so far.
>
> On Thu, Nov 29, 2012 at 5:33 PM, Andrey Kuprianov
> w
HI Bill,
That would be very difficult to do in one shot. You are basically looking
for a way to use multiple startkey-endkey pairs, which is not yet available
in CouchDB.
Easiest way would be to install Lucene or ElasticSearch on top of CouchDB (
http://wiki.apache.org/couchdb/Full_text_search).
racters are the time in hex. uuids/utc_id_suffix
> > > string value is appended to these.
> > >
> > > The default is "sequential".
> > >
> > > B.
> > >
> > >
> > > On 8 November 2012 18:13, Mark Hahn wrote:
> > >
> &g
It's a uuid. It's unique wherever
On Thu, Nov 8, 2012 at 6:32 PM, svilen wrote:
> hi
> are auto-generated uuids (when doc is saved without assigned id)
> unique across server-instance, or only within the database?
>
> i.e. can i take a doc from one database and write
> it as-is-without-the-_rev
y and descending on the second. Paul is talking about
> new functionality that augments the descending=true option.
>
>
> On Wednesday, 5 September 2012 at 07:29, Andrey Kuprianov wrote:
>
> > It's not per view, but per single query. Take a look here for more
>
It's not per view, but per single query. Take a look here for more
details:
http://wiki.apache.org/couchdb/HTTP_view_API#View_Generation_Options
On Wed, Sep 5, 2012 at 1:42 PM, Paul Davis wrote:
> Unfortunately no. There was a patch to define a sort order for array
> keys but it was never committ
Have you tried descending=true?
On Wed, Sep 5, 2012 at 12:16 PM, Pulkit Singhal wrote:
> I have a map with a compound key which naturally sorts in an ascending
> order as:
> [No, 2011]
> [No, 2012]
> [Yes, 2011]
> [Yes, 2012]
>
> But I want it to sort as:
> [No, 2012]
> [No, 2011]
> [Yes, 2012]
>
ly are, you could emit both
> documents if the id of the parent is in the child. This would be a
> simulated join that you could then reduce and process with a show function
> or on the client side.
>
> On Fri, Aug 24, 2012 at 10:41 AM, Andrey Kuprianov <
> andrey.
Actually, it would still be convenient to pull any document from within a
view based on some id in order to emit mixed value of both base document
and a dependent one. Oh, well.. Maybe in future releases.
On Sat, Aug 25, 2012 at 1:27 AM, Andrey Kuprianov <
andrey.koupria...@gmail.com>
> should be able to use a linked document to accomplish what you need.
>
>
> http://wiki.apache.org/couchdb/Introduction_to_CouchDB_views#Linked_documents
>
>
> On Fri, Aug 24, 2012 at 10:11 AM, Andrey Kuprianov <
> andrey.koupria...@gmail.com> wrote:
>
> > W
PS - Pull is also more secure, as you do not have to open inbound ports.
On Wed, Aug 22, 2012 at 11:49 PM, CGS wrote:
> ...additionally, note that there are two types of replications, push and
> pull for two distinct servers (it makes no sense this definition for one
> server), depending on wher
Have you tried smth like http://packages.python.org/CouchDB/ ?
On Tue, Aug 21, 2012 at 12:51 PM, goog cheng wrote:
> Thanks! Mmm, if with python, which method is more better?
>
> 2012/8/21 Andrey Kuprianov
>
> > What is your setup?
> >
> > Basically you would u
What is your setup?
Basically you would usually upload file first, save it in in some temporary
directory and then attach your existing couch document. After that the
attachment can be either done with cURL directly, or you can use some
helper library to do it. In my case, I use PHP-On-Couch (
htt
I just did. Marked it as a "Wish" and hopefully it could move to a "New
Feature" state some time soon:
https://issues.apache.org/jira/browse/COUCHDB-1522
On Thu, Aug 9, 2012 at 3:17 PM, Dave Cottlehuber wrote:
> On 9 August 2012 08:50, Andrey Kuprianov
> wrote:
&
Thanks! Wish they'd add this functionality in later versions. Would be
handy to have couch do all this mess internally. :)
On Thu, Aug 9, 2012 at 2:40 PM, Dave Cottlehuber wrote:
> On 9 August 2012 04:35, Andrey Kuprianov
> wrote:
> > I was looking in google but didnt find any
74 matches
Mail list logo