database - mysql primary key,is it a hash index or b-tree? -


the primary key automaticlly created , has index type "primary". hash or b-tree.

cos b-tree rangeable , hash not.

so, if "primary" b-tree can query range selection.

unless you're using memory access method, mysql indexes organized btrees , can suitable range scan queries.


Comments

Popular posts from this blog

c# - ItextSharp font color issue in ver 5.5.4+ -

jquery - Multiple issues with pushstate: history, loading, calling functions -

ios - retrievePeripherals deprecated in IOS7 how to substitude it with retrievePeripheralsWithIdentifiers -