Adam Machanic has published on SQLblog.com the 21st edition of Log Buffer, the weekly, human-edited review of database blogs. You can publish an edition of Log Buffer too. It’s good fun and an excellent way to promote your own blog — The Pythian Group Blog and Log Buffer are widely-read and highly-rated. Read the Log [...]
Laurentiu Cristofor has an excellent blog post,
Who needs encryption?, which presents some
point blank facts about encryption and the correlations you can
draw from those facts. This post isn't a SQL Server or even a
database specific post. It's about encryption in general.
I love his Fact #1: Encryption does not eliminate the need
to protect some data. I was recently talking with some
peers about whole disk encryption technologies. The idea behind
whole disk encryption technologies is if someone were able to
steal the hard drive (such as by taking a laptop), as long as the
hard drive was powered off, by powering it on they wouldn't
immediately get access to to the data. They would have to decrypt
the hard drive. Well, there's two ways to go about …
I recently reset replication on one of my servers and since then
my relay_log_space_limit=8G setting has stopped working since the
relay log files continue to grow beyond the 8G limit (currently
15G).
Has anyone else experienced this before? Why would it suddenly
stop honoring the relay log space limit?
Today the Apache
OFBIZ project, for which I'm one of the committers and core
developers, was approved to graduate from Apache
incubation. It has been almost exactly a year since David
Welton from the Apache Foundation first talked to me about OFBiz
joining the Apache Software Foundation. At the time it almost
seemed so far off and in the distance, but now that it's close at
hand, I'm going to jot down a few notes about it.
What is OFBIZ?
For those of you who don't know, Apache OFBiz is a
community-developed open source project for building business
software: everything from high end ecommerce sites to Point Of
Sales to document management to open source ERP and CRM systems, to less
common things like …
For all you SNMP afficianados, a database logging SNMP client has never been easier.
The Cacti Virtual Appliance is running Cacti in just a couple of minutes with a fully automated setup, onboard MySQL and phpMyAdmin.
The Cacti Virtual Appliances comes outfitted with about 1.7 GB of diskspace, but can automatically use Virtual Hard Disks so there is no limit to how much SNMP data can be stored.
To learn more about Cacti, visit the Cacti Homepage.
Download the nano sized (40MB) virtual computer image from our
downloads page.
I had found pile of MySQL and PostgreSQL benchmarks on various
platforms which I have not seen before. Very interesting
reading.
It does not share too much information about how MySQL or
PostgreSQL was configured or about queries. Furthermore MySQL and
PostgreSQL has a bit different implementations (ie SubQueries
avoided for MySQL) so do not just compare it directly.
It also does not mention if Innodb or MyISAM tables are used - it turns out Both are used in the benchmark. This is CPU bound benchmark with working set fitting in memory.
MySQL and PostrgreSQL Scalability on Xeon Woodcrest,
Opteron and Niagra
Pretty interesting to see how PostgreSQL scales just as systems
should scale in theory - gradually goes up with number of threads
about matches number of Cores/Threads and stays at this level at
higher concurrency. MySQL with Innodb …
Recently I stumbled over a posting on the German MySQL Forum from a user
that accidentally removed all table files from a MySQL Server's
data directory with a misbehaving shell script. He was surprised
to find out that the server happily continued to serve requests
and his web site was still fully operational, even though
/var/lib/mysql/<database> was completely emtpy! The reason
for this in a nutshell: the rm command only removed the reference
to the table files from the database directory, the files itself
were not removed from the file system yet as the mysqld process
still had the files opened. So as long as a process keeps a file
open, the kernel will not release the disk space occupied by the
file and it will remain intact, albeit no longer visible.
Of course, the user was now desperate to recover the deleted
tables files and was …
Recently I stumbled over a posting on the German MySQL Forum from a user
that accidentally removed all table files from a MySQL Server's
data directory with a misbehaving shell script. He was surprised
to find out that the server happily continued to serve requests
and his web site was still fully operational, even though
/var/lib/mysql/<database> was completely emtpy! The reason
for this in a nutshell: the rm command only removed the reference
to the table files from the database directory, the files itself
were not removed from the file system yet as the mysqld process
still had the files opened. So as long as a process keeps a file
open, the kernel will not release the disk space occupied by the
file and it will remain intact, albeit no longer visible.
Of course, the user was now desperate to recover the deleted
tables files and was …
MySQL 5.0 introduces improved SQL modes, which can fine tune the way your
server behaves. If you are a long term MySQL user, you may be
familiar with the speed for accuracy trade-off. MySQL has a
default for each field, and guesses a value when you don't
provide an appropriate one when inserting or updating. If this
behavior is not acceptable to you, you can now tell the server to
be less permissive. Check out an article by Robin Schumacher, where this
concept is explained thoroughly.
If you look at the manual, though, you will see that the SQL
modes are quite a few, and you may be tempted to combine some of
them to control every tiny part of the server …