|
Follow the steps below to create a new SimpleDB domain:
-
Run SDB Explorer and connect with Amazon SimpleDB account.
-
Click on
Create Domain
[1]
icon on tool bar.
-
You will be prompted to enter domain name, enter a unique name for your domain and click on
OK
button.
-
Status bar will show message as 'Getting domain from Amazon server'.
-
After a short while a message box will show '
Domain is successfully created
', click on
OK
button here.
-
Now your Domain will be seen on List of Domains (Domain Explorer Window).
-
You've created a new domain.
Follow the steps below
to create new attributes in your Domain
:
-
Select and Right click your domain from List of Domains.
-
Click on
Put attribute
[2]
option of right click menu.
-
A new window of
Put attribute
will be opened.
-
Domain name will be displayed on Domain text field.
-
Enter an Item Identifier in Item field.
-
Enter the name of Attribute in Attribute name field.
-
Write the value of the attribute in Value field.
-
The
Attribute
,
Value
, and
Replace
(Either True OR False) will be added in the table.
-
If you want to delete the row from the table then you will have to select the particular row followed with a click on Delete button.
-
Consequently the row will be deleted from the table.
-
If you click on Save button then attributes and their values present in table will be added in domain.
-
The details of the domain will be displayed in the GRID.
-
If you click on CANCEL button then attributes and their value wouldn't be added in the domain and the window will be disappeared.
|
-
^
Create Domain : In SDB Explorer you can also find this option in File menu. You just need to go on file menu and choose Create Domain option. At the time of creating new domain please make sure that the domain name should not contain any special character or space in it.
-
^
Put attribute: Attributes are some sort of traits by which items can be defined properly. Attributes in domain are displayed and behaves just like a column header.
You can understand attribute by a metaphor of a shirt which have attributes as color, size, prize, and company. Each attribute defines item differently and overall description of item can be found by the addition of all these descriptions.
Attributes are free to be added any time in the domain and even one cell of attribute-value pair can contain more then one value means an item can be defined by more then one value of its single attribute. Each item can have up to 256 attribute-value pairs. Each attribute name & value can range from 1 to 1,024 bytes.
|
|
|