For some time now I have had a problem with saving data in the database.
The problem is that after a sudden shutdown of the server, the data that was sent a minute earlier from the application was not saved in the database.
I suppose that the problem is the large database and the fact that all saved data goes to the buffer and the data will not have time to be written to the server disks.
The question is whether it is possible to turn off the buffer so that the data is immediately written to the disks. I know that this will slow down the application, but until we solve the problem with the server, this will allow us to continue working.
Thank you in advance for your answers.