Showing entries 37546 to 37555 of 44810
« 10 Newer Entries | 10 Older Entries »
The MyBS Engine and the BLOB Repository

After some consideration I have decided to move the BLOB repository from PBXT to MyBS (§). This has the advantage that any engine that does not have its own BLOB repository (or is otherwise not suitable for storing large amounts of BLOB data) can reference BLOBs in the MyBS BLOB repository.

(§) MyBS stands for "BLOB Streaming for MySQL". The BLOB Streaming engine is a new storage engine for MySQL which allows you to stream media data directly in and out of the database. More info at www.blobstreaming.org.

Lets look at an example of this. Assume my standard example table:

CREATE TABLE notes_tab (
n_id int PRIMARY KEY,
n_text longblob
) ENGINE=PBXT;

And assume we have a file called blob_eg.txt with the contents "This is a BLOB Streaming upload test".

Firstly, I can upload a BLOB to the MyBS BLOB …

[Read more]
Unwired (Sydney) looking for MySQL DBA

The good people at Unwired are looking for basically a MySQL DBA, although you'd also have the opportunity to do some coding, work on other projects and with additional technologies. You'll need to have decent experience with MySQL 4 and 5, understanding of replication and backup/recovery methods, query and server performance tuning.

You don't need to be a guru on all of these topics, but show you have a clue level, work smart, and pick up new stuff quickly. Unwired offers a salary package of around 90K, which seems fairly reasonable.
This looks like an excellent opportunity for a MySQL-ish person in Australia.

If you're interested, you can contact me (I have some additional info here too) and I can put you in touch with the right people. (my email is my first name @ my last name dot com dot au)

Google Summer of Code mid-term evaluations

As the Google Summer of Code mid-term mentor surveys have been completed, we’ve got a strong nine projects in the MySQL front, from what I can tell. Its an exciting time, as there’s code available from some of the projects, and the students have got interesting blog entries as well. What I’d consider as the one-stop resource for all would be the Participants in the Summer of Code 2007 page.

Milos Prodanovic deserves special mention as he’s just posted code to the internals list, with his IPv6 data type patch. Also, from what I can tell, Charles Cahoon is currently in the Top 30 active bloggers on Planet MySQL, so kudos to him too. To the rest, continue working hard and cutting …

[Read more]
Can I sell you on Buddy Cam?

Simple idea; I've blogged about this before.

Make a wearable computer with a camera. Create an online service,
something like Twitter or Pounce, for "guys" to share real time
photos of the bottom in front of them. Each member of the buddy list
who gets to see the photo, gets to rate the photo.

Best photo of the week goes on the front page of the site.

It will sell wearable computers like hot cakes...

...Or just create a cell phone that lets you take discreet photos and
at the same time reads you your monthly telephone bill so that your
face doesn't acquire that grin that betrays the action of taking the
photo.

Seriously, somewhere out there, there is a fortune to be made.

I'm reminded of buddy cam because of all of the blogs entries I am
seeing on how cool Twitter and Pounce are.

I'd like a …

[Read more]
Implicit Commits and Transactions

We think that whatever statements are there in a transaction can be rolled-back. Right? No! If by any chance you have statements that cause an implicit commit, then no. These statements commit the transaction mid-air. And if you think that these statements are only DDL, beware. There are many statements in MySQL that implicitly commit like LOAD DATA INFILE was an implicit commit statement for all storage engines until 5.1.12. Even now, if you are using NDB, this is still a implicit commit statement.

Say, we have statements like this:

1. START TRANSACTION
2. SOME INSERT STATEMENT
3. ONE MORE INSERT STATEMENT
4. ONE IMPLICIT COMMIT STATEMENT
5. ONE MORE INSERT STATEMENT
6. SOME MORE STATEMENTS
7. COMMIT

The implicit commit statement (statement number 4) commits the statements above it and aborts the transaction, as already mentioned. So, what happens to the statements 5 and 6. They run as …

[Read more]
The meaning of Database Administrator

In two blogs I follow, Andy Leonard's blog on SQLBlogs.com and Sheeri Kritzer's The MySQL She-BA, the question of what is a database administrator has come back up. Andy has posted twice on the topic, first with how DBAs are an enterprise requirement and then a follow-up to that post. In Sheeri's case, she was pointing out that a system administrator friend of hers considers the use of phpMyAdmin as a determining factor on whether or not one is DBA: he's not much of a DBA …

[Read more]
DRBD/Heartbeat/MySQL Howto


The only thing I like better than writing howtos for our software is reading howtos for our software written by someone else. Especially when they’re really really good. Mark Schoonover has written an excellent introduction to setting up Heartbeat with MySQL and DRBD.

New MySQL Entry Level Certification

Last week I received an email indicating that MySQL had made available an entry level certification, the Certified MySQL Associate. The idea is to provide a certification which shows a person has some basic knowledge of MySQL, but not at the level of a developer or DBA. That's a great idea.

Not everyone needs a developer's or DBA's knowledge of a product to make use of it. This is true whether we're talking about MySQL or SQL Server. After all, we don't expect an end user to know how to fully administer a Windows XP / Vista system, but the basics of how to use it, that's well within the bounds of expectations.

I haven't had time to pursue a MySQL certification, mainly …

[Read more]
Engine Discovery

(I am writing this as a note to myself, more then as a note to
others...)

The MySQL Engine API supports a concept of "discovery". Discovery
allows an engine to say "yes this table exists, and here is the
definition".

To implement this, you need to create the following function in your
engine:

int archive_discover(handlerton *hton, THD* thd, const char *db,
const char *name,
const void** frmblob,
uint* frmlen);

This is a function for the handlerton, and is not a method of the
handler class.

Table discovery flow of execution is simple. Whenever a table is
opened, MySQL looks for a corresponding table or view definition. If
neither exists then the discovery functions are called for each of
the engines that have registered a discovery function. In the
discovery an engine can return …

[Read more]
MySQL 5 High Availability with DRBD 8 and Heartbeat 2

Introduction

It's 2 AM Saturday and the phone rings. You thought you were going to have a long holiday weekend. You've been informed by the NOC that there's no connection to the database server, and could you come down to see what's wrong with it. Remote access won't save you, there's no response at all from the server. We've all been there during our careers, and there's technology freely available to save your sanity, and allow you to take that long holiday weekend. Creating a MySQL high availability cluster using Distributed Replicated Block Device, DRBD and Heartbeat will save you from heading back to work at 2 AM.

During MySQL Conference 2007, I attended Storage Replication with DRBD: The Next Big Thing in Cluster Storage Management, which was very informative, but it left …

[Read more]
Showing entries 37546 to 37555 of 44810
« 10 Newer Entries | 10 Older Entries »