|
"The database support in NetBeans allows users to connect to a database and view and modify the database structure and data. These graphs show which database servers users connect to most often."
Of particular note, besides the large usage of MySQL and
Oracle,
is the large usage of Java
DB (Derby), and the significant PostgreSQL
usage. |
Last week there there was a short scheduled downtime for the system, and I've used the chance to upgrade the MySQL servers to a newer version. We've tested it for more than a month before deploying to production, so I wasn't worried about any potential problems.
The upgrade itself went smoothly and was complete in about less than 10 minutes. Speaking of which, this is one of the things I like in MySQL upgrades as opposed to SQL Server.
- Copy new version
- Shut down the server
- Rename directories
- Start server
- Run mysql_upgrade
- Restart server
All of the above usually takes about 2 minutes, and can be reverted quite easily, if you have backup for the data files. This is compared to a SQL Server upgrade, or even a Service Pack install which includes running an installer for what can be 20 minutes or more. Uninstalling is equality lengthy, though both …
[Read more]How often do you think about the reasons why your favorite RDBMS sucks? Last few months I was doing this quite often and yes, my favorite RDBMS is MySQL. The reason why I was thinking so because one of my recent tasks at Scribd was fixing scalability problems in documents browsing.
The problem with browsing was pretty simple to describe and as hard to fix - we have large data set which consists of a few tables with many fields with really bad selectivity (flag fields like is_deleted, is_private, etc; file_type, language_id , category_id and others). As the result of this situation it becomes really hard (if possible at all) to display documents lists like “most popular 1-10 pages PDF documents in Italian language from the category “Business” (of course, non-deleted, …
[Read more]
It is that time of the year when many PostgreSQL fans gather in
Ottawa, Canada for PGCon 2008 next week. This will be my first
visit to PGCon in Ottawa. Earlier this year I had presented two
sessions "PostgreSQL and Benchmarks" and "Best Practices of
PostgreSQL on Solaris" at PostgreSQL Conference 2008 East in
Maryland. Thanks to that visit, this time I might recognize many
people by face this time around.
Sun is a Gold Sponsor at PGCon 2008. There will be quite a bit of presence from Sun in PGCon. Josh, Max, Robert, Magne, Zdenek, Jim, Mayuresh et all will be present out there.
Josh Berkus is doing a tutorial on "GUCs: A Three Hour Tour" on …
[Read more]
I'm pleased to announce the release of DBD::mysql 4.007. This
release contains the changes:
* Took out mysql_server_init call where not needed
* Complete re-write of test suit to use Test::More - tons of
cleanups!
* Makefile.PL changes to use current user in 'make test' if not
defined
The biggest change in this release is a completely re-written
test suite now using Test::More. This was something I wanted to
do for at least two years. Using Test::More for the test suite
makes it so much easier to add, manage and understand the various
tests that come with the driver.
The file is:
file: $CPAN/authors/id/C/CA/CAPTTOFU/DBD-mysql-4.007.tar.gz
size: 123516 bytes
md5: 67a4d921acda942aeb0e65a0023f2098
URL:
http://search.cpan.org/~capttofu/DBD-mysql-4.007
…
Recently I ran into major problems using GNU diff. It would crash with "diff: memory exhausted" after only a few minutes trying to process the differences between a couple 4.5GB files. Even a beefy box with 9GB of RAM would run out of it in minutes.
There is a different solution, however, that is not dependent on file sizes. Enter rdiff – rsync's backbone. You can read about it here: http://en.wikipedia.org/wiki/Rsync (search for rdiff).
The upsides of rdiff are:
- with the same 4.5GB files, rdiff only ate about 66MB of RAM and scaled very well. It never crashed to date.
- it is also MUCH faster than diff.
- rdiff itself combines both diff and patch capabilities, so you can create deltas and apply them using the same program
The downsides of rdiff are:
- …
|
Giuseppe Maxia took this picture at JavaOne, 2008, just a couple of days ago. It shows Marten Mickos (MySQL) donning the Java DB T-Shirt and giving a friendly hug to PostgreSQL evangelist … |
Check out the new OpenSolaris page and download the new OpenSolaris binary distribution.
You can easily download the integrated MySQL packages by using the Package Manager GUI or simply
pkg install SUNWmysql5
As part of the MySQL packages the MySQL Cluster (NDB) storage engine and management binaries are included. You can use the general documentation available at MySQL.comfor setting up a Cluster . Then you should be ready for high availability MySQL.
OpenSolaris OS 2008.05 is now available for download. Its quite a departure from traditional Solaris. Why? because the CD that one will be downloading is probably just a chapter in the full book. To understand the full picture one will have to really look at the bigger picture on how the whole deployment model is now changing. The full scope is not my topic of discussion but I probably want to focus on probably couple of pieces today in order to demonstrate on how to create a PostgreSQL OpenSolaris LiveCD.
In order to create a custom LiveCD, its probably best to start with OpenSolaris OS 2008.05 installation though it is not necessary as it can be done on Solaris Express installations also but needs pkg(5) to be installed. But the two things really required to create a custom LiveCD, you need one kit to download and a repository to access. The kit to download …
[Read more]Check out the new OpenSolaris page and download the new OpenSolaris binary distribution.
You can easily download the integrated MySQL packages by using the Package Manager GUI or simply
pkg install SUNWmysql5
As part of the MySQL packages the MySQL Cluster (NDB) storage engine and management binaries are included. You can use the general documentation available at MySQL.comfor setting up a Cluster . Then you should be ready for high availability MySQL.