Planet MySQL Planet MySQL: Meta Deutsch Español Français Italiano 日本語 Русский Português 中文
10 Newer Entries Showing entries 11 to 20 of 33298 10 Older Entries
Percona Toolkit for MySQL with MySQL-SSL Connections
+1 Vote Up -0Vote Down

I recently had a client ask me how to use Percona Toolkit tools with an SSL connection to MySQL (MySQL-SSL). SSL connections aren’t widely used in MySQL due to most installations being within an internal network. Still, there are cases where you could be accessing MySQL over public internet or even over a public “private” network (ex: WAN between two colo datacenters). In order to keep packet sniffers at bay, the connection to MySQL should be encrypted.

If you are connecting to Amazon RDS from home or office (ie: not within the AWS network) you better be encrypted!

As there is already a MySQL Performance Blog post on how to setup MySQL SSL

  [Read more...]
Benchmarking Presentation at Percona Live London 2014
+0 Vote Up -0Vote Down

In a few weeks I’m presenting “Performance Benchmarking: Tips, Tricks, and Lessons Learned” at Percona Live London 2014 (November 3-4). I continue to learn lessons and improve my benchmarking capabilities, so the content is a full upgrade from my presentation at Percona Live Santa Clara in April 2013. Anyone interested in achieving and sustaining the best performance out of their software/hardware/application should attend.

Also, Tokutek is sponsoring so we’ll be available in the expo hall throughout the

  [Read more...]
InnoDB: Supporting Page Sizes of 32k and 64k
Employee_Team +1 Vote Up -0Vote Down

In the new InnoDB lab release we support page sizes of 32k and 64k. This gives users even more choices on the page size, allowing you to further customize InnoDB for your particular workload.

There are some things worthy of note related to this new feature:

  • The extent size changes when the innodb_page_size is set 32k or 64k.
    The extent size is 2M for 32k page sizes, and 4M for 64k page sizes (the extent size is 1M for 4k, 8k, and 16k page sizes). If we do not enlarge the extent size then we will have too many extent headers on the allocation bitmap page, and the bitmap page will overflow.
  • The

  •   [Read more...]
    Smoke-Testing VividCortex's Agents With A Sanity Check Tool
    +0 Vote Up -1Vote Down

    One of our agents, vc-mysql-query, works by sniffing TCP traffic with libpcap and decoding the MySQL protocol. As you can imagine, it’s one of the most complicated portions of our codebase. It’s also difficult to test. We have a set of tests using tcpdump files of production MySQL traffic to deterministically test the sniffer code. We run the tcpdump files through the sniffer and check the generated output. The issue with this is that every time we add a new dump file, it’s a lot of manual work to know for sure what we should be seeing in the output. If the agent says that 100 SELECTs were run, how do we make sure it’s true?

    In order to brute-force test and try to smoke out bugs, we wrote a small Go tool that we call the sanity-check. It runs a production version of vc-mysql-query and tests it with a

      [Read more...]
    MySQL Cluster 7.2
    +10 Vote Up -1Vote Down
    MySQL Cluster 7.2 (7.2.18 GA, published on Thursday, 16 Oct 2014)
    Ignoring the lost+found Directory in your Datadir
    +0 Vote Up -0Vote Down

    I still get asked about the lost+found directory enough, and so I wanted to provide a current update.

    The lost+found directory is a filesystem directory created at the root level of a mapped drive. Thus this is common to see if you create your mysql datadir at the root level of a mapped drive.

    In the past, you could ignore it, if it wasn’t too problematic for you, or you could move your datadir down a level, and then it wouldn’t be created in the datadir anymore.

    However, there is now the –ignore-db-dir option. It is actually not too new (it’s been in MariaDB since 5.3.9 and 5.5.28, and in MySQL as of 5.6.3), but I don’t think many are too familiar with it.

    But when you do run into this problem, some/many would prefer to add a single line to the config file rather than move the datadir.

    To do this, just

      [Read more...]
    libAttachSQL Single Thread vs. libmysqlclient Multi Thread
    +0 Vote Up -0Vote Down

    I have recently posted up benchmarks of libAttachSQL vs. libmysqlclient using sysbench. Whilst these are great and shows the results I hoped for, this isn't what we designed libAttachSQL for. It was designed for non-blocking many connections per thread.

    With this in mind I spent today knocking up a quick benchmark tool which replicates the Sysbench "Select" test but using libAttachSQL's connection groups on a single thread. The code for this can be seen in the new AttachBench GitHub tree. Of course the secondary reason for this is to try and hammer the connection groups feature, which of course did find a bug when I scaled to around 32

      [Read more...]
    How to close POODLE SSLv3 security flaw (CVE-2014-3566)
    +0 Vote Up -0Vote Down
    Padding Oracle On Downgraded Legacy Encryption

    First off, the naming “convention” as of late for security issues has been terrible. The newest vulnerability (CVE­-2014-3566) is nicknamed POODLE, which at least is an acronym and as per the header above has some meaning.

    The summary of this issue is that it is much the same as the earlier B.E.A.S.T (Browser Exploit Against SSL TLS), however there’s no known mitigation method in this case – other than entirely

      [Read more...]
    And the Bose Mobile Speaker DrupalCon prize draw winner is...
    +0 Vote Up -0Vote Down
    Wed, 2014-10-15 17:46robertsilen

    DrupalCon Amsterdam was a great event with a lot of energy! It was good to hear so many Drupal developers have already made the switch to MariaDB including the Drupal Association!

    We are happy to announce the winner of the free prize draw for the Bose SoundLink Mini:

    Matthew Radcliffe at Kosada

    Matthew has received his Bose SoundLink Mini and is very happy with the prize!

    If you missed Maria-Luisa's talk on Wednesday about the benefits of deploying Drupal on MariaDB check out the slides on slideshare.

    Want to know more about MariaDB and Drupal?

    • See our blog series on
      [Read more...]
    Updates with secondary index maintenance: 5.7 vs previous releases
    +0 Vote Up -0Vote Down
    My previous results for an update-only workload to a cached and IO-bound database used a table that did not require secondary index maintenance from the update. Prior to that I ran tests using mysqlslap and might have found a regression in InnoDB when the update requires secondary index maintenance (bug 74235). The mysqlslap test did all updates to the same row. The test I describe here chooses the row to update at random and this workload does not reproduce the worst case from bug 74235.

    The results are that newer releases tend to do

      [Read more...]
    10 Newer Entries Showing entries 11 to 20 of 33298 10 Older Entries

    Planet MySQL © 1995, 2014, 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.