MySQL Configuration Options and Files: Basic MySQL Variables (Part 1)

Sheeri K. Cabral (Mozilla Foundation)
Average rating: ***..
(3.25, 4 ratings)

MySQL offers a complex amount of information in commands like SHOW VARIABLES, SHOW STATUS and SHOW ENGINE INNODB STATUS. This 2-part tutorial will mine through the information to show how to use the information to make decisions about performance tuning and capacity planning. Sheeri Cabral of the Pythian group explains all the variables and how to use them in a way that a MySQL newbie can understand and a seasoned MySQL expert will learn something new.

Part I: Basic MySQL Variables
  • System vs. Status variables
  • Variables relating to functions and features
  • Using more than one config file
  • MySQL files and directories
  • Global performance tuning variables (including optimizer variables)
  • Query tuning variables (sorts, joins, full table scans)
  • Replication variables
  • Variables used in logging
  • How to run SQL commands on server start, on slave start and on each client connection
  • Global memory variables (including query cache)
  • Global security variables
  • Connection and thread variables
  • Locale, character set, and collation variables
  • Variables affecting SQL behavior
  • Variables that are not used, or not useful.
Photo of Sheeri K. Cabral

Sheeri K. Cabral

Mozilla Foundation

Sheeri K. Cabral has a master’s degree in computer science specializing in databases from Brandeis University. She has background as a systems administrator; has worked with Oracle, Sybase, DB2, Solaris, RedHat/Fedora, AIX, and HP-UX. Unstoppable as a volunteer and activist since age 14, Cabral founded and organizes the Boston, Massachusetts, USA, MySQL User group, and wrote the MySQL Administrator’s Bible (www.tinyurl.com/mysqlbible). She currently works for PalominoDB, a remote database management company

Comments on this page are now closed.

Comments

Picture of Sheeri K. Cabral
Sheeri K. Cabral
04/20/2010 4:50am PDT

Videos: part 1, before break: www.youtube.com/watch?v=RKw... part 1, after break: www.youtube.com/watch?v=Mn9...

See also part 2 at en.oreilly.com/mysql2010/pu...

Picture of Sheeri K. Cabral
Sheeri K. Cabral
04/13/2010 9:23am PDT

Slides are at: bit.ly/my10vars1

  • Oracle
  • Monty Program
  • Calpont
  • Facebook
  • Gear6
  • Infobright, Inc
  • JasperSoft
  • Joyent
  • Kickfire
  • NorthScale, Inc.
  • Percona
  • Schooner Information Technology
  • Solid Quality Mentors (SolidQ)
  • Intel
  • Pentaho
  • Linux Pro Magazine

Sponsorship Opportunities

For information on exhibition and sponsorship opportunities at the conference, contact Yvonne Romaine at yromaine@oreilly.com

Download the O'Reilly MySQL Conference & Expo Sponsor/ Exhibitor Prospectus

Media Partner Opportunities

Download the Media & Promotional Partner Brochure (PDF) for information on trade opportunities with O'Reilly conferences or contact mediapartners@ oreilly.com

Press and Media

For media-related inquiries, contact Maureen Jennings at maureen@oreilly.com

O'Reilly MySQL Conference Newsletter

To stay abreast of conference news and to receive email notification when registration opens, please sign up for the O'Reilly MySQL Conference newsletter (login required).

Contact Us

View a complete list of O'Reilly MySQL Conference contacts.