Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4017378
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T09:51:13+00:00 2026-05-20T09:51:13+00:00

I did a test on a table (with innodb and myisam), which use PHP

  • 0

I did a test on a table (with innodb and myisam), which use PHP to simulate 2 set of update, as follow

set 1. // execute 1000 times
for ($i = 0; $i < 1000; $i++)
{ update with pdo }

set 2. // execute 1 time
{ update with pdo }

normally, each update take ~0.001x sec with myisam and ~0.03x sec with innodb, so not surprise for set 1 use 1000 more times then set 2, however, during testing set 1, I open set 2 at another browser windows, what I expect is the result will return within the total time of set 1, but it seems it wait for set 1 finish, rather then insert into the queue during set 1 running.

Am I did something wrong or my concept is wrong?
And is the update time slow?(my pc config is AMD Athlon 64 4200+, 2G RAM, Windows 7, MySQL 5.5.9, nginx 0.8.5, PHP 5.3.5)

thanks a lot~!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T09:51:14+00:00Added an answer on May 20, 2026 at 9:51 am

    For MyISAM tables, concurrent inserts are an issue. See

    http://dev.mysql.com/doc/refman/5.1/en/concurrent-inserts.html

    If you are inserting to an InnoDB table with an auto_increment column, there’s a discussion of locking issues here:

    http://dev.mysql.com/doc/refman/5.1/en/innodb-auto-increment-handling.html

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

There was an interesting question in a practice test that I did not understand
How can I test my site in AOL without installing AOL? I did that
Did you ever use Oracle auditing features on a production db? How did that
I have 5 MySQL InnoDB tables: Test,InputInvoice,InputLine,OutputInvoice,OutputLine and each is mapped and functioning in
we have a table in an Oracle Database which contains a column with the
I read my csv using the line below data = FCSV.table(test.csv, {:quote_char => '',
I have a table which has an unique key with 2 constraints in it.
i did a test about DBCC IND and DBCC page . Engine: SQL Server
I'm experiencing the same problem as with: django - "manage.py test" fails "table already
In my project I'd like to use T4 to generate my enums. To test

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.