Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What is in the pgsql_tmp directory?

directory
0
Posted

What is in the pgsql_tmp directory?

0
10

This directory contains temporary files generated by the query executor. For example, if a sort needs to be done to satisfy an ORDER BY and the sort requires more space than the backend’s -S parameter allows, then temporary files are created here to hold the extra data. The temporary files are usually deleted automatically, but might remain if a backend crashes during a sort. A stop and restart of the postmaster will remove files from those directories.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123