The Polymorphic Pattern: NoSQL Data Modeling with Redis

preview_player
Показать описание

With SQL databases, you need separate tables to store specifics about the different types of products you are working with. To get all your products, all tables with all their separate specifics must be joined together, which creates serious overhead.

With Redis Stack, all schemas are flexible and let you distinguish type fields that group collections together. Start reducing the number of collections used to store data and simplify app logic in queries using the polymorphic pattern with Redis Stack.

From the Blog:
Redis Stack

Learn more about Redis:

#Redis #DataModel #DataModeling
Рекомендации по теме
Комментарии
Автор

So what is happening with the fields that are null i am not understing that, is it ok to let fields in null?

jurgenruegenberg
Автор

I don't see any polymorphic pattern here, it a model who contains all the data and redis don't show null fields, we can do the same with sql. Maybe there is something i didn't understand, can you explain more please

AymenMehri
Автор

I have installed the rediSearch module for an application, but I am getting the error Cannot create index on db != 0 do you know what it means?

nurettinsen
Автор

i am a simple man, i see a microsoft product, i click dislike.... joke, i liked the video, need more of these for beginners

MrSMGun
welcome to shbcf.ru