You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, I want some advise on which is performant execution in the below
Running below query using Batch PartiQL
SELECT * FROM person WHERE "pk" = 1 AND (“sk” =“name” OR “sk”=“address”);
SELECT * FROM person WHERE "pk" = 2 AND (“sk” =“name” OR “sk”=“address”);
Or Running multiple of this sort in batchGetItemRequest
SELECT * FROM person WHERE "pk" = 1 AND “sk” =“name”
SELECT * FROM person WHERE "pk" = 1 AND “sk” =“address”
SELECT * FROM person WHERE "pk" = 2 AND “sk” =“name”
SELECT * FROM person WHERE "pk" = 2 AND “sk” =“address”
Beta Was this translation helpful? Give feedback.
All reactions