Wrox Programmer Forums
|
PHP Databases Using PHP in conjunction with databases. PHP questions not specific to databases should be directed to one of the other PHP forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the PHP Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 16th, 2004, 09:17 AM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 463
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to madhukp
Default MySQL table types

Could somebody please tell about the various types of DB tables of MySQL like

MyISAM
ISAM
Heap
Berkely DB
Merge etc. What is the significance of this ? Which one of this will be fastest in terms of retrieval / storage ?

Thanks

Madhu
 
Old December 16th, 2004, 03:44 PM
Authorized User
 
Join Date: Dec 2004
Posts: 53
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to peg110
Default

Message Preview
One of the main difference is that MyISAM, ISAM, HEAP, Merge are all NON TRANSACTION SAFE tables where InnoDB and Berkely DB ARE transaction safe. (i.e. they use a transaction logs.) There are definite benefits to both. Completeness and integrity of the data is a benefit of of a Transaction Safe table type. If there is/was a problem with a transaction, it's easy to undo ALL changes as a result. The cost is typically overhead of performance and space for the transaction logs.

The Non Transaction Safe tables are (generally) quicker without the overhead of a transaction log (gaining some performance and drive space) but if there is a problems, entries to some tables are permanant even though others failed.

You can read more about it at http://docs.biostat.wustl.edu/cgi-bi...able%2520types


Paul Gardner
------------------
PHP-LIVE help
Via Web @ http://www.mnetweb.co.uk/irc
Via IRC Client pgardner.net:6667
room #PHP





Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing table field types in VB scubasteve Access VBA 1 June 12th, 2006 12:24 PM
indexing MySQL table crmpicco MySQL 5 January 20th, 2006 06:00 AM
mysql table hosefo81 PHP Databases 1 February 20th, 2004 04:09 PM
mysql discount table hosefo81 PHP Databases 0 December 12th, 2003 10:58 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.