Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pgsql_job_cache folder size grows unusually large #7691

Open
nguoingoai opened this issue Sep 25, 2024 · 3 comments
Open

pgsql_job_cache folder size grows unusually large #7691

nguoingoai opened this issue Sep 25, 2024 · 3 comments

Comments

@nguoingoai
Copy link

nguoingoai commented Sep 25, 2024

My Coordinator node have a folder pgsql_job_cache , recently size grows unusually large , this size is larger than folder data on this node . So what is the reason and how to fix this ?

@emelsimsek
Copy link
Contributor

Citus keeps intermediate result files in pgsql_job_cache folders. It may grow depending on your intermediate result sizes but should be cleaned-up after the queries are done. So when there is no running query it should not have anything in it.
Do you observe otherwise?

@nguoingoai
Copy link
Author

I thinks some query was kill when it running, Can I delete these files without effecting the data ?

@emelsimsek
Copy link
Contributor

There was a few intermediate result file leak bugs, it is possible that you have run into them. What citus version are you on? And what are your schema/queries like?

As a workaround, If there is no query running at the moment, it should be fine to empty pgsql_job_cache folder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants