Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typos and missing semicolon breaking script #8

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions mysql/sampledb/v1/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#Amazon DMS Sample Database for MySQL: version 1.0
# Amazon DMS Sample Database for MySQL: version 1.0

Scripts in this repository can be used to generate a MySQL database suitable for testing and exercising
the AWS Database Migration Service (DMS) and the AWS Schema Conversion Tool (SCT)
Expand Down Expand Up @@ -69,10 +69,10 @@ MySQL> call generateTransferActivity(100,0.1);

This will generate 100 "transfer" transactions each delayed by 0.1 seconds. Tickets are transfered as a group 80% of the time 20% of the time singlets are transfered. A record of each transaction is recorded in ticket_purchase_hist.

##Entity Relationship Diagram of the System
## Entity Relationship Diagram of the System
![alt tag](/images/sampledb.jpg)

##Object Descriptions
## Object Descriptions
### PROCEDURES
* **generateTicketActivity(p_max_transactions,p_delay_in_seconds):** Calls the procedure "sellTickets" <p_max_transactions> times with a delay of <p_delay_in_seconds> seconds, (fractions of seconds are allowed). The default is to generate 1000 transactions with a delay of 0.25 seconds. To execute the procedure using the defaults use: call generateTicketActivity(NULL,NULL);
* **generateTransferActivity(p_max_transactions,p_delay_in_seconds):** Calls the procedure "transferTicket" <p_max_transactions> times with a delay of <p_delay_in_seconds> seconds, (fractions of seconds are allowed). The default is to generate 10 transfers with a delay of 0.25 seconds. To execute the procedure using the defaults use: call generateTransferActivity(NULL,NULL);
Expand Down Expand Up @@ -105,7 +105,7 @@ This will generate 100 "transfer" transactions each delayed by 0.1 seconds. Tick
* **sporting_event_ticket:** A ticket which, for a price, allows a person to sit their butt in a seat and watch a sporting event.
* **ticket_purchase_hist:** A recording of every ticket purchase (including transfers) ever made in this system. (Even scalping is recorded here.)

###VIEWS
### VIEWS
* **sporting_event_info:** An aggregated view of everything important about a specific sporting event.
* **sporting_event_ticket_info:** A consolidated view of all information pertinent to a ticket.

2 changes: 1 addition & 1 deletion mysql/sampledb/v1/data/name_data.sql
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,7 @@ Insert into name_data (name_type,name) values ('MALE_FIRST','Adam');
Insert into name_data (name_type,name) values ('MALE_FIRST','Adan');
Insert into name_data (name_type,name) values ('MALE_FIRST','Adolfo');
Insert into name_data (name_type,name) values ('MALE_FIRST','Adolph');
Insert into name_data (name_type,name) values ('MALE_FIRST','Adrian')
Insert into name_data (name_type,name) values ('MALE_FIRST','Adrian');
Insert into name_data (name_type,name) values ('MALE_FIRST','Agustin');
Insert into name_data (name_type,name) values ('MALE_FIRST','Ahmad');
Insert into name_data (name_type,name) values ('MALE_FIRST','Ahmed');
Expand Down