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
2 answers

How to register module

I testing Aurelia framework and RethinkDB. How can I register Require and RethinkDB to access them from Aurelia ? import {require} from "require" //require.js is missing r = require("rethinkdb"); // require is not a function
InnerWorld
  • 585
  • 7
  • 26
0
votes
1 answer

select within an element which might be array or string in rethinkdb

My json in the rethinkdb database is as follows (I have given 4 docs as an example) : { "label": { "id": 59, "country": "Germany", "formats": { "format": { "text":…
user4993723
0
votes
2 answers

Pull rethinkdb monitoring data over HTTP

Is there a way to retrieve the stats from the rethinkdb monitoring tables over HTTP ? http://rethinkdb.com/blog/1.16-release/#monitoring
dom
  • 866
  • 8
  • 8
0
votes
1 answer

RethinkDB grouping and defining output

I have a table that contains documents that look similar to this: { "title": "title 2", "content": "This far, no further!", "category": "Fiction" } This is the query I'm using: r.table('posts').group('title').map(lambda item: {'items':…
user1513388
  • 7,165
  • 14
  • 69
  • 111
0
votes
1 answer

RethinkDB Map/Reduce examples

I running through the Map/Reduce examples in the RethinkDB docs. I have some documents that look like this: { "category": "Fiction" , "content": "This far, no further!" , "id": "0fc5339b-8139-4996-8979-88a0051195e3" , "title": "The line must be…
user1513388
  • 7,165
  • 14
  • 69
  • 111
0
votes
1 answer

rethinkdb does not connect form grunt task

I created a grunt task to create tables in a rethinkDB database. the issue that i am facing is that the connection is never established and no tables are created however if i do the same while serving a regular API endpoint everything works as…
Fouad
  • 855
  • 1
  • 11
  • 30
0
votes
1 answer

How should I send a GET request to a koa backend that will return conditional results?

I have this so far. It works, but I can't help but wonder if there something less hacky. GET request: http://localhost:3100/api/things?matches=%7B%22name%22%3A%22asdf%22%7D decoded: matches={"name":"asdf"} -- I basically take the data object for a…
chovy
  • 72,281
  • 52
  • 227
  • 295
0
votes
0 answers

RethinkDb EMFILE error

Here is my project using Node.js, Socket.io, RethinkDb https://github.com/plever7/online-visitors-counter Everything is going fine. But if we have many connection via socket in server.js we get error such as. After 5,10 sec. the code running…
0
votes
2 answers

RethinkDB chaining/combining filters

I have two filters that I need to combine. This is my primary filter: r.db('items').table('tokens').filter(r.row('valid_to').gt(r.now())) and this is my secondary filter. .filter(r.row["processed"] == False) How do I combine these?
user1513388
  • 7,165
  • 14
  • 69
  • 111
0
votes
1 answer

REQL to match string expression

I have the following json: { "release": { "genres": { "genre": "Electronic" }, "identifiers": { "identifier": [ { "description": "Text", "value": "5 709498 101026", …
user4849989
0
votes
1 answer

Is there a way of appending a point to a line with RethinkDB

Assuming I am creating a geospatial line object with the same syntax as described in the documentation r.table('geo').insert({ id: 101, route: r.line([-122.423246,37.779388], [-121.886420,37.329898]) }).run(conn, callback); Is there a way…
0
votes
1 answer

Update document after printing result

I'm trying to retrieve a list of documents, do something with the returned documents, then update the status to flag its been processed. This is what I have: cursor = r.db("stuff").table("test").filter(r.row["subject"] == "books").run() for document…
user1513388
  • 7,165
  • 14
  • 69
  • 111
0
votes
1 answer

REQL command taking too long

I have a table in a database in rethinkdb with 5.8 million records, a sample of which is provided below: { "release": { "genres": { "genre": "Electronic" }, "identifiers": { "identifier": [ { …
user4849989
0
votes
1 answer

RethinkDB subquery sample error

Sample on http://www.rethinkdb.com/docs/table-joins/, titled "Using subqueries" does not work as expected. Apart from the typo on the word lambda can you suggest the fix ?
ZeroGraviti
  • 1,047
  • 2
  • 12
  • 28
0
votes
1 answer

Does RethinkDb support push updates on complex JOIN/Group by type of query

My use case: I have 20-30 tables that need to be store in DB. User requirement is to have dynamic ability to query data from multiple tables that can be joined and aggregated and pushed to the client. Is this something that RethinkDB can…
user629299
  • 141
  • 1
  • 9