Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
mysql connection pool?
#1
Ho folks.

I need to use a mysql connector to write/read data to/from a table every few seconds.

In terms of keeping overhead as low as possible, what should I keep/reuse/delete? Does the unix/python connector pool the same as Windows, or do I need to be more careful and keep a cursor open?

The read thread will only ever be reading and the write thread will only ever be writing.

Thanks.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Issues with MySql Connection EMG2024 2 935 May-29-2024, 03:11 PM
Last Post: EMG2024
  Virtual Env changing mysql connection string in python Fredesetes 0 954 Dec-20-2023, 04:06 PM
Last Post: Fredesetes
  Mysql and mysql.connector error lostintime 2 1,647 Oct-03-2023, 10:25 PM
Last Post: lostintime
  Multiprocessing Pool Multiple Instances How to Kill by Pool ID sunny9495 0 1,416 Nov-16-2022, 05:57 AM
Last Post: sunny9495
  Mysql error message: Lost connection to MySQL server during query tomtom 6 21,203 Feb-09-2022, 09:55 AM
Last Post: ibreeden
  Python MYSQL connection does not work after 1h idle zazas321 9 12,187 Oct-07-2021, 12:02 PM
Last Post: ndc85430
  Serial connection connection issue Joni_Engr 15 11,898 Aug-30-2021, 04:46 PM
Last Post: deanhystad
  Pool multiprocessing - know current status in loop? korenron 0 2,112 Jul-28-2021, 08:49 AM
Last Post: korenron
  pool mysql error - not catch by try\except? korenron 1 2,848 Jul-05-2021, 11:26 AM
Last Post: ibreeden
  Python - Import file sequence into Media Pool jensenni 1 2,888 Feb-02-2021, 05:11 PM
Last Post: buran

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020