What specific queries are we talking about?Let me ask you a question. My idea to avoid overloading the main database with queries is to clone it and have the page use the DB_Mirror (mirror), so that it queries that one and not the main one. What do you recommend in these cases?
Is it effective?
In my region, the community is very malicious and looks for anything to cause trouble. My idea was that, for example, everything related to rankings and visuals that requires queries should be done on a database external to the main one. This way, the server would continue to function normally with its queries, and the website with the UCP would function normally with its database, because they usually send bots or spam queries. But I just thought that I could update the ranking every hour using cache, so that nothing breaksWhat specific queries are we talking about?
The build very rarely interrupts the database.
Create simple protection for connecting to the database.
And a backup
And what's the point of moving the database outside the localhost?
Maybe I misunderstood you, but keeping the server database, website database, and server on the same machine is not the best idea.In my region, the community is very malicious and looks for anything to cause trouble. My idea was that, for example, everything related to rankings and visuals that requires queries should be done on a database external to the main one. This way, the server would continue to function normally with its queries, and the website with the UCP would function normally with its database, because they usually send bots or spam queries. But I just thought that I could update the ranking every hour using cache, so that nothing breaks
I say "two" DB in one vps, one for main server and the other for the host/page/cp, what do you think?
I say this:If you have everything on one VPS, do not open a port to the database outside.

Initially, this is, of course, a site with a database injection.Let me ask you a question: do you know how to protect your data on a VPS? If providers want to leak your package or steal it, do you have any idea what we could do?