WeberDev.com PHP and MySQL Code

LOG IN
BEGINNER GUIDESPHP CLASSESCODE SEARCHARTICLES SEARCHPHP FORUMSPHP MANUALPHP FUNCTIONS LISTWEB SITE TEMPLATES
Start typing to search for PHP and MySQL Code Snippets and Articles Search


Submit a code Example / Snippet Join us on FaceBook
Submit a code Example / Snippet Submit Your Code
Poker Tournaments Poker Tournaments
Poker Guide for Developers Poker Guide for Developers
Search Engine Optimization Monitor SEO Monitor
Web Site UpTime Monitor UpTime Monitor
Your Personal Examples List My Favorite Examples
Your Personal Articles List My Favorite Articles
Edit Account Info Update Your Profile
PHP Code Search
Web Development Forums
Learn MySQL Playing Trivia
PHPBB2 Templates
Web Development Resources
Web Development Content
PHPClasses
PHP Editor
PHP Jobs
Vision.To Design
Ajax Tutorials
PHP Programming Help
PHP/MySQL Programming
Webmaster Resources
Webmaster Forum
XML meta language
website builder
פרייסז - השוואת מחירים בסופר
ZeroLag.com
Texas Holdem Poker Evangelists

Go Back Add a Comment Send this Article to a friend Add this Article to your personal favoritest for easy future access to your favorite Code Examples and Articles. Submit a code example Print this code example.
BACK ADD A COMMENT SEND TO A FRIEND ADD TO MY FAVORITES SUBMIT AN ARTICLE PRINT
Title : Introduction to MySQL 5.5
Categories : Databases, MySQL
MySQL.com
MySQL.com
Date : 2010-04-13
Grade : 1 of 5 (graded 2 times)
Viewed : 5492
Search : More Articles by MySQL.com
Action : Grade This Article
Tools : My Favotite Articles


Submit your own code examples 
 


What's New in MySQL 5.5
It's been a busy year for MySQL. Perhaps you've heard. Here are some recent improvements to the speed, scalability, and user-friendliness of the MySQL database and the InnoDB storage engine that we think deserve their own headlines. Now is a great time to beta test the 5.5 release and give feedback to the MySQL engineering team.

Improved Performance and Scalability

- InnoDB Becomes Default Storage Engine

MySQL sometimes gets knocked about features such as as ACID-compliant transactions, foreign key support, and crash recovery. These features are strongest in the InnoDB storage engine, but MyISAM has always been the default, so new users could get the wrong impression. Starting in MySQL 5.5, InnoDB is the default storage engine, so that everyone can see this reliability and stability out of the box. As a bonus, the level of InnoDB in MySQL 5.5 is InnoDB 1.1, a rearchitected InnoDB with many performance and scalability features over and above the built-in InnoDB in 5.1 and before. (Since we are unifying the InnoDB within MySQL using the best and fastest technology, we are phasing out the Plugin versus Built-In distinction; MySQL 5.5 comes with the latest and greatest InnoDB 1.1.) Read more about the latest InnoDB enhancements below.

- Better Metadata Locking within Transactions

If a table is referenced within a transaction, no other transaction can perform DDL such as DROP TABLE or ALTER TABLE until the first transaction commits. Previously, the lock was released at the end of a statement rather than the whole transaction. Read more about metadata locking within transactions.

- Improved Performance and Scale on Win32 and Win64

If your company uses Windows by itself or in a mixed environment, you probably want to deploy MySQL databases on Windows. To make that a reality, the MySQL team has incorporated a number of Windows-specific features for speeding up and scaling up.


  • Windows API calls for much of the I/O done inside MySQL (a community contribution, hat tip to Jeremiah Gowdy).
  • Ability to build engines and other plugins as DLLs on Windows.
  • Network support for auto-detecting the MAC address (a community contribution, hat tip to Chris Runyan).
  • Much cleanup and simplifying of threading code.

    Improved Availability
    Semi-Synchronous Replication

    This feature improves the reliability of failover, to avoid failing over to a slave that is missing some committed changes from the master. You can choose to have commits on the master node wait until at least one slave has logged the relevant events for the transaction. The semi-synchronous aspect is because the master does not wait for all the slaves to acknowledge, and there is a protocol to avoid the master waiting too long if the slaves fall behind. Read more about semisynchronous replication.

    - Replication Heartbeat

    In replication, the heartbeat is a message sent at regular intervals from a master node to the slave nodes. You can configure the heartbeat period. If the message is not received, the slave knows that the master node has failed. You can now avoid the spurious relay log rotation when the master is idle, rely on an more precise failure detection mechanism, and have an accurate estimation for seconds behind master. (This is a different feature than Linux heartbeat, which is a similar health-checking system for cluster nodes.) To use this feature, you issue commands like:


  • STOP SLAVE;
    CHANGE MASTER TO master_heartbeat_period= milliseconds;
    START SLAVE;
    SHOW STATUS like 'slave_heartbeat period'
    SHOW STATUS like 'slave_received_heartbeats'


    Read More









    Creating an IE-Only Database Driven Menu System With PHP, MySQL and DHTML
    Categories : PHP, MySQL, Databases, DHTML
    Unicode and Other Funny Characters
    Categories : Databases, MySQL, Unicode
    MySQL Access Control System - Grant Tables
    Categories : Databases, MySQL, Security
    PHP, MySQL and Authentication 101
    Categories : PHP, Databases, MySQL, Authentication
    Building A Persistent Shopping Cart With PHP and MySQL
    Categories : PHP, MySQL, Databases, Ecommerce
    Case Study: Handling MySQL Growth With a PHP Class
    Categories : Databases, MySQL, PHP
    How Logs Work On MySQL With InnoDB Tables
    Categories : Databases, MySQL, InnoDB
    Practical Date and Time examples with PHP and MySQL
    Categories : Databases, MySQL, PHP, Date/time
    Managing Foreign Key Relationships In MySQL Using SQLyog
    Categories : Databases, MySQL, SQLyog
    Creating Users and Setting Permissions in MySQL
    Categories : Databases, MySQL
    Speaking SQL part 2
    Categories : General SQL, Databases, MySQL
    Start Using MySQL
    Categories : MySQL, Databases, To MySQL, Beginner Guides
    Simple Connection to MySQL with PHP
    Categories : PHP, MySQL, Databases
    Using Transactions In MySQL Part 1
    Categories : Databases, MySQL, Transactions
    Miles To Go Before I Sleep...
    Categories : PHP, Calendar, Databases, MySQL