SlideShare a Scribd company logo
MySQL to Drizzle, stress free migration Andrew Hutchings Software Developer Rackspace [email_address] Http://www.linuxjedi.co.uk/
What is Drizzle?
KDE3 -> 4 New Frameworks
Easier for Developers
Improved Usability
MySQL to Drizzle, stress free migration Picture by K Latham under a CC by NC SA 2.0 license
Installing
Installing in Ubuntu Natty: sudo apt-get install drizzle Lucid & Maverick: sudo apt-get install python-software-properties sudo apt-add-repository ppa:drizzle-developers/ppa sudo apt-get update sudo apt-get install drizzle (These instructions are also on  http://docs.drizzle.org/ )
Installing on Fedora Create a /etc/yum.repos.d/drizzle.repo: [drizzle] name=drizzle baseurl=http://rpm.drizzle.org/7-dev/fedora/$releasever/$basearch/ enabled=1 gpgcheck=0 [drizzle-src] name=drizzle-src baseurl=http://rpm.drizzle.org/7-dev/fedora/$releasever/SRPMS enabled=1 Gpgcheck=0 Then: su -c “yum install drizzle7-server drizzle7-client” (These instructions are also on  http://docs.drizzle.org/ )
Not Supported
Not Supported (yet) Stored Procedures
Triggers
Views
SET data type
Partitions
Not Supported (at all) MyISAM (as a main table)
Memory/Heap (as a main table)
FULLTEXT indexes
DELETE/UPDATE using multiple tables
Multiple timezones (only UTC)
Cartesian Joins
Protocol Picture by Derek Kaczmarczyk under a CC by 2.0 license
Protocol Existing Application libmysqlclient Drizzle New Application libdrizzle
Settings Picture by Travel Aficionado under a CC by NC 2.0 license
Settings Configuration can be multiple files
Just use --config-dir=/path/to/files
By default no configuration is needed
Settings Example config file 1: user=test max-heap-table-size=32M
Settings Example config file 2: innodb.buffer-pool-size=256M mysql-protocol.max-connection=2000
Settings Example config file 3: [innodb] buffer-pool-size=256M [mysql-protocol] max-connections=32
Authentication Auth_all Auth_file Auth_http Auth_ldap Auth_pam Auth plugin system
Replication Picture by Kristina Alexanderson under a CC by NC SA 2.0 license
MySQL Replication Slave Master Binary Log IO thread SQL thread Transaction InnoDB
Drizzle Replication Slave Master InnoDB Replication Reader Replication Applier Transaction
Drizzle Replication Start Master: $ drizzled --innodb.replication-log Slave config (slave.cfg): master-host=my_host master-port=3306 master-user=my_user master-password=my_password Start Slave: $ drizzled --plugin-add=slave --slave.config-file=/path/to/slave.cfg
Drizzle Replication Disabling replication for a database or table: drizzle> create table t2 (a int) replicate=FALSE; Query OK, 0 rows affected (0.087416 sec) drizzle> create database test2 replicate=FALSE; Query OK, 1 row affected (0.280803 sec)
Schemas – Removed Types TINY/SMALL/MEDIUM INT
TINY/MEDIUM/LONG BLOB/TEXT
YEAR
SET
CHAR/BINARY
Schemas – Changed Types Time In MySQL range is -839:59:59 to 838:59:59 In Drizzle range is 00:00:00 to 23:59:59
Schemas – Changed Types Date/Datetime First valid date in MySQL 0000-00-00 First valid date in Drizzle 0001-01-01
Schemas – Changed Types INT UNSIGNED UNSIGNED is only a constraint in Drizzle For extended values use BIGINT
Schemas – Changed Types INT(n) The braces are not used and ignored.
Schemas – New Types TIMESTAMP(6) TIMESTAMP(6) stores microseconds drizzle> select now(); +----------------------------+ | now()  | +----------------------------+ | 2011-04-14 00:17:14.638962 |  +----------------------------+ 1 row in set (0.000396 sec)
Schemas – New Types UUID Stores universally unique values drizzle> select * from t1; +------+--------------------------------------+ | a  | b  | +------+--------------------------------------+ |  1 | 22681f76-41fa-4245-8461-96dba0961675 |  +------+--------------------------------------+ 1 row in set (0.000409 sec)
Schemas – New Types BOOLEAN Native BOOLEAN, stores in a single bit where engine supports it. drizzle> select * from t1; +------+------+ | a  | b  | +------+------+ |  1 | TRUE |  +------+------+ 1 row in set (0.000408 sec)
Schemas - Strictness Erroneous ENUM actually errors
Divide by zero is an error
Not NULL actually means Not NULL
Character Sets Drizzle supports 2 character sets: UTF-8 and Binary
Information Schema Now follows the SQL standard Everything else is in DATA_DICTIONARY

More Related Content

PDF
Parallel Computing with R
PDF
Stacki: Remove Commands
PDF
Oracle cluster installation with grid and iscsi
PDF
Osol Pgsql
PPTX
SCALE 15x Minimizing PostgreSQL Major Version Upgrade Downtime
PDF
Oracle cluster installation with grid and nfs
PDF
Deep dive into PostgreSQL statistics.
PDF
New features in ProxySQL 2.0 (updated to 2.0.9) by Rene Cannao (ProxySQL)
Parallel Computing with R
Stacki: Remove Commands
Oracle cluster installation with grid and iscsi
Osol Pgsql
SCALE 15x Minimizing PostgreSQL Major Version Upgrade Downtime
Oracle cluster installation with grid and nfs
Deep dive into PostgreSQL statistics.
New features in ProxySQL 2.0 (updated to 2.0.9) by Rene Cannao (ProxySQL)

What's hot (20)

PDF
glance replicator
PPTX
My sql failover test using orchestrator
PDF
제 6회 엑셈 수요 세미나 자료 연구컨텐츠팀
PDF
제 8회 엑셈 수요 세미나 자료 연구컨텐츠팀
PDF
Mysql56 replication
PPTX
OakTable World Sep14 clonedb
PDF
oracle cloud with 2 nodes processing
PPTX
OpenWorld Sep14 12c for_developers
TXT
Interfaz Grafica En Java
PPTX
PPT
Replica Sets (NYC NoSQL Meetup)
PDF
Strategic autovacuum
TXT
PDF
My sql fabric ha and sharding solutions
PPTX
Postgres-BDR with Google Cloud Platform
PDF
WordPress Security - ওয়ার্ডপ্রেসের সিকিউরিটি
PDF
pg_proctab: Accessing System Stats in PostgreSQL
PDF
MyAWR another mysql awr
PDF
Recent my sql_performance Test detail
PPT
Oracle 10g Performance: chapter 00 sampling
glance replicator
My sql failover test using orchestrator
제 6회 엑셈 수요 세미나 자료 연구컨텐츠팀
제 8회 엑셈 수요 세미나 자료 연구컨텐츠팀
Mysql56 replication
OakTable World Sep14 clonedb
oracle cloud with 2 nodes processing
OpenWorld Sep14 12c for_developers
Interfaz Grafica En Java
Replica Sets (NYC NoSQL Meetup)
Strategic autovacuum
My sql fabric ha and sharding solutions
Postgres-BDR with Google Cloud Platform
WordPress Security - ওয়ার্ডপ্রেসের সিকিউরিটি
pg_proctab: Accessing System Stats in PostgreSQL
MyAWR another mysql awr
Recent my sql_performance Test detail
Oracle 10g Performance: chapter 00 sampling
Ad

Similar to Drizzle to MySQL, Stress Free Migration (20)

PDF
Fixed in drizzle
PPT
Drizzle Keynote from O'Reilly's MySQL's Conference
ODP
Beginner's guide to drizzle
PDF
"Clouds on the Horizon Get Ready for Drizzle" by David Axmark @ eLiberatica 2009
PPTX
MYSQLDUMP & ZRM COMMUNITY (EN)
PDF
Drizzle Talk
PDF
MySQL Backup and Security Best Practices
PDF
MySQL for Oracle DBAs
PDF
Make Your Life Easier With Maatkit
PPTX
MySQL DBA OCP 1Z0-883
PDF
Liberating Your Data From MySQL: Cross-Database Replication to the Rescue!
PPT
My sql with querys
PPT
Fudcon talk.ppt
PPT
Drizzle Keynote at the MySQL User's Conference
PPT
Mangala Deshpande MySQL0710.ppt
PDF
My sql susecon_crashcourse_2012
PDF
My Sql And Search At Craigslist
PDF
Breaking the-database-type-barrier-replicating-across-different-dbms
PPT
Lecture 15 - MySQL- PHP 1.ppt
PPT
qwe.ppt
Fixed in drizzle
Drizzle Keynote from O'Reilly's MySQL's Conference
Beginner's guide to drizzle
"Clouds on the Horizon Get Ready for Drizzle" by David Axmark @ eLiberatica 2009
MYSQLDUMP & ZRM COMMUNITY (EN)
Drizzle Talk
MySQL Backup and Security Best Practices
MySQL for Oracle DBAs
Make Your Life Easier With Maatkit
MySQL DBA OCP 1Z0-883
Liberating Your Data From MySQL: Cross-Database Replication to the Rescue!
My sql with querys
Fudcon talk.ppt
Drizzle Keynote at the MySQL User's Conference
Mangala Deshpande MySQL0710.ppt
My sql susecon_crashcourse_2012
My Sql And Search At Craigslist
Breaking the-database-type-barrier-replicating-across-different-dbms
Lecture 15 - MySQL- PHP 1.ppt
qwe.ppt
Ad

Recently uploaded (20)

PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
DOCX
The AUB Centre for AI in Media Proposal.docx
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Approach and Philosophy of On baking technology
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Electronic commerce courselecture one. Pdf
PDF
Empathic Computing: Creating Shared Understanding
PDF
Machine learning based COVID-19 study performance prediction
PPTX
Cloud computing and distributed systems.
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Network Security Unit 5.pdf for BCA BBA.
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
The AUB Centre for AI in Media Proposal.docx
MYSQL Presentation for SQL database connectivity
Approach and Philosophy of On baking technology
Unlocking AI with Model Context Protocol (MCP)
NewMind AI Monthly Chronicles - July 2025
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
NewMind AI Weekly Chronicles - August'25 Week I
Electronic commerce courselecture one. Pdf
Empathic Computing: Creating Shared Understanding
Machine learning based COVID-19 study performance prediction
Cloud computing and distributed systems.
Mobile App Security Testing_ A Comprehensive Guide.pdf
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
The Rise and Fall of 3GPP – Time for a Sabbatical?
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
20250228 LYD VKU AI Blended-Learning.pptx
Understanding_Digital_Forensics_Presentation.pptx
Network Security Unit 5.pdf for BCA BBA.

Drizzle to MySQL, Stress Free Migration