<< 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 7:  MySQL Table Types 533 CREATE TABLE T (A CHAR(20), B INT, UNIQUE (A(5))) TYPE = InnoDB; If you create a non-unique index on a pre x of a column, InnoDB will create an index over the whole column.    INSERT DELAYED is not supported for InnoDB tables.    The MySQL  LOCK TABLES  operation does not know of InnoDB row level locks set in already completed SQL statements: this means that you can get a table lock on a table even if there still exist transactions of other users which have row level locks on the same table.  Thus your operations on the table may have to wait if they collide with these locks of other users.  Also a deadlock is possible.  However, this does not endanger transaction integrity, because the row level locks set by InnoDB will always take care of the integrity.  Also, a table lock prevents other transactions from acquiring more row level locks (in a con icting lock mode) on the table.    You cannot have a key on a BLOB or TEXT column.    A table cannot contain more than 1000 columns.    DELETE FROM TABLE  does not regenerate the table but instead deletes all rows, one by one, which is not that fast.  In future versions of MySQL you can use TRUNCATE which is fast.    The default database page size in InnoDB is 16 kB. By recompiling the code one can set it from 8 kB to 64 kB. The maximun row length is slightly less than half of a database page  in  versions  <=  3.23.40  of  InnoDB.  Starting  from  source  release  3.23.41  BLOB and TEXT columns are allowed to be < 4 GB, the total row length must also be < 4 GB. InnoDB does not store elds whose size is <= 128 bytes on separate pages.  After InnoDB has modi ed the row by storing long elds on separate pages, the remaining length of the row must be less than half a database page.  The maximun key length is 7000 bytes.    On some operating systems data les must be  <  2 GB. The combined size of log les must be < 4 GB.    The maximum tablespace size is 4 billion database pages.  This is also the maximum size for a table.  The minimum tablespace size is 10 MB. 7.5.15  InnoDB Contact Information Contact information of Innobase Oy, producer of the InnoDB engine. Web site: http://www. E-mail:  Heikki.Tuuri@innodb.com phone: 358-9-6969 3250 (office) 358-40-5617367 (mobile) Innobase Oy Inc. World Trade Center Helsinki Aleksanterinkatu 17 P.O.Box 800 00101 Helsinki Finland 7.6  BDB or BerkeleyDB Tables
     

    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