• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
insert_batch performance and limitations??

Hello everybody!
I'm writing an application that sends sms and I'm keeping (obviously) a copy of the message on the database. Till now, for prototyping purposes, I was inserting each message into the database one by one, but for bulk sending messages I will use insert_batch to fasten the whole process. I'm talking about 1000-5000, and maybe more, sms (inserts) per user request at one time.

My question is, is insert_batch going to be sufficient, fast enough and bug free to such big amount of inserts? Or is it being used for less inserts per batch job. Is it safer or faster to make a custom query with multiple rows in one INSERT? Are there any limitation on the amount of rows that can be inserted with insert_batch?

Thank you in advance.
I will keep you informed of my progress with that for anyone that cares. Smile

Sorry for the bump but anyone got any info for that matter?

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.