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:

1417 questions
-1
votes
1 answer

RethinkDB - Free clients

I tried RethinkDB Adminstration Console to run some queries but it doesn't work fine as the queries get stuck. On the other hand, the ReQLs execute fine from my code. I am looking for a client where I can experiment my queries before doing actual…
Kashif Nazar
  • 14,651
  • 4
  • 23
  • 38
-1
votes
1 answer

Want to update document in reThinkDB using setInsert Python

r.db('usersData').table('smsRaw').get("3413b71c-1628-47eb-83fa-6a3cccdb3e62").update({"MESSAGE": r.row('MESSAGE').setInsert({"DATE":"20160111","MESSAGE":[{"ADDR":"LONDON","date":"1468385398746"}]})}) This is what i am able to run on console.I…
Vinay Sawant
  • 87
  • 2
  • 14
-1
votes
1 answer

Return query rethinkdbdash on loopback remote method

1.- I'm working with loopback-connector-rethinkdbdash 2.- On a remote method I need to retrieve some random records from my DB, this is the code so far. (function(){ 'use strict'; module.exports = (Heatmap) => { var r =…
-1
votes
3 answers

How to merge thousands of json documents in Bash?

I created more than 500 000 JSON documents through a script connecting to some API. I wanted to import these documents into RethinkDB, but it seems that RethinkDB cannot import files massively, so I thought about merging all these files into a big…
crocefisso
  • 557
  • 1
  • 5
  • 20
-1
votes
1 answer

Tables vs databases performance in RethinkDB

I've been reading RethinkDB documentation but I'm confused about how to design properly a database for perfomance. I need to store much data for date but there's no any relation between data in different dates. I need a table for each date linked…
Nuno André
  • 2,869
  • 1
  • 21
  • 31
-1
votes
2 answers

invalid JSON in message

this is my code ---- var nsq = require('nsqjs'); var r = require('rethinkdb'); var nsqvar = (process.env.NSQD_RETH || "localhost:4161").split(","); var p = r.connect({host:'localhost', port:8080, db:'test', authKey:''});{ …
Istiak Mahmood
  • 2,401
  • 7
  • 17
  • 46
-1
votes
1 answer

How to create a topic and channels in NSQ?

How I can create a Nsq topic and channels? And connect the channel to rethikndb. I tried different things but seems I am doing something wrong. Can anyone provide me some suggestion with some coding as well?
Isak Johnsson
  • 382
  • 3
  • 15
-1
votes
1 answer

RethinkDB start on boot

I am trying to configure rethinkdb to start using init.d as explained in the docs but it's not working, instead am getting this error... rethinkdb: instance1: Starting instance. (logging to `/home/mofax/rethinkdb/mobius/log_file') Recursively…
Alloys
  • 112
  • 1
  • 8
-1
votes
1 answer

Cache size set,but don't work,rethink with empty tables still consume huge meory in dev machine

In my dev machine,rethinkdb is consuming almost 5gb memory.it is big waste,so I add this line "cache-size=512" to "/etc/rethinkdb/instances.d/default.conf",then restart it,but it still consumes almost 5 gb memory,why? by the way,I have 70…
Alex Luya
  • 7,516
  • 12
  • 51
  • 78
-1
votes
1 answer

Rethinkdb Bulk import while checking for duplicates

I'm trying to think of the best way to import csv data into rethinkdb while avoiding possible duplicates (eg importing the same file twice). The csv data comes from bank statements. There is no real primary key, instead a composite key of…
sub
  • 222
  • 2
  • 9
-1
votes
1 answer

RethinkDB-DB not found

I have installed rethinkdb on my local machine and the Python driver.However Im unable to access a database I want..The name of the database is "authors" and the table is "books". I initially open the connection: r.connect(host = 'localhost',port =…
ashwin shanker
  • 303
  • 6
  • 18
-1
votes
2 answers

How to take an document array as condition to perform query?

I have two documents like this: //school { Name:"" Major:"", EnrollYear:1983 } //schools { id: "user/0", ownerId:"" //an array that contains schools schools: [ { Name:"" …
Alex Luya
  • 7,516
  • 12
  • 51
  • 78
-1
votes
2 answers

How to lock an document under modifying?

As shown blow,sometime,the elements of embedded array comments will be modified,or an new comment will be inserted into comments as first element,and when these modifications happen,I want to lock something in minimal scope to avoid nasty…
Alex Luya
  • 7,516
  • 12
  • 51
  • 78
-2
votes
1 answer

Could not install the Python driver for RethinkDB

Python version: 3.7.3 Pip version: 19.1.1 I am trying to install the Python driver for RethinkDB but it is failed. pip install rethink It sent me the error notification, that is, "ERROR:Could not find a version that satisfies the requirement…
Huynh
  • 364
  • 4
  • 14
-2
votes
1 answer

How do you make an incremental counter with rethinkdb Java driver?

I'd like to make a counter for each user id. First I don't know what is better, a document for each user like this: { "id": "123", // user id "count": 0 }, // etc Or a single document, where each field is a pair userid:counter (i'd rather pick…
Fabricio
  • 6,882
  • 9
  • 44
  • 78
1 2 3
94
95