At the MySQL Conference and Expo, right after my participation in
scaling up or scaling out keynote panel, I talked to Sun's Multimedia
team about Sun and MySQL in our environment.
Recently, I found the interview on Sun's Multimedia page. The video of my
discussion is embedded below:
Did you notice that I moved this blog from pair Networks to pairLite hosting?
Probably not, unless you check the DNS of xaprb.com regularly!
Don’t you hate it when people say “I’m moving my blog, I hope there won’t be more than a few days of downtime, blah blah…” Why is this ever necessary, I wonder? I wonder the same thing about a lot of hosting providers — recently I had a client in my consulting practice whose (very large, well-known) hosting provider tried to help them with some very simple MySQL work and ended up causing them an obscene amount of downtime, like many many days, and there was no end in sight. As I spoke on the phone with him and asked him about his business, he said “we have X thousand users in our beta.” long pause. “Well, we did …
[Read more]
A while ago I blogged about using Mercurial as a backup
repository for my databases. I was asked about this
again
last night over dinner.
This is an example of what I see via the web:
I can see both changes to schema, and do deltas between days (aka
slice out a days worth of data or grab a snapshot of anyone one
particular days data). The nice thing with hgweb is that I can
make this happen via my browser :)
Part of what really makes this work is the --tab option to
mysqldump (I also use Innodb so my backups are all done online).
I can compress it, but frankly disk is cheap and storing deltas
is cheap :)
I am proud to announce the availability of Flexviews for MySQL
1.0.0-alpha under LGPLv3!
http://flexviews.sourceforge.net
The documentation needs quite a bit of work. When you run into
problems (and I'm sure you will) you can ask for help on the
sourceforge support tracker. Please download the example database
for some examples of incremental refreshable views.
I haven't tested COMPLETE refresh views in quite a while, but I
think they break when you try to enable them. I'll fix this today
or tomorrow and upload a new version. INCREMENTAL refresh is what
is interesting anyway :)
Please report bugs (of which I'm sure there are quite a few), as
well as feature requests, etc, on the sourceforge bug tracker.
http://barcamp.org/BarCampBrisbane gives the
details... I'm going in the afternoon, and might do a talk on
RepRap. There'll be enough software
talks, so why not something different!
(not that I *always* talk about MySQL - I have done other talks
at various confs)
I just returned from a meeting with the great Sun people in Prague. The main topic of our discussions was the database support in NetBeans and their MySQL support in general. To have the best possible database integration in all of Sun’s products is one thing that is high on my personal agenda.
As the current resources working on the NetBeans database integration are limited we looked into utilizing what we have done in MySQL Workbench to get a more powerful database interface into the hands of NetBeans users. But there are a few things that make this approach quite difficult. First, the two tools are using different development languages. Just to name a few. NetBeans is written in Java while MySQL Workbench is written in C/C+. MySQL Workbench does not include any query functionality yet and we are still working on the multi-platform support.
Still, we had good discussions and are currently working out a plan to overcome all these …
[Read more]Todd Hoff, who apparently learned a hell of a lot during a short stint at Yahoo followed by some startups has an extremely well-written and edutaining article about how scaling to a million or more users requires jettisoning more or less everything we know and love about relational modeling.
Even though he uses bigtable (Google’s distributed hash storage system) as his example, in reality this approach works well with relational datastores like MySQL and Oracle too, you just have to think about your data differently and use the databases differently. So I’m including this article in the MySQL and Oracle categories because I think it would be of interest.
Here’s a taste of …
[Read more]
Found an article comparing MySQL and SQL Server...
http://articles.techrepublic.com.com/5100-10878_11-1054385.html
Bug fixes:
* In some situations where SSH connections failed (including if
MONyog was not able to connect to MySQL, wrong SSH authentication
details for tunnelling etc.), sockets were not being closed and
it could result in that many sockets were kept in CLOSE_WAIT
state. (note: connections to MySQL not using SSH were not
affected!)
Downloads: http://webyog.com/en/downloads.php
Purchase: http://webyog.com/en/buy.php
Referred to by Launchpad Bug #119271 and MySQL
Bug#28850, MySQL installations get bitten after an upgrade,
if they were acting as a replication slave. However, the actually
root cause is not an upgrade.
If you simply set up say Ubuntu Feisty, you'll encounter the same
problem. If you set up as a slave, the server uses a relay log.
In the affected versions, its put under /var/run. That's a
serious snafu, because /var/run is generally on tmpfs and a) very
small, and b) gets wiped on a restart. Only runtime foo like .pid
files should be under /var/run (as per LSB, Linux Standards
Base).
Anyway, the "gets wiped on restart" is where new installations
get bitten, although the error is of course the same as on an
upgrade where the path changes from /var/lib/mysql: the …