I have a database (350 GB) I'm trying to clean up. I'm looking at a particular table called 'History'. There are 125 million rows in this table. The table has 26 columns. The total row size is 350. The size of the table is 37 GB. The size of all the indexes on this table 'History' is 120 GB. There are a dozen indexes on this table. I looked at all of the indexes and they cover 12 columns in total. These indexes "overlap". There may be a better word for this.
Easily, this seems to be something that can be improved. The SQL Server works hard.
For example, one column (store number) has a char(4) value with a 4 digit number in it. I don't want to convert it to a number or integer value because that will break something. This single column has an index on it. This column is also used in 5 other indexes. Even better, this column only has one...