Sign in
Log inSign up

Is it faster to fetch rows by ID (primary key) or by other fields like title?

Jean Gérard Bousiquot's photo
Jean Gérard Bousiquot
·Jul 24, 2016

Hello fellow hashnoders! I'm a Laravel developer and was wondering If i have a table of posts in a MySQL DB: Is it faster to fetch rows by ID (primary key) or by other fields like title?