/r/rethinkdb

Photograph via snooOG

/r/rethinkdb

483 Subscribers

1

How do I send notification on Android with flutter and rethinkdb?

Same as above

1 Comment
2023/12/29
02:08 UTC

1

How can I create an SQL to ReQL converter?

What tips can you give me and how should I approach the problem?

2 Comments
2023/12/23
05:28 UTC

1

Save Table contents to file

Hey there, I'm trying to save the content of some of my DB's tables to a file. Looking at the documentation the only way is using 'dump', in my case I cannot use that command. I would like to know if does exist a method using the rethinkDb istance to store directly into a file. Something like r.table(tableName).saveTo(...)

Thanks in advance

0 Comments
2023/09/21
09:09 UTC

1

Unable to export data from rethinkdb

Hi there, I have a requirement to get all data from rethinkdb table and store it in a JSON file. I have tried using this command rethinkdb dump -c localhost:28015 -e nex_gen -f ./dump but getting this error below. Does anyone rethinkDb team have any idea about this? Any help would be appreciated. Thanks

Python: 3.11.4
RethinkDB: 2.4.2-11-g6613dc (Windows) (MSC 191627048)

NOTE: 'rethinkdb-dump' saves data, secondary indexes, and write hooks, but does *not* save cluster metadata.  You will need to recreate your cluster setup yourself after you run 'rethinkdb-restore'.
  
Exporting to temporary directory...

cannot pickle '_thread._local' object
Traceback (most recent call last):
  File "E:\rethinkdb\venv\Lib\site-packages\rethinkdb\_dump.py", line 200, in main
    _export.run(options)
  File "E:\rethinkdb\venv\Lib\site-packages\rethinkdb\_export.py", line 639, in run
    run_clients(options, working_dir, db_table_set)
  File "E:\rethinkdb\venv\Lib\site-packages\rethinkdb\_export.py", line 524, in run_clients
    new_process.start()
  File "C:\Users\Mquanit1\AppData\Local\Programs\Python\Python311\Lib\multiprocessing\process.py", line 121, in start
    self._popen = self._Popen(self)
                  ^^^^^^^^^^^^^^^^^
  File "C:\Users\Mquanit1\AppData\Local\Programs\Python\Python311\Lib\multiprocessing\context.py", line 224, in _Popen
    return _default_context.get_context().Process._Popen(process_obj)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Mquanit1\AppData\Local\Programs\Python\Python311\Lib\multiprocessing\context.py", line 336, in _Popen
    return Popen(process_obj)
           ^^^^^^^^^^^^^^^^^^
  File "C:\Users\Mquanit1\AppData\Local\Programs\Python\Python311\Lib\multiprocessing\popen_spawn_win32.py", line 94, in __init__
    reduction.dump(process_obj, to_child)
  File "C:\Users\Mquanit1\AppData\Local\Programs\Python\Python311\Lib\multiprocessing\reduction.py", line 60, in dump
    ForkingPickler(file, protocol).dump(obj)
