--
You received this message because you are subscribed to the Google Groups "Redis DB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redis-db+u...@googlegroups.com.
To post to this group, send email to redi...@googlegroups.com.
Visit this group at http://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/d/optout.
And even when single-field primary keys are involved, some have constraints that limit them to use only 4 bytes (for example). A generic redis id will cost more resources, not less, in those cases.
Ah, thanks.I've got a copy of your book, and will investigate a bit more.However, our databases have many multi-field primary keys.And even when single-field primary keys are involved, some have constraints that limit them to use only 4 bytes (for example). A generic redis id will cost more resources, not less, in those cases.
My gut feeling tells me that translating all that to redis-internal id's will cause unnecessary obfuscation and redis lookups, hurting performance and implementation time.
For now, I keep my structure as is. The fact that in our setup each row has a 'native' lex index (since the row payload is prefixed in a sorted set) is a big bonus. The extra indexes can always be added, even with the same keys as the native index.
Itamar Haber | Chief Developers Advocate
Redis Labs - Enterprise-Class Redis for Developers
Mobile: +1 (415) 688 2443
Mobile (IL): +972 (54) 567 9692
Email: ita...@redislabs.com
Skype: itamar.haber