<< 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

    512 MySQL Technical Reference for Version 4.0.3 innodb_buffer_pool_size The size of the memory bu er InnoDB uses to cache data and  indexes  of  its  tables.   The  bigger  you  set  this  the less  disk  I/O  is  needed  to  access  data  in  tables.   On  a dedicated database server you may set this parameter up to 80% of the machine physical memory size.  Do not set it too large, though, because competition of the physical memory may cause paging in the operating system. innodb_additional_mem_ pool_size Size  of  a  memory  pool  InnoDB  uses  to  store  data  dic- tionary  information  and  other  internal  data  structures. A sensible value for this might be 2M, but the more ta- bles you have in your application the more you will need to allocate here.  If InnoDB runs out of memory in this pool, it will start to allocate memory from the operating system, and write warning messages to the MySQL error log. innodb_file_io_threads Number  of   le  I/O  threads  in  InnoDB.  Normally,  this should be 4, but on Windows disk I/O may bene t from a larger number. innodb_lock_wait_timeout Timeout in seconds an InnoDB transaction may wait for a lock before being rolled back.  InnoDB automatically de- tects transaction deadlocks in its own lock table and rolls back the transaction.  If you use LOCK TABLES command, or other transaction-safe table handlers than InnoDB in the same transaction,  then a deadlock may arise which InnoDB cannot notice.  In cases like this the timeout is useful to resolve the situation. innodb_flush_method (Available from 3.23.40 up.)  The default value for this is fdatasync.  Another option is O_DSYNC. 7.5.3  Creating InnoDB Tablespace Suppose you have installed MySQL and have edited `my.cnf' so that it contains the nec- essary InnoDB con guration parameters.   Before starting MySQL you should check that the directories you have speci ed for InnoDB data les and log les exist and that you have access rights to those directories.  InnoDB cannot create directories, only les.  Check also you have enough disk space for the data and log les. When you now start MySQL, InnoDB will start creating your data les and log les. InnoDB will print something like the following: ~/mysqlm/sql > mysqld InnoDB: The first specified datafile /home/heikki/data/ibdata1 did not exist: InnoDB: a new database to be created! InnoDB: Setting file /home/heikki/data/ibdata1 size to 134217728 InnoDB: Database physically writes the file full: wait... InnoDB: datafile /home/heikki/data/ibdata2 did not exist:
     

    Customer Support CentreMySQL Reference Manual

    Web Hosting Services
    UNIX WEB HOSTING
    MERCHANT ACCOUNTS
    DEDICATED SERVERS
    E-COMMERCE HOSTING
    SUPPORT & FAQ's
    TERMS OF USE
    Domain Services
    DOMAIN
    REGISTRATION
    MANAGE
    YOUR ACCOUNT
    SUPPORT & FAQ's
    TERMS OF USE
    Corporate Info
    ABOUT US
    OUR NETWORK
    CONTACT US
    SITE MAP
    Copyright © 2002 Dyntex Group, Inc. All Rights Reserved
  • 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