Your SlideShare is downloading. ×
Firebird2.5 Benchmarks(English)20091031
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Firebird2.5 Benchmarks(English)20091031

8,307

Published on

Benchmark tests for Firebird against MySQL and PostgreSQL usgin DbBench. DbBench is a TPC-B port running on Windows with GUI.

Benchmark tests for Firebird against MySQL and PostgreSQL usgin DbBench. DbBench is a TPC-B port running on Windows with GUI.

Published in: Technology, Sports
2 Comments
1 Like
Statistics
Notes
  • Hi Slapo

    I tested MySQL with InnoDB. And, all these databases' configuration are default.

    Used Linux platform is CentOS5.3, detail is:

    # uname -a
    Linux 2.6.18-164.6.1.el5 #1 SMP Tue Nov 3 16:18:27 EST 2009 i686 athlon i386 GNU/Linux
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Those benchmarks are interesting, but I think information about PostgreSQL's and MySQL's configuration should be there as well as the engine MySQL used - there are at least two possible options (marked as stable), InnoDB and PBXT. Comparing them with Firebird on Linux with XFS would be nice too.
    The performance difference between EXT3 and XFS is most interesting, I expected a difference but not that much. Were there any file system parameters changed from their defaults? What kernel version were the benchmarks done with?

    Thanks for the presentation :)
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
No Downloads
Views
Total Views
8,307
On Slideshare
0
From Embeds
0
Number of Embeds
32
Actions
Shares
0
Downloads
57
Comments
2
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. FirebirdJapanUsersAssociation TsutomuHayashi Firebird2.5 BenchMarks - Performance VS MySQL / PostgreSQL -
  • 2. DBBench
    • pgbench(PostgreSQL) port for Firebird/MySQL
      • Delphi + dbExpress Mutli Thread impliment
      • Change dbExpress drivers enables for other RDBMSs
      • Same code/Same binary testing for Firebird/MySQL/PostgreSQL
      • Using GUI for easy use
      • Most easiest Database Benchmark
    Copyright(c) 2009 Tsutomu Hayashi All rights reserved.
  • 3. TPC-B
    • TPC is the benchmark tests definition by " Transaction Processing Performanc Counsil"
      • TPC-B is defined at 1990, deplicated 1995
      • This test assume batch operation with many parallel transactions.
      • Simulation dealing account between branches in bank.
    Copyright(c) 2009 Tsutomu Hayashi All rights reserved.
  • 4. TPC-B
    • Usin 4 tables
      • create table branches(bid int not null,bbalance int,filler char(88));
      • create table tellers(tid int not null,bid int,tbalance int,filler char(84));
      • create table accounts(aid int not null,bid int,abalance int,filler char(84));
      • create table history(tid int,bid int,aid int,delta int,mtime timestamp,filler char(22))
    Copyright(c) 2008 Tsutomu Hayashi All rights reserved. Copyright(c) 2009 Tsutomu Hayashi All rights reserved.
  • 5. TPC-B
      • Processing is
      • update accounts set abalance = abalance + :delta where aid = :aid;
      • select abalance from accounts where aid = :aid;
      • update tellers set tbalance = tbalance + :delta where tid = :tid;
      • update branches set bbalance = bbalance + :delta where bid = :bid;
      • insert into history(tid,bid,aid,delta) values(:tid,:bid,:aid,:delta);
    Copyright(c) 2008 Tsutomu Hayashi All rights reserved. Copyright(c) 2009 Tsutomu Hayashi All rights reserved.
  • 6. Scaling Factor
      • Scaling factor is test scale
      • Scaling factor affects
        • Branch count equals scaling factor
        • Teller count is scaling factor * 10
        • Account count is scaling factor * 100,000
      • So I use scaling factor 100
        • Branch is 100, Teller is 1000, Accounts is 10,000,000
        • Firebird database almost 600MB, MySQL is almost 1.2GB
    Copyright(c) 2008 Tsutomu Hayashi All rights reserved. Copyright(c) 2009 Tsutomu Hayashi All rights reserved.
  • 7. Copyright(c) 2009 Tsutomu Hayashi All rights reserved. Benchmark Environment HP ML115G5 AMD AthlonTM 1640B ( 2.7GHz ) AMD PhenomTM 9350e ( 2.0GHz ) ECC 512MB DDR2-6400 Non-ECC 4GB DDR2-6400 HDD is standard SATA160GB
  • 8. Firebird 2.1SS vs Firebird 2.5SS
    • Firebird2.1 vs Firebird2.5
    Copyright(c) 2008 Tsutomu Hayashi All rights reserved. @Windows Copyright(c) 2009 Tsutomu Hayashi All rights reserved.
  • 9. Firebird 2.1CS vs Firebird 2.5CS
    • Firebird2.1 vs Firebird2.5
    Copyright(c) 2008 Tsutomu Hayashi All rights reserved. @Windows Copyright(c) 2009 Tsutomu Hayashi All rights reserved.
  • 10. Firebird 2.1SS vs Firebird 2.5 SC
    • Firebird2.1 vs Firebird2.5
    Copyright(c) 2008 Tsutomu Hayashi All rights reserved. @Windows Copyright(c) 2009 Tsutomu Hayashi All rights reserved.
  • 11. Firebird 2.1SS vs Firebird 2.5SS
    • Firebird2.1 vs Firebird2.5
    Copyright(c) 2008 Tsutomu Hayashi All rights reserved. @Linux draw Copyright(c) 2009 Tsutomu Hayashi All rights reserved.
  • 12. Firebird 2.1CS vs Firebird 2.5CS
    • Firebird2.1 vs Firebird2.5
    Copyright(c) 2008 Tsutomu Hayashi All rights reserved. @Linux Copyright(c) 2009 Tsutomu Hayashi All rights reserved.
  • 13. Firebird 2.1SS vs Firebird 2.5SC
    • Firebird2.1 vs Firebird2.5
    Copyright(c) 2008 Tsutomu Hayashi All rights reserved. @Linux Copyright(c) 2009 Tsutomu Hayashi All rights reserved.
  • 14. MySQL 5.1 vs Firebird 2.5SC
    • MySQL5.1 vs Firebird2.5
    Copyright(c) 2008 Tsutomu Hayashi All rights reserved. @Windows Copyright(c) 2009 Tsutomu Hayashi All rights reserved.
  • 15. MySQL 5.1 vs Firebird 2.5SC
    • MySQL5.1 vs Firebird2.5
    Copyright(c) 2008 Tsutomu Hayashi All rights reserved. @Linux Copyright(c) 2009 Tsutomu Hayashi All rights reserved.
  • 16. MySQL 5.1 vs Firebird 1.5SS
    • MySQL5.1 vs Firebird2.5
    Copyright(c) 2008 Tsutomu Hayashi All rights reserved. @Linux draw Copyright(c) 2009 Tsutomu Hayashi All rights reserved.
  • 17. PostgreSQL 8.4.1 vs Firebird 2.5CS
    • PostgreSQL8.4 vs Firebird2.5
    Copyright(c) 2008 Tsutomu Hayashi All rights reserved. @Windows Copyright(c) 2009 Tsutomu Hayashi All rights reserved.
  • 18. PostgreSQL 8.4.1 vs Firebird 2.5CS
    • PostgreSQL8.4 vs Firebird2.5
    Copyright(c) 2008 Tsutomu Hayashi All rights reserved. @Linux Copyright(c) 2009 Tsutomu Hayashi All rights reserved.
  • 19. on Linux, Firebird is very slow!! Copyright(c) 2008 Tsutomu Hayashi All rights reserved. @Linux Copyright(c) 2009 Tsutomu Hayashi All rights reserved.
  • 20. Ext3 vs XFS
    • I assume Filesystem? Using Fire bird2.5SC
    Copyright(c) 2008 Tsutomu Hayashi All rights reserved. @Linux Copyright(c) 2009 Tsutomu Hayashi All rights reserved.
  • 21. Linux+XFS is very Fast!
    • Test with XFS for many clients
    Copyright(c) 2008 Tsutomu Hayashi All rights reserved. @Linux Copyright(c) 2009 Tsutomu Hayashi All rights reserved.
  • 22. Results
    •   Benchmarks are rough estimation at all.
    •   Firebird2.5 is very fast than other RDBMSs.
    •   Normaly running many clients over 500 .
    Copyright(c) 2009 Tsutomu Hayashi All rights reserved.
  • 23. Coming Soon
    • Japanese publisher "Shoei-sya" will publish new Firebird book in Japan at December 2009.
    Copyright(c) 2009 Tsutomu Hayashi All rights reserved.

×