TablePlus-Windows icon indicating copy to clipboard operation
TablePlus-Windows copied to clipboard

Redis is taking too long to load

Open mztlive opened this issue 3 years ago • 6 comments

image

Select DB needs to wait at least 10 minutes

mztlive avatar Sep 06 '21 07:09 mztlive

Note: please do not remove issue template questions.

Hi @mztlive Did you just run keys * on redis?

This is very bad command it would return all keys which will take a long time to load.

https://redis.io/commands/KEYS

Select DB needs to wait at least 10 minutes

Please click the settings button at the bottom right and change the number of item per page. 5 should be okie for redis.

huyphams avatar Sep 06 '21 08:09 huyphams

I didn’t run the keys * command, I just clicked on DB15. My guess is that tabnine automatically ran the keys * command because it needed to render a list

image

mztlive avatar Sep 06 '21 08:09 mztlive

Hi @mztlive please do not remove issue template questions. I don't know which build are you using so I don't know if the bug is fixed or not. Thank you in advance.

huyphams avatar Sep 06 '21 08:09 huyphams

I’m sorry. I’ll fix it. What happens is that after you click on a DB, tableplus gets 300 rows of data by default, which is a slow process, and I’m not sure if there’s a big key

Change the limit to 5 or 10 and it will change very quickly

mztlive avatar Sep 06 '21 08:09 mztlive

I've checked the newest version and it didn't run they keys * command and also there is no keys * in the code base. Are you using our latest release?

huyphams avatar Sep 06 '21 08:09 huyphams

4.2.12(176)

What happens is that after you click on a DB, tableplus gets 300 rows of data by default, which is a slow process, and I’m not sure if there’s a big key

Change the limit to 5 or 10 and it will change very quickly

mztlive avatar Sep 07 '21 02:09 mztlive