Yes, apparently it's quite unusual to use a train in the US. But
consider this... for a trip of upto a few hours, it might even be
faster if you take into account having to be at the airport
early, etc. Much less hassle, more seat space, and with a
business class seat you even get an AC socket so you can plug in
your laptop! And it's definitely cheaper.
I'm travelling to Portland next week, for OSCON. My trip from
home in Brisbane, Australia will take me via Auckland (New
Zealand), and then into San Francisco. When going to the US I
always start a few days early, so when an event starts I'll be
past my jetlag... I'll first stay in Cupertino (Silicon Valley)
for a day, visiting our US offices there. Then fly up to
Portland. I already had that booked. So why the train?
Well, Brian just invited me to visit Seattle for the few days
before OSCON. It appears that various MySQL people will be there,
actually, and that's a great …
MySQL 5.0.23 will not be officially released due to the
fix for bug #10952 (an ALTER TABLE
to
MERGE
or BLACKHOLE
should have been
forbidden to prevent the loss of data in the table). The fix
introduced some unwanted side effects and needs to be reverted in
the upcoming release 5.0.24. But this was not the only bugfix with
negative side effects in 5.0.23: I tried the build today and just
discovered three other bugfixes introducing new bugs while
actually trying to fix old ones.
Just a few days ago Baron Schwartz wrote an article on how to replace
large IN
clauses with a UNION SELECT
…
I just noticed that Boing Boing brought up the old six degree patent. I commented on this
patent in 2003 when I wrote the Zoo system for Slashdot. The
patent is narrow in its implementation so sites like Slashdot or
even LJ have little to be worried about.
Someone should spend the time to write up the prior art in this
area, just so that if anyone gets taken to court over these
social network patents the information will be readily
available.
Have I mentioned lately that I hate patents? Someday I should
post some of the world's "Most Obvious Database Patents". I don't
know which are worse, the web ones, or the database ones.
Since the last few versions and especially since 5.0.23, the
mysqldump command includes new and very important bug
fixes.
I'd like to mention three of them that I was affected by:
Bug 16878 (fixed in 5.0.19, 5.1.8): Dump of
triggers
Bug 17201 (fixed in 5.0.23, 5.1.12): mysqldump
sometimes creates database twice
Bug 18462 (fixed in 5.0.23): mysqldump does not
dump view structures correctly
After an interesting question I'm posting here a simple description
of how to place your MySQL data on another drive, if you got a
server with multiple disks this can really benefit
performance.
The picture is this, you have installed MySQL server in the usual
C:\Program Files\MySQL\MySQL Server 5.0\ folder, but you have
another drive D: and you want to place your data there, you'll
create three folders there:
D:\MySQL DataDir\ which will contain MyISAM tables (.frm, .MYD,
.MYI files) and also InnoDB tables definitions (.frm files)
D:\MySQL InnoDBDatafiles\ which will contain InnoDB data (ibdata1
etc. files)
D:\MySQL InnoDBLogfiles\ which will contain InnoDB logs
(ib_logfile0, ib_logfile1 etc.)
this will be accomplished by:
1. creating those folders …
Just stumbled over this article, which might come in handy for
our Microsoft Office users out there: "Using Excel to analyze MySQL data" by Jason
Gilmore explains how to set up the MySQL Connector/ODBC and
connecting to a MySQL database using Microsoft Excel.
If you're a Linux user, this article on NewsForge covers a similar
topic, using OpenOffice.org
to connect to a MySQL Server.
Update: Thanks to Guillermo Roditi for pointing out that both links pointed to the same article - now fixed. Sorry about that.
Everyone using Innodb tables probably got use to the fact Innodb tables perform non locking reads, meaning unless you use some modifiers such as LOCK IN SHARE MODE or FOR UPDATE, SELECT statements will not lock any rows while running.
This is generally correct, however there a notable exception - INSERT INTO table1 SELECT * FROM table2. This statement will perform locking read (shared locks) for table2 table. It also applies to similar tables with where clause and joins. It is important for tables which is being read to be Innodb - even if writes are done in MyISAM table.
So why was this done, being pretty bad for MySQL Performance and concurrency ? The reason is - replication. In MySQL before 5.1 replication is statement based which means statements replied on the master should cause the same effect as on the slave. If Innodb would not locking rows in source table other transaction …
[Read more]The MySQL GUI tools team has released an updated bundle of our popular graphical tools including:
- MySQL Administrator 1.2
- MySQL Query Browser 1.2
- MySQL Migration Toolkit 1.1
- MySQL Workbench 1.1
The latest Migration Toolkit 1.1 now includes support for migrating from Sybase as well as Oracle, Access, SQL Server and, in fact, any database with a JDBC connector. The team has also been focusing on improving the quality of all the tools and eliminating some of the bugs that confounded users earlier on. (With more improvements to follow in the next couple of months.) Check it out!
- MySQL: Graphical Tools
- MySQL: …
Database administrators hate to upgrade their databases. At MySQL, we like to think that we have been early to recognise this, and we have given more or less unlimited support to even very old releases, on a multitude of platforms. However, this has not been without cost to ourselves.
Many of our users know that the cost of maintaining several releases is high. We have thus been asked to clarify our support lifecycle policy. After long internal discussions, that were not always easy, we are now pleased to say that we have an explicit support lifecycle policy. It addresses the timeframes we will provide updates and continued support for current and older versions of the MySQL server.
Keeping older versions alive for a long time is appreciated by our community and our customers alike. However, we are no longer …
[Read more]The Term Tagging
The popular feature of 'tagging' content is nothing new. The average netizen should have encountered it by now. Tagging was made popular by sites like del.icio.us and flickr, where users can attach free-form strings, so-called 'tags' to their bookmarks and images. The viewer can then use these tags to navigate through one or more user's contents and locate related content.
Scientific Background
The most-cited work on tagging is this research paper from HP, which starts categorizing tagging as 'folksonomy' (folk taxonomy) in contrast to the conventional term taxonomy. A taxonomy is usually a categorization of content according to a hierarchical and exclusive tree of attributes, while the folksonomy is …
[Read more]