|
Using SDB Explorer you can upload MY SQL Data to Amazon SimpleDB. You can specify your own database field as an Amazon SimpleDB item name .
Follow the steps below to upload MY SQL Data by specifying your own field as an item name:
-
Run
SDB Explorer
as Usually.
-
After successful login, select any domain of any region end point from the tree on lefthand side corner.
-
Click on
Bulk
Upload button from tool bar of main window.
-
Select
Upload MY SQL Data
from drop down window. A new upload panel will be opened.
-
Connect using the saved connections that you added in
Add/Manage Database Connection
.
-
After sucessfully connected, Enter
Database Name
from which you want to upload table or select it from the list shown when clicking on "Select" hyperlink.
-
Enter
Table Name
or select it from the list shown when clicking on "Select" hyperlink.
-
Enter
Domain name
in which you want to upload data of your database.
-
Select
server region end poin
t for the specified domain name.
-
Enter
Query fetch
size i.e. the size of the record to be fetched at a time .
-
Enter Query as select * from <table name> that is to be executed and result of the query will be uploaded on Amazon SimpleDB. Click on Execute button
-
A label situated over left hand side corner of
Execute
button, will show number of records to be uploaded from database.
-
After executing the query your database fields will be listed in the
Database Fields
column.
-
Select fields that you would like to upload.
-
Select the field which is
primary key
in the database table.
-
Click on
Advance
hyper link situated over bottom of the panel at left hand side corner. A new panel will be opened.
-
Select
Consider other data base filed as an Amazon Simple DB item name
radio button.
-
Select any field from dropdown, other than Primary Key.
-
An Advance panel will be disposed, now hit Upload button.
-
A new
ADD/REPLACE
panel will be opened, now without any change hit on Ok button.
-
If batch gets success then success count updated, if batch gets fail then fail count updated.
-
After queue processing gets over, double click on domain in which you have uploaded.
-
The number of rows that has been uploaded successfully will be shown in GRID.
|
Related Topics
|
|