CS6650 Building Scalable Distributed Systems
Operation | Time Complexity |
---|---|
INSERT | |
GET |
Let’s imagine that we have a LeetCode Contest that all students in Northeastern Universtiy can participate in.
We want to record the records in a table called records:
RecordID | Student | ProblemID | PassOrFail | SubmitTime | Runtime |
---|---|---|---|---|---|
1 | Fac | 111 | true | 11:00 | 12 |
2 | Lin | 222 | true | 12:00 | 17 |
3 | Ama | 222 | false | 11:00 | 17 |
4 | Goo | 333 | false | 12:00 | 12 |
Please list your primary key strategies somewhere you can refer to :
Official Documentation on mysqlslap
PS C:\Program Files\MySQL\MySQL Server 8.0\bin>.\mysqlslap --concurrency=1 --iterations=1 --create='C:\Users\jxyzs\Desktop\create_table1.sql' --query='C:\Users\jxyzs\Desktop\fake_records.sql' --password --delimiter=";" --no-drop
MySQL now supports a JSON Data Type natively. This may be something to consider for your assignment.
The effect on performaance of inserting JSON into tables is something that you may want to test using the above load generator tool approach we’ve explored above.