Menu

executemany() function is too large

Help
Stever
2006-04-29
2012-09-19
  • Stever

    Stever - 2006-04-29

    I am running a executemany() command that is too large for mysql to handle. I can increase the "max_allowed_packet" command in mysql, but I was wondering if there's a way to split the command into smaller queries at the client side. Does executemany have some sort of built-in function to split the query into smaller, more palateable queries for mysql?

    Do I have to program this in? If so, how should I determine the size of the query that executemany() is about to perform?

     
    • Andy Dustman

      Andy Dustman - 2006-05-01

      It does not. Either split your argument list into smaller pieces or increase max_allowed_packet.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.