c# - Setup a partition and row key for user account database in Windows Azure -
I'm just a little stumped on a small issue. I want to set up an account table where all the registered user data remains. This table will contain content such as email, address and password for the SRP value etc.
The small problem I have is how to set up the row and partition key? I thought about having this field in the partition key, but again, if the user area has changed so, how do I know how it asks, because as far as I know that you have the line and partition key Some need to query for
Thanks for your time
table You should always consider your query for storage and the first pattern Update, then design your key plan based on that
Do you have to ask questions other than username? Probably email? If so, you may want to include that key in it
Would you ever need to update many users in a batch? Then they should be in the same division.
If you only need to work on one user at a time, and you will always have username to ask, then just use the username for the partitions and do it with it.
Comments
Post a Comment