Does Dax support caching multiple DDB tables with the same schema and/or primary key?

0

In my use case, I have two or more DDB tables, with the same schema, that will be accessed via one Dax cluster.

Does Dax include the table information of a cached key in its node? If I cache hit, it only returns data for the table I requested. If I cache miss, it will only overwrite with the data from the table I requested.

I assume yes, given that table is part of the request and response, but there is no documentation that states this explicitly that I could find. The only thing I could find explaining the storage states that they "are stored by their primary key values."

jshuhu
gefragt vor 2 Monaten133 Aufrufe
1 Antwort
3
Akzeptierte Antwort

Yes, DAX keys also contain the table name, which allows it to cache items from different table sharing the same primary key without issue.

profile pictureAWS
EXPERTE
beantwortet vor 2 Monaten
profile picture
EXPERTE
überprüft vor 2 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen