Which is faster, C & MySql or PHP & MySql?

I need to do 3 million inserts into a database (mysql). PHP seems slow when it comes to embedding. I just need to check if C is faster when executing codes.

+4
source share
2 answers

The bottleneck is probably the database, regardless of the programming language.

You should study batch inserts and disable indexes during insertion to speed up the process.

+11
source

C is really faster, but I also think the database is a big bottleneck

0
source

All Articles