<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>TheUnical Technologies Blog &#187; MySql</title>
	<atom:link href="http://blog.theunical.com/category/databases/mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.theunical.com</link>
	<description>TheUnical Technologies Official Blog</description>
	<lastBuildDate>Fri, 30 Jul 2010 03:56:03 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Asia&#8217;s Largest Open Source Conference! In Chennai INDIA</title>
		<link>http://blog.theunical.com/javascript/asias-largest-open-source-conference-in-chennai-india/</link>
		<comments>http://blog.theunical.com/javascript/asias-largest-open-source-conference-in-chennai-india/#comments</comments>
		<pubDate>Thu, 10 Jun 2010 04:57:47 +0000</pubDate>
		<dc:creator>Steven Robert</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[LAMP]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MySql]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Postgres]]></category>
		<category><![CDATA[Technology News]]></category>
		<category><![CDATA[CouchDB]]></category>
		<category><![CDATA[Ingres]]></category>
		<category><![CDATA[Java Script]]></category>
		<category><![CDATA[NoSQL]]></category>
		<category><![CDATA[Open Source Conference]]></category>
		<category><![CDATA[PHP 5]]></category>
		<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[SQLite & Others]]></category>

		<guid isPermaLink="false">http://blog.theunical.com/?p=306684</guid>
		<description><![CDATA[Asia&#8217;s largest conference on open source, to be held from 19th-21st September, 2010 at Chennai, India (more: http://osidays.com).
OSI Days 2010 is the 7th and latest conference in the rich legacy established by the Linux Asia series of conference in India. Organised by the Forum for Open Source Initiatives in India (FOSII) and the Linux for [...]]]></description>
			<content:encoded><![CDATA[<p>Asia&#8217;s largest conference on open source, to be held from 19th-21st September, 2010 at Chennai, India (more: <a href="http://massmail.efydigital.com/efy/lt.php?id=fE9VA1UeAVFcHgYFAAcHAxhGB1pTFFkSXlhWT1JXW1FfXAhRAFp0BQgDW10dUV9f" target="_blank">http://osidays.com</a>).</p>
<p>OSI Days 2010 is the 7th and latest conference in the rich legacy established by the Linux Asia series of conference in India. Organised by the Forum for Open Source Initiatives in India (FOSII) and the Linux for You magazine (part of the EFY Group), OSI Days serves as the focal point for the convergence of the Open Source Community and Industry in Asia.</p>
<p>The conference is targeted at the Policy &amp; Decision makers in a technological ecosystem &#8211; Government, Academicians, CXOs, SMEs, Developers and hardcore hackers. OSI Days 2010 will bring together over 3000 of the finest people in the open source domain together to discuss and confer on varied and relevant topics including:</p>
<ul>
<li>Mobile: App Development, Game Development, Android,      iPhone, Symbian &amp; Others</li>
<li><strong>IT Managers / Business: Legal, Community Management,      Best Practices, Marketing Strategies, Open Web / Standardization, Business      Models </strong></li>
<li>Cloud Computing: Tools and Platforms, Cloudnomics,      Cloud for Dummies &amp; Others</li>
<li>Government: Applications, eGovernance , Case Study,      Legal</li>
<li>Hardware: Infrastructure Management, Security, Semi      Embedded Devices, Parallelization, Grid, Multi Core, Multi Threading,      Virtualization &amp; Others</li>
<li><strong>PHP: PHP 5 &amp; 6, PHP Security, Frameworks,      Architecture / QA &amp; Best Practices </strong></li>
<li><strong>Ruby on Rails </strong></li>
<li><strong>Drupal: Best Practices, Module Development, Theme      Development, Scaling/ Management/ Performance &amp; Others </strong></li>
<li><strong>Databases: MySQL, NoSQL, CouchDB, PostgreSQL, Ingres,      SQLite &amp; Others </strong></li>
<li><strong>Java Script </strong></li>
<li><strong>Developer / Tools &amp; Techniques </strong></li>
</ul>
<p>(For details: please See the conference schedule at: <a href="http://massmail.efydigital.com/efy/lt.php?id=fE9VA1QeAVFcHgYFAAcHAxhGB1pTFFkSXlhWT1JXW1FfXAhRAFp0BQgDW10dUV9f" target="_blank">http://osidays.com/schedule</a>)</p>
<p>The Call for Papers are open for the conference till June 15th (more: <a href="http://massmail.efydigital.com/efy/lt.php?id=fE9VA1ceAVFcHgYFAAcHAxhGB1pTFFkSXlhWT1JXW1FfXAhRAFp0BQgDW10dUV9f" target="_blank">http://osidays.com/call-for-papers</a>). We invite you to come join us in promoting open source technologies and projects by participating at the confernce as speakers and contributing to the knowledge and wisdom at OSI Days 2010.</p>
<p>For any clarifications,<br />
Dhiraj Khare<br />
OSI Days 2010<br />
<a href="mailto:dhiraj@osidays.com" target="_blank">dhiraj@osidays.com</a></p>
<p>Schedule at a Glance</p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="28" valign="top">
<p align="left">
</td>
<td width="106" valign="top">
<p align="center"><strong>A</strong></p>
</td>
<td width="121" valign="top">
<p align="center"><strong>B</strong></p>
</td>
<td width="110" valign="top">
<p align="center"><strong>C</strong></p>
</td>
<td width="135" valign="top">
<p align="center"><strong>D</strong></p>
</td>
<td width="141" valign="top">
<p align="center"><strong>E</strong></p>
</td>
</tr>
<tr>
<td rowspan="2" width="28" valign="top">
<p align="center"><strong>S</strong></p>
<p align="center"><strong>U</strong></p>
<p align="center"><strong>N</strong></p>
<p align="center"><strong>D</strong></p>
<p align="center"><strong>A</strong></p>
<p align="center"><strong>Y</strong></p>
</td>
<td width="106">
<p align="center"><strong>Panel Discussions</strong></p>
<p align="center">
<p align="center">FOSS for Everyone</p>
<p align="center">
<p align="center">
</td>
<td rowspan="2" width="121" valign="top">
<p align="center"><strong>Sessions</strong></p>
<p align="center">
<p align="center"><a href="http://osidays.com/session/php" target="_blank">PHP</a></p>
<p align="center">
</td>
<td rowspan="2" width="110" valign="top">
<p align="center"><strong>Sessions</strong></p>
<p align="center">
<p align="center"><a href="http://osidays.com/session/drupal" target="_blank">Drupal</a></p>
<p align="center">
</td>
<td rowspan="2" width="135" valign="top">
<p align="center"><strong><a href="http://osidays.com/tutorials" target="_blank">Training/Workshop</a></strong></p>
<p align="center">
<p align="center">Mobile Application Development</p>
</td>
<td rowspan="2" width="141" valign="top">
<p align="center"><strong><a href="http://osidays.com/tutorials" target="_blank">Training/Workshop</a></strong></p>
<p align="center">
<p align="center">Zend Certification Training</p>
</td>
</tr>
<tr>
<td width="106" valign="top">
<p align="center"><strong>FOSS Awards</strong></p>
</td>
</tr>
<tr>
<td width="28" valign="top">
<p align="center"><strong>M</strong></p>
<p align="center"><strong>O</strong></p>
<p align="center"><strong>N</strong></p>
<p align="center"><strong>D</strong></p>
<p align="center"><strong>A</strong></p>
<p align="center"><strong>Y</strong></p>
</td>
<td width="106" valign="top">
<p align="center"><strong>Panel Discussions</strong></p>
<p align="center"><strong> </strong></p>
<p>IT Dev Web</td>
<td width="121" valign="top">
<p align="center"><strong>Sessions</strong></p>
<p align="center">
<p align="center">
<p align="center"><a href="http://osidays.com/session/php" target="_blank">PHP</a></p>
</td>
<td width="110" valign="top">
<p align="center"><strong>Panel Discussions</strong></p>
<p align="center"><strong> </strong></p>
<p align="center">IT Implementer</p>
<p align="center">
</td>
<td width="135" valign="top">
<p align="center"><strong><a href="http://osidays.com/tutorials" target="_blank">Training/Workshop</a></strong></p>
<p align="center">
<p align="center">MySQL</p>
</td>
<td width="141" valign="top">
<p align="center"><strong><a href="http://osidays.com/tutorials" target="_blank">Training/Workshop</a></strong></p>
<p align="center">
<p align="center">TBA</p>
</td>
</tr>
<tr>
<td rowspan="2" width="28" valign="top">
<p align="center"><strong>T</strong></p>
<p align="center"><strong>U</strong></p>
<p align="center"><strong>E</strong></p>
<p align="center"><strong>S</strong></p>
<p align="center"><strong>D</strong></p>
<p align="center"><strong>A</strong></p>
<p align="center"><strong>Y</strong></p>
</td>
<td rowspan="2" width="106" valign="top">
<p align="center"><strong> </strong></p>
<p align="center"><strong> </strong></p>
<p align="center">IT Dev Mob</p>
<p align="center"><strong> </strong></p>
<p align="center"><strong> </strong></p>
</td>
<td width="121" valign="top">
<p align="center"><strong>Sessions</strong></p>
<p align="center">Open Source Databases</p>
<p align="center">
</td>
<td rowspan="2" width="110" valign="top">
<p align="center"><strong> </strong></p>
<p align="center"><strong> </strong></p>
<p align="center"><strong>CXO Summit</strong></p>
<p align="center">
<p align="center">
</td>
<td rowspan="2" width="135" valign="top">
<p align="center"><strong><a href="http://osidays.com/tutorials" target="_blank">Training/Workshop</a></strong></p>
<p align="center">
<p align="center">TBA</p>
</td>
<td rowspan="2" width="141" valign="top">
<p align="center"><strong><a href="http://osidays.com/tutorials" target="_blank">Training/Workshop</a></strong></p>
<p align="center">
<p align="center">Open Source Databases</p>
<p align="center">
</td>
</tr>
</tbody>
</table>
<img src="http://blog.theunical.com/?ak_action=api_record_view&id=306684&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://blog.theunical.com/javascript/asias-largest-open-source-conference-in-chennai-india/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySql 5.5 Best Performance on MySQL-Based Column Database</title>
		<link>http://blog.theunical.com/databases/mysql/mysql-5-5-best-performance-on-mysql-based-column-database/</link>
		<comments>http://blog.theunical.com/databases/mysql/mysql-5-5-best-performance-on-mysql-based-column-database/#comments</comments>
		<pubDate>Mon, 03 May 2010 03:01:12 +0000</pubDate>
		<dc:creator>Steven Robert</dc:creator>
				<category><![CDATA[Databases]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[MySQL 5.5]]></category>
		<category><![CDATA[MySql]]></category>
		<category><![CDATA[MySQL-Based Column]]></category>

		<guid isPermaLink="false">http://blog.theunical.com/?p=306231</guid>
		<description><![CDATA[Some technologies come on the information technology landscape and stay, providing long-lasting benefits, whereas others are more of a short term fad and ultimately end up disappearing because the value they supplied was too niche oriented and/or they were quickly supplanted by another technology that is better. Recently, articles, blogs, analyst reports, and other media [...]]]></description>
			<content:encoded><![CDATA[<p>Some technologies come on the information technology landscape and stay, providing long-lasting benefits, whereas others are more of a short term fad and ultimately end up disappearing because the value they supplied was too niche oriented and/or they were quickly supplanted by another technology that is better. Recently, articles, blogs, analyst reports, and other media outlets have been noting the rise and usage of column-oriented databases in the areas of data warehousing, analytics, and other business intelligence/read-intensive situations. And on the MySQL front, there are a couple of column DB’s that are now available for you to use.</p>
<p>Are column-oriented databases a technology that is destined to stay and provide long-term benefits or will it be relegated to the forgotten pile of other software that came on the scene quickly and then disappeared?</p>
<p>Let’s look at three key questions that are consistently asked of column-oriented databases and see how the technology stacks up:</p>
<ol>
<li>How do column-oriented databases work?</li>
<li>Do column-oriented databases really make a difference?</li>
<li>What learning curve (application/database development, etc.) is involved with column-oriented databases?</li>
</ol>
<h2>How Do Column-Oriented Databases Work?</h2>
<p>All the legacy relational databases currently being offered today were and are primarily designed to handle online transactional processing (OLTP) workloads. A transaction (e.g. an online order for a book through Amazon or another Web-based book dealer) typically maps to one or more rows in a relational database, and all traditional RDBMS designs are based on a per row paradigm. For transactional-based systems, this architecture is well-suited to handle the input of incoming data.</p>
<p>However, for applications that are very read intensive and selective in the information being requested, the OLTP database design isn’t a model that typically holds up well. Whereas transactions are row-based, most database queries are column-based. Inserting and deleting transactional data are well served by a row-based system, but selective queries that are only interested in a few columns of a table are handled much better by a column-oriented architecture. On average, a row-based system does 5-10x the physical I/O that a column-based database does to retrieve the same information. Taking into account that physical I/O is typically the slowest part of a query, and that an analytical query typically touches significantly more rows of data that a typical transactional database operation, the performance gap between row-oriented architectures and column-oriented architecture oftentimes widens as the database grows.</p>
<p>To get around their selective query inefficiencies, row-based RDBMS’s utilize indexing, horizontal partitioning, materialized views, summary tables, and parallel processing, all of which can provide benefits for intensive queries, but each comes with their own set of drawbacks as well. For example, while indexing can certainly help queries complete faster in some cases, they also require more storage, impede insert/update/delete and bulk load operations (because the indexes must be maintained as well as the underlying table), and can actually degrade performance when they become heavily fragmented. Moreover, in business intelligence/analytic environments, the ad-hoc nature of such scenarios makes it nearly impossible to predict which columns will need indexing, so tables end up either being over-indexed (which causes load and maintenance issues) or not properly indexed and so many queries end up running much slower than desired.</p>
<p>Those not familiar with a column-oriented database might wonder exactly what they are and what actual benefits they deliver over a legacy RDBMS. It’s important to note that, on the surface, a column-oriented database appears exactly like a traditional relational database: the logical concepts of tables and rows are the same, SQL commands are used to interact with the system, and most other RDBMS paradigms (e.g. security, backup/recovery, etc.) remain unchanged.</p>
<p>But, a column-oriented database specifically designed for analytics overcomes the query limitations that exist in traditional RDBMS systems by storing, managing, and querying data based on columns rather than rows. Because only the necessary columns in a query are accessed rather than entire rows, I/O activities as well as overall query response times can be reduced. In other words, if you don’t have to read an entire row to get the data you need, why do it?</p>
<p>The end result for column databases is the ability to interrogate and return query results against either moderate amounts of information (tens or hundreds of GB’s) or large amounts of data (1-n terabytes) in much less time that standard RDBMS systems can.</p>
<p><img src="http://dev.mysql.com/tech-resources/articles/mysql_column_databases/column_vs_row.jpg" alt="Column Vs Row" width="600" height="419" /></p>
<p>The good news for you who use MySQL is that the storage engine architecture allows column database vendors to plug their technology into MySQL and voila! You now have at your disposal a powerful alternative to other MySQL engines that can really tackle serious data needs.</p>
<h2>Do Column-Oriented Databases Really Make a Difference?</h2>
<p>So column databases look pretty good from a technical blueprint perspective, but do they really walk the talk in the real world? If they do, then their impact will be substantial because, in the end, the back end database used for BI or read-intensive work is the #1 overall contributor to a well running system.</p>
<p>The Data Warehouse Institute (TDWI) did a recent study and found that (not surprisingly…) the most important component in a business intelligence implementation was the database server itself.</p>
<p><img src="http://dev.mysql.com/tech-resources/articles/mysql_column_databases/tdwi_1.jpg" alt="Tdwi 1" width="683" height="184" /></p>
<p>Further, TDWI found that nearly half of those it polled are ready to replace their database used for business intelligence applications with another, more modern alternative. When asked what the technical reasons were for the replacement, the number one answer was the inability for the legacy RDBMS to service queries in the time needed:</p>
<p><img src="http://dev.mysql.com/tech-resources/articles/mysql_column_databases/tdwi_2.jpg" alt="Tdwi 2" width="709" height="184" /></p>
<p>Interesting information, but do column databases really have the capability to help the pain these folks talk about?</p>
<p>As an example of how a column-oriented database can outperform a legacy RDBMS, Calpont recently commissioned a well-known data warehouse industry expert – Bert Scalzo – to benchmark a leading row-based database (of which he has many years of experience in tuning for fast performance) against Calpont’s InfiniDB Server (Community Edition), which has as one of its core features, a column-oriented design. A Star Schema styled benchmark was conducted on two different machines to gauge performance on both mid and large-sized servers. The mid-sized server was an 8 CPU, 8GB RAM, 14 SATA 7200 RAID-0 no cache configuration, and the large server was a 16 CPU, 16GB RAM, 14 SAS 15K RPM RAID-0 with 512MB cache machine. Both were running 64-bit CentOS 5.4. The raw database size was 2TB.</p>
<p>As can be seen on the graphs below, various configurations were used for the row-based database, however no matter the configuration, the column-oriented InfiniDB database consistently beat the legacy database in storage footprint, load time, and query speed:</p>
<p><img src="http://dev.mysql.com/tech-resources/articles/mysql_column_databases/database_obj_size.jpg" alt="Database Obj Size" width="575" height="407" /><br />
<img src="http://dev.mysql.com/tech-resources/articles/mysql_column_databases/load_test.jpg" alt="Load Test" width="575" height="377" /><br />
<img src="http://dev.mysql.com/tech-resources/articles/mysql_column_databases/query_time.jpg" alt="Query Time" width="572" height="393" /><br />
<img src="http://dev.mysql.com/tech-resources/articles/mysql_column_databases/run_time.jpg" alt="Run Time" width="583" height="391" /></p>
<p>In summary, the column database saves on storage costs, supplies faster access to new/incoming data, and runs query much faster than its row-based competitor.</p>
<p>Notice also, that in addition to producing overall faster query speeds, InfiniDB also supplied much better query predictability in terms of query time. Whereas the row-based database produced wildly varying minimum and maximum query times over the various runs, the column database had a far more tightly group of runs when it came to predictable response times. This translates into much better dependability from a business standpoint in ensuring BI reports and queries meet whatever service-level agreements are imposed from business users.</p>
<p>Lastly, whereas the row-based database had been maxed out performance-wise in the benchmark tests, if a user wished to get even faster performance from InfiniDB, they could move from the Community Edition to the Enterprise Edition, which supports massive parallel processing (MPP) and shave the query times literally in half with the addition of a new node. Further, they could get their query time in half again by adding two more nodes (for a total of four) and continue to work in MPP fashion with more nodes until they reach whatever final query times they desire.</p>
<h2>Additional Considerations</h2>
<p>In addition to better performance, the column-orientation aspect of column databases supplies a number of useful benefits to those wishing to deploy fast business intelligence databases.</p>
<p>First, there is no need for indexing as with traditional row-based databases. The elimination of indexing means: (1) less overall storage is consumed in column databases because indexes in legacy RDBMS’s often balloon the storage cost of a database to double or more the initial data size; (2) data load speed is increased because no indexes need to be maintained; (3) ad-hoc DML work speed is increased because no index updates are performed; (4) no indexing design or tuning work is imposed on the database IT staff.</p>
<p>Second, there is far less design work forced on database architects when column databases are used. The need for complicated partitioning schemes, materialized view or summary table designs, and other such work is completely removed because column databases need none of these components to achieve superior query performance.</p>
<h2>What Learning Curve is involved with Column-Oriented Databases?</h2>
<p>You’ll be pleased to find that the learning curve associated with moving from legacy, row-based RDBMS’s to a column database is very small if not completely non-existent. Unlike other databases that came on the scene in prior years which required either different programming paradigms (e.g. object-oriented databases) or learning new design methodologies and database access languages (e.g. OLAP databases), column databases look and handle just like standard relational databases. They use the same ANSI standard SQL language, security methods, and require no development paradigm changes.</p>
<p>In fact, column databases actually lessen the burden on both the development and administration staff because they do away with the need for indexing exercises, data partitioning schemes, supplementary object designs (e.g. materialized views), and other similar tasks. The ease of use factor, therefore, is greater with column databases than it is with traditional RDBMS’s. Moreover, they do not require such specialized in-house expertise to build highly-performant systems.</p>
<h2>Conclusions</h2>
<p>In the end, the answer as to why you should consider a column database over a legacy RDBMS comes down to the fact that column databases do indeed make a big impact in how data warehouses, BI databases, and read-intensive systems perform. This makes column databases a good choice for today as well as a technology whose benefits will extend many years down the road.</p>
<p>To download the Community Edition of InfiniDB that uses MySQL as its front end, as well as free documentation, go to <a title="Downloads | www.infinidb.org | Infinidb, Documentation, Simply, White, Advanced" href="http://www.infinidb.org/downloads">http://www.infinidb.org/downloads</a>. To obtain a trial of InfiniDB Enterprise, please visit: <a href="http://www.calpont.com/">http://www.calpont.com/</a>.</p>
<input id="gwProxy" type="hidden" />
<input id="jsProxy" onclick="jsCall();" type="hidden" />
<img src="http://blog.theunical.com/?ak_action=api_record_view&id=306231&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://blog.theunical.com/databases/mysql/mysql-5-5-best-performance-on-mysql-based-column-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>An Introduction to MySQL 5.5</title>
		<link>http://blog.theunical.com/databases/mysql/an-introduction-to-mysql-5-5/</link>
		<comments>http://blog.theunical.com/databases/mysql/an-introduction-to-mysql-5-5/#comments</comments>
		<pubDate>Mon, 03 May 2010 02:56:12 +0000</pubDate>
		<dc:creator>Steven Robert</dc:creator>
				<category><![CDATA[Databases]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[MySQL 5.5]]></category>
		<category><![CDATA[MySql]]></category>

		<guid isPermaLink="false">http://blog.theunical.com/?p=306228</guid>
		<description><![CDATA[What&#8217;s New in MySQL 5.5
It&#8217;s been a busy year for MySQL. Perhaps you&#8217;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 [...]]]></description>
			<content:encoded><![CDATA[<h2>What&#8217;s New in MySQL 5.5</h2>
<p>It&#8217;s been a busy year for MySQL. Perhaps you&#8217;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.</p>
<h3>Improved Performance and Scalability</h3>
<dl>
<dt>InnoDB Becomes Default Storage Engine</dt>
<dd>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 <q>Plugin</q> versus <q>Built-In</q> distinction; MySQL 5.5 comes with the latest and greatest InnoDB 1.1.) <a href="http://dev.mysql.com/tech-resources/articles/introduction-to-mysql-55.html#innodb">Read more about the latest InnoDB enhancements below.</a></p>
</dd>
<dt>Better Metadata Locking within Transactions</dt>
<dd>If a table is referenced within a transaction, no other transaction can perform DDL such as <tt>DROP TABLE</tt> or <tt>ALTER TABLE</tt> until the first transaction commits. Previously, the lock was released at the end of a statement rather than the whole transaction. <a href="http://dev.mysql.com/doc/refman/5.5/en/metadata-locking.html">Read more about metadata locking within transactions.</a></p>
</dd>
<dt>Improved Performance and Scale on Win32 and Win64</dt>
<dd>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.</p>
<ul>
<li>Windows API calls for much of the I/O done inside MySQL (a community contribution, hat tip to Jeremiah Gowdy).</li>
<li>Ability to build engines and other plugins as DLLs on Windows.</li>
<li>Network support for auto-detecting the MAC address (a community contribution, hat tip to Chris Runyan).</li>
<li>Much cleanup and simplifying of threading code.</li>
</ul>
</dd>
</dl>
<h3>Improved Availability</h3>
<dl>
<dt>Semi-Synchronous Replication</dt>
<dd>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 <q>semi-synchronous</q> 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. <a href="http://dev.mysql.com/doc/refman/5.5/en/replication-semisync.html">Read more about semisynchronous replication.</a></p>
</dd>
<dt>Replication Heartbeat</dt>
<dd>In replication, the <q>heartbeat</q> 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 master knows that the slave 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 <q>Linux heartbeat</q>, which is a similar health-checking system for cluster nodes.) To use this feature, you issue commands like:</p>
<pre>CHANGE MASTER SET master_heartbeat_period= <em>milliseconds</em>;
SHOW STATUS like 'slave_heartbeat period'
SHOW STATUS like 'slave_received_heartbeats'</pre>
</dd>
</dl>
<h3>Improved Usability</h3>
<dl>
<dt>SIGNAL/RESIGNAL</dt>
<dd>The <tt>SIGNAL</tt> and <tt>RESIGNAL</tt> statements allow you to implement familiar exception-handling logic in your stored procedures, stored functions, triggers, events, and database applications that call those things. <tt>SIGNAL</tt> passes execution back to an error handler, like <tt>THROW</tt> or <tt>RAISE</tt> statements in other languages. You can encode the error number, <tt>SQLSTATE</tt> value, and a message in a consistent way that can be interpreted by an error handler in the calling program. <tt>RESIGNAL</tt> lets you propagate the exception after doing some amount of error handling and cleanup yourself. With <tt>RESIGNAL</tt>, you can pass along the original error information or modify it. <a href="http://dev.mysql.com/doc/refman/5.5/en/signal-resignal.html">Read more about SIGNAL/RESIGNAL.</a></p>
</dd>
<dt>More Partitioning Options</dt>
<dd>With the new <tt>RANGE COLUMNS</tt> and <tt>LIST COLUMNS</tt> clauses of the <tt>CREATE TABLE</tt> statement, partitioning is now more flexible and also can optimize queries better. Instead of expressions, you specify the names of one or more columns. Both of these clauses let you partition based on <tt>DATE</tt>, <tt>DATETIME</tt>, or string values (such as <tt>CHAR</tt> or <tt>VARCHAR</tt>). Partition pruning can optimize queries on tables that use <tt>RANGE COLUMNS</tt> or <tt>LIST COLUMMS</tt> partitioning, and <tt>WHERE</tt> conditions that compare different columns and constants, such as</p>
<pre>a = 10 AND b &gt; 5</pre>
<p>or</p>
<pre>a &lt; "2005-11-25" AND b = 10 AND c = 50</pre>
<p><!-- <a href="http://dev.mysql.com/doc/refman/5.5/en/partitioning-range.html" mce_href="http://dev.mysql.com/doc/refman/5.5/en/partitioning-range.html">Read more about RANGE partitioning.</a> &#8211;> <!-- <a href="http://dev.mysql.com/doc/refman/5.5/en/partitioning-columns-range.html" mce_href="http://dev.mysql.com/doc/refman/5.5/en/partitioning-columns-range.html">Read more about RANGE COLUMNS partitioning.</a> &#8211;> <!-- <a href="http://dev.mysql.com/doc/refman/5.5/en/partitioning-list.html" mce_href="http://dev.mysql.com/doc/refman/5.5/en/partitioning-list.html">Read more about LIST partitioning.</a> &#8211;> <!-- <a href="http://dev.mysql.com/doc/refman/5.5/en/partitioning-columns-list.html" mce_href="http://dev.mysql.com/doc/refman/5.5/en/partitioning-columns-list.html">Read more about LIST COLUMNS partitioning.</a> &#8211;><a href="http://dev.mysql.com/doc/refman/5.5/en/partitioning-columns.html">Read more about COLUMNS partitioning.</a></p>
</dd>
<dt id="mysql-performance-schema">Performance Schema</dt>
<dd>The Performance Schema feature involves an optional schema, named <tt>performance_schema</tt>, with tables that you can query to see intimate details of low-level MySQL performance. You can get information about performance right at that moment, or various amounts of historical performance data. You can clear the data to reset the figures, filter and format the data using <tt>WHERE</tt> clauses, and generally interact with it using all sorts of SQL goodness. Performance Schema data now also includes details about the InnoDB storage engine. <a href="http://dev.mysql.com/doc/refman/5.5/en/performance-schema.html">Read more about Performance Schema.</a></p>
</dd>
</dl>
<h2 id="innodb">What&#8217;s New in InnoDB</h2>
<p>To make a long story short: it&#8217;s all about performance and scalability! To those who enjoy trying all permutations of configuration settings, we apologize in advance for making so many of these improvements take no thought or effort at all.</p>
<h3>Performance Improvements</h3>
<p>At this year&#8217;s <a href="http://en.oreilly.com/mysql2010/public/content/home">MySQL Conference &amp; Expo</a>, you&#8217;ll hear about the InnoDB Plugin 1.0.7, the first production-ready (GA) release of the InnoDB Plugin. Most of the enhancements listed here are from InnoDB 1.1, which is part of MySQL 5.5 and thus is still in beta. Download MySQL 5.5 and try them out.</p>
<dl>
<dt>Improved Recovery Performance</dt>
<dd>One of InnoDB&#8217;s great strengths is its ability to reliably recover data after any type of crash that affects the database. But this cleanup and checking makes the next restart take longer. Well, cover up your sundial. Put away your hourglass. The enterprising InnoDB team has improved the algorithms involved in recovery by a huge amount &#8212; in computer science terms, it&#8217;s a better <q>big-O</q> number. Now you will need to keep your finger ready on the stopwatch to see how long recovery takes. This feature is available both in InnoDB 1.1 and the InnoDB Plugin 1.0.7. <a href="http://dev.mysql.com/doc/innodb-plugin/1.1/en/innodb-performance-recovery.html">Read more about faster recovery.</a></p>
</dd>
<dt>Multiple Buffer Pool Instances</dt>
<dd>With today&#8217;s buffer pools frequently in the multi-gigabyte range, pages are constantly being read and updated by different database threads. This enhancement removes the <q>bottleneck</q> that makes all the other threads wait when one thread is updating the buffer pool. All the structures normally associated with the buffer pool can now be multiplied, such as the mutex that protects it, the LRU information, and the flush list. You control how many buffer pool instances are used; the default is still 1. This feature works best with combined buffer pool sizes of several gigabytes, where each buffer pool instance can be a gigabyte or more. <a href="http://dev.mysql.com/doc/innodb-plugin/1.1/en/innodb-multiple-buffer-pools.html">Read more about multiple buffer pool instances.</a></p>
</dd>
<dt>Multiple Rollback Segments</dt>
<dd>This feature is both a performance and a scalability improvement. By dividing the single rollback segment into multiple parts, InnoDB allows concurrent transactions to create undo data (from insert, update, and delete operations) without making each other wait. A happy consequence is that the old limit of 1023 simultaneous inserting / updating / deleting transactions is now much higher, for a total of approximately 128K concurrent writer transactions. This feature does not introduce any incompatibility in the InnoDB file format, and does not require using the newer <q>Barracuda</q> file format. However, the setup within the system tablespace only takes place when the system tablespace is created, so to take advantage of this feature, you must create a new instance (not just a new table or a new database) and import the data into it. <a href="http://dev.mysql.com/doc/innodb-plugin/1.1/en/innodb-multiple-rollback-segments.html">Read more about multiple rollback segments.</a></p>
</dd>
<dt>Native Asynchronous I/O for Linux</dt>
<dd>This feature enables better concurrency of I/O requests on Linux systems. With asynchronous I/O, an I/O request can be sent off and the thread servicing the query does not need to wait for the I/O to complete; that aspect is delegated to the I/O helper threads. InnoDB already supported asynchronous I/O on Windows systems. On platforms other than Windows, InnoDB internally arranged its I/O calls as if they were asynchronous (leading to the term <q>simulated asynchronous I/O</q>), but behind the scenes the query thread really would block until the request finished. Now true asynchronous I/O support (called <q>native asynchronous I/O</q> so it won&#8217;t be confused with references to <q>asynchronous</q> already in the source) is available on Linux as well as Windows. This feature requires the <tt>libaio</tt> userspace library to be installed on Linux. It comes with a configuration option <tt>innodb_use_native_aio</tt> that you can turn off in case of any startup problems related to the I/O subsystem. <a href="http://dev.mysql.com/doc/innodb-plugin/1.1/en/innodb-performance-aio-linux.html">Read more about asynchronous I/O for Linux.</a></p>
</dd>
<dt>Extended Change Buffering: Now with Delete Buffering and Purge buffering</dt>
<dd>InnoDB uses indexes to make queries faster. Secondary indexes, those on columns other than the primary key, require work (meaning disk writes) to keep them up to date when those those columns are inserted, deleted, or updated. For example, if you run the command <tt>DELETE FROM t WHERE c1 = 'something';</tt>, and you have a secondary index on column <tt>c2</tt>, what&#8217;s the rush to update that secondary index? Its contents might not be in the buffer pool, and maybe the index won&#8217;t be read for a long time.</p>
<p>InnoDB has had an optimization for a while now to delay disk writes for secondary index maintenance when the changes are due to inserts. This delay waits for the index contents to be read into the buffer pool for some other reason, such as a query, where the changes can be made quickly in memory and then flushed back to disk using the normal schedule for writing dirty blocks. When the changes in the buffer pool affect a group of sequential disk blocks, they can be flushed more efficiently than if the data was written piece by piece. Very clever!</p>
<p>In InnoDB 1.1, this technique is extended to include the different kinds of writes caused by deletes (an initial <q>delete marking</q> operation, followed later by a <q>purge</q> operation that garbage-collects all the deleted records). This optimization is under your control through the <tt>innodb_change_buffering</tt> configuration option, which has a new default of <tt>all</tt>. (We call the optimization <q>change buffering</q> rather than the old name <q>insert buffering</q>; the actual memory structure is still called the <q>insert buffer</q>.) <a href="http://dev.mysql.com/doc/innodb-plugin/1.1/en/innodb-performance-change_buffering.html">Read more about enhanced change buffering.</a></p>
</dd>
</dl>
<h3>Scalability Improvements</h3>
<p>The scalability improvements in InnoDB 1.1 revolve around better isolation of threads and mutex contention. These are performance-type improvements that really kick in when the database server is heavily loaded. (For those of you who are not yet experts on InnoDB performance, <q>mutexes</q> are in-memory structures that prevent different threads from interfering with each others&#8217; changes to important memory areas like the buffer pool.)</p>
<dl>
<dt>Improved Log Sys Mutex</dt>
<dd>Previously, a single mutex protected different memory areas related to the undo and logging information. In particular, this mutex blocked access to the buffer pool, while changes were being written there by DDL operations making changes to the data dictionary. Splitting the old <tt>log_sys</tt> mutex to create a separate <tt>log_flush_order</tt> mutex means that all of this internal processing can happen with less waiting and less blocking of other operations involving the buffer pool, without any configuration needed on your part. <a href="http://dev.mysql.com/doc/innodb-plugin/1.1/en/innodb-improved-log-sys-mutex.html">Read more about improved log sys mutex.</a></p>
</dd>
<dt>Separate Flush List Mutex</dt>
<dd>Along the same lines, operations involving the buffer pool and the flush list previously were protected by a single mutex, which could cause unnecessary delays. (The buffer pool mutex has historically been very <q>hot</q>, so any other operation that tied up the buffer pool was adding fuel to the fire.) Now the flush list has its own mutex, reducing contention with buffer pool operations and making InnoDB faster without any configuration needed on your part. <a href="http://dev.mysql.com/doc/innodb-plugin/1.1/en/innodb-separate-flush-list-mutex.html">Read more about separate flush list mutex.</a></p>
</dd>
<dt>Improved Purge Scheduling</dt>
<dd>The InnoDB purge operation is a type of garbage collection that runs periodically. Previously, the purge was part of the master thread, meaning that it could block some other database operations. Now, this operation can run in its own thread, allowing for more concurrency. You can control whether the purge operation is split into its own thread with the <tt>innodb_purge_threads</tt> configuration option, which can be set to 0 (the default) or 1 (for a single separate purge thread). This architectural change might not cause a big speedup with this single purge thread, but it lays the groundwork to tune other bottlenecks related to purge operations, so that in the future multiple purge threads could provide a bigger performance gain. The configuration option <tt>innodb_purge_batch_size</tt> can be set from 1 to 5000, with default of 20, although typical users should not need to change that setting. <a href="http://dev.mysql.com/doc/innodb-plugin/1.1/en/innodb-improved-purge-scheduling.html">Read more about improved purge scheduling.</a></p>
</dd>
</dl>
<h3>Better Instrumentation/Diagnostics</h3>
<dl>
<dt id="innodb-performance-schema">InnoDB Stats in Performance Schema</dt>
<dd>The <a href="http://dev.mysql.com/tech-resources/articles/introduction-to-mysql-55.html#mysql-performance-schema">Performance Schema</a> has been part of MySQL 5.5 for a while now. InnoDB 1.1 is instrumented for the first time for Performance Schema monitoring, with statistics available for InnoDB-specific mutexes, rw-locks, threads, and I/O operations. The data is structured so that you can see everything, or filter to see just the InnoDB items. The information in the <tt>performance_schema</tt> tables lets you see how these items factor into overall database performance, which ones are the <q>hottest</q> under various workloads and system configurations, and trace issues back to the relevant file and line in the source code so you can really see what&#8217;s happening behind the scenes. <a href="http://dev.mysql.com/doc/innodb-plugin/1.1/en/">Read more about InnoDB integration with Performance Schema.</a></p>
</dd>
</dl>
<input id="gwProxy" type="hidden" />
<input id="jsProxy" onclick="jsCall();" type="hidden" />
<img src="http://blog.theunical.com/?ak_action=api_record_view&id=306228&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://blog.theunical.com/databases/mysql/an-introduction-to-mysql-5-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magento database script to delete all test data from database</title>
		<link>http://blog.theunical.com/ecommerce/shopping-carts/magento-cart/magento-database-script-to-delete-all-test-data-from-database/</link>
		<comments>http://blog.theunical.com/ecommerce/shopping-carts/magento-cart/magento-database-script-to-delete-all-test-data-from-database/#comments</comments>
		<pubDate>Fri, 02 Apr 2010 03:03:00 +0000</pubDate>
		<dc:creator>Steven Robert</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Magento Cart]]></category>
		<category><![CDATA[MySql]]></category>
		<category><![CDATA[Shopping Carts]]></category>
		<category><![CDATA[Magento]]></category>
		<category><![CDATA[Magento database script]]></category>

		<guid isPermaLink="false">http://blog.theunical.com/?p=305949</guid>
		<description><![CDATA[After you import the data.  execute the following queries to delete all the customers, orders, wishlist info, logs, reports, stored carts.
This script will start you over, remember to backup first!
SET FOREIGN_KEY_CHECKS=0;

TRUNCATE `sales_order`;
TRUNCATE `sales_order_datetime`;
TRUNCATE `sales_order_decimal`;
TRUNCATE `sales_order_entity`;
TRUNCATE `sales_order_entity_datetime`;
TRUNCATE `sales_order_entity_decimal`;
TRUNCATE `sales_order_entity_int`;
TRUNCATE `sales_order_entity_text`;
TRUNCATE `sales_order_entity_varchar`;
TRUNCATE `sales_order_int`;
TRUNCATE `sales_order_text`;
TRUNCATE `sales_order_varchar`;
TRUNCATE `sales_flat_quote`;
TRUNCATE `sales_flat_quote_address`;
TRUNCATE `sales_flat_quote_address_item`;
TRUNCATE `sales_flat_quote_item`;
TRUNCATE `sales_flat_quote_item_option`;
TRUNCATE `sales_flat_order_item`;
TRUNCATE `sendfriend_log`;
TRUNCATE `tag`;
TRUNCATE `tag_relation`;
TRUNCATE `tag_summary`;
TRUNCATE `wishlist`;
TRUNCATE `log_quote`;
TRUNCATE `report_event`;

ALTER TABLE [...]]]></description>
			<content:encoded><![CDATA[<p>After you import the data.  execute the following queries to delete all the customers, orders, wishlist info, logs, reports, stored carts.</p>
<p>This script will start you over, remember to backup first!</p>
<pre class="brush: sql">SET FOREIGN_KEY_CHECKS=0;

TRUNCATE `sales_order`;
TRUNCATE `sales_order_datetime`;
TRUNCATE `sales_order_decimal`;
TRUNCATE `sales_order_entity`;
TRUNCATE `sales_order_entity_datetime`;
TRUNCATE `sales_order_entity_decimal`;
TRUNCATE `sales_order_entity_int`;
TRUNCATE `sales_order_entity_text`;
TRUNCATE `sales_order_entity_varchar`;
TRUNCATE `sales_order_int`;
TRUNCATE `sales_order_text`;
TRUNCATE `sales_order_varchar`;
TRUNCATE `sales_flat_quote`;
TRUNCATE `sales_flat_quote_address`;
TRUNCATE `sales_flat_quote_address_item`;
TRUNCATE `sales_flat_quote_item`;
TRUNCATE `sales_flat_quote_item_option`;
TRUNCATE `sales_flat_order_item`;
TRUNCATE `sendfriend_log`;
TRUNCATE `tag`;
TRUNCATE `tag_relation`;
TRUNCATE `tag_summary`;
TRUNCATE `wishlist`;
TRUNCATE `log_quote`;
TRUNCATE `report_event`;

ALTER TABLE `sales_order` AUTO_INCREMENT=1;
ALTER TABLE `sales_order_datetime` AUTO_INCREMENT=1;
ALTER TABLE `sales_order_decimal` AUTO_INCREMENT=1;
ALTER TABLE `sales_order_entity` AUTO_INCREMENT=1;
ALTER TABLE `sales_order_entity_datetime` AUTO_INCREMENT=1;
ALTER TABLE `sales_order_entity_decimal` AUTO_INCREMENT=1;
ALTER TABLE `sales_order_entity_int` AUTO_INCREMENT=1;
ALTER TABLE `sales_order_entity_text` AUTO_INCREMENT=1;
ALTER TABLE `sales_order_entity_varchar` AUTO_INCREMENT=1;
ALTER TABLE `sales_order_int` AUTO_INCREMENT=1;
ALTER TABLE `sales_order_text` AUTO_INCREMENT=1;
ALTER TABLE `sales_order_varchar` AUTO_INCREMENT=1;
ALTER TABLE `sales_flat_quote` AUTO_INCREMENT=1;
ALTER TABLE `sales_flat_quote_address` AUTO_INCREMENT=1;
ALTER TABLE `sales_flat_quote_address_item` AUTO_INCREMENT=1;
ALTER TABLE `sales_flat_quote_item` AUTO_INCREMENT=1;
ALTER TABLE `sales_flat_quote_item_option` AUTO_INCREMENT=1;
ALTER TABLE `sales_flat_order_item` AUTO_INCREMENT=1;
ALTER TABLE `sendfriend_log` AUTO_INCREMENT=1;
ALTER TABLE `tag` AUTO_INCREMENT=1;
ALTER TABLE `tag_relation` AUTO_INCREMENT=1;
ALTER TABLE `tag_summary` AUTO_INCREMENT=1;
ALTER TABLE `wishlist` AUTO_INCREMENT=1;
ALTER TABLE `log_quote` AUTO_INCREMENT=1;
ALTER TABLE `report_event` AUTO_INCREMENT=1;

--

reset customers
TRUNCATE `customer_address_entity`;
TRUNCATE `customer_address_entity_datetime`;
TRUNCATE `customer_address_entity_decimal`;
TRUNCATE `customer_address_entity_int`;
TRUNCATE `customer_address_entity_text`;
TRUNCATE `customer_address_entity_varchar`;
TRUNCATE `customer_entity`;
TRUNCATE `customer_entity_datetime`;
TRUNCATE `customer_entity_decimal`;
TRUNCATE `customer_entity_int`;
TRUNCATE `customer_entity_text`;
TRUNCATE `customer_entity_varchar`;
TRUNCATE `log_customer`;
TRUNCATE `log_visitor`;
TRUNCATE `log_visitor_info`;

ALTER TABLE `customer_address_entity` AUTO_INCREMENT=1;
ALTER TABLE `customer_address_entity_datetime` AUTO_INCREMENT=1;
ALTER TABLE `customer_address_entity_decimal` AUTO_INCREMENT=1;
ALTER TABLE `customer_address_entity_int` AUTO_INCREMENT=1;
ALTER TABLE `customer_address_entity_text` AUTO_INCREMENT=1;
ALTER TABLE `customer_address_entity_varchar` AUTO_INCREMENT=1;
ALTER TABLE `customer_entity` AUTO_INCREMENT=1;
ALTER TABLE `customer_entity_datetime` AUTO_INCREMENT=1;
ALTER TABLE `customer_entity_decimal` AUTO_INCREMENT=1;
ALTER TABLE `customer_entity_int` AUTO_INCREMENT=1;
ALTER TABLE `customer_entity_text` AUTO_INCREMENT=1;
ALTER TABLE `customer_entity_varchar` AUTO_INCREMENT=1;
ALTER TABLE `log_customer` AUTO_INCREMENT=1;
ALTER TABLE `log_visitor` AUTO_INCREMENT=1;
ALTER TABLE `log_visitor_info` AUTO_INCREMENT=1;

TRUNCATE `sales_payment_transaction`;
ALTER TABLE `sales_payment_transaction` AUTO_INCREMENT=1;

TRUNCATE sales_invoiced_aggregated;

TRUNCATE  sales_refunded_aggregated;

TRUNCATE  sales_shipping_aggregated;

--

Reset all ID counters
TRUNCATE `eav_entity_store`;
ALTER TABLE `eav_entity_store` AUTO_INCREMENT=1;

SET FOREIGN_KEY_CHECKS=1;</pre>
<p>If I miss anything please point out.</p>
<p>This scripts works perfectly when I do test on magento</p>
<img src="http://blog.theunical.com/?ak_action=api_record_view&id=305949&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://blog.theunical.com/ecommerce/shopping-carts/magento-cart/magento-database-script-to-delete-all-test-data-from-database/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>My.cnf Configuration Differences in MySQL 5.4 from MySQL 5.1</title>
		<link>http://blog.theunical.com/databases/mysql/my-cnf-configuration-differences-in-mysql-5-4-from-mysql-5-1/</link>
		<comments>http://blog.theunical.com/databases/mysql/my-cnf-configuration-differences-in-mysql-5-4-from-mysql-5-1/#comments</comments>
		<pubDate>Tue, 30 Mar 2010 02:58:20 +0000</pubDate>
		<dc:creator>Steven Robert</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[MySQL 5.1]]></category>
		<category><![CDATA[MySQL 5.4]]></category>
		<category><![CDATA[MySql]]></category>
		<category><![CDATA[My.cnf]]></category>

		<guid isPermaLink="false">http://blog.theunical.com/?p=305920</guid>
		<description><![CDATA[Configuration Differences in MySQL 5.4 from MySQL 5.1
There are Several variables and options are new or changed in MySQL         5.4 to provide more flexible runtime configuration,         and better “out of box” configuration of default      [...]]]></description>
			<content:encoded><![CDATA[<h3>Configuration Differences in MySQL 5.4 from MySQL 5.1</h3>
<p>There are Several variables and options are new or changed in MySQL         5.4 to provide more flexible runtime configuration,         and better “<span>out of box</span>” configuration of default         values for MySQL operation on up to 16-way x86 servers and         64-way CMT servers with 4GB or more memory.</p>
<div style="margin-left: 0.5in; margin-right: 0.5in;">
<h3>Note</h3>
<p>The changes to <code>InnoDB</code> configuration values may cause issues if you upgrade to MySQL           5.4 from an older version or MySQL, or if you           upgrade from MySQL 5.4.0 through 5.4.2 to 5.4.3 or higher. See           <a title="2.12.1.1. Upgrading from MySQL 5.1 to 5.4" href="http://dev.mysql.com/doc/refman/5.4/en/upgrading-from-previous-series.html">Section 2.12.1.1, “Upgrading from MySQL 5.1 to 5.4”</a>.</div>
<p>These system variables are new:</p>
<div>
<ul>
<li><a href="http://dev.mysql.com/doc/refman/5.4/en/innodb-parameters.html#sysvar_innodb_adaptive_flushing"><code>innodb_adaptive_flushing</code></a>:             Controls adaptive flushing of dirty pages. Default:             <code>ON</code>.</li>
<li><a href="http://dev.mysql.com/doc/refman/5.4/en/innodb-parameters.html#sysvar_innodb_change_buffering"><code>innodb_change_buffering</code></a>:             Controls insert buffering. Default:             <code>inserts</code> (buffer insert operations).</li>
<li><a href="http://dev.mysql.com/doc/refman/5.4/en/innodb-parameters.html#sysvar_innodb_file_format"><code>innodb_file_format</code></a>: The             format for new InnoDB tables. Default:             <code>Antelope</code>.</li>
<li><a href="http://dev.mysql.com/doc/refman/5.4/en/innodb-parameters.html#sysvar_innodb_file_format_check"><code>innodb_file_format_check</code></a>:             Whether to perform file format compatibility checking.             Default: <code>ON</code>.</li>
<li><a href="http://dev.mysql.com/doc/refman/5.4/en/innodb-parameters.html#sysvar_innodb_io_capacity"><code>innodb_io_capacity</code></a>: The             limit on the maximum number of I/O operations per second             (IOPS) the server can perform. Default: 200.</li>
<li><a href="http://dev.mysql.com/doc/refman/5.4/en/innodb-parameters.html#sysvar_innodb_read_ahead_threshold"><code>innodb_read_ahead_threshold</code></a>:             Controls sensitivity of linear read-ahead. Default: 56.</li>
<li><a href="http://dev.mysql.com/doc/refman/5.4/en/innodb-parameters.html#sysvar_innodb_replication_delay"><code>innodb_replication_delay</code></a>:             The replication thread delay (in ms) on the slave server if             <a href="http://dev.mysql.com/doc/refman/5.4/en/innodb-parameters.html#sysvar_innodb_thread_concurrency"><code>innodb_thread_concurrency</code></a> is reached. Default: 0.</li>
<li><a href="http://dev.mysql.com/doc/refman/5.4/en/innodb-parameters.html#sysvar_innodb_read_io_threads"><code>innodb_read_io_threads</code></a>,             <a href="http://dev.mysql.com/doc/refman/5.4/en/innodb-parameters.html#sysvar_innodb_write_io_threads"><code>innodb_write_io_threads</code></a>:             The number of background I/O threads to use for read             prefetch requests and for writing dirty pages from the             buffer cache to disk. Default: 4.</li>
<li><a href="http://dev.mysql.com/doc/refman/5.4/en/innodb-parameters.html#sysvar_innodb_spin_wait_delay"><code>innodb_spin_wait_delay</code></a>:             Maximum delay between polls for a spin lock. Default: 6.</li>
<li><a href="http://dev.mysql.com/doc/refman/5.4/en/innodb-parameters.html#sysvar_innodb_stats_sample_pages"><code>innodb_stats_sample_pages</code></a>:             How many index pages to sample for statistics calculations.             Default: 8.</li>
<li><a href="http://dev.mysql.com/doc/refman/5.4/en/innodb-parameters.html#sysvar_innodb_strict_mode"><code>innodb_strict_mode</code></a>: Whether             InnoDB returns errors rather than warnings for certain             exceptional conditions (analogous to strict SQL mode).             Default: <code>OFF</code>.</li>
<li><a href="http://dev.mysql.com/doc/refman/5.4/en/innodb-parameters.html#sysvar_innodb_use_sys_malloc"><code>innodb_use_sys_malloc</code></a>:             Whether InnoDB uses the OS (system) or its own memory             allocator. Default: <code>ON</code>.</li>
<li><a href="http://dev.mysql.com/doc/refman/5.4/en/innodb-parameters.html#sysvar_innodb_version"><code>innodb_version</code></a>: The version             of InnoDB.</li>
</ul>
</div>
<p>More information about the new system variables can be found in         the <code>InnoDB Plugin</code> Manual at         <a href="http://www.innodb.com/products/innodb_plugin/plugin-documentation" target="_top">http://www.innodb.com/products/innodb_plugin/plugin-documentation</a>.</p>
<p>The default or minimum value of these existing system variables         has changed:</p>
<div>
<ul>
<li><a href="http://dev.mysql.com/doc/refman/5.4/en/innodb-parameters.html#sysvar_innodb_additional_mem_pool_size"><code>innodb_additional_mem_pool_size</code></a>:             Default increased from 1MB to 8MB.</li>
<li><a href="http://dev.mysql.com/doc/refman/5.4/en/innodb-parameters.html#sysvar_innodb_buffer_pool_size"><code>innodb_buffer_pool_size</code></a>:             Default increased from 8 MB to 128MB. Minimum increased from             1MB to 5MB.</li>
<li><a href="http://dev.mysql.com/doc/refman/5.1/en/innodb-parameters.html#sysvar_innodb_file_io_threads" target="_top"><code>innodb_file_io_threads</code></a>:             Removed (replaced by             <a href="http://dev.mysql.com/doc/refman/5.4/en/innodb-parameters.html#sysvar_innodb_read_io_threads"><code>innodb_read_io_threads</code></a> and             <a href="http://dev.mysql.com/doc/refman/5.4/en/innodb-parameters.html#sysvar_innodb_write_io_threads"><code>innodb_write_io_threads</code></a>).</li>
<li><a href="http://dev.mysql.com/doc/refman/5.4/en/innodb-parameters.html#sysvar_innodb_log_buffer_size"><code>innodb_log_buffer_size</code></a>:             Default increased from 1MB to 8MB.</li>
<li><a href="http://dev.mysql.com/doc/refman/5.4/en/innodb-parameters.html#sysvar_innodb_max_dirty_pages_pct"><code>innodb_max_dirty_pages_pct</code></a>:             Default decreased from 90 to 75. Maximum decreased from 100             to 99 to never allow a completely dirty buffer pool.</li>
<li><a href="http://dev.mysql.com/doc/refman/5.4/en/innodb-parameters.html#sysvar_innodb_sync_spin_loops"><code>innodb_sync_spin_loops</code></a>:             Default changed from 20 to 30.</li>
<li><a href="http://dev.mysql.com/doc/refman/5.4/en/innodb-parameters.html#sysvar_innodb_thread_concurrency"><code>innodb_thread_concurrency</code></a>:             Default changed from 8 to 0. In effect, this changes             concurrency from 8 to “<span>infinite</span>”.</li>
<li><a href="http://dev.mysql.com/doc/refman/5.4/en/server-system-variables.html#sysvar_table_definition_cache"><code>table_definition_cache</code></a>:             Default and minimum increased from 256 to 400.</li>
<li><a href="http://dev.mysql.com/doc/refman/5.4/en/server-system-variables.html#sysvar_table_open_cache"><code>table_open_cache</code></a>: Default             increased from 64 to 400.</li>
</ul>
</div>
<p>These system variables have been made dynamic and can be         modified at runtime:</p>
<div>
<ul>
<li><a href="http://dev.mysql.com/doc/refman/5.4/en/innodb-parameters.html#sysvar_innodb_adaptive_hash_index"><code>innodb_adaptive_hash_index</code></a> (global value)</li>
<li><a href="http://dev.mysql.com/doc/refman/5.4/en/innodb-parameters.html#sysvar_innodb_file_per_table"><code>innodb_file_per_table</code></a> (global value)</li>
<li><a href="http://dev.mysql.com/doc/refman/5.4/en/innodb-parameters.html#sysvar_innodb_io_capacity"><code>innodb_io_capacity</code></a> (global             value)</li>
<li><a href="http://dev.mysql.com/doc/refman/5.4/en/innodb-parameters.html#sysvar_innodb_lock_wait_timeout"><code>innodb_lock_wait_timeout</code></a> (global and session values)</li>
</ul>
</div>
<p>This status variable is new:</p>
<div>
<ul>
<li><a href="http://dev.mysql.com/doc/refman/5.4/en/server-status-variables.html#statvar_Innodb_have_atomic_builtins"><code>Innodb_have_atomic_builtins</code></a>:             Indicates whether the server was built with atomic             instructions.</li>
</ul>
</div>
<p>This server option is new:</p>
<div>
<ul>
<li><a href="http://dev.mysql.com/doc/refman/5.4/en/server-options.html#option_mysqld_super-large-pages"><code>--super-large-pages</code></a>: Boolean             option. Large page support is enhanced for recent SPARC             platforms. Standard use of large pages in MySQL attempts to             use the largest size supported, up to 4MB. Under Solaris, a             “<span>super large pages</span>” feature enables uses of             pages up to 256MB. This feature can be enabled or disabled             by using the             <a href="http://dev.mysql.com/doc/refman/5.4/en/server-options.html#option_mysqld_super-large-pages"><code>--super-large-pages</code></a> or             <a href="http://dev.mysql.com/doc/refman/5.4/en/server-options.html#option_mysqld_super-large-pages"><code>--skip-super-large-pages</code></a> option.</li>
</ul>
</div>
<input id="gwProxy" type="hidden" />
<input id="jsProxy" onclick="jsCall();" type="hidden" />
<img src="http://blog.theunical.com/?ak_action=api_record_view&id=305920&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://blog.theunical.com/databases/mysql/my-cnf-configuration-differences-in-mysql-5-4-from-mysql-5-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to set different port no for MySql database in Magento</title>
		<link>http://blog.theunical.com/ecommerce/shopping-carts/magento-cart/how-to-set-different-port-no-for-mysql-database-in-magento/</link>
		<comments>http://blog.theunical.com/ecommerce/shopping-carts/magento-cart/how-to-set-different-port-no-for-mysql-database-in-magento/#comments</comments>
		<pubDate>Sun, 28 Mar 2010 13:05:31 +0000</pubDate>
		<dc:creator>Steven Robert</dc:creator>
				<category><![CDATA[Databases]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Magento Cart]]></category>
		<category><![CDATA[MySql]]></category>
		<category><![CDATA[Shopping Carts]]></category>
		<category><![CDATA[eCommerce]]></category>
		<category><![CDATA[Magento]]></category>
		<category><![CDATA[MySql port no]]></category>

		<guid isPermaLink="false">http://blog.theunical.com/?p=305916</guid>
		<description><![CDATA[How to set different port no for mysql database in Magento
Open the Configuration file where you setup database properties, i.e app/etc/local.xml
Just Replace the PORTNO in below xml with your port number.
&#60;default_setup&#62;

&#60;connection&#62;

&#60;host&#62;&#60;![CDATA[HOSTADDRESS]]&#62;&#60;/host&#62;

&#60;username&#62;&#60;![CDATA[USERNAME]]&#62;&#60;/username&#62;

&#60;password&#62;&#60;![CDATA[PASSWORD]]&#62;&#60;/password&#62;

&#60;dbname&#62;&#60;![CDATA[DBNAME]]&#62;&#60;/dbname&#62;

&#60;port&#62;&#60;![CDATA[PORTNO]]&#62;&#60;/port&#62;

&#60;active&#62;1&#60;/active&#62;

&#60;/connection&#62;

&#60;/default_setup&#62;
]]></description>
			<content:encoded><![CDATA[<p>How to set different port no for mysql database in Magento</p>
<p>Open the Configuration file where you setup database properties, i.e app/etc/<em>local</em>.<em>xml</em></p>
<p>Just Replace the PORTNO in below xml with your port number.</p>
<pre class="brush: xml">&lt;default_setup&gt;

&lt;connection&gt;

&lt;host&gt;&lt;![CDATA[HOSTADDRESS]]&gt;&lt;/host&gt;

&lt;username&gt;&lt;![CDATA[USERNAME]]&gt;&lt;/username&gt;

&lt;password&gt;&lt;![CDATA[PASSWORD]]&gt;&lt;/password&gt;

&lt;dbname&gt;&lt;![CDATA[DBNAME]]&gt;&lt;/dbname&gt;

&lt;port&gt;&lt;![CDATA[PORTNO]]&gt;&lt;/port&gt;

&lt;active&gt;1&lt;/active&gt;

&lt;/connection&gt;

&lt;/default_setup&gt;</pre>
<img src="http://blog.theunical.com/?ak_action=api_record_view&id=305916&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://blog.theunical.com/ecommerce/shopping-carts/magento-cart/how-to-set-different-port-no-for-mysql-database-in-magento/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Not the SQL of My Kindergarten Days « So Many Oracle Manuals, So &#8230;</title>
		<link>http://blog.theunical.com/databases/mysql/not-the-sql-of-my-kindergarten-days-%c2%ab-so-many-oracle-manuals-so/</link>
		<comments>http://blog.theunical.com/databases/mysql/not-the-sql-of-my-kindergarten-days-%c2%ab-so-many-oracle-manuals-so/#comments</comments>
		<pubDate>Sun, 07 Feb 2010 02:06:33 +0000</pubDate>
		<dc:creator>Steven Robert</dc:creator>
				<category><![CDATA[MySQL 5.1]]></category>
		<category><![CDATA[MySql]]></category>
		<category><![CDATA[MySql 5.0]]></category>

		<guid isPermaLink="false">http://blog.theunical.com/databases/mysql/not-the-sql-of-my-kindergarten-days-%c2%ab-so-many-oracle-manuals-so/</guid>
		<description><![CDATA[The acronym SEQUEL was later shortened to SQL because SEQUEL was a trademarked name; this means that the correct pronunciation of SQL is sequel not es-que-el (The 1995 SQL Reunion: People, Projects, and Politics). &#8230;

So Many Oracle Manuals, So Little Time &#8211; http://iggyfernandez.wordpress.com/
]]></description>
			<content:encoded><![CDATA[<p>The acronym SEQUEL was later shortened to <b>SQL</b> because SEQUEL was a trademarked name; this means that the correct pronunciation of <b>SQL</b> is sequel not es-que-el (The 1995 <b>SQL</b> Reunion: People, Projects, and Politics). <b>&#8230;</b></p>
<p><a href="http://iggyfernandez.wordpress.com/" title="http://iggyfernandez.wordpress.com/"><br />
So Many Oracle Manuals, So Little Time &#8211; http://iggyfernandez.wordpress.com/</a></p>
<img src="http://blog.theunical.com/?ak_action=api_record_view&id=299319&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://blog.theunical.com/databases/mysql/not-the-sql-of-my-kindergarten-days-%c2%ab-so-many-oracle-manuals-so/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MSDN Blog Postings » Blog Archive » Walkthrough setting up SQL &#8230;</title>
		<link>http://blog.theunical.com/databases/mysql/msdn-blog-postings-%c2%bb-blog-archive-%c2%bb-walkthrough-setting-up-sql/</link>
		<comments>http://blog.theunical.com/databases/mysql/msdn-blog-postings-%c2%bb-blog-archive-%c2%bb-walkthrough-setting-up-sql/#comments</comments>
		<pubDate>Sun, 07 Feb 2010 02:06:32 +0000</pubDate>
		<dc:creator>Steven Robert</dc:creator>
				<category><![CDATA[MySQL 5.1]]></category>
		<category><![CDATA[MySql]]></category>
		<category><![CDATA[MySql 5.0]]></category>

		<guid isPermaLink="false">http://blog.theunical.com/databases/mysql/msdn-blog-postings-%c2%bb-blog-archive-%c2%bb-walkthrough-setting-up-sql/</guid>
		<description><![CDATA[The scripts below and the video capture walkthrough setting up a Microsoft SQL Server Replication Distributor using SQL commands. As discussed in previous posting, the Distributor is a key role in Replication. &#8230;

MSDN Blog Postings &#8211; http://msdnrss.thecoderblogs.com/
]]></description>
			<content:encoded><![CDATA[<p>The scripts below and the video capture walkthrough setting up a Microsoft <b>SQL</b> Server Replication Distributor using <b>SQL</b> commands. As discussed in previous posting, the Distributor is a key role in Replication. <b>&#8230;</b></p>
<p><a href="http://msdnrss.thecoderblogs.com/" title="http://msdnrss.thecoderblogs.com/"><br />
MSDN Blog Postings &#8211; http://msdnrss.thecoderblogs.com/</a></p>
<img src="http://blog.theunical.com/?ak_action=api_record_view&id=299312&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://blog.theunical.com/databases/mysql/msdn-blog-postings-%c2%bb-blog-archive-%c2%bb-walkthrough-setting-up-sql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GadBall.com &#8211; Chicago IT Jobs: Java PL/ SQL Developer in Chicago, IL</title>
		<link>http://blog.theunical.com/databases/mysql/gadball-com-chicago-it-jobs-java-pl-sql-developer-in-chicago-il/</link>
		<comments>http://blog.theunical.com/databases/mysql/gadball-com-chicago-it-jobs-java-pl-sql-developer-in-chicago-il/#comments</comments>
		<pubDate>Sun, 07 Feb 2010 02:06:32 +0000</pubDate>
		<dc:creator>Steven Robert</dc:creator>
				<category><![CDATA[MySQL 5.1]]></category>
		<category><![CDATA[MySql]]></category>
		<category><![CDATA[MySql 5.0]]></category>

		<guid isPermaLink="false">http://blog.theunical.com/databases/mysql/gadball-com-chicago-it-jobs-java-pl-sql-developer-in-chicago-il/</guid>
		<description><![CDATA[We are currently seeking a Java PL/ SQL Developer for our client in the Consulting domain. We value our professionals, providing comprehensive benefits, exciting challenges, and the opportunity for growth. This is a contract position &#8230;

GadBall.com &#8211; Chicago IT Jobs &#8211; http://gadballchicago.blogspot.com/
]]></description>
			<content:encoded><![CDATA[<p>We are currently seeking a Java PL/ <b>SQL</b> Developer for our client in the Consulting domain. We value our professionals, providing comprehensive benefits, exciting challenges, and the opportunity for growth. This is a contract position <b>&#8230;</b></p>
<p><a href="http://gadballchicago.blogspot.com/" title="http://gadballchicago.blogspot.com/"><br />
GadBall.com &#8211; Chicago IT Jobs &#8211; http://gadballchicago.blogspot.com/</a></p>
<img src="http://blog.theunical.com/?ak_action=api_record_view&id=299317&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://blog.theunical.com/databases/mysql/gadball-com-chicago-it-jobs-java-pl-sql-developer-in-chicago-il/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQL Server &#8211; The Code Cage Forums</title>
		<link>http://blog.theunical.com/databases/mysql/sql-server-the-code-cage-forums/</link>
		<comments>http://blog.theunical.com/databases/mysql/sql-server-the-code-cage-forums/#comments</comments>
		<pubDate>Sun, 07 Feb 2010 02:06:31 +0000</pubDate>
		<dc:creator>Steven Robert</dc:creator>
				<category><![CDATA[MySQL 5.1]]></category>
		<category><![CDATA[MySql]]></category>
		<category><![CDATA[MySql 5.0]]></category>

		<guid isPermaLink="false">http://blog.theunical.com/databases/mysql/sql-server-the-code-cage-forums/</guid>
		<description><![CDATA[SQL Server Access Database Functions. &#8230; Default Re: SQL Server. &#8212;&#8212; Register to get rid of these &#34;In Post&#34; ads! &#8212;&#8212; The answer is yes SQL Express is the version you want. I&#39;m not sure that it&#39;s available as a download anymore. &#8230;

The Code Cage Forums &#8211; http://www.thecodecage.com/forumz/
]]></description>
			<content:encoded><![CDATA[<p><b>SQL</b> Server Access Database Functions. <b>&#8230;</b> Default Re: <b>SQL</b> Server. &#8212;&#8212; Register to get rid of these &quot;In Post&quot; ads! &#8212;&#8212; The answer is yes <b>SQL</b> Express is the version you want. I&#39;m not sure that it&#39;s available as a download anymore. <b>&#8230;</b></p>
<p><a href="http://www.thecodecage.com/forumz/" title="http://www.thecodecage.com/forumz/"><br />
The Code Cage Forums &#8211; http://www.thecodecage.com/forumz/</a></p>
<img src="http://blog.theunical.com/?ak_action=api_record_view&id=299308&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://blog.theunical.com/databases/mysql/sql-server-the-code-cage-forums/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
