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

Impossible to use console, "run_sql" queries hangs Postgres (cpu 100%) #10123

Open
mrpotato3 opened this issue Feb 1, 2024 · 2 comments
Open
Labels
k/bug Something isn't working

Comments

@mrpotato3
Copy link

Version Information

Server Version: 2.35.1
CLI Version (for CLI related issue): -

Environment

OSS

What is the current behaviour?

It's impossible to use the Hasura console. Every action taken hangs the PostgreSQL database, causing it to reach 100% CPU usage, and it becomes impossible to do anything. Currently, we have 220 tables and 13 schemas, and it's not possible to work.

What is the expected behaviour?

That it works correctly, that it is fast, and that actions are instantaneous or, at the very least, quick.

How to reproduce the issue?

Create a database with 10 or 20 schemas and around 200 or 300 tables with permissions and relationships among them. Then try to create a column, change a unique key, or perform any other action.

Screenshots or Screencast

Captura de pantalla 2024-02-01 a las 12 02 21

image

Please provide any traces or logs that could help here.

Any possible solutions/workarounds you're aware of?

Change metadata system...

Keywords

console, metadata, postgres

@mrpotato3 mrpotato3 added the k/bug Something isn't working label Feb 1, 2024
@asmitzz
Copy link

asmitzz commented Feb 2, 2024

+1

@kkarkal
Copy link

kkarkal commented Apr 22, 2024

I faced with the same issue initially, But later I found out that there are some trigger actions running when we run a migration in background. Make sure this is not the case with you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
k/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants