Home |  MySQL Buzz |  FAQ |  Feeds |  Submit your blog feed |  Feedback |  Archive |  Aggregate feed RSS 2.0 English Deutsch Español Français Italiano 日本語 Русский Português 中文
Showing entries 1 to 30 of 642 Next 30 Older Entries

Displaying posts with tag: performance (reset)

Announcing the MySQL Plugin for New Relic
+1 Vote Up -0Vote Down

Many application developers would know of New Relic. A SaaS performance and monitoring tool targeted towards your web application monitoring including PHP, Ruby, Java, .Net, Python and Node.

With the release today (June 19, 2013) of the New Relic Platform, custom monitoring of data stores including MySQL are now possible. Try it now free. This link will provide you a free standard account (no cost, no billing details necessary), that enables you to perform application monitoring, server monitoring, MySQL instance monitoring and monitoring of many other products via many plugins.

Over the next few posts I will be discussing some of the design decisions I made for this MySQL plugin. New

  [Read more...]
Fun with Bugs #10 - recently reported bugs affecting MySQL 5.6.12
+0 Vote Up -0Vote Down
MySQL 5.6.12 is available to community for more than a week already, so people started to test and use it. And, no wonder, new bug reports started to appear. Let's concentrate on them in this issue.

I'd like to start with a funny one.  Bug #69413 had scared some of my Facebook readers to death, as we see kernel mutex mentioned clearly in the release notes for 5.6.12. What, kernel mutex comes back again? No, it's just a result of null merge and, probably, copy/paste from the release notes for 5.5.32.

It seems recent bug reports for 5.6.12 are mostly related to small details



  [Read more...]
The Most Important AWS Feature for Performance and Scalability
+0 Vote Up -3Vote Down

Read the original article at The Most Important AWS Feature for Performance and Scalability

Join 6100 others and follow Sean Hull on twitter @hullsean. The Foundation of Speed All servers use disk to store files. Operating system libraries, webserver & application code, and most importantly databases all use disk constantly. So disk speed is crucial to server speed. Also check out: Five more things Deadly to Scalability. Disk Performance [...]

For more articles like these go to Sean Hull's Scalable Startups

Related posts:
  • IOPs – What is it and why is it important?
  •   [Read more...]
    Tuning MySQL Database to Access Really High Performance
    Employee_Team +1 Vote Up -0Vote Down

    MySQL continues to improve in terms of performance. To get the best out of MySQL, you must learn to analyze your system and use tools to monitor, evaluate and tune the MySQL Server.

    The MySQL Performance Tuning training is a 4-day instructor-led course which teaches you to configure the database for performance, tune application and SQL code, tune the server, examine storage engines and assess the application architecture.

    You can take this course through the following event types:

    • Training-on-Demand: Start training within 24 hours of registration. Follow this course at your own pace through streaming video of instructor delivery and scheduling time to do lab
      [Read more...]
    Five More Things Deadly to Scalability
    +0 Vote Up -0Vote Down

    Read the original article at Five More Things Deadly to Scalability

    Join 6000 others and follow Sean Hull on twitter @hullsean. 1. Slow Disk I/O – RAID 5 – Multi-tenant EBS Disk is the grounding of all your servers, and the base of their performance. True with larger and larger main memory, much is available in cache, a server still needs to constantly read from disk [...]

    For more articles like these go to Sean Hull's Scalable Startups

    Related posts:
  • Mobile Scalability – What is it and why is it important?
  • 3 Ways to Boost Cloud
  •   [Read more...]
    Finding the source of problematic queries
    Employee_Team +3 Vote Up -0Vote Down

    Many MySQL users are familiar with using slow query logs and tools such as mysqldumpslow to identify poor-performing SQL commands, and MySQL 5.6 introduces new powerful tools in PERFORMANCE_SCHEMA.  Both allow you to identify the date/time and the user account from which the command was issued, which is helpful – but if you’re using MySQL Enterprise Monitor (MEM), you can immediately identify the actual line of code responsible for the SQL command in question.  This happens to be one of my favorite and powerful features of MEM, but it’s frequently overlooked by new and experienced MEM users alike, so I’m writing the post to highlight it.

    MySQL Enterprise Monitor, of course, is a commercial product that’s part of the MySQL Enterprise subscription.  But it’s freely-available under 30-day trial terms for evaluation from

      [Read more...]
    OurSQL Episode 141: Performance Enhancements
    +3 Vote Up -0Vote Down

    This week we talk about server and status variables relating to the performance schema and the ps_helper tool. Ear Candy is an sql_mode bug, and At the Movies is a performance_schema and ps_helper webinar.

    Performance Schema Variables
    MySQL 5.5 performance schema variables
    MySQL 5.6 performance schema variables - many options are auto-sized


    SHOW GLOBAL VARIABLES LIKE 'performance_schema%';

    read more

    OurSQL Episode 140: More Performance
    +1 Vote Up -0Vote Down

    This week we explain performance_schema a bit deeper. In Ear Candy, we talk about max_binlog_cache_size and At the Movies presents Max Mether of SkySQL talking about "High Availability Solutions for MySQL".

    Events
    DB Hangops - every other Wednesay at noon Pacific time
    Upcoming MySQL events (http://www.mysql.com/news-and-events/events/)

    Training
    SkySQL Trainings
    Tungsten University trainings

    read more

    Understanding Tokutek Fractal Tree Indexes
    +1 Vote Up -0Vote Down

    Download PDF Presentation

    Thanks to Tim Callaghan for speaking Tuesday night at the Effective MySQL New York meetup on Fractal Tree Indexes : Theory and Practice (MySQL and MongoDB). There was a good turnout and a full room to learn how the TokuDB storage engine from Tokutek is changing how to handle big data in MySQL.

    Also interesting is how the same technology has been applied for use in MongoDB including giving MongoDB transactions; a big change for NoSQL.

    Related News: Tokutek Meets Big Data Demand With Open Source TokuDB

    OurSQL Episode 139: Starting to Perform
    +1 Vote Up -0Vote Down

    This week we discuss the basics of using the performance schema in MySQL 5.5 and 5.6. Ear Candy is about a temporal gotcha when using dates and times that do not exist, and At the Movies is David Stokes giving some useful for System Administrators who also are in a DBA role.

    News
    Continuent's Tungsten Replicator is now completely open source
    TokuDB is now open source

    read more

    Why Does MySQL Replication Delays?
    +1 Vote Up -0Vote Down

    These days I’ve answer some questions about replication lag, and I realized that most of people does not correctly understand how this process works internally on MySQL, and why does delays happen:

    See the bellow image, it represents asynchronous replication on MySQL, I highly recommend you to read my other post:

    “How Does MySQL Replication Works?”

      [Read more...]
    OurSQL Episode 138: The Relevance of Tungsten
    +2 Vote Up -0Vote Down

    This week we discuss Tungsten and MySQL 5.6 replication with friend of the show, Giuseppe Maxia (aka the Data Charmer). Ear Candy is MariaDB's Cassandra storage engine, and At the Movies is Giuseppe's "MySQL 5.6 Replication – features and usability" video from Open Database Camp.

    Events
    DB Hangops in May will be Wed May 8th and 22nd.
    Upcoming MySQL tech tours (http://www.mysql.com/news-and-events/events/)

    Training
    SkySQL Trainings
    Tungsten University trainings

    read more

    On performance of JDBC drivers.
    +4 Vote Up -1Vote Down

    Back when the first version of the MariaDB Java Client was released, someone asked in the comments about the performance characteristics of the driver compared to ConnectorJ. I answered with hand-waving, saying that nobody does anything stupid, the performance of the drivers would be roughly the same, but I promised to measure it and tell the world one day. And now that day has come. The day where three MySQL JDBC drivers (ConnectorJ, MariaDB JDBC, and Drizzle JDBC) are compared against each other. Unlike the server, which gets benchmarking attention all the time, there is no standard benchmark for connectors, so I needed to improvise, while trying to keep the overhead of the server minimal. So I did something very primitive to start. I used my two favorite queries:

    • DO 1 — this one does not retrieve a result set, and thus can be seen as a small
      [Read more...]
    MariaDB Introduces Atomic Writes
    +7 Vote Up -0Vote Down
    Sysbench OLTP, transactions per second

    When dealing with high performance, low latency storage devices, such as SSD cards, one finds bottlenecks in new places. This is a story about such a bottle neck and how to work around it.

    One unique feature of InnoDB is the double write buffer. This buffer was implemented to recover from half-written pages. This can happen in case of a power failure while InnoDB is writing a page (16KB = 32 sectors) to disk. On reading that page, InnoDB would be able to discover the corruption from the mismatch of the page checksum. However in order to recover, an intact copy of the page would be needed.

    The double write buffer provides such a copy. Whenever InnoDB flushes a page to disk, it is first written to the double write buffer. Only when the buffer is

      [Read more...]
    OurSQL Episode 136: Digging for Information
    +1 Vote Up -0Vote Down

    We discuss INFORMATION_SCHEMA with plenty of examples on useful queries. In this week's Ear Candy, we talk about resident versus virtual memory on Linux, and in At the Movies has a video about MongoDB.

    Events
    DB Hangops in May will be Wed May 8th and 22nd noon pacific time.
    Upcoming MySQL tech tours (http://www.mysql.com/news-and-events/events/)

    Training
    SkySQL Trainings
    Tungsten University trainings

    read more

    Tap into Top-Level MySQL Performance with MySQL Training
    Employee_Team +1 Vote Up -0Vote Down

    MySQL, the most popular open source database brings you great performance. You can see the performance details in http://dimitrik.free.fr/blog/. To help you get the most from MySQL's performance, take the MySQL for Performance Tuning course.

    This four day instructor-led training course covers:

    • Performance Tuning Basic
    • Performance Tuning Tools
    • MySQL Server Tuning
    • MySQL Query Cache
    • Storage Engines
    • Schema Design and Performance
    • Performance Tuning Extras

    This course is available in three delivery types:

        [Read more...]
      Deploying Cloudera Impala on EC2 with Example Live Demo
      +0 Vote Up -0Vote Down

      A little while ago I blogged about (and open sourced) an Impala-powered soccer visualization demo, designed to demonstrate just how responsive Impala queries can be. Since not everyone has the time or resources to run the project themselves, we’ve decided to host it ourselves on an EC2 instance. You can try the visualization; we’ve also opened up the Impala web interface, where you can see query profiles and performance numbers, and Hue (username and password are both ‘test’), where you can run your own queries on the dataset.

      Deploying  [Read more...]

      Top Two Signs your MySQL Database is Maxing Out
      +0 Vote Up -0Vote Down
      One of the main responsibilities of any database administrator is to keep a close eye on how database performance is impacting size and storage. Decisions will have to be made on whether or not to make changes within the database structure or application itself, or to make the changes on the storage and resource side [...] Read More
      How to Tune a MySQL Application Like a Piano
      +1 Vote Up -0Vote Down
      A default installation of MySQL is easy to perform, but if you really want your databases to sing, you should tune them like you would tune a piano. In MySQL tuning pertains to either the application or the database system. In this post, we cover some common tuning techniques and best practices to increase your [...] Read More
      Why MySQL Performance at Low Concurrency is Important
      +0 Vote Up -0Vote Down

      A few weeks ago I wrote about “MySQL Performance at High Concurrency” and why it is important, which was followed up by Vadim’s post on ThreadPool in Percona Server providing some great illustration on the topic. This time I want to target an opposite question: why MySQL performance at low concurrency is important for you.

      I decided to write about this topic as a number of recent blog

        [Read more...]
      MySQL Workshops: Chicago & London this April
      +0 Vote Up -0Vote Down

      Percona’s Kenny Gryp leads a recent MySQL workshop

      Percona will be in Chicago and London the week of April 8th delivering two 2-day MySQL workshops. For our MPB readers, we are offering a 15% discount. Just use MPB15A when purchasing your tickets to one or both MySQL workshops.

        [Read more...]
      OurSQL Episode 131: Fresh Variables
      +1 Vote Up -0Vote Down

      This week we discuss changed behavior of variables in MySQL 5.6. In ear candy we talk about a cloud-based service to play with SQL on different databases, and At the Movies is Stewart Smith of Percona talking about MySQL in the Cloud as a Service during Linux Conf Australia in Canberra.

      Changed behavior of variables in 5.6
      boolean variables can be set to ON/OFF 1/0 TRUE/FALSE

      Variables with changes:
      log_slave_updates

      read more

      Get Even More from MySQL With MySQL Performance Tuning Training
      Employee_Team +2 Vote Up -0Vote Down

      With each release, the MySQL database brings you even better performance. To get the most from your MySQL servers, performance tuning is important. And what better route than to take the MySQL for Performance Tuning training course.

      In this four-day instructor-led class you will learn to:

      • Understand the basics of Performance Tuning
      • Use the tools of performance tuning
      • Tune the MySQL server instance to improve performance
      • Improve performance of tables
      • Implement proper Schema Design to improve performance
      • Improve the performance of MySQL queries

      This course is available as:

      • Training-on-Demand: Start training within 24 hrs of registering and follow
        [Read more...]
      Sysbench OLTP: MySQL-5.6 vs. MariaDB-10.0
      +9 Vote Up -5Vote Down

      Oracle has now launched MySQL-5.6.10-GA, so it is time to come up with some new benchmark results. The test candidates in this benchmark run are

      • MySQL-5.5.29
      • MySQL-5.6.10
      • MariaDB-5.5.28a
      • MariaDB-10.0.1

      The 5.5 versions are in because I wanted to check for any regressions. In the past we have often seen performance regressions in newer versions which were caused by new features.

      This time the benchmark was run on a different box. The main difference is that this box does not have SSD but a high performance RAID-5 with 512M of battery-backed cache. Besides that the machine has 16 cores out of which 12 were used for mysqld and the other 4 for sysbench.

      The benchmark uses sysbench-0.5 OLTP with 8 tables and 10G worth of data. InnoDB buffer pool was 16G, InnoDB log group capacity 4G (the maximum for MySQL-5.5). The

        [Read more...]
      DBT-3 Q3: 6 x performance in MySQL 5.6.10
      Employee +11 Vote Up -0Vote Down
      When MySQL gets a query, it is the job of the optimizer to find the cheapest way to execute that query. Decisions include access method (range access, table scan, index lookup etc), join order, sorting strategy etc. If we simplify a bit, the optimizer first identifies the different ways to access each table and calculate their cost. After that, the join order is decided.

      However, some access methods can only be considered after the join order has been decided and therefore gets special treatment in the MySQL optimizer. For join conditions, e.g. "WHERE table1.col1 = table2.col2",  index lookup can only be used in table2 if table1 is earlier in the join sequence. Another class of access methods is only meaningful for tables that are first in the join order. An example is queries with ORDER BY ... LIMIT. Prior to MySQL 5.6.10 there was a bug in MySQL

        [Read more...]
      Efficient Partial Table Scans
      +0 Vote Up -0Vote Down
      There's a pretty common MySQL recipe for performance that if you want to efficiently scan through lots of rows in small chunks that LIMIT with OFFSET is right out.  Using OFFSET, MySQL will have to scan all the rows until it finds the starting position before it starts reading results to return.   Just to be clear, these statements look like:

      SELECT id FROM foo ORDER BY id LIMIT 10 OFFSET 1000;


      If you were trying to read all rows in table then this would  be a very slow and expensive way to do that (in terms of MySQL resources.) The most common optimization is to switch to an algorithm where you remember the last highest id value for each chunk of rows, and then add that to the WHERE clause.

      SELECT id FROM foo WHERE id > 100000  ORDER BY id LIMIT 10;


       This would be a much more efficient way







        [Read more...]
      OurSQL Episode 127: No Sweat Slaves
      +2 Vote Up -0Vote Down

      This week we begin to discuss replication features in MySQL 5.6. Ear Candy is a LOAD DATA INFILE bug and using CSV to get beyond it; At the Movies is Suzan Bond talking about "The Art of Self-Sourcing".

      Events
      Oracle's doing more MySQL tech tours. These seminars will be in the mornings, and are free. They will be on:
      Tuesday, February 19th in Petach Tikva, Israel
      Thursday, February 21st in Oslo and Brussels

      read more

      Serious XFS Performance Regression in Linux Kernel 2.6.32-279
      +0 Vote Up -0Vote Down
      I'm not the only one to have noticed this, but I spent a sufficient amount of time banging my head against a wall finding this out that I thought it important to make more people aware of this.

      While trying to validate new database hardware we were seeing some serious performance issues in production.  Most MySQL benchmarks using sysbench or pt-playback couldn't reproduce it, but a simple sysbench 16 threaded filio test on the mysql partition showed about 1/3 the throughput we would expect.   The fact that much of the hardware was new as well as the OS we were using made tracking down the cause difficult (changing from CentOS 5.5 to Scientific Linux 6.)

      Finally some of our ops people working on different systems started noticing similar issues, and they uncovered the XFS issue.  Sure enough -- when took existing hardware,



        [Read more...]
      MySQL 5.6 Replication Performance
      Employee_Team +10 Vote Up -1Vote Down

      With data volumes and user populations growing, its no wonder that database performance is a hot topic in developer and DBA circles.  

      Its also no surprise that continued performance improvements were one of the top design goals of the new MySQL 5.6 release which was declared GA on February 5th (note: GA means “Generally Available”, not “Gypsy Approved” @mysqlborat)

      And the performance gains haven’t disappointed:

      - Dimitri Kravtchuk’s Sysbench tests showed MySQL delivering up to 4x higher performance than the previous 5.5 release.

      - Mikael Ronstrom’s testing (http://www.mysql.com/why-mysql/benchmarks/) showed up to 4x better scalability as thread counts rose to

        [Read more...]
      How slow can SSD be or why is testing a new server performance important?
      +3 Vote Up -0Vote Down

      Recently we have helped our customer to migrate their entire application stack from one data center to another. Before we were brought on-board, customer had already placed an order for a new set of servers with the new hosting provider. All of them were suppose to be high-end systems – many CPU cores, plenty of RAM and RAID array build on top of SSD drives. As the new machines started being available to us, we began setting up the new environment. At some point it turned out that the new machines were actually slower compared to the several year old systems and their load was much higher under comparable traffic.

      We examined several of the new servers and each time the conclusion was that the problems were related poor I/O performance. In the benchmarks a RAID 10 array

        [Read more...]
      Showing entries 1 to 30 of 642 Next 30 Older Entries

      Planet MySQL © 1995, 2013, Oracle Corporation and/or its affiliates   Legal Policies | Your Privacy Rights | Terms of Use

      Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.