The Wayback Machine - https://web.archive.org/web/20130503110140/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 29511 Next 30 Older Entries
How does InnoDB behave without a Primary Key?
+0 Vote Up -0Vote Down

This afternoon, Arjen Lentz and I were discussing InnoDB’s behavior without a declared PRIMARY KEY, and the topic felt interesting enough and undocumented enough to warrant its own short post.

Background on InnoDB clustered keys

In The physical structure of InnoDB index pages I described how “Everything is an index in InnoDB”. This means that InnoDB must always have a “cluster key” for each table, which is normally the PRIMARY KEY. The manual has this to say in Clustered and Secondary Indexes:

If the table has no PRIMARY KEY or suitable UNIQUE index, InnoDB internally generates a hidden clustered

  [Read more...]
MariaDB Java Client 1.1.2 Released
+2 Vote Up -0Vote Down

The MariaDB project is pleased to announce the immediate availability of the MariaDB Java Client 1.1.2. This is a Stable (GA) release. See the Release Notes and Changelog for detailed information on this release and the About the MariaDB Java Client page in the AskMonty Knowledgebase for general information about the client.

Download MariaDB Java Client 1.1.2

Release Notes

  [Read more...]
Thoughts on Xeround and Free!
+0 Vote Up -2Vote Down

Normal 0 false false false EN-US X-NONE X-NONE Everybody loves free. It is the best marketing term one could use. Once you say “FREE” the people come running. Free makes you very popular. Whether you are a politician offering something for free, or a company providing free stuff, you gain instant popularity.

Xeround is shutting down their MySQL Database as a Service (DBaaS) because their free  [Read more...]
Last Week’s Presentations Posted
+0 Vote Up -0Vote Down

Last week I had to present a tutorial at Percona Live 2013, a presentation at SkySQL’s MySQL & Cloud Database Solution Day and last but not least, a presentation on a Saturday morning at Linuxfest Northwest. It wasn’t easy, but giving the presentations after our announcement early in the week about going open source was very exciting given the

  [Read more...]
MySQL Cluster Manager 1.2.3 Released
Employee +2 Vote Up -0Vote Down

MySQL Cluster Manager 1.2.3 is now available to download from My Oracle Support.

Details on the changes can be found in the MySQL Cluster Manager documentation .

Documentation is available here.

When is a Subquery Executed?
Employee +3 Vote Up -0Vote Down

In an earlier blog post, I managed to confuse myself as to when a subquery was executed. It is not very clear from the output of EXPLAIN where the execution of a subquery takes place. Let's take a look at the following example query (Query 17 in the DBT-3 benchmark):

select sum(l_extendedprice) / 7.0 as avg_yearly
from lineitem, part
where p_partkey = l_partkey
and p_brand = 'Brand#33' and p_container = 'LG CAN'
and l_quantity < (
select 0.2 * avg(l_quantity)
from lineitem
where l_partkey = p_partkey
);

If you run EXPLAIN on this query, you will see the following execution plan:

  [Read more...]
On compiling TokuDB from source
+2 Vote Up -0Vote Down

Sharing my experience of compiling TokuDB + MariaDB 5.5. Why? Because I must have this patch to Sphinx 2.0.4.

Note: I was using what seems to be the "old" method of compiling; quoting Leif Walsh:

... We are looking at deprecating that method of building (MariaDB source plus binary fractal tree handlerton).  It only really needed to be that complex when we were closed source.

I also tried the "new" method of compiling, which I couldn't work out.

Here's how it goes: TokuDB is newly released as open source. As such, it got a lot of attention, many downloads and I hope it will succeed.

However as stable as the

  [Read more...]
MySQL Community Server 5.5
+10 Vote Up -0Vote Down
MySQL Community Server 5.5 (5.5.31 GA, published on Thursday, 02 May 2013)
MySQL Community Server 5.6
+12 Vote Up -0Vote Down
MySQL Community Server 5.6 (5.6.11 GA, published on Thursday, 02 May 2013)
Connector/ODBC 5.2
+0 Vote Up -0Vote Down
Connector/ODBC 5.2 (5.2.5 GA, published on Thursday, 02 May 2013)
MySQL Community Server 5.7
+2 Vote Up -0Vote Down
MySQL Community Server 5.7 (5.7.1 m11, published on Thursday, 02 May 2013)
Connector/C 6.1
+0 Vote Up -0Vote Down
Connector/C 6.1 (6.1.0 GA, published on Thursday, 02 May 2013)
Database Master-Slave Replication in the Cloud
+1 Vote Up -1Vote Down
This is a guest post from Jelastic.

Many developers use master-slave replication to solve a number of different problems, including problems with performance, supporting the backup of different databases, and as a part of a larger solution to alleviate system failures. Traditionally, master-slave replication is done with real servers, but it can also be done with cloud database servers. This guest post from Jelastic (originally published here) describes how to set up MariaDB master-slave replication using their Jelastic PaaS (Platform as a Service).

Replication Overview

Master-slave replication enables data from one database server (the master) to be replicated to one or more other database

  [Read more...]
Slides from Percona Live talks: optimizer tutorial and Cassandra Storage Engine
+1 Vote Up -0Vote Down

I’ve put online the slides for the two talks that I сo-presented at the Percona Live conference:

The tutorial tries to cover most areas of the optimizer, with focus

  [Read more...]
Book Review – MySQL Workbench: Data Modeling & Development
Employee +1 Vote Up -0Vote Down


MySQL Workbench: Data Modeling & Development
Michael McLaughlin
Oracle Press
ISBN 978-0-07-178188-5

MySQL Workbench is one of those tools that quickly becomes invaluable. It is a SQL query tool, a data modeler, and an admin tool all in one. As such a complicated tool, there is a bit of a learning curve before one can move beyond the basic functionality. Now there is a book that not only is a guided tour of MySQL Workbench but it contains little snippets full of DBA and system admin tricks that make this a must have for anyone using Workbench.

The book is divided into six sections that starts with configuration. This part of the

  [Read more...]
Got a packet bigger than ‘slave_max_allowed_packet’ bytes and binlog_format=STATEMENT|MIXED
+1 Vote Up -0Vote Down

Got a packet bigger than ‘slave_max_allowed_packet’ bytes and binlog_format=STATEMENT|MIXED

Since version 5.1.64 MySQL introduces a new variable named slave_max_allowed_packet, which was introduced to allow large updates using row-based replication do not cause replication to fail when exceeded max_allowed_packet.

The problem is if you have you replication using binlog_format=STATEMENT or binlog_format=MIXED it ignores this option and use as limit for queries what is on max_allowed_packet variable but still reporting on slave_max_allowed_packet causing

  [Read more...]
5 years of MySQL
+2 Vote Up -1Vote Down

5 years of MySQL

People often write a blog post when they reach some nice anniversary since they joined MySQL community. Well, for those old enough it usually means when they joined MySQL AB as employee. For me this was January 2008. Because I didn't remember the month correctly, I haven't blogged anything then, but decided to save it for a better opportunity - now.

TL;DR Starting this week I will be working for 10gen, selling MongoDB to the Nordics. This blog post is really long - even then it doesn't contain the most interesting stories, I'm not sure if they can ever be published. Sorry for the length, but remember you don't need to read all at once. This is my last MySQL post so save some of it for cold winter days!

2008 - Sun acquisition

read more

Follow these basics when migrating to Percona XtraDB Cluster for MySQL
+0 Vote Up -0Vote Down

Galera/Percona XtraDB Cluster (PXC) for MySQL is a hot thing right now and some users jump right in without enough testing. Consequently, they’re more likely to either suffer failure or issues that prevent them from moving forward. If you are thinking of migrating your workload to Percona XtraDB Cluster, make sure to go through these basics.

log_slave_updates is REQUIRED

You need to have log_slave_updates enabled on the cluster node acting as async slave for replicated events from the async master to be applied to the other

  [Read more...]
2013 MySQL Conference and Expo — a #DBHangOps Review
+0 Vote Up -0Vote Down

Hey everybody!

The Percona Live MySQL Conference and Expo just wrapped up last week and we’re looking to get some conference in review talk from everyone! Talk about your favorite sessions, new things you learned, and your overall opinion of the conference!

Hop online Wednesday at 12:00pm PDT (19:00 GMT) to join the discussion and share your experience from the 2013 Percona Live: MySQL Conference and Expo.

Be sure to watch this twitter search or this blog post get a link for the google hangout tomorrow!

Some talks that were specifically called out:

  [Read more...]
MySQL Conference and Expo 2013 feelings (#perconalive)
+2 Vote Up -0Vote Down

I wasn’t at the MySQL Conference this year but it was very nice to follow this event from Paris.
Of course I didn’t feel the general atmosphere by visiting booths or met fabulous people.
But it was a great opportunity to offer you a live post about the conference with an external point of view.

Twitter, RSS feeds (yes Google, I still use RSS), Planet MySQL and infiltrators were my best friends during this crazy week.

I would like to summarize the major announcements and events occurs during this tenth edition.
 

Oracle at Percona Live!

 
Yes, Oracle was at Percona Live 2013 and it was for the best.
I invite you to watch this

  [Read more...]
JSON with MariaDB and MySQL Slides available
+0 Vote Up -0Vote Down
As you may know, I'm a big fan of JSON and I am working on releasing a new version of my JSON tools real soon. Meanwhile on the SkySQL Solutions Day on April 26 I gave a talk on JSON with MySQL and MariaDB, and the slides are available on slideshare.

/Karlsson
MySQL Connector/Net 6.7.2 Beta has been released
Employee +0 Vote Up -0Vote Down
MySQL Connector/Net 6.7.2, a new version of the all-managed .NET driver for MySQL has been released.  This is the first beta release intended to introduce users to the new features in the release.  This release is feature complete, it should be stable enough for users to understand the new features and how we expect them to work.  As is the case with all non-GA releases, it should not be used in any production environment.  It is appropriate for use with MySQL server versions 5.0-5.7.
NetMotion Wireless Migrates Product from Microsoft SQL Server to MySQL: Reduces Costs and Increases Flexibility
Employee_Team +4 Vote Up -0Vote Down


NetMotion Wireless develops software to manage and secure wireless data deployments for organizations with mobile field

  [Read more...]
Make MySQL clustering work for you
+0 Vote Up -1Vote Down

Read the original article at Make MySQL clustering work for you

We’ve told you all about MySQL mult-master replication’s limitations. If you write to two masters it is bound to fail for myriad reasons. Now what? Do what the pros do that’s what. A. Don’t write to both masters Using multi-master replication works great as long as you do so in active-passive mode. Never write to [...]

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

Related posts:
  • Limitations of MySQL row-based replication
  • No tools to reconcile MySQL with two
  •   [Read more...]
    Women in Science and Engineering (WISE) Computing Skills Boot Camp
    +2 Vote Up -1Vote Down

    Software Carpentry is running a 2-day software skills boot camp in Boston, June 24-25th 2013, for women in science, engineering, medicine, and related research
    areas. Registration is $20.

    Boot camps alternate short tutorials with hands-on practical exercises. You are taught tools and concepts you can use immediately to increase your productivity and improve confidence in your results. Topics covered include the Unix shell, version control, basic Python programming, testing, and debugging — the core skills needed to write, test and manage research software.

    This boot camp is open to women at all stages of their research careers, from graduate students, post-docs, and faculty to staff scientists

      [Read more...]
    Big Fish Selects MySQL Cluster for Real-Time Web Recommendations
    Employee_Team +5 Vote Up -0Vote Down

    The world's largest producer of casual games has selected MySQL Cluster (http://www.mysql.com/products/cluster/) to power its real-time recommendations platform.

    High velocity data ingestion, low latency reads, on-line scaling and the operational simplicity delivered by MySQL Cluster has enabled Big Fish to increase customer engagement and deliver targeted marketing, providing a more personalized experience to its users.

    You can read the full Big Fish Games and MySQL Cluster case stud (http://www.mysql.com/why-mysql/case-studies/mysql-cs-bigfish.html)y here (http://www.mysql.com/why-mysql/case-studies/mysql-cs-bigfish.html) - and a summary below

    BUSINESS NEED

    The global video gaming market is experiencing explosive growth. Competition is intense, and so to differentiate

      [Read more...]
    Webinar: Best Practices for MySQL Scalability on May 1
    +0 Vote Up -0Vote Down

    “Best Practices for MySQL Scalability.”

    If you have not already done so, I encourage you to register for my “Best Practices for MySQL Scalability” Webinar which will take place on May 1st at 10 a.m. PST. This will be an overview presentation, led by me and providing a high-level look at the components of MySQL scalability: application architecture, MySQL version and configuration, choosing hardware and operating systems. For each area we’ll investigate the most important best practices. Talk to you on

      [Read more...]
    Testing Fedora 19
    +2 Vote Up -0Vote Down

    Today I downloaded Fedora 19 alpha to give it a spin. Some quick notes.

    You can get MySQL by asking for the package community-mysql-server. This is 5.5.31. If you ask for stock “mysql” (i.e. yum install mysql-server), you automatically get MariaDB 5.5.30 (mariadb-server).

    Fedora 19 runs systemd, so there is no longer /etc/init.d/mysql to start/stop/restart. So just do systemctl enable mysqld.service. Then perform: systemctl start mysqld.service. Replace start with: stop/status too. You can disable it too if you want.

    MariaDB 10.0.2 compiles cleanly on Fedora 19 with gcc-4.8. Just perform: yum install bzr gzip tar gcc gcc-c++ make libtool bison ncurses-devel zlib-devel automake autoconf cmake. Get the source code (I just downloaded it). Do BUILD/compile-pentium64-max. Wait. Run make

      [Read more...]
    Fedora 19 – MariaDB Test Day 2013-04-30
    +1 Vote Up -1Vote Down

    From https://fedoraproject.org/wiki/Test_Day:2013-04-30_MariaDB, this installment of Fedora’s Test Day focuses on the replacement of MySQL with MariaDB. If you’re a Fedora (or RHEL or CentOS user), do take a peek at the page and see if you can pitch in – it might be a little bit of work for you, but with great benefits in terms of getting the MariaDB performance and features, and specifically on the day the Fedora crowd have extra people on the case to track and address issues you might find, so it’s an ideal opportunity to upgrade on a development or test-prod environment!

    Importance of intra-query parallelism.
    +0 Vote Up -0Vote Down
    Oracle Database has a feature which allows it to query millions of rows in parallel while executing a join which has a big fanout.
    How important is it that a database server has a lot of intra-query concurrency? Does it still make a lot of sense to run an analytical query in parallel threads, on a single machine?

    While at Percona Live, there was a lot of talk about the future of MySQL, and some even mentioned this as being part of the future.

    The reason for intra-query parallelism has always been to fill up the pipeline to disk with lots of parallel queries. Indeed, this pipe is thick and long - and if used, it'd better produce a lot of data at once. Efficiency of CPU utilization is sacrificed to achieve efficiency of a rotating disk drive.

    Yet in DaaS world this all fails to make sense to me. In a cloud, one execution unit is not one CPU, but one instance, and one  [Read more...]
    Showing entries 1 to 30 of 29511 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.