Re: redis on windows issues

46 views
Skip to first unread message

Josiah Carlson

unread,
Jul 28, 2012, 7:12:08 PM7/28/12
to redi...@googlegroups.com
KEYS * is not recommended for use, regardless of platform, except for debugging.

Are you sure it's not doing anything? How are you trying to run it?
Have you checked INFO, and have you made sure to select the proper
database with SELECT?

While we may be able to give you a few pointers, neither the Microsoft
port of Redis, nor Dusan's port are really considered "production
worthy". So if you run a command in either, and something doesn't
work, ... I'm not sure anyone would be terribly surprised.

Regards,
- Josiah

On Fri, Jul 27, 2012 at 11:08 PM, maverick <maverick...@gmail.com> wrote:
> hi all,
> I am using MS ported redis version 2.4.11. I have inserted some 2700 keys
> into DB, now when I want to see all keys, the keys * command is not working.
> The command executes and does nothing. On the other hand, is there a better
> way to visualize all data like a select * command in SQL ?
> Anyone had this issue or am I missing something ??
>
> --
> You received this message because you are subscribed to the Google Groups
> "Redis DB" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/redis-db/-/DQ6POgksA4MJ.
> To post to this group, send email to redi...@googlegroups.com.
> To unsubscribe from this group, send email to
> redis-db+u...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/redis-db?hl=en.

Prithvi Raj

unread,
Jul 29, 2012, 6:13:03 AM7/29/12
to redi...@googlegroups.com
Josiah,
I don't plan to use keys * for anything other than debugging. However,
I miss seeing table data like in SQL and I suppose Keys is the only
command in redis that provides that. I don't know any other command if
some one knows, it will be helpful.
Yes INFO is working, dbsize is showing 2711. when I flushall and
insert 5 keys then keys command works. When I populate using script
about 2700 keys, the command just does not do anything. Yes I selected
the right database using SELECT 0 as there is no other database.

On the other hand, is there a way to name databases in redis, I don't
think so, point me if I am wrong. Also does the new version build in
cygwin ?

Josiah Carlson

unread,
Jul 29, 2012, 2:15:17 PM7/29/12
to redi...@googlegroups.com
On Sun, Jul 29, 2012 at 3:13 AM, Prithvi Raj <maverick...@gmail.com> wrote:
> Josiah,
> I don't plan to use keys * for anything other than debugging. However,
> I miss seeing table data like in SQL and I suppose Keys is the only
> command in redis that provides that. I don't know any other command if
> some one knows, it will be helpful.
> Yes INFO is working, dbsize is showing 2711. when I flushall and
> insert 5 keys then keys command works. When I populate using script
> about 2700 keys, the command just does not do anything. Yes I selected
> the right database using SELECT 0 as there is no other database.
>
> On the other hand, is there a way to name databases in redis, I don't
> think so, point me if I am wrong. Also does the new version build in
> cygwin ?

No, you can't name databases in Redis. Personally, I use named
configurations on my side of things, along with some
decorators/context managers in Python to provide my functions with the
right connections to the right resources.

The new version of Redis? I don't know. I've never tried. But I don't
believe that any patches were specifically made for cygwin support,
and I don't believe that Salvatore would accept them. Dusan's port
uses the mingw compiler, which may get you closer to what you want.

What language are you using, and what client are you using?
Are you running your command via your language bindings?
Have you tried running the command from redis-cli?
Have you tried making sure that the command makes it there by running
'monitor' in a redis-cli?

- Josiah

Prithvi Raj

unread,
Jul 30, 2012, 5:36:17 AM7/30/12
to redi...@googlegroups.com
I am using redis-cli command line, populated the db using node.js script.
Have not used monitor, will look into it.,

Regards,
Prithvi.
Reply all
Reply to author
Forward
0 new messages