One of the main ways of dealing with this is to use "locks", basically allowing one script to lock a particular set of tables, meaning...