pg-redis-fdw / redis_fdw

A PostgreSQL foreign data wrapper for Redis
497 stars 68 forks source link

Use SCAN rather than KEYS #7

Closed cyberdelia closed 9 years ago

cyberdelia commented 9 years ago

There is a cursor like implementation of KEYS, named SCAN, this might allow for better performances, see: http://redis.io/commands/scan

fnando commented 9 years ago

:+1:

adunstan commented 9 years ago

Seems reasonable, although I don't currently have time to work on it.

adunstan commented 9 years ago

See commit 8a6ccfcd747275cc453fb7d1aba7e9defad0b26e