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 …
I have been using Maatkit in a different way since I joined Percona as a consultant. When I’m working on a system now, it’s a new, unfamiliar system — not one where I have already installed my favorite programs. And that means I want to grab my favorite productivity tools fast.
I intentionally wrote the Maatkit tools so they don’t need to be “installed.” You just run them, that’s all. But I never made them easy to download.
I fixed that. Now, at the command line, you can just run this:
wget http://www.maatkit.org/get/mk-table-sync
Now it’s ready to run. Behind the scenes are some Apache mod_rewrite rules, a Perl script or two, and Subversion. When you do this, you’re getting the latest code from Subversion’s trunk.[1][2] (I like to run on the bleeding edge. Releases are for people who want …
[Read more]
A while ago I wrote about native MySQL connectivy for OpenOffice.org which
Georg Richter had spent a lot of time on, but which then got
stuck in some licensing foo. That blog entry generated a number
of responses from former MySQL colleagues, noting that something
was in the works. A bit later Georg himself
commented:Arjen,
sorry, but I didn't find the time to blog about - I had to write
some code :-)
The license of the code will be LGPL 3.0 (like OpenOffice) - it
still uses libmysql. The code will be available via
cvs.openoffice.org pretty soon.
If you're interested in testing some binaries, check out the new
preview version at http://forge.mysql.com/wiki/Connector_OpenOffice
/GeorgSo that's cool, and everybody please do check it …