|
Five years after coming back to Italy from abroad, I am about to hold the first official work-related event in my hometown of Cagliari, Sardinia. Since 2003, I have been on the podium many times, but each presentation meant a flight across the sea. Thanks to Sun's Tech Days initiative, the University of Cagliari is hosting an event where Sun employees and well known community members will talk about top notch technology. The agenda covers Open Solaris and ZFS, Sun SPOTS, Java and Spring, creative MySQL programming. The university will present a quality assurance project applied to Java. | …
Hearing from Brian that UDFs might be slower than native functions in MySQL, I did a small benchmark.
mysql> select benchmark(1e9,abs(1)); +-----------------------+ | benchmark(1e9,abs(1)) | +-----------------------+ | 0 | +-----------------------+ 1 row in set (27.15 sec) mysql> select benchmark(1e9,udf_abs(1)); +---------------------------+ | benchmark(1e9,udf_abs(1)) | +---------------------------+ | 0 | +---------------------------+ 1 row in set (43.04 sec)
The numbers were taken on my MacBook (Core 2 Duo @ 2GHz, OS X 10.4.11) running the official binary version of MySQL 5.1.25-rc for 32-bit arch. So the overhead of UDFs compared to native functions seems to be about 30 clocks per each call.
So the question is whether it would matter on an actual application. I created a 100k row heap table and performed …
[Read more]The Boston MySQL User Group was lucky enough to get Keith Murphy to speak at the June User Group meeting, about backups.
Direct play the video at:
http://technocation.org/node/559/play
Direct download the video (351 MB) at:
http://technocation.org/node/559/download
Links referred to in the presentation:
MyLVMBackup by Lenz Grimmer
http://lenz.homelinux.org/mylvmbackup/
InnoDB Hot Backup:
Prices are at:
http://www.innodb.com/hot-backup/order/
and at the time of this writing are:
1-Year License ? 390 USD$ 605 per server
…
The Boston MySQL User Group was lucky enough to get Keith Murphy to speak at the June User Group meeting, about backups.
Links referred to in the presentation:
MyLVMBackup by Lenz Grimmer
http://lenz.homelinux.org/mylvmbackup/
InnoDB Hot Backup:
Prices are at:
http://www.innodb.com/hot-backup/order/
and at the time of this writing are:
1-Year License ? 390 USD$ 605 per server
Perpetual License ? 990 USD$ 1540 per server
I’ve had to accept the “practice what you preach” pill recently due to a disaster at my hosting provider. See Learning from a Disaster.
While it was my own personal site on a dedicated server in question and not a business generating review I found that my MySQL Backup Strategy was incomplete ( It is also based on code 4 years old). I found that I had not tested my Disaster Recovery Plan adequately. I have used my backup and recovery approach in the past for various controlled situations and testing successfully.
So what mistakes did I make. There were two.
1. I was using a cold backup approach. That is specifically copying the entire MySQL Database in a controlled manner at the file system level. These were also copied to an alternate shared hosting server for storage. This works fine when you backup server supports a …
[Read more]I’m happy to say that the market response to our launch continues to be positive. So far we have had nearly 30 postings on the leading blogs in the MySQL world as well as close to 20 articles published in traditional media. Our press releases were picked up and published on over 30 sites. We had about 400 people stop by our booth at the MySQL conference and we continue to get a significant number of prospective customers and partners contacting us every week who want to know more about the company and our product.
Though the response has been very enthusiastic there has also been some healthy skepticism about how well the product would perform in real customer environments. In this post I’d like to briefly describe the results we are seeing at one of our beta customers.
The customer in question is a publicly traded company that manages the online forums for large media and web businesses. They use MySQL extensively today …
[Read more]
As I indicated in my previous post on MySQL performance, we have
been doing some performance work using an internally developed
web2.0 application. Akara and I will be presenting this app
publicly to a large audience for the first time at the upcoming
Velocity Conference in Burlingame, CA on June
23, 24. Check out our abstract. Most of our work uses Cool
Stack so a lot of the results we will be presenting will be based
on that. If you're struggling with performance issues, this
conference may be worth checking out.
If you will be attending the conference, please stop by and say
hello. It's always good to see people whom we only know through
blogs and forums.
This rocks. It’s not complete, but Pyshards is the closest thing I’ve seen to a real attempt at making a more or less generic sharding toolkit, written in Python. This is not just great because it’s written in Python or because it helps people who need sharding capabilities in MySQL. It’s great because having a toolkit to use for this benefits the community by creating a point of reference for how to get things done, and can help unite those who are treading into this territory and help them all get a leg up on this beast that is “sharding”.
I, for one, have found ways (so far) to avoid having to do this. It’s a good bit of complexity for data that would otherwise be very simple, and an infrastructure architecture that would otherwise also be simple (by design). But one of the things that makes sharding seem complex is that there aren’t any …
[Read more]
I have in front of me a contract which I've signed and am sending
out today. It's a contract to write a book for Wiley/Wrox titled
"Developing Web Applications with Perl, Memcached, MySQL and
Apache". I have never written a book before, so I'm wondering
what this experience will be like. It seems like a huge task but
one that I think I can handle both in terms of my experience and
ability. This book is slated to be around 500 pages covering what
the title suggests, of course in detail. Originally, Memcached
wasn't included, but I thought that it's become an
ever-increasingly used tool that is part of the LAMP stack
(LAMMP?).
My goal is to create a book that helps web developers be able to
build web applications using Perl as the language, MySQL as the
database, Memcached as a read-through or write-through cache,
Apache as the web server platform. With this book I hope create
more interest in Perl web development. There are so many …
To coincide with EURO 2008, I’m embarking on a virtual European tour, taking a quick look at open
source policies and deployment projects in the 16 nations that
are competing in the tournament.
Turkey kept its hopes of qualifying for the knockout stages of EURO 2008 alive with a last-minute victory over hosts Switzerland last night and now faces a winner-takes-all final group game against the Czech Republic on Sunday.
When it comes to open source software adoption, details of public and private deployments are thin on the ground, and we are indebted to Erkan Tekman, Pardus project manager, for contributing his insight into open source adoption in Turkey (see below).
…
[Read more]