DEV Community

Discussion on: Database Indexing

sneezeaway profile image

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

Thread Thread
artoodeeto profile image

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