By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
Records: 100000 Duplicates: 0 Warnings: 0
Records: 100000 Duplicates: 0 Warnings: 0
id | data |
---|
TIMESTAMPDIFF(MICROSECOND, @start, NOW(6)) |
---|
82497 |
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | test1 | null | ALL | null | null | null | null | 100000 | 10.00 | Using where |
id | data |
---|
TIMESTAMPDIFF(MICROSECOND, @start, NOW(6)) |
---|
369 |
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | test2 | null | ref | idx_data | idx_data | 403 | const | 1 | 100.00 | Using where |