Showing entries 331 to 340 of 372
« 10 Newer Entries | 10 Older Entries »
Displaying posts with tag: Technology (reset)
Would your geek interface read your email?

Last Sunday I was heading out to a party when I overheard the conversation of "You shouldn't buy an iPod, they have a horrible interface". Now this always holds my interest since I do believe that the interface to my iPod could be a lot better. I stepped into the conversation and heard similar complaints as mine as to why the iPod was the wrong interface, and I also got an earfull on the "Geek Interface".

What is the "Geek Interface"? It is the interface that all geeks want.

It has a thousand buttons.
It will fetch RSS for you.
It reads your email.
It will control your remote vacuum cleaner/indestructible fighting robot.
It probably has an interface to a database (or this could be just because I work for MySQL).

Every geek wants one of these. They want it to be wearable, they want it to look cool.

The "geek …

[Read more]
Plugin-based backup for MySQL

I’ve been working on a new project to fulfill a specific need: consistent, fast, cheap, and flexible backups for MySQL, for all storage engines1. To that end I’m creating a tool called dbsnapper—a plugin-based backup tool. The tool itself is very basic and handles a few jobs: getting configuration information from the user, running through a “run sheet” of different configurable tasks, and reporting status and errors to the user.

The tasks then—the actual backup steps—are fully configurable, via plugins. In fact, the whole process isn’t even MySQL specific, and can potentially be used for PostgreSQL2 and other database as well. Remember the requirements for backups (above):

  • Consistent—We need to do some locking inside MySQL to make sure that the backups are consistent, for both MyISAM and InnoDB tables. This generally means the FLUSH TABLES WITH READ LOCK command.
  • Fast—There …
[Read more]
New Storage Engines: A welcome change

There’s been a lot of buzz lately about new storage engines (Solid’s SolidDB and Jim Starkey’s Falcon) being developed for MySQL. Quite a few people have asked me what I think about them, and if it’s really a seamless process to switch storage engines. Everybody still has Oracle’s acquisition of Innobase Oy fresh on their minds, so nobody is really terribly surprised by the recent announcements. As for my opinion on the matter, well, it’ll take some discussion. I was quoted in ComputerWorld’s article

[Read more]
Stop the madness: SHOW STATUS

Are you a MySQL user? Have you tried 5.0? Did you notice that SHOW STATUS was giving you strange results?

Here’s the skinny: The SHOW STATUS command, which has been in MySQL, well forever, has had a long-standing feature request; to have the ability to report its metrics per-session. That functionality was added in MySQL 5.0, in the form of two new syntaxes: SHOW SESSION STATUS and SHOW GLOBAL STATUS to give the per-session and server-wide statistics, respectively. It’s great, and I’m happy to see it.

The problem comes in because of the default behaviour that was chosen for the basic SHOW STATUS with no SESSION or GLOBAL keyword—that is, the command that every MySQL DBA has been using for years—now defaults to per-session statistics.

Every tool, program, monitoring script, performance graph, etc., that uses SHOW STATUS (which is pretty much all of them) is broken in 5.0. Why? Well, for no reason, …

[Read more]
Oops, BLOB/TEXT overrides tmp_table_size

First, a bit of background information… MySQL has a variable called tmp_table_size which is used whenever a temporary table is needed for many types of operations, but it’s mainly used for ORDER BY and GROUP BY. The tmp_table_size variable (in correlation with the max_heap_table_size variable) decide at what point to convert an in-memory (that is, HEAP storage engine) temporary table to an on-disk (that is, MyISAM) one.

So, if the result of your query will end up greater than the lesser of tmp_table_size or max_heap_table_size, once it reaches that point, it will be automatically converted to a MyISAM table, on-disk (in tmpdir, incidentally).

Here’s a scenario: You have a SELECT query, nothing particularly special. It isn’t any more complex than another query on the same tables, but it performs a bit worse. You put some load on it, and it performs miserably, even putting the server in pain in the process. You check what’s …

[Read more]
Did Hell Freeze Over?

No, this isn't about our multi-year extension of the InnoDB agreement with Oracle...  Instead, Apple has said that they will enable intel Mac users to run Windows.  Ok, they are doing it in an unsupported fashion with a bootloader called "Boot Camp" and customers need to install their own copy of Windows XP.  But still, it's a significant change of mind from Apple.  Well done guys!  Maybe Dvorak was right all along.

What's next?  Will Microsoft give a keynote at LinuxWorld?  Actually that happened this morning also, with Bill Hilf, General Manager of Platform Strategy.  …

[Read more]
More on the Migration Toolkit

The GUI tools team at MySQL has been working hard on a number of new releases including an update to the Migration Toolkit that provides many bug fixes as well as support for a broader range of source databases.  You can use the Migration Toolkit to go from any JDBC-supported database to MySQL 5.0 and there are also optimized migration modules for several versions back as well as the most recent versions of Oracle10g, Oracle XE, SQL Server 2005 and Access.

You can get the latest Migration Toolkit 1.0.25 below:

[Read more]
Eclipse Gains Momentum (updated)

This week at the EclipseCon in Santa Clara we announced that MySQL joined the Eclipse Foundation.  Admittedly, I wish we would have joined a long time ago (like maybe the first hundred times Mike and Donald asked us) but we finally got our ducks in a row.  To me Eclipse is one of the most successful and intriguing open source projects to date.  The entire process of open sourcing Eclipse was a masterpiece of strategy led by IBM that enabled them to create the best extensible tools platform.  There are really only two development tools platforms that matter: Eclipse and Visual Studio.  While both are open and extensible, only one of them is oopen source and cross-platform.

In fact, Eclipse has garnered support from more than 130 member firms and there are now more than 1000 Eclipse plug-ins and more than 60 projects …

[Read more]
Community Poll

At MySQL we've made a signficiant investment in expanding the community team.  This team is led by intrepid VP and multi-linguist Kaj Arno, and includes people on 3 continents who go out and spread the word of MySQL, help energize open source projects using MySQL, organize meetups, write occasional articles, and otherwise help make MySQL ubiquitous.  But there's always more that we could do.  Since we don't always know the answers, we thought we'd ask the community!

So here's an opportunity to influence things by letting the community team know your priorities.  There's a new quick poll on the MySQL developer zone asking quite simply: "What do you think the MySQL community team should focus on?"

Tips: Hacking MySQL Server

Hacking the latest storage engine? Working on a fancy new SHOW command? Hunting for a bug in mysqld? This is for you!

Once you’ve got MySQL compiled, how do you test your mysqld binary? You’ll need to get it started. Stop! Don’t make install it!

  1. Set up your sandbox
    $ mkdir ~/t
    $ vi ~/t/my.cnf
    

    Add the following to ~/t/my.cnf (modify to taste):

    [mysqld]
    basedir=sql
    datadir=/Users/jcole/t
    port=3307
    socket=/Users/jcole/t/mysql.sock
    skip-grant
    skip-innodb
    skip-bdb
            
    [client]
    port=3307
    socket=/Users/jcole/t/mysql.sock
    
  2. Build your source
  3. Set up a symlink for share
    $ ln -s . sql/share/mysql
    

    This, combined with the basedir=sql in my.cnf means that MySQL will be able to find its error message and character set files, so that the release you’re building doesn’t have to match the release installed on the …

[Read more]
Showing entries 331 to 340 of 372
« 10 Newer Entries | 10 Older Entries »