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

rethinkdb install on mint rebecca Packages 404 Not Found

I want to install RethinkDB on mint rebecca but when I run source /etc/lsb-release && echo "deb http://download.rethinkdb.com/apt $DISTRIB_CODENAME main" | sudo tee /etc/apt/sources.list.d/rethinkdb.list wget -qO-…
Whisher
  • 31,320
  • 32
  • 120
  • 201
3
votes
1 answer

Move binary data from mongoDB to rethinkDB

I am trying to move data from mongo to rethinkand. Nothing works so far. The first thing I tried was this: mongoexport -h 127.0.0.1 -d basal -c tickets -o tickets.json Export it as json and then ... rethinkdb import -f tickets.json --table…
r.sendecky
  • 9,933
  • 9
  • 34
  • 62
3
votes
1 answer

GCE persistent disk, kubernetes, and data persistence

I'm having quite a bit of fun with the gcePersistentDisk in the context of pods inside of kubernetes: Currently I'm attempting to get my rethinkdb cluster to work well with a gcePersistentDisk mounted volume in order to facilitate backups, data…
user3727707
3
votes
3 answers

RethinkDB Transaction to multiple documents/tables

I need to update 2 tables in one transaction. In current version RethinkDB doesn't support transactions from the box. So, how can I achieve this? I can make update in 2 ways: Update 1st table. If success -> update second table. Update 2nd tables…
3
votes
2 answers

RethinkDB max file size attachments (BLOB)

I found in documentation that RethinkDB can store Binary Files (BLOBs). This is great ! I have an ECM application and need to store 50.000.000 of files. ( from 8K until 1GB ). I need to know what is the max file size in RethinkDB ? Will be some…
Carlos
  • 51
  • 1
  • 1
3
votes
1 answer

Displaying rethinkDB tables in real time in Phoenix Framework

I'm attempting to go a step further from my previous question regarding tables from RethinkDB in Phoenix. Now I'm attempting to retrieve them over a channel in order to display in real-time, new insertions to the table. I'm already inserting into…
mesosteros
  • 1,491
  • 2
  • 18
  • 31
3
votes
1 answer

Using RethinkDB for "Full Text Search"

I am currently working on a web application where, ideally, I would be able to support a search bar on the documents that are going to be stored for users. Each of these documents is going to be a small snippet up to a decently-sized article. (I…
Freezerburn
  • 1,013
  • 3
  • 11
  • 29
3
votes
1 answer

How to update nested array using rethinkdb javascript driver

I've checked other related questions, in particular this one. But since that was answered it seems like rethink's handling of nested fields has changed. I'm trying to modify the nested arrays 'amy' and 'joe': { "id": "blah" , "schedules":…
BarthesSimpson
  • 926
  • 8
  • 21
3
votes
1 answer

Rethinkdb SIGTERM, shutting down

I'm running RethinkDB in Docker. Everything was working REALLY well for a while until we moved to a new datacenter (but im not sure if this is related to the move at all). Here's what is going on. I start the rethinkdb container and everything runs…
haggy
  • 733
  • 6
  • 11
3
votes
1 answer

Display table data from RethinkDB in Phoenix Framework

I'm attempting to display data from my databases in RethinkDB (using the rethinkdb-elixir package from Hamiltop https://github.com/hamiltop/rethinkdb-elixir) in Phoenix. I'm relatively new to both, but I already managed to insert two tables and some…
mesosteros
  • 1,491
  • 2
  • 18
  • 31
3
votes
1 answer

Connect to / query rethinkdb from javascript without node.js

I'm trying to create a simple in-browser web app to display the contents on a given rethink table with some nice formatting. I'm having trouble finding a way to actually connect to rethink without having to use node.js. All I want to do is get the…
Chilly
  • 578
  • 4
  • 11
3
votes
1 answer

Socket.io, Node.js and rethinkdb

I am using simple application in Socket.io, Node.js and rethinkdb. In server my server.js file works about 20 min. About after 20 min my code stops. my server .js : var express = require('express'), path = require('path'), http = require('http'), io…
3
votes
1 answer

Rethinkdb: Chain getAll & between

I get RqlRuntimeError: Expected type TABLE_SLICE but found SELECTION: error when chaining getAll and between methods. r.db('mydb').table('logs') .getAll('1', {index: 'userId'}) .between(r.time(2015, 5, 1, 'Z'), r.time(2015, 5, 4, 'Z'), {index:…
xpepermint
  • 35,055
  • 30
  • 109
  • 163
3
votes
1 answer

Is there any way/workaround that I can feed the aggregate results in RethinkDB

I have an aggregate query and I want to feed to the change of aggregated result. For example: r.table('logs').group('message').count().changes() Obviously the above command failed. Is there any workarounds that I can feed to the change?
Codinfox
  • 540
  • 5
  • 18
3
votes
1 answer

rethinkdb with filter and getNearest commands

How can execute getNearest query about the result of other command, for example a filter command? var point = r.point(-122.422876,37.777128); r.db('test').table('users'). filter({tags : 'tag'}). getNearest(point, {index: 'geodata',…
dloprodu
  • 33
  • 5