Depending on the number of indexes and the columns used in the indexes, and the white space reserved within the indexes indexes can take more space than a table.
Say you have a table like this.
Code:
CREATE TABLE T1
(C1 int,
C2 int,
C3 varchar(10))
Now if you create 3 indexes on this table like this.
Code:
CREATE INDEX T1_I1 ON T1 (C1)
GO
CREATE INDEX T1_I2 ON T1 (C2, C3)
GO
CREATE IDNEX T1_I3 ON T1 (C1, C3)
GO
Your indexes will now take up more space than your data does.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.