Search Postgresql Archives

PostgreSQL vs. InnoDB performance

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On a particular system, loading 1 million rows (100 bytes, nothing 
fancy) into PostgreSQL one transaction at a time takes about 90 
minutes.  Doing the same in MySQL/InnoDB takes about 3 minutes.  InnoDB 
is supposed to have a similar level of functionality as far as the 
storage manager is concerned, so I'm puzzled about how this can be.  
Does anyone know whether InnoDB is taking some kind of questionable 
shortcuts it doesn't tell me about?  The client interface is DBI.  This 
particular test is supposed to simulate a lot of transactions happening 
in a short time, so turning off autocommit is not relevant.

As you might imagine, it's hard to argue when the customer sees these 
kinds of numbers.  So I'd take any FUD I can send back at them. :)

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
      subscribe-nomail command to majordomo@xxxxxxxxxxxxxx so that your
      message can get through to the mailing list cleanly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux