Some time ago I added a new taxonomy to the existing custom post type.
I didn't realize right away that it was starting to cause problems.
I couldn't update old posts.
Later, when I realized that the problem was the new taxonomy, I installed the classic editor to see if the problem was API calls, and yes, when I updated the post with the classic editor, everything was ok.
Due to both time and laziness, I ignored this and continued to create new posts, but did not enter the data in that new taxonomy in the post edit page. When I publish a new post, I use quick edit to enter the data in that new taxonomy, and it worked ok.
A week ago I changed hosting, and now new problems have appeared, also related to that taxonomy.
Now, in addition to the toolset not being able to save data in the new taxonomy, it's bugging the entire server for some reason.
Now, when I create a new post in that custom category, the moment I add any taxonomy, the site slows down significantly, and after a few minutes, it crashes the entire server.
After several attempts, when I publish the post and the server recovers, if I try the old trick again to enter the data in that new taxonomy using quick edit where posts are listed (backend - archive - all items), the same thing also happens, the site slows down and the server crashes. Also, after doing this, I go to edit post to check if new data is saved and notice that taxonomies are loading very slowly, sometimes I wait 3-5 minutes for all taxonomies to load.
Now I've reached the point where I can't update any post, because all the posts have taxonomies, and after every attempt, the server crashes and I get "Error establishing a database connection" on the screen.