Download presentation
Presentation is loading. Please wait.
Published byAmelia Underwood Modified over 8 years ago
1
1 The World’s Most Popular Open Source Database Copyright 2006 Colin Charles and MySQL AB MySQL and Mac OS X Colin Charles Community Engineer colin@mysql.com
2
2 The World’s Most Popular Open Source Database Copyright 2006 Colin Charles and MySQL AB Who am I? Colin Charles Fedora PowerPC port, OpenOffice.org X11/OSX port, some GNOME hacks, and numerous others Community Engineer, MySQL AB – Ubuntu/MySQL relationship – MySQL Forge – http://www.mysql.com/ http://www.mysql.com/ http://www.bytebot.net/
3
3 The World’s Most Popular Open Source Database Copyright 2006 Colin Charles and MySQL AB MySQL AB Open Source Database Company Swedish company started by Monty Widenius and David Axmark Employs developers world wide – Over 300+ employees – 26+ countries
4
4 The World’s Most Popular Open Source Database Copyright 2006 Colin Charles and MySQL AB Agenda What's in MySQL 5 Tools you can use to administer MySQL Contributing to the MySQL Community Resources
5
5 The World’s Most Popular Open Source Database Copyright 2006 Colin Charles and MySQL AB What's new in MySQL 5? Views – Virtual table composed as a result of a query Stored Procedures – Portable sub-programs stored within the database Triggers – ANSI standard; check data and trigger on something, change INSERT/DELETE/UPDATE GUI Tools Cluster Information Schema Archive and Federated Instance Manager
6
6 The World’s Most Popular Open Source Database Copyright 2006 Colin Charles and MySQL AB Storage Engine Architecture In 5, we included 2 more: – Archive: reduces storage requirements by >50%, via gzip packing, while unzipped on the fly. Good for historical data that needs to be kept online (INSERT and SELECT only) – Federated: access data in remote tables (where remotely, it could be using any engine). Cluster (NDB) is an engine as well Its open (mysql.com/engines) – We encourage contributions if you create something useful – PBXT for an example...
7
7 The World’s Most Popular Open Source Database Copyright 2006 Colin Charles and MySQL AB Information Schema INFORMATION_SCEHMA is a new virtual database, i.e. A standards compliant way to access server metadata Can be queried via SELECT, so no reason to learn something new mysql> SELECT table_schema, sum(Data_length + index_length) / (1024*1024) as size_mb -> FROM INFORMATION_SCHEMA..tables -> GROUP BY table_schema -> ORDER BY size_mb DESC; +--------------------+---------+ | table_schema | size_mb | +--------------------+---------+ | mysql | 0.3974 | | information_schema | 0.0039 | +--------------------+---------+ 2 rows in set (0.04 sec)
8
8 The World’s Most Popular Open Source Database Copyright 2006 Colin Charles and MySQL AB Command line tools mysql – command line, interactive queries of any sort mysqladmin -administrative tasks (start/stop server/replication slaves, GRANT tables), scriptable interface for command line operations mysqldump – backup your MySQL database, export it mysqlbinlog – point in time recovery, replication slave management
9
9 The World’s Most Popular Open Source Database Copyright 2006 Colin Charles and MySQL AB GUI Tools MySQL Administrator – Basic administration tool – Can dynamically monitor database health – Backup and restore databases – Administer Users Add users, assign passwords MySQL Query Browser – Query toolbar Execute SQL statements and review results – Transaction support Start, commit, rollback – Object and information browser Migration Toolkit
10
10 The World’s Most Popular Open Source Database Copyright 2006 Colin Charles and MySQL AB Contributing to the MySQL Community MySQL Forge – http://forge.mysql.com/ http://forge.mysql.com/ – Projects, code snippets, wiki of documentation Package/test/help OpenDarwin and Fink Convert Web apps to use MySQL Code? – C/C++ knowledge is handy ● http://dev.mysql.com/doc/refman/5.1/en/installing-source-tree.html http://dev.mysql.com/doc/refman/5.1/en/installing-source-tree.html ● GUI tools could use work
11
11 The World’s Most Popular Open Source Database Copyright 2006 Colin Charles and MySQL AB Resources Mailing lists – http://lists.mysql.com/ http://lists.mysql.com/ Forums – http://forums.mysql.com/ http://forums.mysql.com/ – With RSS feeds now! http://dev.mysql.com/ Great manual http://forge.mysql.com/ <- Community Portal http://forge.mysql.com/ #mysql on irc.freenode.net
12
12 The World’s Most Popular Open Source Database Copyright 2006 Colin Charles and MySQL AB New 5.1 features Partitioning – Distribute portions of tables across filesystem via rules Event scheduling – Cron, but within the database XML Xpath support – Manipulate strings/booleans/numbers, model XML document as tree of nodes MySQL Cluster will have disk-based data – Only index will remain main memory only; everything else can be committed to disk if required Cluster replication 5.1 beta release is here...
13
13 The World’s Most Popular Open Source Database Copyright 2006 Colin Charles and MySQL AB Q & A Colin Charles Community Engineer colin@mysql.com
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.