Erich Kist | 24 Jun 19:48 2016
Picon
Gravatar

Fwd: Install CouchDB 1.6.5 with Erlang/OTP 19.0

Hi guys,

I tried to install CouchDB via brew with the new Erlang/OTP 19.0 release
and I didn't have success.

I checked the dependencies (
https://github.com/apache/couchdb/blob/master/INSTALL.Unix.md#dependencies)
and today CouchDB is using Erlang OTP (>=R16B03-1, =<18.1).

Is there a roadmap to update CouchDB dependencies to use the new Erlang/OTP
19.0 version?

```bash
~/src/personal/homebrew-core 2.3.0 (ek-erlang-19 * u=)
$ erl
Erlang/OTP 19 [erts-8.0] [source] [64-bit] [smp:4:4] [async-threads:10]
[hipe] [kernel-poll:false] [dtrace]

Eshell V8.0  (abort with ^G)
1>

~/src/personal/homebrew-core 2.3.0 (ek-erlang-19 * u=)
$ brew install elixir couchdb --build-from-source
==> Downloading https://github.com/elixir-lang/elixir/archive/v1.3.0.tar.gz
==> Downloading from
https://codeload.github.com/elixir-lang/elixir/tar.gz/v1.3.0
########################################################################
100.0%
==> make
🍺  /opt/boxen/homebrew/Cellar/elixir/1.3.0: 383 files, 5M, built in 1
(Continue reading)

Jenn Turner | 23 Jun 16:54 2016

[NEWS] The CouchDB weekly news for June 23 is out!

Happy Thursday!

The CouchDB weekly news is now live at: https://blog.couchdb.org/2016/06/23
/couchdb-weekly-news-june-23-2016/

Highlights include CouchDB being the news today, progress for PouchDB, and
some oddly soothing internet moments just for you!

Thanks to Joan for submitting content for this week :D

You can help us spread the news by sharing on Twitter
(https://twitter.com/CouchDB/status/745992333926240257) and other social
networks.

Also if you have news for next week, just REPLY to this thread!

Cheers!  

Jenn Turner

The Neighbourhoodie Software GmbH  
Adalbertstr. 7-8, 10999 Berlin  
[neighbourhood.ie](https://link.nylas.com/link/c4yg26doe3du1m7gpdgdrj1jp
/local-fa1a903a-
aeef/0?redirect=http%3A%2F%2Fneighbourhood.ie%2F&r=dXNlckBjb3VjaGRiLmFwYWNoZS5vcmc=
"http://neighbourhood.ie/" )  

Handelsregister HRB 157851 B Amtsgericht Charlottenburg  
Geschäftsführung: Jan Lehnardt

(Continue reading)

Peyton Vaughn | 23 Jun 15:26 2016

Couch 2.0 query servers

 Hi all,

Is it possible to configure the maximum number of query servers Couch can
spawn during view aggregation?
Currently, for a single node, I see it spin up 16 processes during
aggregation, which seems like a lot for my single-core container. I'm
thinking if I'd see better performance with less competition for CPU time.

Thanks!
Peyton
Etay Haun | 21 Jun 21:44 2016
Picon

Using CouchDB as a file system server side

Hi,
Thanks for your answers to my last post. It was very helpful.

We are developing a distributed file system solution and we would like to
base our solution on CouchDB.
We would like to use CouchDB to store the files as attachments  (each
document will include the file and the file meta-data).
We have a few data centers that stores *different* file systems, Although
some of the documents are replicated to other data centers.
We have a few questions regarding possible technical issues.
As mentioned, Part of our possible solution involves using attachments to
store the actual files in couchdb.
1. We couldn't find any information regarding suggested attachment size.
2. Is there an issue with storing large attachments? (up to 2GB per file -
although most files will be much smaller - few KB or MB)
3. We need to replicate some documents between couch instances including
the attachments, Is this okay?
4. Does CouchDB also stores revisions of attachments?
5. If so, how can we determine the required storage space for an instance
assuming we know what will be the entire system's size?
Our biggest instance will include 20TB of attachments.
6. Are there any possible issues with running the instances on Windows 2012
servers?
Thank you in advance.
Anatoly Smolyaninov | 17 Jun 11:26 2016
Picon
Gravatar

Keep the constant size of database

Hello!

I’m gathering lots of data with couchdb for statistics. Map-reduce view approch gives the ability to
quickly get pre-calculated data, and this is very handy since the data consumer software wants the data
quickly and very often in spite of very high speed of new incoming stat metrics. 

But I’m having troubles keeping the database always the same size: I need only data for e.g. last 3 hours
and all which is elder to be deleted. 

I have a special view which emits the timestamp. I query that view with startkey-endkey params equal 3 hours
ago and then bulk_update this items back with _deleted field. But what I'm currently see is that when I do
delete this way & cleanup after that operation, the number of documents is reduced as I expected but size of
db has actually increased. 

So, after some time of this constant auto clean-up, I see that size of database increased very much, but
number of documents remains constant.

It would be kind of tricky to create a few databases and delete it completely, because data is constantly
coming with a high rate. Another words, I always need that 3 hour history.

Where can I read how this mechanism actually works and how should I delete the data properly? Is it actually possible?

Thanks!
Jenn Turner | 16 Jun 18:14 2016

[NEWS] The CouchDB weekly news for June 16 is out!

Happy Thursday!

The CouchDB weekly news is now live at: https://blog.couchdb.org/2016/06/16
/couchdb-weekly-news-june-16-2016/

Highlights include a hot-off the presses PouchDB release, Nolan Lawson on a
recent podcast, plus relaxing with trees!

You can help us spread the news by sharing on Twitter
([https://twitter.com/CouchDB/status/743475772212584448](https://link.nylas.com/link/c4yg26doe3du1m7gpdgdrj1jp
/local-2c3de2bb-
ac13/0?redirect=https%3A%2F%2Ftwitter.com%2FCouchDB%2Fstatus%2F738457387787522048&r=dXNlckBjb3VjaGRiLmFwYWNoZS5vcmc=
"https://twitter.com/CouchDB/status/738457387787522048" )) and other social
networks.  

Also **if you have news for next week**, just REPLY to this thread!

Cheers!  

Jenn Turner

The Neighbourhoodie Software GmbH  
Adalbertstr. 7-8, 10999 Berlin  
[neighbourhood.ie](https://link.nylas.com/link/c4yg26doe3du1m7gpdgdrj1jp
/local-2c3de2bb-
ac13/1?redirect=http%3A%2F%2Fneighbourhood.ie%2F&r=dXNlckBjb3VjaGRiLmFwYWNoZS5vcmc=
"http://neighbourhood.ie/" )  

Handelsregister HRB 157851 B Amtsgericht Charlottenburg  
Geschäftsführung: Jan Lehnardt
(Continue reading)

John Le Brasseur | 14 Jun 16:37 2016
Picon

Views on AWS Amazon Linux AMI 2016.03.2 t2.micro account

Hi all.

I successfully installed CouchDB 1.6.1 on an Amazon Linux AMI 2016.03.2
t2.micro account.

I then replicated a small database(1000 documents) to it from my desktop.

I am able to access the documents easily in my AWS instance and everything
seems to be fine.

However, when I run any of the views for the data, the system hangs and no
results are produced. (I am logged in as server admin.)

Locally, all the views still work 100%.

Are there any settings needed to get the views to work?(Linux permissions?)

Is the Ram possibly too small to run the views on the free account
limitations? (It seems to be 1 GiB, I would think that is enough??)

This is not a lot of data.(2mb on the Futon overview screen.)

I have tried creating a new (temporary) view with the same result.

It somehow looks like a "permission" problem.

My local CouchDB setup is running on Windows(10).

Many thanks.

(Continue reading)

Jenn Turner | 9 Jun 18:01 2016

[NEWS] The CouchDB weekly news for June 9 is out!

Happy Thursday!

The CouchDB weekly news is now live at: <https://blog.couchdb.org/2016/06/09
/couchdb-weekly-news-june-9-2016/>

Highlights include a metric tonne of new releases for PouchDB, some great use
cases, and squeaky pizza!

You can help us spread the news by sharing on Twitter ([https://twitter.com/Co
uchDB/status/740936151675076608](https://twitter.com/CouchDB/status/7384573877
87522048 "https://twitter.com/CouchDB/status/738457387787522048" )) and other
social networks.  

Also if you have news for next week, just REPLY to this thread!

Cheers!  

Jenn Turner

The Neighbourhoodie Software GmbH  
Adalbertstr. 7-8, 10999 Berlin  
[neighbourhood.ie](http://neighbourhood.ie/ "http://neighbourhood.ie/" )  

Handelsregister HRB 157851 B Amtsgericht Charlottenburg  
Geschäftsführung: Jan Lehnardt

etay.haun | 6 Jun 23:46 2016
Picon

Using couches

Hello, 
I'm a product manager in a corporate organization in Israel.
We are building an architecture to our new software project and one of the big issues like always is to decide
which db is the most suitable for us.
CouchDB seems like a good choice especially due to its master-master capabilities and its filtered replication.
Our project is one of the most important and central project in our organization. 
My biggest concerns about choosing couchdb are:
1. Lack of support in cases of crises - payment is not an issue.
2. Not enough customers using CouchDB.
2. It seems like CouchDB is not growing is the last 2 years. A year ago a developer preview version has been
released for CouchDB 2.0 and there is not enough activity since.

Hope you can help me with my concerns.
Thanks...

Sent from my iPad
Jenn Turner | 2 Jun 21:52 2016

[NEWS] The CouchDB weekly news for June 2 is out!

Hello there!

The weekly news is now live at: <https://blog.couchdb.org/2016/06/02/couchdb-
weekly-news-june-2-2016/>

Highlights include a new blog post from CouchDB, a new committer for PouchDB
and a very sleepy elephant!

You can help us spread the news by sharing on Twitter
(<https://twitter.com/CouchDB/status/738457387787522048>) and other social
networks.  

Also **if you have news for next week**, just REPLY to this thread!

Cheers!  

Jenn Turner

The Neighbourhoodie Software GmbH  
Adalbertstr. 7-8, 10999 Berlin  
[neighbourhood.ie](http://neighbourhood.ie/ "http://neighbourhood.ie/" )  

Handelsregister HRB 157851 B Amtsgericht Charlottenburg  
Geschäftsführung: Jan Lehnardt

John Le Brasseur | 1 Jun 20:26 2016
Picon

Using CouchDB to replace a traditional Oracle Relational Database Setup

Hi.
I know this group is for more technical questions but in the end, this is a
very technical question.
Unfortunately I am pretty much someone who copies and pastes to get stuff
to work on my very beginner level.
I have been playing with CouchDB on my home pc using data in my field of
work. I am now retired.
I first saw something about CouchDB in a 2011 YouTube video concerning the
basic use of EXT4JS for developing stuff together with Couch.(I watched it
earlier this year)

A number of things stand out for me now that I have read, searched, and
watched all the YouTube stuff I could find:
(Excuse my poor terminology where applicable, I don't understand all the
terminology)

CouchDB:

   - Pretty simple to understand.
   - Pretty reliable.
   - Replicates like a dream.
   - A database can be split in pieces, with a user updating only his bit
   and this syncs with the main DB I presume within hours.(Naturally depending
   on volumes)
   - Has a view system which I find usable. (I have some very useful views)

Having said the above, I would have thought the whole world should be using
it. I do actually think so.

However if I read reports on this list, naturally the real world has
(Continue reading)


Gmane