TypeError: cannot pickle '_thread._local' object
Error: export failed, cannot pickle '_thread._local' object
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Users\Mquanit1\AppData\Local\Programs\Python\Python311\Lib\multiprocessing\spawn.py", line 106, in spawn_main
    source_process = _winapi.OpenProcess(
                     ^^^^^^^^^^^^^^^^^^^^
OSError: [WinError 87] The parameter is incorrect

0 Comments
2023/08/16
20:19 UTC

2

Is active RethinkDB?

Hi, I’m interested in using rethink db for a side project (a small game). I used it for a project some years ago. It did it well. I want to know if you are still using for a project. Do you recommend it for games (not too complex game, with multiplayer feature)?

3 Comments
2023/08/13
21:14 UTC

1

Could not connect in a angular 4 application.

From what I have read the rethinkdb npm package has some issue in detecting browsers.

I changed net.js url with localhost:28015/ajax/reql

But get the same error.

Then i noticed that the web interface of rethink is opening a connection with locahost:8080 instead

But I am getting a corse doing this.

What shall i do

0 Comments
2021/05/13
16:03 UTC

1

Having issues with Scope...

Hi all,

Sorry to be bugging you all with something so basic, but essentially I'm having trouble with getting RethinkDB to return the value of a table outside of the global scope of a series of Promise.then() chains. I've attached an image (which I hope loads...) of my code for your inspection.

Any help getting the list inside the .then chain to be pushed to the currentRoutine array in the global scope would be greatly appreciated.

Thank you.

https://preview.redd.it/7adzku975py61.png?width=982&format=png&auto=webp&s=0e1471f6035b640a8f2d2bcf496f2641d74cd2cd

24 Comments
2021/05/12
13:58 UTC

8

RethinkDB 2.4.1 available as managed service on Stackhero

Hi all,

Just a short message to let you know that RethinkDB 2.4.1 is now available as a managed service on Stackhero: https://www.stackhero.io/services/rethinkdb

Adrien

0 Comments
2021/01/12
13:25 UTC

3

Release 2.4.1

RethinkDB 2.4.1 released with bug fixes and other improvements. Learn more: https://rethinkdb.com/blog/2.4.1-release Release notes: https://github.com/rethinkdb/rethinkdb/releases/tag/v2.4.1

0 Comments
2020/08/14
20:04 UTC

1

Pushing rethinkdb files to git for local development.

I have two computers that I work from, I share the my code between the two using Git. Sometimes I’ll have different data in the db on each station bc I forgot to push up on one. When this happens, I’ll have merge conflicts with the rethink files. Not sure what the best way to go about this, any suggestions are appreciated. Sorry if this is a stupid questions, coming from mostly fronted world and trying to build a backend system for learning purposes. Thanks in advance.

3 Comments
2020/07/11
12:46 UTC

1

Updated official drivers (Java, Python)

While we are continuously working to improve our infrastructure and make it easier for you to use RethinkDB, in the meantime, here's a few updates:

• Java driver release 2.4.3 (thanks Adrian Todt 🙂 ) - https://github.com/rethinkdb/rethinkdb-java/releases/tag/2.4.3

• Python driver release 2.4.7 (thanks Gábor Boros) - https://github.com/rethinkdb/rethinkdb-python/releases/tag/v2.4.7

0 Comments
2020/05/21
19:35 UTC

10

RethinkDB download server change

2 Comments
2020/05/21
19:30 UTC

4

Let’s give feedback together

1 Comment
2020/02/15
07:07 UTC

3

RethinkDB Java driver just got an update!

0 Comments
2020/02/14
20:35 UTC

1

Real time database rdb

Hi guys Im not a software developer but I have a team who started a project for me actually a real time database using rethinkdb on aws ec2 and my people said after 1 week of development that’s probably not worth to go further with the development of this real-time database because they cannot find too much documentation and also on aws the latest update was in 2016 or something like that and even I understand that they shut down the support long time ago They also said that’s very difficult to implement with the latest technologies at the moment and obviously they advised me to swap it with mongo dB or atlas

Is someone willing to help me to decide or help ? Thanks guys I really appreciate your help

7 Comments
2020/02/08
19:00 UTC

0

Will rethinkdb make my application faster?

My server current db is mongodb changing to rethinkdb will make my server faster?

3 Comments
2020/01/30
17:11 UTC

2

Sample changefeed table website

I’m trying to make a webapp using a rethinkdb database as a backend, and I was looking for a sample website that I could base it off of.

I want a simple table on a website that displays the current values of a query (using changefeed).

I’ve tried searching but haven’t found an example of this, but then again I’m a beginner so I might just not know what I’m looking at.

0 Comments
2019/03/09
22:26 UTC

2

Crowdfunding the database future! Should we?

Hey, fellow Rethinkers! We are thinking about setting up a Patreon for a talented ex-employee to replace most of the current code with FoundationDB, letting us focus solely on the query engine. What do you think?

5 Comments
2018/12/12
18:01 UTC

4

Rethinkdb Slack down?

Hey all. I've been using Rethink for like 3 years now. It's my favorite database. I want to potentially start contributing to the project to continue improving its performance. I noticed the slack is down.

Are there any offshoot projects based on rethinkdb coming out? I am in love with REQL and changefeeds, I really don't want to have to switch to mongo.

I see people still use the freenode, is that the best place to discuss rethink?

1 Comment
2018/10/06
17:12 UTC

7

RethinkDB Dump and Restore CLI

Just in case you still are using RethinkDB. Here is a CLI to help with dumping and restoring your database. We are still using RethinkdDB at my current job for a certain project and so I'm creating this to make life easier when it comes to dumping and restoring. Working on adding other features like being able to select only certain tables to dump and restore. Just thought I would share it and hopefully others can benefit from it.

can find it in NPM. https://www.npmjs.com/package/rethinkdb-dump-restore-cli

2 Comments
2018/09/14
16:43 UTC

1

Should I continue with Rethinkdb?

I recently took up this Nodejs-RethinkDB project. The project is about 3 years old and has been running on RethinkDB with about a million plus records now serving clients on web and mobile application interfaces.

With the current configuration, the whole setup works fine no complaints so far. I have scaled to 5 cluster members for RethinkDB, very efficient shards and replication configuration. The query performance is pretty good at this point and I find it easy to scale and manage. I love the web Interface data explorer.

However, I need to add this module in the project that depends alot on real time geo-spatial indexing and querying. Plus I have experience with MongoDB which also has a very high rating and user base. I have seen RethinkDB supports geo-spatial indexing and querying which is a good thing for me.

So my question is. I have compared the databases online at DB Engines Ranking, read several blogs and I have also read a bunch of articles online indicating the Company behind Rethink is did shutdown some time last year. I have several options if i were to migrate to another database but I also I like RethinDB so far.

I want to continue using it for the project and its new features. Here is the list of my concerns on RethinkDB. Should I worry about them?

  1. Future support and development being that the company behind it shutdown last year.
  2. I have read about its high recourse consumption. Should i worry about this?

If i get a solid info on these concerns, I will be set to make an informed choice.

3 Comments
2018/05/28
15:02 UTC

1

Better way to query?

Hi there, new to RethinkDB. Hoping to get some guidance... Is there a better way to check the results of a query? All I am looking to do is check the input from a user to see if it exists in upcs table. This currently works, just curious if there is a better approach?

import rethinkdb as r

hostname = 'localhost'
port = '28015'
db = 'inventory'

r.connect(hostname,port).repl()

def getUPC():
    scan = input('Please Enter UPC: ')
    cursor = r.db(db).table("upcs").filter(r.row["AcceptedUPC"] == scan).run()
    cursor = list(cursor)
    if cursor == []:
        print('Item not found')
    else:
        print('UPC Scanned')

while True:
    getUPC()
2 Comments
2018/02/28
17:03 UTC

4

Any viz tool (e.g. Grafana) that can connect to RethinkDB?

Hello,

I am looking for a way to do real time visualition (x-y graphs). Grafana has a minimum refresh rate of 1 sec. Is there anything similar that would handle a RethinDB input?

Thanks, Bb

0 Comments
2017/06/14
13:32 UTC

Back To Top