简体   繁体   English

Postgres 和表空间和索引

[英]Postgres and Tablespace and indexes

I want to ask if its possible that a situation where the main table is in a different tablespace from the index if it affects performance.请问有没有可能是主表和索引在不同表空间的情况影响性能。 i have a senario where a large table 250GB is in a tablespace and the indexes (3) with an average size of 40GB is in default tablespace.我有一个 senario,其中一个 250GB 的大表在表空间中,平均大小为 40GB 的索引 (3) 在默认表空间中。 could this be the reason why queries are slow这可能是查询缓慢的原因吗

No, unless one of these tablespaces is on slow storage.不,除非这些表空间之一在慢速存储上。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM