Jump to content

tiny indexing question


acidglitter

Recommended Posts

just to make sure..

fields that are used in the WHERE clause should have an index on them. but every time? even if only one query on the entire site searches for that field in the where clause? or only if that field is searched for a lot?

Not all fields, and not all separate indexes.... but yes, sometimes for a certain query, it has to be optimized "separately".

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.