Hey. I really need help here. No idea for me and any of my colleagues what to check.
Situation: there is a function db_query which executes SQL query. After query execution, there is a few seconds and in database something creates a duplicate of SQL query. (Only stuff going on with INSERTS). Last time of this happening, we checked - 6 seconds after first insert, there is seconds insert. Any suggestions what to check?
I am using pg_connect database connection in PHP.