Showing entries 35113 to 35122 of 44922
« 10 Newer Entries | 10 Older Entries »
Migrating from one RDBMS to another

Here is some of my thoughts on migrating MySQL to Sql Server. It came out of an email discussion. I’d love to hear your thoughts on migrating to a different database platform, not just MySQL to Sql Server.

I actually thought about writing a white paper or even a course on migrating from MySQL to Sql Server, but never got the time to do it. Sometimes a project doing similar things can serve as a launchpad for this endeavour, but that never came along, at least not yet. I am very interested in database interoperability field though. I’ve done MySQL and Oracle admin in the past and have published some MySQL and Oracle stuff in blogs. I have much better technical skills on Sql Server than any other RDBMS platforms, primarily because I’ve worked on it longer.

Here are some of my thoughts. I think most of it applies equally on migration from Oracle, DB2, Sybase, Postgresql, etc., to Sql Server, or the other way around. It …

[Read more]
Quick note on innodb_file_per_table

Ran into an interesting issue with a client today who was using innodb_file_per_table. This client had a lot of tables ( 300K+), they were using innodb_file_per_table. Today they had a problem that caused their db to crash. After fixing their issue, the database restart seemed to hang. The only thing in the error log was the mysql was started, their was no crash recovery messages. An strace revealed that the mysqld process was stating all the datafiles. It seems that during a recovery the first step is to just check to see if all the individual files are really their. The entire process to simply stat each datafile took over 45 minutes to complete after which the actual crash recovery started. Just a quick note to remind myself in the future if I see this again.

MySQL: Solution for ERROR 1442 (HY000): Can’t update table ‘t1′ in stored function/trigger because it is already used by statement which invoked this stored function/trigger.

Here is a sample table you can create to test following problem/solution on: CREATE TABLE `t1` ( `a` char(1) default NULL, `b` smallint(6) default NULL ); insert into t1 values ('y','1'); I have a table t1 which has column a and b, I want column a to be updated to ‘n’ when column b = 0. Here is the first version [...]

At Sun Tech Days, Sydney Australia

I’m at the Sun Tech Days Australia 2008, these few days, in Sydney, Australia. Its March 4th - 6th, and if you’d like to catch up, it looks like there are free evenings, from the agenda. At the event, I’ll be the guy donning MySQL attire, of course ;)

Expect blog posts, photos (I’ve got my pocket camera), and more soon. Don’t know if my expensive room at the Sheraton Four Points has free Internet (how much you want to bet, it doesn’t).

If you want to meet me, or catch up, don’t hesitate calling me at +61433 580 941.

Technorati Tags: sun tech days, sydney, …

[Read more]
InnoDB Primary Key and Secondary Index Locking Strangeness

Recently we noticed a strange locking problem within our application. While the previous release worked flawlessly the current version produced a number of Lock Wait Timeouts. The code itself did not change in the area we experienced the problems, however our persistence framework had been updated to a new release in conjunction with our app. One notable difference was the schema generation

Memcached UDFs for MySQL 0.3 Released!

I'm happy to announce the release of Memcached UDFs version 0.3 (downloadable at http://download.tangent.org/memcached_functions_mysql-0.3.tar.gz). In this version:


  • memc_stats() added
  • memc_stat_get_keys() added
  • buffering behavior option added for better performance



This will allow you to query the state of your servers. This makes a great way to possibly add tools to monitor the database and memcached from one source.


mysql> select memc_stats('localhost')\G
*************************** 1. row ***************************
memc_stats('localhost'): Listing 2 Server

Server: 127.0.0.1 …

[Read more]
iodbc and mac os x problems

working with the iodbc driver manager on mac os x has been a frustration on two fronts.

first, the installer api functions provided by iodbc constantly set the configuration mode to ODBC_BOTH_DSN, which means you have to keep resetting it to the correct value after nearly every installer api call. this problem is platform-agnostic — the iodbc code is just plain wrong.

second, when called from the odbc administrator application on mac os x, any failures that the driver reports or passes through from the installer api in registering the driver are ignored, and the application instead uses a generic prompt for dsn configuration.

so even with the first problem fixed, the second problem has led to a lot of tail-chasing until i discovered that the odbc administrator application only obtains enough privileges to write to /Library/ODBC as …

[Read more]
The oldest component is finally finished

I have finalized the design for Federating Connections and part of the design has been implemented so far with amazing results. Overnight the dependency on replication has been reduced. Feed updates no longer are lagging and query load doubled without the need for new hardware.

Social connections (not mySQL connections) at Flickr in particular are directly responsible for permission levels. This allows members to see into a another members photostream. This global requirement means that every logged in page viewed on Flickr requires a database read if the page is not the members own page. So if the cluster is down, all access to photostreams default to the most restrictive state, i.e. public photos only.

As a result, the service needs to be extremely responsive on reads, since possibly every page view on Flickr could produce a realtime query on the contact cluster.

Next, the data has to be redundant and …

[Read more]
$30.4 billion, not $11.4 billion, in software patent damage to the economy

End Software Patents earlier claimed that the US economy suffers an $11 billion hit each year due to needless software patents. It turns out that End Software Patents was wrong.

The number is actually $30.4 billion.

What's $20 billion between friends? The group revised upward its earlier, more conservative estimates based on the following [...

Webinar tomorrow: Applying the supply management promise to IT

Courtesy of our friends at Oracle cost containment company Miro Consulting, I am giving a webinar tomorrow at 1pm EST (click this link for the time in other timezones please. The subject I’ve chosen is how to apply the best practices around advanced supply management that are extremely successful and mature in the product supply [...]

Showing entries 35113 to 35122 of 44922
« 10 Newer Entries | 10 Older Entries »