|
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
-
Select
region end point
from combo box, at which location you want to create domain.
-
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 created
successfully
', click on
OK
button here. If domain name already exist then it will suggest you new name, you can select the check box having new suggested domain name and try again click on OK button.
-
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 on your domain from List of Domains.
-
Click on
Put attribute
[2]
option.
-
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.
OR
-
Select the domain.
-
Do right click and select
Explore Domain
option.
-
You will see blank rows will be added denoted by Add icon.
-
Click on `
Create Attribute
` button situated over table's tool bar to create a new Attribute.
-
Add attributes that you want to add in the domain.
-
Start editing cell of rows that have been added.
-
Provide unique item name for each row add values to the respective columns.
-
After you have done with all, click on `
Save
` button that will save your changes.
-
Process will start in queue.
-
Now click on `
Refresh
` button to see your changes.
|
-
^
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 than one value means an item can be defined by more than 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.
|
|
|