Giter VIP home page Giter VIP logo

Comments (24)

KangZhengF avatar KangZhengF commented on May 8, 2024 14

I love the RedisInsight very much! You are good guys to develop this tool for us. But I still you can add the select database feature in your next version. Thx!

from redisinsight.

ViktorStarostenko avatar ViktorStarostenko commented on May 8, 2024 8

@nsnyder , thanks for the details, we will look into options to make the interaction with different database indices clearer.

from redisinsight.

ViktarStarastsenka avatar ViktarStarastsenka commented on May 8, 2024 7

hi, added support for switching database indexes (control next to the database alias) in RedisInsight 2.18 (released today)

Screenshot

from redisinsight.

guillermosaez avatar guillermosaez commented on May 8, 2024 3

@guillermosaez , not in the upcoming releases. will the workaround with adding a new database (also using the "Clone database" feature to avoid manually adding the parameters) work for you?

I would end up having 16 different connections per environment. If I have DEV + UAT + PROD, that's 48 databases.

from redisinsight.

ViktorStarostenko avatar ViktorStarostenko commented on May 8, 2024

Hi @anziguoer , do you want to return to the list of databases added to RI or select another logical database (change the database index) for this one?

from redisinsight.

demo007x avatar demo007x commented on May 8, 2024

Hi @anziguoer , do you want to return to the list of databases added to RI or select another logical database (change the database index) for this one?

I mean is how to select other database in version 2?

image

from redisinsight.

ViktorStarostenko avatar ViktorStarostenko commented on May 8, 2024

I mean is how to select other database in version 2?

Currently, this database index for Browser can be specified only at the step of adding a database to RedsInsight v2 ("Database Index" field).
You can add another database with the same endpoint, but a different database index to work in Browser (more preferred way). But please notice that in this case, the default database index to work in CLI and Workbench is still 0.
Or, as a workaround, you can use the "Select" command in CLI - it will change the database index in CLI, but will not affect Browser (less preferred way).

Hope this helps.

from redisinsight.

demo007x avatar demo007x commented on May 8, 2024

I mean is how to select other database in version 2?

Currently, this database index for Browser can be specified only at the step of adding a database to RedsInsight v2 ("Database Index" field). You can add another database with the same endpoint, but a different database index to work in Browser (more preferred way). But please notice that in this case, the default database index to work in CLI and Workbench is still 0. Or, as a workaround, you can use the "Select" command in CLI - it will change the database index in CLI, but will not affect Browser (less preferred way).

Hope this helps.

Ok, thank you. What version is planned to add select Database functionality? thank you, I very like the RedisInsight.

from redisinsight.

ViktorStarostenko avatar ViktorStarostenko commented on May 8, 2024

Hello @anziguoer, I believe that currently, the main flow is to add another database with the same endpoint, but with a different database index to work with, and just open another database if you need to work with another database index.

Could you please provide any use cases when this flow will not satisfy your purposes?

from redisinsight.

nsnyder avatar nsnyder commented on May 8, 2024

Came across this while trying to figure out how to change databases earlier today. IMO, it would be helpful to provide one or two flows.

  1. Allow selecting different databases from a single endpoint (potentially with assignable names) OR
  2. Allow copying an existing endpoint instead of adding a new one (so you don't have to re-enter the same information just to change the database index)

It's particularly confusing if you have an existing endpoint and find that you need to use a different database. You likely won't remember that the only place to set that is during initial setup. You might go to edit your connection to change it, and find the setting isn't there (as I did) only to be confused and go searching (and ending up here). Or you may suspect (as I did) that changing it from the CLI window will change where the UI searches.

One way or another, I think a bit of guidance for someone trying to figure out how to change their database in the UI would go a long way.

from redisinsight.

838239178 avatar 838239178 commented on May 8, 2024

Does any plan to add this feature? 👍

from redisinsight.

ViktarStarastsenka avatar ViktarStarastsenka commented on May 8, 2024

@KangZhengF , @838239178 , currently the only one way to change the logical database is to add another database with the same host and port. I understand that this is not the most convenient way, but will it work if you could quickly clone the database to not re-enter database credentials manually, change the logical database and then add the database with another logical database selected?
In this case you will need just to open another database.

from redisinsight.

rocna avatar rocna commented on May 8, 2024

Wow, that seems to be a work in progress. But selecting a database is much easier than adding one. Redis is very fast and most scenarios are shared by multiple programs to take full advantage of Redis performance. 👍

from redisinsight.

guillermosaez avatar guillermosaez commented on May 8, 2024

Hi @ViktarStarastsenka , is it planned to add the "change db" functionality?

from redisinsight.

ViktarStarastsenka avatar ViktarStarastsenka commented on May 8, 2024

@guillermosaez , not in the upcoming releases.
will the workaround with adding a new database (also using the "Clone database" feature to avoid manually adding the parameters) work for you?

from redisinsight.

javaDer avatar javaDer commented on May 8, 2024

We need this feature too much

from redisinsight.

erik-re avatar erik-re commented on May 8, 2024

As coming from different redis clients, it'd be very useful to have a list of databases (maybe even containing the number of sets in each db) in one connection, as other users have stated in this thread.

+1

from redisinsight.

guillermosaez avatar guillermosaez commented on May 8, 2024

Hello @ViktarStarastsenka, that control doesn't show for me:
image

from redisinsight.

ViktarStarastsenka avatar ViktarStarastsenka commented on May 8, 2024

@guillermosaez , can you please run the INFO KEYSPACE and share the results?

from redisinsight.

guillermosaez avatar guillermosaez commented on May 8, 2024

@ViktarStarastsenka
image

from redisinsight.

ViktarStarastsenka avatar ViktarStarastsenka commented on May 8, 2024

@guillermosaez , can you please additionally run the "CONFIG GET DATABASES"?

from redisinsight.

guillermosaez avatar guillermosaez commented on May 8, 2024

@ViktarStarastsenka
image

from redisinsight.

ViktarStarastsenka avatar ViktarStarastsenka commented on May 8, 2024

@guillermosaez , currently, you do not have permission to run the CONFIG command, which is used to define if there are any database indexes.
We will enhance the logic in the next releases

from redisinsight.

guillermosaez avatar guillermosaez commented on May 8, 2024

@guillermosaez , currently, you do not have permission to run the CONFIG command, which is used to define if there are any database indexes. We will enhance the logic in the next releases

@ViktarStarastsenka thank you for clarification. As I can read here, it seems the CONFIG command is disabled for "Azure cache for Redis", which is what I am using.
Is there any workaround?

from redisinsight.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.