The Wayback Machine - https://web.archive.org/web/20100410205009/http://www.internet.com:80/Developer/Database/MySQL
  1. Home
  2. IT
  3. Developer
DatabaseEnterpriseOpen SourceProgrammingWeb Development
AccessDB2MySQLOracleOtherSQL ServerXML
MySQL  
MySQL Exotic Storage Engines
MySQL has an interesting architecture that allows you to plug in different modules to handle storage. What that means is that it's quite flexible, offering an interesting array of different storage engines with different features, strengths, and tradeoffs. Sean Hull presents some of the newest and more exotic storage engines, and even some that are still in development.
MySQL Input Parameters Add Flexibility to Crosstab Stored Procedures
When generating a result set where the query contains an unknown number of column and/or row values we can use a combination of Prepared Statements, which allows us to tailor the output based on the number of data values. We can also add input parameters to a procedure to assign the field names, aliases, and even the aggregate function!
MySQL Prepared Statements to Generate Crosstab SQL
MySQL Reporting requirements sometimes require both unknown column and row values, necessitating a more powerful means of generating crosstabs. Today's article presents Prepared Statements, which dynamically generate the SQL and assign it to a variable so that we can tailor the output based on the number of data values.
MySql View Technique for Grouping Crosstab Column Data
Learn a technique to fetch column data for MySQL crosstabs by emulating views. By replacing tables with a subquery subset, the resulting view will contain a limited dataset that has been filtered for that column field.
Survey of MySQL Storage Engines
MySQL has an interesting architecture that sets it apart from some other enterprise database systems. It allows you to plug in different modules to handle storage. What that means to end users is that it is quite flexible, offering an interesting array of different storage engines with different features, strengths, and tradeoffs.
MySQL CASE Statements in Multi-Aggregated Crosstab Columns
Inserting additional columns to a crosstab query is less straightforward than adding row data, because SQL naturally groups data by rows. Moreover, the efficacy of the CASE statement within an aggregate function decreases in direct proportion to the complexity of the criteria. Read on to learn more...
MySQL Multi-Aggregated Rows in Crosstab Queries
MySQL's crosstabs contain aggregate functions on two or more fields, presented in a tabular format. In a multi-aggregate crosstab query, two different functions can be applied to the same field or the same function can be applied to multiple fields on the same (row or column) axis. Rob Gravelle shows you how to apply two different functions to the same field in order to create grouping levels in the row axis.
DRBD and MySQL - Heartbeat Setup
Heartbeat automates all the moving parts and can work as well with the MySQL master-master active/passive solution as well as it can with the MySQL & DRBD solution. It manages the virtual IP address used by the database, directs DRBD to become primary, or relinquish primary duties, mounts the /dev/drbd0 device, and starts/stops MySQL as needed.
Tips for Simplifying Crosstab Query Statements
Rob Gravelle takes a complex SQL statement and shows you several ways to re-write it that both simplifies and shortens it, while still yielding the same results.
Harmonizing Character Encoding Between Imported Data and MySQL
MySQL's Latin-1 default encoding combined with MySQL 4.1.12's (or greater) UTF8 encoding allows the maximum number of characters codes, however incoming data with different character encoding can still present problems. Rob Gravelle shows you how to avoid problems before a lot of work is required to undo the damage.
DRBD and MySQL - Virtualbox Setup
DRBD is a Linux project that provides a real-time distributed filesystem. Sean Hull demonstrates how to use Sun's virtualbox software to create a pair of VMs, then configure those VMs with DRBD, and finally install and test MySQL running on volumes sitting on DRBD.
MySQL Creator Fights on Against Oracle
Monty Widenius launches a new campaign to stop the Oracle-Sun merger.
All About the Crosstab Query
Most relational databases don't provide an easy way to create crosstabs. Rob Gravelle shows you one of several ways to create crosstabs using regular SQL.
Faster & Stronger MySQL
Usually an article like this one will start out with the technical word "scaling". Unfortunately, like health care reform, everyone can't always agree on what they mean by it, or even what the goal is. Learn how to make your database faster, stronger, bigger and better in this article that uses words we can all agree on.
Maximizing Query Performance through Column Indexing in MySQL
Indexes are a feature that you can enable on your MySQL tables to increase performance, but they do have some downsides. Read on as we review some of the best practices for achieving the right balance between query and update speed through column indexing in MySQL.
Tips for Managing Complex Queries
There are ways to structure a query that will minimize the complexity while raising confidence in the data returned. This article shares a few techniques that will help simplify the writing of complex queries.
Fetching Data from Multiple Tables using Joins
Applying normalization to relational databases tends to promote better accuracy of queries, but it also leads to queries that take a little more work to develop, as the data may be spread amongst several tables. In today's article, we'll learn how to fetch data from multiple tables by using joins.
Running MySQL in Batch Mode
Anyone who has spent a fair amount of time working with databases comes to realize that common tasks like backups and data transfers should be run from a script rather than interactively. In this tutorial, we will be writing a common batch file to back up a table to a file.
7 Ways To Crash a Database
Many articles on database administration take the perspective of trying to help you do your job better. We thought we might take a different tack and poke a little fun at some of more egregious mistakes we've seen over the years at IT shops.
Enhance your Queries with Stored Functions
HeidiSQL 4's Stored Routine Editor offers a user-friendly alternative to using a command-line interface to create and manage your stored procedures and functions. Today, we'll be learning how to take advantage of some useful native MySQL functions as well as use the editor to create our own custom functions.
MySQL: Five More Dials To Turn
Last month we talked about some things to set and tune in a new MySQL database installation. We touched on connections, query cache, temp tables, session memory, and the slow query log. This second part in the series hits on some other very important things to tune in a new MySQL database.
Creating Stored Procedures in MySQL Using HeidiSQL 4’s Stored Routine Editor
In the "Write MySQL Queries Using HeidiSQL 4" article, we learned how to connect to a MySQL database and execute queries against it using the free HeidiSQL GUI client. Today, we'll learn how to create a stored procedure using HeidiSQL's Stored Procedure Editor.
MySQL: Five Dials to Set
In this article, Sean Hull looks at the first five out of ten dials that you can turn to get an initial MySQL vanilla install working for your specific application requirements.
Write SQL Code for MySQL Using HeidiSQL 4
HeidiSQL is a free GUI client for MySQL, favored by many Web developers and database administrators of small to medium-sized businesses to manage persistent storage of data. This article will familiarize you with HeidiSQL’s Query editor by using it to write a query that will join four tables together to perform searches against a help library.
MySQL Clustering in a Sandbox
MySQL's unique architecture allows for plugin storage engines. There is the MyISAM storage engine, the ARCHIVE storage engine and the InnoDB storage engine; so it makes sense then that MySQL's clustering solution involves a storage engine as well, namely the NDB (Network DataBase) storage engine.
WHITEPAPERS & EBOOKS  Advertisement
HOTTEST MYSQL DISCUSSIONS 
Advertisement
Microsoft Visual Studio 2010 Professional is the essential tool for individuals performing basic development tasks, including creating applications for SharePoint and the Cloud. Visual Studio 2010 Professional will launch on April 12, but you can beat the rush and secure your copy today by pre-ordering at the affordable estimated retail price of $549 (US).
Many of the largest IT budget problems can be traced back to five big money drains. This e-book, provided by IBM, will introduce you to the five big IT budget killers - and some of the best ways to knock them out. Get it now.
Windows Azure features a very powerful, yet simple deployment model. By focusing on your application and abstracting away the infrastructure details, you can deploy almost any app with minimal fuss. Learn more.

Microsoft Patch Tuesday to Fix 25 Threats
Of the more than two dozen vulnerabilities Microsoft is addressing in April's Patch Tuesday release, the firm's monthly security update, five are deemed critical.

Phishers Rev Up IRS Scams for Tax Time
With tax season in full swing, online scammers are blanketing the Internet with polished messages posing as the IRS trying to entice users to click on a link that could expose their personal information.

WebKit 2, Firefox Move to Isolate Plugins
Developers behind the open source WebKit browser engine are experimenting with new ways to make the browser more stable. Will it work?

Google's 'Atmosphere' Targets CIOs
Four hundred CIOs and other IT execs are slated to attend the first "Atmosphere" event focused on cloud computing at Google's headquarters.

Adobe Prepping Security Updater Service
Following months of testing and a long history of security vulnerabilities with its popular Reader and Acrobat products, Adobe is planning to debut its new software update system next week.

Advertisement