Showing entries 28006 to 28015 of 44044
« 10 Newer Entries | 10 Older Entries »
Give your data room to grow!

We are pleased to announce the release of a new feature that you've been eagerly anticipating for some time now : the ability to increase the size of your disks!

You will need to perform two steps to do this:

  1. Change the volume of your disk,
  2. Run the necessary update on the file system itself.


This operation is totally automated for servers running under Gandi AI,  though it's only possible to do this on data disks for the moment.

For expert servers, only the volume change phase of the operation is done via our website. You will need to manually run the file system update on your own.

Please remember that you will need to have enough quota available in your account to expand your disk to the desired size.

You can view our prices at the following page: …

[Read more]
JOIN and comma precedence

Here’s a little something that might trip you up occasionally. Have a look at this test scenario:

USE test;
DROP TABLE IF EXISTS a;
DROP TABLE IF EXISTS b;
DROP TABLE IF EXISTS c;
 
CREATE TABLE a ( a INT );
CREATE TABLE b ( b INT );
CREATE TABLE c ( c INT );
 
SELECT a.a FROM a LEFT JOIN c ON c.c = a.a; -- Q1
SELECT a.a FROM a, b LEFT JOIN c ON c.c = a.a; -- Q2

Q1 and Q2 will produce the same result, right? Wrong! As of MySQL 5.0.12, per the SQL standard, JOIN has had higher precedence than comma ‘,’.

So, you get the following:

mysql> SELECT a.a FROM a LEFT JOIN c ON c.c = a.a;
Empty set (0.00 sec)
 
mysql> SELECT a.a FROM a, b LEFT JOIN c ON c.c = a.a;
ERROR 1054 (42S22): Unknown column 'a.a' in 'on clause'

This is because, in earlier versions, MySQL interpreted it as ( ( a, b ) LEFT JOIN c ). Now, it interprets this syntax as ( a, ( b LEFT JOIN c ) ). If you run into this problem, the fix is easy. …

[Read more]
Globalization Tasks (Part 2 of 3)

Yesterday I started to say what the status is for “Globalization” tasks.
Today I continue.

Worklog WL#1875 Case insensitive Czech collation
Status: not passed architecture review
Version = 6.1
This fills a minor gap, since our Czech collations for the cp1250 and latin2 character sets are case sensitive.
This task adds appropriate _ci (case insensitive) collations.

WL#2555 Standard Japanese collation support
Status: not passed architecture review
Version = 6.x
JIS (Japanese Industrial Standard) JIS X 4061-1996 specifies a standard collation for Japanese characters, with multiple levels and special rules.

WL#2673 Unicode Collation Algorithm new version
Status: passed architecture review 2009-03-23
Version = 6.x
MySQL is using Version 4.0.0 of the UCA (Unicode Collation Algorithm). That’s superseded. We’ll make new collations for the more …

[Read more]
Using MySQL sandbox for testing

MySQL Sandbox is a great tool for quickly deploying test MySQL instances, particularly if your daily work involves diagnosing problems across multiple MySQL versions.

Once you’ve downloaded it, it needs no installation. Just have a few MySQL binary releases at hand, and begin creating sandboxes in just a few seconds:

./make_sandbox mysql-5.0.77-linux-x86_64-glibc23.tar.gz

or

./make_sandbox mysql-5.1.32-linux-x86_64-glibc23.tar.gz

Pretty simple, huh?

Suppose you have a parallel build around, say, 5.0.77-percona-highperf. The default syntax won’t work if you’ve already created a 5.0.77 sandbox, since Sandbox will use ‘5.0.77′ as the sandbox dir. In this case, you’ll need to manually specify a directory name:

./make_sandbox mysql-5.0.77-percona-highperf-b13.tar.gz -d msb_percona_5_0_77

Fortunately, …

[Read more]
Towards a New Modular Replication Architecture

Over the past week, I've been refactoring the way that the Drizzle kernel communicates with plugin modules that wish to implement functionality related to replication. There are many, many potholes in the current way that row-based replication works in Drizzle, and my refactoring efforts were solely focused on three things:

  • Make an interface for replicating actions which occur inside a server that is clear and simple to understand for the caller or the interface
  • Make an interface that uses only documented data structures and standardized containers.
  • Completely remove the notion that logging is tightly-coupled with replication.

