I have a table with millions of records.
One of the column has only 2 values '0' and '1'.
I am only concerned about the records where the column value is '0' and do some processing off of those records.
Considering the number of records containing value '0' will be around in the hundreds would it be wise to create an index on that column.
Since then the index will just have 2 values '0' with hundreds of refrences to the actual records and '1' with references to its cooresponding millions of records.
Here since I dont care about '1' and its references, should I be using an index in the first place?