SHOW COLUMNS FROM MyDatabase.MyTable

That operation will always require a disk read, which is rather expensive, especially for larger tables. For example, for a 500MB table in my test, it takes 0.23 seconds just for this query. I thought the table schema should not depend on its size. Guess there is something more technical than my basic understanding.


Posted

in

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *