Showing entries 36251 to 36260 of 44920
« 10 Newer Entries | 10 Older Entries »
Making Logical Volumes on EC2
Log Buffer #73: a Carnival of the Vanities for DBAs

Eddie Awad, Oracle blogger extraordinaire, has published the 73rd edition of Log Buffer, the weekly review of database blogs. Daniel Crook is on-deck, but won’t bat until January. That leaves plenty of room for others, so I invite you to get involved. Send an email to the Log Buffer coordinator (that would be me). Here’s Eddie [...]

Memcached MySQL Functions Released!

The first initial Memcached MySQL UDF functions version has been released. You can download them at:

http://download.tangent.org/memcached_functions_mysql-0.1.tar.gz

Developed by Brian Aker and Patrick Galbraith, These are a number of MySQL user defined functions based on libmemcached (http://tangent.org/552/libmemcached.html) mirroring libmemcached client functions.

Included are:

memc_servers_set() - sets list of memcached servers to use

memc_set(hash, value) - sets a value keyed by hash in memcached
memc_get(hash) - retrieves a value from memcached keyed by hash
memc_delete() - deletes a value from memcached keyed by hash
memc_append() - appends to the end of a value in memcached …

[Read more]
New Workbench Screenshots Online

I have just published a page showing selected screenshots of Workbench in action. Find it here. While there are so may things to show there few shots should give a good initial impression of what the tool looks like and what I can be used for.

The shots have been taken of the 5.0.10 release that we are about to publish.

MySQL 5.1 Cluster DBA Certification Study Guide

Apart form the Xen book I coauthored earlier this year the nice folks of the MySQL documentation team asked me to review parts of their MySQL Cluster Certification guide.

After a long wait it's finally out !
In contrary to the other one, this book took over a year to finish because there was actually a lot of reviewing done by different people.

You can buy it now at Lulu.com !

John might want to read it to figure out about his 5th step.

MySQL - Simple ways to avoid filesort

It is bit panic to see ‘Using filesort‘ from the extra field when one runs a explain of select query on MySQL server. At times it is bit annoy why MySQL optimizer does not avoid this as you can see from the following cases…

This is the information (Extra field) that scares a lot for many users from Explain output:

[Copy to clipboard][-]View Code

1
2
3
4
5
6
7
8
9
10


          id: 1
  select_type: SIMPLE
        table: t1
         type: index
possible_keys: NULL
          key: col1key
      key_len: 5
          ref: NULL
         rows: 1000000
        Extra: USING index; USING temporary; USING filesort

Lets consider the following simple …

[Read more]
Procedure privileges

I came across a problem on site yesterday. In moving the development environment to a new server and creating more appropriate permissions for users (they were using ALL on *.*) I found that the Java application would crash with a NullPointerException. The permissions were standard, and calling the Stored Procedure worked via the mysql prompt.

CREATE USER devuser@99.99.99.99;
GRANT SELECT,INSERT,UPDATE,DELETE,EXECUTE ON devdb.* to devuser@99.99.99.99;
CALL sp_test()

You can spend a lot of time looking into problems, luckily this development configuration had taken my advice to enabled the General Query Log. (Something everybody should do to know your SQL).

In closer inspection the following command was being sent to the MySQL Server. SHOW CREATE PROCEDURE sp_test; Attempting to run this command via the mysql prompt works.

SHOW CREATE PROCEDURE sp_test;
+-----------+----------+------------------+
| Procedure …
[Read more]
MySQL under Mac OS/X 10.5

Time to install MySQL on my new MacBook.

$ cd /opt
$ wget http://dev.mysql.com/get/Downloads/MySQL-5.0/mysql-5.0.45-osx10.4-i686.tar.gz/from/http://mysql.mirrors.hoobly.com/
$ tar xvfz mysql-5.0.45-osx10.4-i686.tar.gz
$ cd mysql-5.0.45-ox10.4-i686
$ scripts/mysql_install_db
Installing MySQL system tables...
071129 22:10:48 [Warning] Setting lower_case_table_names=2 because file system for /opt/mysql-5.0.45-osx10.4-i686/data/ is case insensitive
OK
Filling help tables...
071129 22:10:48 [Warning] Setting lower_case_table_names=2 because file system for /opt/mysql-5.0.45-osx10.4-i686/data/ is case insensitive
OK

bin/mysqld_safe &
[1] 239
macbook:mysql-5.0.45-osx10.4-i686 rbradfor$ chown: /opt/mysql-5.0.45-osx10.4-i686/data/macbook.err: Operation not permitted
Starting mysqld daemon with databases from /opt/mysql-5.0.45-osx10.4-i686/data

$ bin/mysqladmin …
[Read more]
Testing the ability to fallback to 4.1

I'm onsite at a customer's site this week. One of the questions I was asked, was if they have any problems with upgrading to 5.0, could they migrate quickly back to 4.1.

I thought this was a simple (but fair) question, so I devised a test:

1. They send me their 4.1 database (from mysqldump)
2. I import it into my 4.1, then mysqldump (eliminate variables)
3. Import that dump into 5.0, export it.
4. Import that export into 4.1, export it.
5. I then run diff over the file in step 2 and in step 4.

In theory the diff should be identical (except for the the date in a comment). However, this isn't always the case!

Beyond Open Source ERP and CRM

It has been over three years since we began our road to build an open source ERP and CRM suite, and I am frankly surprised by how far we have come in such a short period of time. I owe a great deal both to our team of outstanding professional developers who work full time on developing and advancing opentaps and to the open source community at large for providing us with so many great tools.

Nevertheless, I think it is time to look further and higher--to look beyond open source ERP and CRM. I say this for several reasons:

First, "ERP" and "CRM" refer to software that was invented 15, even 20 plus years ago. The driving technologies behind classic ERP and CRM were the SQL database and client/server networks. This predates just about every other piece of software you use today. So, if we merely set our sights to build ERP or CRM software, we are really looking to …

[Read more]
Showing entries 36251 to 36260 of 44920
« 10 Newer Entries | 10 Older Entries »