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

how to make trigger in rethinkDb

My Requirement : When ever there is a data change in a table(s) (whether insert,update,delete) , i should be able to update my cache using my logic which does manipulation using the table(s). Technology : Node, rethinkDb My Implementation : I heard…
shanmugharaj
  • 3,814
  • 7
  • 42
  • 70
0
votes
1 answer

Count both sides of a partition in ReQL

I have a dataset which has a boolean attribute, like: { name: 'Steven', isQualified: true } And I want to count both sides of a partition. That is, how many documents are qualified or not. What's the best way to do this with a single rethinkdb…
Josh Hunt
  • 14,225
  • 26
  • 79
  • 98
0
votes
1 answer

How to extract multiple queries at once in Rethinkdb

I want to do something like: var tab = r.db("test").table("test"); all =[ tab.getAll('1').fitler({'hidden': false}).limit(1), tab.getAll('2').fitler('hidden': false}).limit(1), tab.getAll('3').fitler('hidden': false}).limit(1), ] But when…
Robert Zaremba
  • 8,081
  • 7
  • 47
  • 78
0
votes
1 answer

Cannot write logs

I created a new Centos 6.5 VM in Azure and had RethinkDB running within a few minutes, which is great! However, I've been in the "Data Explorer" web interface and playing with ReQL queries for a while and suddenly I got an issue: "Cannot write logs"…
Smyrnian
  • 701
  • 9
  • 15
0
votes
0 answers

Circular data entry in MongoDB

I am new to mongoDB and am interested in the geospatial data feature. I know that it's possible to create data points and then use circular queries to see if the point is inside. I don't want to do this though. I want to experiment by making a…
user3020610
0
votes
1 answer

How to pluck by key name matching?

Say I have the following table: [ {numberOfRedStripes: 7, numberOfBlueStripes: 6, stars: 50, foo: "bar"}, {numberOfRedStripes: 1, numberOfBlueStripes: 1, stars: 0, something: "else"} ] How can I use regex in order to pluck only the docs which…
Kludge
  • 2,653
  • 4
  • 20
  • 42
0
votes
1 answer

Get all documents with specific nested field value, sans one document

I have a table videos with documents that look like this: { "title":"Video Name", "description": "A description", "slug":"video-name", "studio": { "name": "Studio Name", "uid":"zyxwvut" }, …
synth3tk
  • 172
  • 1
  • 15
0
votes
1 answer

RethinkDB Table Joins

I have two tables as follows one for hosts and one for users. Hosts: { "host": "server1", "address": "192.168.1.22", 'users': ["Magneto", "Professor Xavier", "Storm"] }, { "host": "server2", "address":…
user1513388
  • 7,165
  • 14
  • 69
  • 111
0
votes
0 answers

Phone number matching regex

I'm trying to write a regex that can detect if a user's phone number matches a given string, regardless of formatting (ie. only matching on integer characters). For example, given the phone number '5555555555', I want the numbers '555-555-5555' and…
unsunghero
  • 971
  • 1
  • 10
  • 22
0
votes
1 answer

UnpickleError when pushing RethinkDB document to RQ queue

A document that I am retrieving from a RethinkDB database has a timestamp in it (represented as a Python datetime.datetime object with a special tzinfo value of type rethinkdb.ast.RqlTzinfo. When pushing it to an RQ task queue I am getting an…
Mike Wild
  • 171
  • 7
0
votes
2 answers

RethinkDB - delete a nested object

I am trying to delete a nested object, but instead of disappearing it is being replaced by an empty object. Here's the structure of my documents: [ { "id": "0" , "name": "Employee 1" , "schedules": [ …
BarthesSimpson
  • 926
  • 8
  • 21
0
votes
1 answer

Can I execute `START_QUERY` and `CONTINUE_QUERY` discontinuously?

With the same connection I want to execute query sequence as below. Start GET_ALL Some other query Continue GET_ALL Some other query ... Is this pattern supported by rethinkdb?
jilen
  • 5,633
  • 3
  • 35
  • 84
0
votes
3 answers

How do you query a RethinkDB server for its version?

Suppose I've connected to a RethinkDB server's web UI and I'd like to find out what version is running under the hood. Is there a way (in the Data Explorer?) to query for the version number, e.g. 1.13.3?
Duane J
  • 1,615
  • 1
  • 15
  • 22
0
votes
1 answer

Rethinkdb Filter command with secondary index

Is it possible to use the filter command with a secondary index? If I have no secondary indexes perform the query: r.db('test').table('first').filter(r.row('col2').eq(8302)) Then create a secondary index on 'col2' and rerun the query, it takes the…
rycel
  • 51
  • 1
  • 5
0
votes
1 answer

"Too many open files" error with rethinkdb

I used the golang driver provided by https://github.com/dancannon/gorethink. It is my understanding that i never close connection and reconnect. I can't close the connection because i don't know how to get the connection. What i know how is to get…
Joni Atif
  • 61
  • 1
  • 2
  • 6