title: Python, thread, SQLalchemy
body: <p>My Python endless loop detect actions, which run threads - Python next functions. Every of this threads is used SQLalchemy object to operate on (the same) MySQL DB. This threads are starting in period of many hours and even days or for several at once- depend on users activity. 
  What is /should be optimal way to use DB? All of them could use the same global db object or each of them should create the new-one? </p>