nahanni / rw_redis_fdw

Other
97 stars 23 forks source link

Support sending a pattern to the KEYS command #10

Closed gokuu closed 7 years ago

gokuu commented 7 years ago

KEYS * is very costly on large databases

With this small change, you can query the keys using a simple equals clause using the keys template:

SELECT * FROM keys_table WHERE key = 'key-name:*'