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
Post a Comment