DEV Community

Discussion on: Database Indexing

sneezeaway profile image
Garyyyyyyy

I believe you can also index other columns as well. It doesn't have to be the primary key.

Thread Thread
artoodeeto profile image
aRtoo

of course you. hehe. just wondering if its still ok to index a primary key with a unique constraint.