Professional Documents
Culture Documents
ADIR Expt 2A+B
ADIR Expt 2A+B
(0.02 sec)
(0.01 sec)
(0.01 sec)
(0.01 sec)
+ + + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + +
List
mysql> create table orders(employee_id int(5),createsdAt varchar(20),grandtatal int(10),tax
int(10))
+ + + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + +
Hash
mysql> create table month(ID int(5),createdAt varchar(20))
-> partition by hash(ID)
-> partitions 4;
Query OK, 0 rows affected, 1 warning (0.11 sec)