I am a new user to Amazon DynamoDB, when I use DynamoDB, I found that I can only create tables, but not databases (Like the databases in MySQL).
Is there any folder or database like hierarchy system in Amazon DynamoDB, so that I can put a set of tables into one folder (or databases) in order to make the DynamoDB well organized ?
There is not this kind of hierarchy in DynamoDB itself. Anyway, if it's suitable for your purpose, you could set up the table name like "$foldername_$tablename". It is quite easy if you manage the tables in an automated manner, but I see it can be a pain if you need to do this manually.
Eg:
from boto.dynamodb2 import connect_to_region
from boto.dynamodb2.table import Table
users_table = Table(user+'_'+table_name, # <---this is what I mean
connection = connect_to_region(db_region,
aws_access_key_id=id,
aws_secret_access_key=key))
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With