Showing entries 38656 to 38665 of 44043
« 10 Newer Entries | 10 Older Entries »
Sorting US Address Data.

So, in Europe the street name comes first, then the number of the building.
In the US the number of the building comes first, then the actual street, which makes it a little bit rougher to sort.

Imagine a table like this:

mysql> SELECT * FROM numsort;

+——+
| a |
+——+
| 5 |
| a |
| 2 |
| d |
| 22 |
| c |
| 33 |
| 3 |
+——+
8 rows in set (0.00 sec)

The desired order in this case would be 2, 3, 5, 22, 33, a, b, c, d.

mysql> SELECT * FROM numsort ORDER BY a;
+——+
| a |
+——+
| 2 |
| 22 |
| 3 |
| 33 |
| 5 |
| a |
| c |
| d |
+——+
8 rows in set (0.00 sec)

Ok, we’re far from what we’re …

[Read more]
Pushbuild, Why I am still awake

Every so often someone will ask me "What is this pushbuild thing I
hear MySQL developers talk about?"

The answer is that it is an automated build system that we "push"
code into. It was written by Kristian Nielsen a little over a year
ago. When using BitKeeper you have to "push" code to another
repository. In CVS or Subversion you just commit to one repository,
BitKeeper put the concept of distributed versioning into people's
minds (and its a very powerful tool for distributed development). I
really can not imagine using a non-distributed revision control
system any longer.

What we look for in development, and releases, is a "green tree". The
nice thing about pushbuild is that I can see how my builds work on
different platforms. For example I don't do windows programming but
via pushbuild I can see if my code built on Windows. I've used …

[Read more]
451 CAOS Links - 2007.01.31

rPath raises an additional $9.1M in funding…Solid shares its 2007 plans for MySQL…Novell launches a training program for Red Hat migrations…and more…

rPath Continues Momentum with Addition of $9.1M in Funding, rPath (Press Release)

Solid Unveils Plan To Deliver Additional Mission-Critical Database Capabilities To MySQL Users, Solid Information Technology (Press Release)

Novell launches New Training to Ease Red Hat-to-SUSE Linux Migration, Novell (Press Release)

Sun and …

[Read more]
Calendaring Out Releases

So while flying to Boston I started thinking a bit more about how releases work in a calendar year and how open source releases work in general.

What made me first think about this was developer quorum.

What is developer quorum?

Developer Quorum is any period of time where you have enough developers to complete a release or undertake a major distribution of software. To release software you really must take it into account.

For a US/European company like MySQL we see two of these periods a year:

Last week of November through the Second Week of January.
June 20th through the first week of August.

These periods are a result of the cumulative nature of the holidays for multiple countries. While there are always people around, maybe up to two-thirds at any point, you will be missing critical people.

I've yet to see an influence by China, but …

[Read more]
Open source tools to run a small-medium sized business

Many people ditch the rat race, to start anything from a one-man show right up to a medium-sized business these days. Globally, computers are being accepted everywhere, and its always been touted to help the business owner, improve business processes. From an open source perspective, how do we help the small business owner?

We start by studying what a small business owner requires:

  • contact management - the business is in the network. Without contacts, there’s no exchange of services, and definitely no exchange of money.
  • document management - businesses, no matter how large or small, end up with lots of documents. Moving to the e-society that we’re all aiming for, we should aim to manage documents well, right up to the backups of these crucial business data.
  • accounting - taxation, income, expense, credit, debit, etc. are what make the business world work. You need to keep track of absolutely every …
[Read more]
MySQL?s FEDERATED storage engine: Part 2

In part 1 of this series I examined the behavior of MySQL's FEDERATED storage engine by running a bunch of queries with the general query log enabled on the remote server. In this article I take a higher-level view. I summarize my findings from the first article, then give my thoughts on the engine's strengths and weaknesses.

Subqueries: NULLs and IN/=ANY problem fixed

A while ago I wrote about problem with NULLs and IN/=ANY subqueries MySQL had. I was completely correct when I wrote that the fix won't be simple. It took 3 bug entries (BUG#8804, BUG#24085, BUG#24127), several review iterations by Igor, and the final patch is around 2,300 lines long.

The good news is that this patch solves the problem completely, and it is already in the 5.0.36 tree. The documentation is not yet updated, doing that is now on my todo. There is quite a lot to document: we've had to introduce "switchable access methods", where a table accessed using ref is sometimes accessed using full table scan. (for the impatient: no, the new access method is not …

[Read more]
MySQL Conference Speaker Spotlight: Episode 1 - Reggie Burnett

So, it's now less than 3 months to the MySQL Conference and Expo, and the program is almost final. Over the next few months, I will be blogging daily in a series designed to let the incredible array of conference speakers talk a bit about their sessions and let folks know what makes them tick and what gets them excited about meeting people at the conference.

My first spotlight is on Reggie Burnett. Reggie is a software developer at MySQL who works on the Connectors team and focuses on the Connector/.NET and our Windows-specific tools. He'll be presenting two sessions at the conference this year: MySQL and the Future of ADO.NET and

[Read more]
Getting MySQL to use full key length

There is one bug, or "missing feature" in MySQL Optimizer which may give you hard time causing performance problems which may be hard to track down, it is using only part of the index when full index can be used or using shorter index while there is longer index available. The last item is yet another good reason for removing redundant indexes

Here is example from NNSEEK database:

PLAIN TEXT SQL:

  1. mysql> EXPLAIN SELECT thread_id FROM nn2_msg132.msg132   WHERE group_id=398157 AND parent_id=0 AND (published BETWEEN '2006-12-02 00:00:00' AND '2006-12-02 23:59:59')   ORDER BY published DESC LIMIT 0,10 \G
  2. *************************** 1. row ***************************
  3.       …
[Read more]
Step right up! Get your fresh PowerShell!

PowerShell RTM is finally available for Vista RTM.  Now let's just hope it's faster than all the beta and RCs.

Showing entries 38656 to 38665 of 44043
« 10 Newer Entries | 10 Older Entries »