Let me expand on these two goals, and why they are critical to the success of a replication architecture.

Simple, Clear Interfaces Designed for the Interface Caller …

[Read more]
Adding new partitions beyond MAXVALUE

I have found that MySQL RANGE partitions on the primary key are a great way to achieve scale for insert-heavy InnoDB tables.  I have used this to maintain an excellent and predictable insert rate, to avoid some of the well documented problems with insert performance as table sizes grow (especially with large/many secondary indexes).  In addition purging old data is fast and non-blocking because you can just DROP PARTITION as a single very fast operation.

However, MySQL partitioning brings up an interesting little issue when you exceed the space you initially allocate for your partitions.  Here in our sample table we define 4 partitions to handle 100M records, and everything after that will fall into the “pmx” bucket.


CREATE TABLE partition_test (
`id` int unsigned primary key auto_increment,
`payload` varchar(35) not null default '',
`stamp` timestamp default current_timestamp on …

[Read more]
Where 2.0 Preview: Eric Gunderson of Development Seed on the Promise of Open Data

When we think about how government uses geographic information, we tend to think about USGS maps or census data, very centralized and preplanned projects meant to produce a very specific set of products. But Development Seed believes that there is a lot more that could be done if these types of data could be mashed up easily with each other as well as with alternate sources such as social networks. Eric Gunderson, President of Development Seed, will be speaking at the O'Reilly Where 2.0 Conference in June, and he recently took some time to speak to us about the potential benefits that open access to government data brings.

James Turner: Can you start by talking a bit about Development Seed and how you came to be involved with it?

EG: We're a strategy organization in Washington, D.C., and what …

[Read more]
Social networking type queries with NDB (part 3)

In the previous 2 posts of this series, we basically talked about how to execute social networking type queries using SQL IN clause and how handle multiple columns IN clause. In this last post on the topic, I will introduce the notion of NDB API filters, although I don’t consider myself as an NDB API expert. Filters are to NDB API the equivalent WHERE clause in SQL. The point is that the filters can be nested and they are sent to the storage nodes only when the transaction is executed.

As an example, let’s consider the following table:

Create Table: CREATE TABLE `MultiColPK` (
  `region_id` int(11) NOT NULL DEFAULT '0',
  `application_id` int(11) NOT NULL DEFAULT '0',
  `first_name` varchar(30) NOT NULL DEFAULT '',
  `payload` varchar(30) DEFAULT NULL,
  PRIMARY KEY …
[Read more]
17 Days to the UC: From Detroit to the Hoosier State

So it's been a bit more difficult updating the blog with my travels. If it weren't for Twitter and Facebook I suspect some people would have thought I had disappeared off the face of the planet, perhaps even swallowed up by America's midwest, maybe even never have left Detroit... but truth to tell, all has been going fine so far. I've travelled Greyhound and Amtrak, dodged cars with my backpack and had deep philosophical conversations with taxi drivers. So 17 days to go, 9 more campuses and 1800 miles to go before I reach the 2009 MySQL Users Conference!

In Detroit, I met the Wayne State University Sun Campus Ambassador, Mumtaz Dawoodi,  and WSU Linux Users Group President, Jason Rogers. They had organized a talk at WSU for about 25 people or so with huge amounts of Pizza courtesy of Sun. I gave my, now standard, What the MySQL is this presentation and went on to a light session …

[Read more]
Cost of clouds, Mosso/Slicehost vs AWS

Marco Tabini has a great post discussing the cost of the cloud, and the current state of affairs. He calls for a simpler cloud platform, not just in terms of cost, but ease of use and products and services that adapt to changes in the market. Though the $100/month Mosso offering is mentioned (this site is hosted on Mosso), I would like to point out the recent acquisitions by Rackspace/Mosso that make their cloud offerings even more compelling than AWS for me.

  • Slicehost : Rackspace announced the acquisition in late 2008. This allows me to spin up virtual instances or Slicehost’s version of AMI’s called Slices (this was updated due to Ian’s comment below. You cannot migrate an AMI from EC2 to …
[Read more]
Showing entries 28006 to 28015 of 44044
« 10 Newer Entries | 10 Older Entries »