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
0
votes
1 answer

Find documents not referenced by another table

Kind of a "not_eq_join", if that makes sense. A have a table A with documents containing a _key field (it's the primary key), and another table B that has a refs field that points to A._key, this is btw a multi index so it may contain multiple…
pythonator
  • 384
  • 2
  • 12
0
votes
1 answer

RethinkDB 'make' fails on a Raspberry Pi

I have tried running the 'make ALLOW_WARNINGS=1' command multiple times, but it seems to fail every time. I have made sure gcc is updated and so is the rethinkDB package. Here's the error it produces:
user4623845
0
votes
1 answer

How to set default db in rethink dashboard?

How can I use the conn.use('db') command in the rethinkdb dashboard to set the default database. The conn object seems unavailable in that context.
MonkeyBonkey
  • 46,433
  • 78
  • 254
  • 460
0
votes
1 answer

Can you do a join using an embedded array in a document with rethinkdb?

Say I have a user table with a property called favoriteUsers which is an embedded array. i.e. users { name:'bob' favoriteUsers:['jim', 'tim'] //can you have an index on an embedded array? } user_presence { name:'jim', //index on name …
MonkeyBonkey
  • 46,433
  • 78
  • 254
  • 460
0
votes
1 answer

Can you monitor changes() on a rethinkdb query with an inner join?

I tried monitoring changes on a query with a join r.table("presence").innerJoin(r.table('authors'), function(presence, author){ return r.expr(author('highlights')).contains(presence('name')); }).getField('left').changes() and I'm getting the…
MonkeyBonkey
  • 46,433
  • 78
  • 254
  • 460
0
votes
1 answer

How to access/Install/Setup Web Panel on live application RethinkDB

I've looked extensively and hit many brick walls. We are utilising RethinkDB in Invmail.IO a portion of the tech stack we have acquired and intergrated from LB source is the Invite system, which i understand is all database driven. Though finding…
Ally Cat
  • 1
  • 3
0
votes
1 answer

CSV into JSON node js --> rethinkdb

I would like to read a csv file and convert into JSON array of object so I can insert into rethinkdb database. I am working in node js. A tool called csvtojson convert the csv content into json (see code here below). I tried to put the result into…
Big Skinny
  • 53
  • 7
0
votes
1 answer

RethinkDB - Polygon Doesn't Accept an Array of Vertices?

I'm really loving that RethinkDB has Geospatial out of the box. My only issue I'm having is with adding Polygons. The docs (https://www.rethinkdb.com/api/javascript/polygon/) says I can only insert my points as arguments. This is completely…
Robert Laverty
  • 186
  • 2
  • 10
0
votes
1 answer

How to use r.Do and r.Branch in gorethink?

I'm looking for clear example of r.Do() and r.Branch() functions in gorethink.
gshilin
  • 647
  • 14
  • 23
0
votes
1 answer

Rethinkdb between with multiple keys

I've the following structrue : Item { id string, title string tags []string, time int, parent string } What i want, list all items with tags [tag1, tag2, ... etc] of parent "parent-1" and order by time So i did…
0
votes
1 answer

Maximizing RethinkDB efficiency by data structure

I'm loving RethinkDB! I have a quick question in regards to efficiency of fetching data. I'm building a CRUD model for managing people's contacts. Making one document containing an array of all the userID's contacts and access it by the primary…
0
votes
1 answer

How do I calculate distance on a geospatial query in RethinkDB?

I am trying to run a query that allows me to filter for a specific document, and then check the distance between the coordinates stored there, and the new ones I'm passing in. I've tried this: r.db('food').table('fruits') .hasFields(['origin',…
0
votes
1 answer

RethinkDB Survey Modelling

I'm starting a new project (a survey application) and I chose RethinkDB as my database; however, I have some questions about data modelling. I'm going to have questions that can be answered only once by each user. Moreover I'll have reports that…
mccraveiro
  • 55
  • 3
0
votes
1 answer

Rethinkdb IO reaches 100%

Rethinkdb IO reaches 100% whenever there is a data upload. The load reaches near about 50. Is this a common phenomenon, or do we need to do some optimizations here?
hellodk
  • 316
  • 4
  • 11
0
votes
1 answer

How to perform initial setup in koa with rethinkdb

Im using rethinkdbdash with koa and trying to figure out how to perform a set up of the database when the app first starts. Im trying to accomplish something similar to Segphalt's cats of instagram tutorial but using koa. var…
Russell Maxfield
  • 968
  • 7
  • 14