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

getAll returns nothing? RethinkDB

Hi I'm trying to read from the DB for different "threads" of messages that are in the DB, but every time I try, I get back an empty array which leads me to think there's something wrong when I'm requesting all threads using the get_all command. Is…
Sam
  • 495
  • 3
  • 11
  • 19
-1
votes
1 answer

How Can I install rethinkdb on Fedora 26 using docker?

I followed the following tutorial https://store.docker.com/images/rethinkdb but I can not see the ip address.What is the problem? The result is empty after I execute the command
yussenn
  • 577
  • 1
  • 7
  • 11
-1
votes
2 answers

function to return rethinkdb connection

Hello I am creating an API and fetching data from rethinkdb for that I am using following code: r.connect({ host: 'localhost', port: 28015, db: 'test' }, function (err, conn) { if (err) throw err; r.table('users').filter({email:…
Ritu Gupta
  • 507
  • 2
  • 8
  • 22
-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
  • 20,775
  • 5
  • 29
  • 46
-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
  • 368
  • 2
  • 7
  • 23
-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
  • 793
  • 2
  • 14
  • 29
-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é
  • 4,739
  • 1
  • 33
  • 46
-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,330
  • 8
  • 31
  • 73
-1
votes
1 answer

not insert data to rethinkdb

i am trying to create NSQ topic and insert data at rethinkdb but i am unable to insert the data into rethinkdb. Can anyone help me. **var nsq = require('nsqjs'); var r = require('rethinkdb'); var nsqdd = (process.env.NSQD_RETH ||…
Istiak Mahmood
  • 2,330
  • 8
  • 31
  • 73
-1
votes
1 answer

How to store API in rethinkdb which is coming from ad server

How to store API in rethinkdb which is coming from ad server and widget. How can I store those in rethinkdb?
Istiak Mahmood
  • 2,330
  • 8
  • 31
  • 73
-1
votes
1 answer

event type to convert as integer and insert to rethinkdb

this is my message which is coming for every event. How can i collect only one type data (which is string) and give it a value of 1, and also at the same time insert to rethinkdb as a value 1, and also update it's total value sample data ---- take…
Istiak Mahmood
  • 2,330
  • 8
  • 31
  • 73
-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
  • 143
  • 1
  • 11
-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
  • 9,412
  • 15
  • 59
  • 91
-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
  • 232
  • 2
  • 9
1 2 3
95
96