小编Mus*_*GRU的帖子

Postgresql 基本目录中的大文件是什么

T 开头的文件名太多

(T14_xxxxxxxx.1, T14_xxxxxxxx.2 .. T14_xxxxxxxx.18)
Run Code Online (Sandbox Code Playgroud)

在一个数据库的 postgresql 基本目录中。

基本目录中的数据库大小为 500GB,包含这些文件。重新启动postgresql后,这些文件消失了,base/目录中的数据库大小减少了200GB。

我阅读了以下网站。但我找不到有关这些文件的任何信息:

https://www.postgresql.org/docs/current/storage-file-layout.html#:~:text=For%20each%20database%20in%20the,system%20catalogs%20are%20stored%20there.>

另外我还使用了 pg_relation_filepath 或选择 pg_class 表。我没有找到有关这些文件的任何信息。

“base”目录中的这些大文件是什么?这些是缓存文件吗?应用程序怎么会出现这些文件呢?

postgresql postgresql-performance

1
推荐指数
1
解决办法
168
查看次数

标签 统计

postgresql ×1

postgresql-performance ×1