Monthly Archives: November 2008

tar pipe ssh

I always have to look this up when I need it, so storing on my blog, so I can look it up faster. This is way faster than “scp”, for deep directories or directories with lots of files. tar cf … Continue reading

Posted in Uncategorized | Leave a comment

Using tmpfs for MySQL tmpdir setting

This is incredible, by the way. Any time MySQL needs to use a tmp table on disk, you can make it use RAM disk instead. WARNING: if the tmpfs partition you make isn’t big enough, MySQL will not be able … Continue reading

Posted in Uncategorized | 1 Comment

DbTable and all its glory

The example: http://www.koopman.me/dbtable/ I got the concept of the class, DbTable, from a book called PHP5 Professional. The idea is we have a class, this abstract class, that allows us to quickly make a new class out of any database … Continue reading

Posted in Code | Leave a comment

Scaling MySQL Vertically, The Sun Way

This is a response to a response to an article about Scaling MySQL with a Sun server with a 256-thread count. With x86 based processors, you get high speed threads, but only a couple (up to four) per processor. With … Continue reading

Posted in Uncategorized | Leave a comment

Internet Video, Not Taking Off As Fast As….

Silverlight seems to be taking off a lot slower than I anticipated. One problem is it doesn’t work on Linux. There is Moonlight, but, its not so obvious. Here I am browsing my blog on my Xubuntu desktop, and I … Continue reading

Posted in Uncategorized | 1 Comment

MySQL 4.1 “WHERE … OR … ” results in full table scan

This is a real life example. Case study is, we had performance problems that was narrowed down to a large number of the following query: SELECT sg.gid FROM Scheduleable_Group sg WHERE sg.domain=’domain.com’ OR sg.sid=’555′; The database engine is InnoDB on … Continue reading

Posted in Uncategorized | 1 Comment