<< previous page   --   table of contents   --   next page >>
| | | | | | | |
  • Return to Table of Contents
  • Table of Contents

    1. General Information
    2. MySQL Installation
    3. Tutorial Introduction
    4. Database Administration
    5. MySQL Optimisation
    6. MySQL Language Reference
    7. MySQL Table Types
    8. MySQL APIs
    9. Extending MySQL

    Chapter 5:  MySQL Optimisation 337 solid odbc 1801 sybase odbc 4802 In the above test MySQL was run with a 8M index cache. We have gathered some more benchmark results at http://www.mysql.com/information/benchmarks Note that Oracle is not included because they asked to be removed.  All Oracle benchmarks have to be passed by Oracle! We believe that makes Oracle benchmarks very biased because the above benchmarks are supposed to show what a standard installation can do for a single client. To run the benchmark suite, you have to download a MySQL source distribution, install the perl DBI driver, the perl DBD driver for the database you want to test and then do: cd sql-bench perl run-all-tests --server=# where # is one of supported servers.  You can get a list of all options and supported servers by doing run-all-tests --help. crash-me  tries to determine what features a database supports and what its capabilities and limitations are by actually running queries.  For example, it determines:    What column types are supported    How many indexes are supported    What functions are supported    How big a query can be    How big a VARCHAR column can be We can nd the result from crash-me on a lot of di erent databases at http://www.mysql. 5.1.5  Using Your Own Benchmarks You should de nitely benchmark your application and database to nd out where the bot- tlenecks  are.   By   xing  it  (or  by  replacing  the  bottleneck  with  a  'dummy  module')  you can then easily identify the next bottleneck (and so on).  Even if the overall performance for your application is sucient, you should at least make a plan for each bottleneck, and decide how to solve it if someday you really need the extra performance. For an example of portable benchmark programs, look at the MySQL benchmark suite.  See Section 5.1.4 [MySQL Benchmarks], page 336.  You can take any program from this suite and modify it for your needs.  By doing this, you can try di erent solutions to your problem and test which is really the fastest solution for you. It is very common that some problems only occur when the system is very heavily loaded. We have had many customers who contact us when they have a (tested) system in production and have encountered load problems. In every one of these cases so far, it has been problems with basic design (table scans are  not good  at high load) or OS/Library issues.  Most of this would be a lot easier to x if the systems were not already in production. To avoid problems like this, you should put some e ort into benchmarking your whole appli- cation under the worst possible load!  You can use Super Smack for this, and it is available at:  http://www.mysql.com/Downloads/super-smack/super-smack-1.0.tar.gz.  As the
     

    Customer Support CentreMySQL Reference Manual

    Web Hosting Services
    UNIX WEB HOSTING
    SUPPORT & FAQ's
    TERMS OF USE
    Domain Services
    DOMAIN REGISTRATION
    MANAGE YOUR ACCOUNT
    SUPPORT & FAQ's
    TERMS OF USE
    SITE MAP
    Home
    Hosting Plans | Domain Registration | About Us | Contact Us | Site Map
    Terms of Use | Privacy Policy | Guarantees
    Merchant Accounts

    SpiritHost - web hosting for spiritual and education sites
    SpiritHit.com - Religious and Spiritual Portal
  • Return to Table of Contents
  • Back to top

  • Web Hosting: Manuals & FAQ's

    1. Unix-Based Web Hosting
    2. Unix Dedicated Servers
    3. Windows Dedicated Servers
    4. CuteFTP User’s Guide
    5. CuteHTML User’s Guide
    6. WS_FTP Pro User's Guide
    7. Miva Order User's Guide
    8. Miva Merchant User's Guide