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
  Need to change connection and queries from SQLite to MySQL Bxapocalypse1 2 1,300 Oct-20-2025, 11:35 PM
Last Post: Pedroski55
  Issues with MySql Connection EMG2024 2 1,700 May-29-2024, 03:11 PM
Last Post: EMG2024
  Virtual Env changing mysql connection string in python Fredesetes 0 1,462 Dec-20-2023, 04:06 PM
Last Post: Fredesetes
  Mysql and mysql.connector error lostintime 2 2,562 Oct-03-2023, 10:25 PM
Last Post: lostintime
  Multiprocessing Pool Multiple Instances How to Kill by Pool ID sunny9495 0 1,959 Nov-16-2022, 05:57 AM
Last Post: sunny9495
  Mysql error message: Lost connection to MySQL server during query tomtom 6 24,386 Feb-09-2022, 09:55 AM
Last Post: ibreeden
  Python MYSQL connection does not work after 1h idle zazas321 9 15,966 Oct-07-2021, 12:02 PM
Last Post: ndc85430
  Serial connection connection issue Joni_Engr 15 16,483 Aug-30-2021, 04:46 PM
Last Post: deanhystad
  Pool multiprocessing - know current status in loop? korenron 0 2,503 Jul-28-2021, 08:49 AM
Last Post: korenron
  pool mysql error - not catch by try\except? korenron 1 3,559 Jul-05-2021, 11:26 AM
Last Post: ibreeden

Forum Jump:

User Panel Messages

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