Skip to content

Instantly share code, notes, and snippets.

@mdcallag
Created December 1, 2016 03:34
Show Gist options
  • Save mdcallag/e1b78a52543f9ff1841ffadf0137f67f to your computer and use it in GitHub Desktop.
Save mdcallag/e1b78a52543f9ff1841ffadf0137f67f to your computer and use it in GitHub Desktop.
# mysql -uroot -ppw test -e 'explain SELECT c FROM sbtest1 WHERE id BETWEEN 39927041 AND 39927140 ORDER BY c\G'
mysql: [Warning] Using a password on the command line interface can be insecure.
*************************** 1. row ***************************
id: 1
select_type: SIMPLE
table: sbtest1
partitions: NULL
type: ALL
possible_keys: PRIMARY
key: NULL
key_len: NULL
ref: NULL
rows: 1
filtered: 100.00
Extra: Using where; Using filesort
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment