java - DynamoDB scanning by attribute equality for attributes within an object -


i have table called "users" in dynamodb. columns in table are:

"userid", "uid_internal", "uid_external", "isactive" ... 

for users have same internal , external id, non-human users i.e. system userids. wish fetch them. doing fetching records isactive 1 , check equality myself. fine till time ago when number of users quite less. due corporate user id imports, number of human users around 93% of total users. essentially, fetching more 93% data on wire no reason (which has increased our bills because have had provision more , more capacity every single time).

is there way me perform scan query such can have condition checks attributes within table before returning data?

it not possible add condition based on element (internal eq external)

i think better off table holds non-human easy fetching.


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -