Is there any logical reason of having different tablespace for indexes?

后端 未结 3 1149
耶瑟儿~
耶瑟儿~ 2021-02-02 16:47

Hi Can some let me know why we created different table space for Index and data.

3条回答
  •  悲&欢浪女
    2021-02-02 17:06

    It makes a sense in 80s, when there were not to many users and the databases size was not too big. At that time it was usefull to store indexes and tables in the different physical volumes.

    Now there are the logical volumes, raid and so on and it is not necessary to store the indexes and tables in different tablespaces.

    But all tablespaces must be locally managed with uniform extends size. From this point of view the indexes must be stored in different tablespace as the table with the 50 columns could be stored in the tablespace with 5Mb exteds size, when the tablespace for indexes will be enought 512Kb extended size.

提交回复
热议问题