Skip to content

Broken SQL Connection pooling #10734

Answered by brandond
morzan1001 asked this question in Q&A
Aug 21, 2024 · 3 comments · 10 replies
Discussion options

You must be logged in to vote

You can try running a manual compact query while k3s is down. This is mysql syntax; you might have to tweak it for postgres.

delete from kine where id in (select id  from (select id,name from kine where id NOT IN (select max(id) as  id from kine group by name)) as t)

Replies: 3 comments 10 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
9 replies
@brandond
Comment options

@morzan1001
Comment options

@morzan1001
Comment options

@brandond
Comment options

Answer selected by morzan1001
@morzan1001
Comment options

Comment options

You must be logged in to vote
1 reply
@morzan1001
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #10733 on August 21, 2024 18:58.