Questions tagged [rethinkdb]

RethinkDB is a scalable, open-source, distributed database system built to store JSON documents. It features a query language that has useful queries like table joins and group by, a highly parallelized architecture, and web tools for managing clusters.

RethinkDB is a scalable, open-source, distributed database system built to store JSON documents. It features a query language that has useful queries like table joins and group by, a highly parallelized architecture, and web tools for managing clusters.

Programming model:

  • JSON data model and immediate consistency
  • Distributed joins, subqueries, aggregation, atomic updates
  • Hadoop-style map/reduce
  • Secondary, compound, and arbitrarily computed indexes.

Administration:

  • Web and command-line adminstration tools
  • Tools to handle machine failure and network interrupts
  • Multi-datacenter replication and failover

Scalability:

  • Sharding and replication to multiple nodes
  • Automatically parallelized and distributed queries
  • Lock-free operation via MVCC concurrency

Useful Links:

Books:

1436 questions
8
votes
2 answers

How to add Username and Password to Rethinkdb connection?

How to add username and password to rethinkdb connection? In my network there are 100 plus machines. Out which only 2 machines are under my control. Out of 2, one is virtual machine and one is physical machine. If i run rethinkdb on virtual machine…
ekanna
  • 5,462
  • 8
  • 28
  • 31
7
votes
2 answers

How to gracefully stop a rethinkdb server running in the background in linux?

How to stop a rethinkdb server in linux? Is there a command to gracefully shut down a rehinkdb instance? I haven't found anything about in the docs. So if I start a rethinkdb instance in foreground from the commandline, rethinkdb handles the SIGINT…
nerva13
  • 83
  • 1
  • 4
7
votes
1 answer

What is the maximum number of connections?

Since the native RethinkDB drivers do not support connection pooling yet, I was wondering, what is the maximum number of connections to the RethinkDB server?
Amberlamps
  • 39,180
  • 5
  • 43
  • 53
7
votes
1 answer

How do I removed a particular item from a embedded array in RethinkDB?

given sample data like: { 'id': 1, 'things': [{'name': 'a'},{'name': 'b'},{'name': 'c'}] } how do I update the document removing the array item with name of 'b' from the embedded array? r.table('test') .get(1) .update({things:…
Samuel Goldenbaum
  • 18,391
  • 17
  • 66
  • 104
7
votes
1 answer

Rethinkdb - Get first item of an array

My data structure { "group": "fruits" "items": ["apple", "orange", "banana"] } I need to pull first item from the "items" array without knowing the value. Is it possible?
Dipen Bhikadya
  • 3,318
  • 3
  • 21
  • 19
7
votes
2 answers

How to query a multi index in RethinkDB over an array of objects

I'm working with a data set that looks something like this: "bitrates": [ { "format": "mp3" , "rate": "128K" } , { "format": "aac" , "rate": "192K" } ] , "details": [ ... ] , "id": 1 , "name": "For Those About To Rock We…
user1151
7
votes
1 answer

RethinkDB losing data after restarting server

I save my data on RethinkDB Database. As long as I dont restart the server, all is well. But when I restart, it gives me an error saying database doesnt exist, although the folder and data does exist in folder rethinkdb_data. What is the problem ?
Prateek Narendra
  • 1,837
  • 5
  • 38
  • 67
7
votes
3 answers

Why Rethinkdb don't have binary for windows?

I am interested in Rethinkdb and would like to develop/test on it, but main problem is: it don't have package for windows operating system. I tried to compile from source code, that was also not possible as there was no any instruction. What makes…
user2737980
  • 233
  • 5
  • 13
7
votes
1 answer

RethinkDB: removing item from array in one table by value from another table

I use RethinkDB in my project and have the following table structure: data_item { id: "generated_thing", slug: "slug" } aggregation_of_data_items { items: ["some", "ids", "from", "data_item", "table"] } When I delete item from content…
La Faulx
  • 472
  • 3
  • 10
6
votes
2 answers

rethinkdb | nested vs chained queries, any difference?

is there any difference between chained: r.db('catbox').table("bw_mobile").filter( r.row("value")("appVersion")("major").le(2) ).filter( r.row("value")("appVersion")("minor").le(2) ).filter( …
lito
  • 3,105
  • 11
  • 43
  • 71
6
votes
1 answer

Find record through HorizonIO in RethinkDB not returning result

I've got a MeetingService that fetches data from my RethinkDB through HorizonIO. When trying to fetch a meeting through its ID, I'll always get a null value as response. Other methods in this service work without…
DGK
  • 2,947
  • 5
  • 32
  • 47
6
votes
2 answers

Compound primary key in RethinkDB

Can I create compound primary key in RethinkDB ? For example if I have table with next documents strucure {authorsId: '371df80c-2efd-48f9-ac37-3edcdb152fb1', postsId: '905e0c92-adcb-4095-98df-fa08ca71b900'} how can I create primary key on both…
abilash
  • 897
  • 3
  • 12
  • 32
6
votes
3 answers

How can i find out size of RethinkDB table?

I can't figure out how to get the data size of 'test.events' table. r.db('rethinkdb').table('stats').whatGoesHere() // Output size of 'events' table Related: Get size of Rethinkdb database with Python
AJcodez
  • 31,780
  • 20
  • 84
  • 118
6
votes
1 answer

How can I modify array fields in place?

Let's say I have this object: { "id": "1a48c847-4fee-4968-8cfd-5f8369c01f64" , "sections": [ { "id": 0 , "title": "s1" } , { "id": 1 , "title": "s2" } , { "id": 2 , …
PeiSong
  • 1,005
  • 10
  • 16
6
votes
2 answers

Cross compiling rethinkdb for Raspberry Pi

Currently running Ubuntu 14.04 x86_64. I want to cross compile rethinkdb for my RPi for experimental purposes, which is supported in 1.12 (and people have apparently successfully compiled). I have installed the toolchain: sudo apt-get install…
jvc26
  • 6,363
  • 6
  • 46
  • 75
1 2
3
95 96