The Wayback Machine - https://web.archive.org/web/20121017071839/http://planet.mysql.com:80/
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 28078 Next 30 Older Entries
Once more about comparison of subquery optimization in MySQL 5.6 and MariaDb 5.5, once more about nothing...
+2 Vote Up -2Vote Down

Has it ever happened to you, when attending a party or any other convention, to enter the hall, see a gang of nice people drinking, smiling, laughing, doing small talks, and you saying “hi” to them and in response getting just and empty stare somewhere above your head? And you then – trying to approach a guy looking quite familiar to you – stretch your hand to shake his hand just to watch him demonstratively turn his back to you? And so there you nervously looking around, and stealthily checking your back (no, no tail), and throwing a glance at your toes (still no hooves), and you passing your palm across your sweating forehead (no hints of horns). And “am I plagued?” comes to your head as you start regretting utterly that your appeared here at all, and you start wishing to be disintegrated, annihilated, completely blown out... You don't have to.  [Read more...]
RMOUG Training Days 2013 & MySQL
Employee +1 Vote Up -0Vote Down

Call for Abstracts Deadline Extended until October 22! 

MySQL Sessions are needed ! Submit an abstract for RMOUG Training Days 2013! They have extended the abstract submission deadline to Monday, October 22.

They are looking for presentations on the following topics:
  • Application Development
  • Business Intelligence
  • Database Administration
  • DBA Deep Dive
  • Database Tools of the Trade
  • Middleware
All primary authors of selected abstracts receive a complimentary conference registration.

Visit   [Read more...]
MySQL Conference & Expo Call for Papers - tips on submitting a great proposal
+0 Vote Up -0Vote Down

It's the time of the year again: You have 2 more weeks to submit a great proposal to the biggest and baddest MySQL Conference: Percona Live MySQL Conference and Expo 2013 (Santa Clara). Like many things in the MySQL community, this conference has also gone through a transformation over the past 3 years. But last year the growing pains and uncertainty ended with Percona putting up a great show. Attendance was up again (over 1000) and there was a sense of energy and excitement for the future of MySQL. If you are like me and like to dwell in nostalgia (so that you can get into the right mood for submitting great proposals) my coverage of last year's conference is found here: part 1,

  [Read more...]
MySQL documentation writer wanted
Employee +3 Vote Up -0Vote Down
As MySQL is thriving and growing, we're looking for an experienced technical writer located in Europe or North America to join the MySQL documentation team.

For this job, we need the best and most dedicated people around. You will be part of a geographically distributed documentation team responsible for the technical documentation of all MySQL products. Team members are expected to work independently, requiring discipline and excellent time-management skills as well as the technical facilities to communicate across the Internet.

Candidates should be prepared to work intensively with our engineers and support personnel. The overall team is highly distributed across different geographies and time zones. Our source format is DocBook XML. We're not just writing documentation, but also handling publication. This means you should be familiar with DocBook, and  [Read more...]
Configuring email in the Cloud
+1 Vote Up -2Vote Down

What a relief! A few simple configuration steps gives me new hope for coping with email.

It unlikely matters to you, but it does to me: My inbox is down to zero. That is, both my two inboxes are empty. I get work email to my @skysql.com address and private email to my @arno.fi, both of which have been suffering from bad email habits.

Inspired by years of discussions with Giuseppe Maxia, who is living proof that proper IT tools make geeks work smarter, faster and better, I bought the book "lifehacker". The first one out of over 100 hacks is labeled "Empty Your Inbox (and Keep It

  [Read more...]
Presenting “MongoDB and Fractal Tree Indexes” at MongoDB Boston 2012
+0 Vote Up -0Vote Down

I’ll be presenting “MongoDB and Fractal Tree Indexes” at MongoDB Boston 2012 on October 24th.  My presentation covers the basics of B-trees and Fractal Tree Indexes, the benchmarks we’ve run so far, and the development road map going forward.

I’ve been to this one day conference twice now and both times came away with a better understanding of MongoDB’s capabilities, use-cases, and many questions answered via their deep technical dives.  I highly recommend current MongoDB users and anyone considering a MongoDB project attend – it appears that seats are still available.

So, how do you sync your database schema?
+4 Vote Up -0Vote Down

It is almost an everyday task for developers to ensure the schema are in sync in their test/development/production databases. No doubt that everyone who works with MySQL servers will encounter situations where schema should be synchronized. When this happens, there must be a reliable solution where it should work in any complex situation.

Challenge:

You have made numerous MySQL schema changes to your databases during development of a new feature. Now you want to sync development and production schemas so that they match when you

  [Read more...]
Green Mutexes
+1 Vote Up -0Vote Down

InnoDB implements a mutex and rw-lock using pthread synchronization objects when compiled for Linux. These add a great feature -- SHOW INNODB STATUS is able to list the objects and locations where threads are blocked. Unfortunately this comes at a price. The InnoDB mutex uses much more CPU than a pthread mutex for workloads with mutex contention. Feature request 52806 is open for this but the feature request description is vague.

 

How much more CPU does it use?

 

I extracted all of the code needed to use an InnoDB mutex into a standalone file. This includes much of the sync array code. I then added benchmark functions that do the following in a loop: lock the mutex, increment a counter, sleep for a configurable amount of time and then

  [Read more...]
How to send input to many terminals
+0 Vote Up -0Vote Down

Do you ever find yourself wanting to open several terminal windows and send the same commands to all of them? I’ve had this need many times, and I’ve never found a completely satisfactory solution. I’ve also known a lot of people who’ve written various sets of scripts to help them accomplish such tasks.

In no particular order, here are a few ways I’ve done this in the past:

  • Facebook’s pmysql client
  • The dsh tool
  • Several screen windows named remoteXXX, followed by a bash for-loop: while read cmd; do screen -X at remote# stuff "$cmd"; done
  • Using many PuTTY windows and the puttycs tool
  • Opening many tabs in KDE’s Kterm tool and selecting the
  •   [Read more...]
    Percona Live: MySQL Conference and Expo Call for Papers Extended!
    +1 Vote Up -2Vote Down

    The call for papers for Percona Live: MySQL Conference and Expo 2013 has been extended through October 31st. The conference will be held in Santa Clara, California from Monday, April 22nd through Thursday April 25th (and this year it’s not during Passover!).
    Why You Should Submit
    Percona Live is a meeting of the minds – not just the April Santa Clara conference, but all the Percona Live conferences. If you get a proposal accepted, you get free admission to the conference!
    There is no cost to submit, and you do not have to tell anyone you submitted. I have submitted to conferences and been rejected – it stinks. But there is no reason not to submit. Submit a few presentations on different topics, because the presentation you have in mind might be submitted by

      [Read more...]
    Percona Live MySQL Conference and Expo 2013, Call for Papers
    +1 Vote Up -0Vote Down

    I'm honored to accept the role of conference chairman in the upcoming Percona Live MySQL Conference and Expo, April 22th-25th, 2013, Santa Clara, CA. Here are a few administrative announcements:

    Call for Papers

    Call for papers is extended until Oct 31st. We've already received a good number of submissions, but wish to provide with another chance for latecomers. Now is a good time to submit!

    The committee will begin the long reviewing process shortly.

    Committee

    Members of the reviewing committee are:

    • Roland Bouman (Pentaho)
    • Ronald Bradford (Continuent)
    • Laine Campbell (PalominoDB)
    • Colin Charles (MontyProgram)
      [Read more...]
    How to avoid two backups running at the same time
    +0 Vote Up -0Vote Down

    When your backup script is running for too long it sometimes causes the second backup script starting at the time when previous backup is still running. This increasing pressure on the database, makes server slower, could start chain of backup processes and in some cases may break backup integrity.

    Simplest solution is to avoid this undesired situation by adding locking to your backup script and prevent script to start second time when it’s already running.

    Here is working sample. You will need to replace “sleep 10″ string with actual backup script call:

    #!/bin/bash
    
    LOCK_NAME="/tmp/my.lock"
    if [[ -e $LOCK_NAME ]] ; then
            echo "re-entry, exiting"
            exit 1
    fi
    
    ### Placing lock file
    touch $LOCK_NAME
    echo -n "Started..."
    
    ### Performing required work
      [Read more...]
    Simple bash shell script for running batch MySQL jobs
    +0 Vote Up -0Vote Down

    The other day I needed to run a simple mysql job to backup and delete some database records on a live server. Being a live server, it is important to make sure you aren't asking the database to take on jobs that could potentially lock it up. Better to run a batch job. Running a batch is simple. You can call it right from the mysql console with:



    source [path_to]/[the_batch_script].sql

    But what if there are millions of records that need deleting? Bash shell script to the rescue.


    Here is the idea of the SQL job that needed to get run a few times

    START TRANSACTION;
    
    /* Find what you want to delete and put a LIMIT on your batch size */
    CREATE TEMPORARY TABLE records_to_delete_temp SELECT id from `records` where ..... limit 1000;       
    
    /* Creating backup table to archive
      [Read more...]
    Webinar Thu 10/18: Real-time Replication Between Oracle and Oracle, and Oracle and MySQL
    +0 Vote Up -0Vote Down
    Oracle is the most powerful database system in the world. However, Oracle's expensive and complex replication makes it difficult to build highly available applications or move data in real-time to data warehouses and popular databases like MySQL. In this webinar you will learn how Continuent Tungsten solves problems with Oracle replication at a fraction of the cost of other solutions and with
    Multi-Master, Multi-Site MySQL Databases Made Easy with Continuent Tungsten
    +0 Vote Up -0Vote Down
    Cross-site databases are the next challenge facing today's MySQL-based businesses. Continuent Tungsten provides multiple options for spreading data across sites, including primary/DR, multi-master, and system-of-record approaches. Learn how Continuent Tungsten enables replication, failover, and routing of transactions between sites.  In this video (recording of our webinar on 10/11/12) we
    Report on XLDB Tutorial on Data Structures and Algorithms
    +0 Vote Up -0Vote Down

    Bradley and I (Michael) gave the tutorial on Data Structures and Algorithms for Big Databases at the 6th XLDB Conference last month.

    The tutorial was organized as follows:

    • Module 0: Tutorial overview and introductions. We describe an observed (but not necessary) tradeoff in ingestion, querying, and freshness in traditional database.
    • Module 1: I/O model and cache-oblivious analysis.
    • Module 2: Write-optimized data structures. We give the optimal trade-off between inserts
      [Read more...]
    MySQL Performance: InnoDB Buffer Pool Instances in 5.6
    Employee +1 Vote Up -0Vote Down

    NOTE: this article I've started to write yet before summer vacations, but timing was against me, and I'm able to finish and publish it only now. While my investigations are continuing, you'll find here the explanations why Vadim observed unexpected performance improvements when using a single InnoDB BP instance rather 8, and some other things as well..

    * * *

    The InnoDB Buffer Pool (BP) Instances feature was introduced since MySQL 5.5.4 and presented for the first time during MySQL UC2010. This solution was the key point on its time, as  [Read more...]
    Perfect Your MySQL Database Administrators Skills
    Employee_Team +2 Vote Up -0Vote Down

    With its proven ease-of-use, performance, and scalability, MySQL has become the leading database choice for web-based applications, used by high profile web properties including Google, Yahoo!, Facebook, YouTube, Wikipedia and thousands of mid-sized companies.

    Many organizations deploy both Oracle Database and MySQL side by side to serve different needs, and as a database professional you can find training courses on both topics at Oracle University! Check out the upcoming Oracle Database training courses and MySQL training courses. Even if you're only managing Oracle Databases at this point of time, getting familiar with MySQL Database will broaden your career path with growing job demand.

    Hone your skills as a MySQL Database Administrator by taking the MySQL for

      [Read more...]
    HERMES Medical Solutions Helps Save Lives with MySQL
    Employee_Team +1 Vote Up -0Vote Down
    Normal 0 false false false EN-US X-NONE X-NONE

    HERMES Medical Solutions was established in 1976 in Stockholm, Sweden, and is a leading innovator in medical imaging hardware/software products for health care facilities worldwide. HERMES delivers a plethora of different medical imaging solutions to optimize hospital

      [Read more...]
    Webinar: Methods and challenges to scale out a MySQL database | October 23, 2012 2:00pm EST
    +1 Vote Up -0Vote Down
    This webinar will examine best practices around scaling MySQL databases. To register, click here. There are thousands of new online and mobile apps launching every day…but what happens when demand climbs for these apps and databases can’t keep up?  The long-term success of any app hangs on a company’s ability to provide uninterrupted access and availability – [...] Read More
    MySQL Performance Schema - OSI-Days, 2012
    Employee +0 Vote Up -0Vote Down
    Here is the MySQL-Performance Schema presentation which I used at OSI, 2012.

    http://www.slideshare.net/mayankmysql/osimysqlperformance-schema
    MySQL Performance Schema - OSI-Days, 2012
    Employee +1 Vote Up -0Vote Down
    Here is the MySQL-Performance Schema presentation which I used at OSI, 2012.

    http://www.slideshare.net/mayankmysql/osimysqlperformance-schema
    MySQL Enterprise Monitor, my super powers and my life
    Employee +5 Vote Up -2Vote Down
    Last week I had an enlightening experience. It may sound strange, but I found I have super powers... let me explain.

    I had a meeting with a big customer of mine to show the value of MySQL Enterprise and Cluster CGE and to share with them the latest and greatest features available in our commercial offerings. During the discussion I said: "Imagine if your MySQL database has a problem at 3pm. Thanks to My Oracle Support and MySQL Enterprise Monitor you can quickly resolve your issues and restore the service".

    MySQL Enterprise Monitor Well, this is exactly what happened at 2.50pm... I missed the prophecy by just 10m and  [Read more...]
    Thoughts on MySQL 5.6 new replication features
    +2 Vote Up -0Vote Down

    After playing a little bit with MySQL 5.6 (RC), and following closely on Giuseppe's MySQL 5.6 replication gotchas (and bugs), I was having some thoughts.

    These are shared for a few reasons:

    • Maybe I didn't understand it well, and someone could correct me
    • Or I understood it well, and my input could be of service to the developers
    • Or it could be of service to the users

    InnoDB tables in mysql schema

    The introduction of InnoDB tables in mysql makes for crash-safe replication information: the exact replication position (master log file+pos, relay log file+pos etc.) is updated on InnoDB tables; with innodb_flush_logs_at_trx_commit=1 this means replication status is

      [Read more...]
    MySQL Cluster - Web Scalability with Carrier Grade Availability
    Employee +2 Vote Up -0Vote Down
    Just a quick note that the Colorado MySQL User Group will be have Craig Sylvester in town November 7th 2012 for a MySQL Cluster talk. Please feel free to RSVP and join us!
    Slides and Other Files From My Hands-On Labs at MySQL Connect 2012
    Employee_Team +3 Vote Up -0Vote Down

    First of all a big thank you to all of you who attended my two Hands-On Labs (HOL) session at this year’s MySQL Connect. I ended up doing two sessions as there was a last minute cancellation, so in addition to the previously announced session about the Performance Schema, I also did an introduction to MySQL.

    The slides and the workbook for the Performance Schema session will become available from the official Oracle OpenWorld/MySQL Connect catalog, but you can also get the files from my blog which for the Performance Schema

      [Read more...]
    OurSQL Episode 111: Do You Make the Grade (part 1)?
    +2 Vote Up -0Vote Down

    This is part one of a series where we will explore the Operations Report Card and explain how it applies to DBAs. Listen and grade your own organization, this is a great opportunity to get some new ideas on how to organize your department and make your job more efficient and streamlined.

    News
    Alaska Airlines system crash

    Events
    Oracle's "Scale with MySQL" seminars:
    Scale with MySQL Seminar, London, Tuesday 30 October

    read more

    Advanced use of Global Transaction Identifiers
    Employee +2 Vote Up -0Vote Down

    Details of Re-execution and Empty Transactions

    In my previous post, we saw how GTIDs are generated and propagated, we described the new replication protocol, and we saw how these simple elements fit together to allow failover in a range of examples, from simple tree topologies to circular topologies to any topology you could possibly think about.

    We will now dive deeper into how GTIDs work. In particular, we will see how the slave thread ensures that no transaction is executed more than once. As a side note, mysqlbinlog uses the same mechanism. We will introduce the concept of empty transactions and see how this allows us to suppress transactions in a safe manner.

    The replication thread

    Let us start with looking at the replication  [Read more...]
    Austin MySQL Meetup on Monday
    Employee +1 Vote Up -0Vote Down

    The Austin MySQL Meetup is this Monday 7PM sharp at the Oracle office at 5300 Riata Park Court Building B. Please RSVP so we can order enough pizza!


    MariaDB/MySQL Tokyo Meetup #1
    +3 Vote Up -0Vote Down

    If you’re interested in MariaDB & MySQL and happen to be in Tokyo, do drop by the first ever MariaDB/MySQL Tokyo Meetup #1.

    It happens October 16 2012, from 18.00-20.00. It is graciously hosted at K.K.Ashisuto (HQ) Salon Space (2nd floor). We have maps in Japanese and English.

    See you there!

    Showing entries 1 to 30 of 28078 Next 30 Older Entries

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