FromDual TechFeed (de)

MySQL Questions & Answers

Oli Sennhauser - Mon, 2010-03-15 11:15

Limitations of MySQL

Oli Sennhauser - Mon, 2010-03-15 11:01

MySQL User Defined Function (UDF) collection

Oli Sennhauser - Sat, 2010-03-13 21:16

I really like this new toy called UDF. So I try to provide some more, hopefully useful, functionality.

A list of what I have done up to now you can find here:

If you have some more suggestions, please let me know. If you need some special features as UDF talk to our consulting services if they can implement it.

Get and set InnoDB spin_wait_delay

mysql> …

Taxonomy upgrade extras:  Udf  User-Defined Function 

The handler_read_* status variables

Oli Sennhauser - Sat, 2010-03-13 21:06

Because I do a lot of Performance Tuning gigs I get often in contact with these status variables. In the beginning I had a problem to understand them and now I have a problem to memorize the relation of the name and the meaning. Therefore I wrote this little summary:

Prepare the example

To show you the effect I have worked out a little example:

CREATE TABLE test (
    id    INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY
  , data  VARCHAR(32)
  , ts    TIMESTAMP
  , INDEX (data)
);

INSERT INTO test
VALUES …

Taxonomy upgrade extras:  Mysql  Handler  Handler Interface  Status Variables  Status 

Performance Tuning Key for MySQL

Oli Sennhauser - Sat, 2010-03-13 20:40

This MySQL Performance Tuning Key should give you a guide how to best tune you MySQL database systematically… It should also work similar for other RDBMS.


Also check our MySQL Performance Monitor


For a database configuration tuning only please look first at our MySQL database health check.

If this MySQL Database Health Check does NOT solve your problem our specialized Performance Tuning and Architecture Consultants can help you for sure!

Caution: Some recommendations are dangerous! Dangerous means …


Taxonomy upgrade extras:  Mysql  Performance  Tuning 

Hunting the core

Oli Sennhauser - Sat, 2010-03-13 20:32

Core files under Linux

When dealing with MySQL crashes it is very useful to get the core files for further debugging. I have collected all the informations I found about it and wrote it together here:

Find core files

# find $HOME -name "core*"
/home/oli/core.6440

# file core
core:      ELF 32-bit LSB core file Intel 80386, version 1 (SYSV), SVR4-style

See who caused the core file:

# strings core.6440 | head
CORE
CORE
mysqld
/home/mysql/product/mysql-5.1.30/bin/mysqld …

Taxonomy upgrade extras:  Debug  Trace  Core 

Reading other processes memory

Oli Sennhauser - Sat, 2010-03-13 20:15

As you probably have experienced yet MySQL does not always provide all internal information as you might want to have them and as you are used to have from other RDBMS.

MySQL plans to improve this implementing the/a performance schema and its probably already partly done in MySQL 5.4. But who knows when this will be finished and what it contains at all…

What is not provided to me I want to gather myself… But how? Other RDBMS provide interfaces to attach applications directly to their memory to …


Taxonomy upgrade extras:  Process  Memory  Debug  Trace 

MySQL Monitoring solutions

Oli Sennhauser - Sat, 2010-03-13 19:49

Basic solutions (CLI)

Those solutions are run from the command line (CLI):

Advanced solutions

More advanced MySQL database and host monitoring solutions with graphs and/or history and/or hints are:

MySQL Performance MonitorThe FromDual Performance Monitor for MySQL/MariaDB is a monitoring solution based on Zabbix. It is freely …

Taxonomy upgrade extras:  Performance Tuning  Mysql  Monitoring  Performance Monitoring  Mytop  Innotop 

FromDual sitemap

Oli Sennhauser - Sat, 2010-03-13 19:42

Profiling MySQL with oprofile

Oli Sennhauser - Sat, 2010-03-13 14:26

Why is is data load with LOAD DATA INFILE so much faster?

Probably the answer to this question is already known. But we want to prove it and by the way learn to deal with oprofile.

For the test MySQL 5.0.28 was used and 100k rows were loaded into a table sales which looks as follows:

CREATE TABLE sales (
    sales_id       INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY
  , product_name   VARCHAR(128) NOT NULL
  , product_price  DECIMAL(8,2) NOT NULL
  , product_amount SMALLINT     NOT NULL
) ENGINE = …

Taxonomy upgrade extras:  Mysql  Profiling  Oprofile  Profile 

Materialized Views with MySQL

Oli Sennhauser - Sat, 2010-03-13 13:55

MySQL Federated Storage Engine

Oli Sennhauser - Sat, 2010-03-13 13:32

What is a Federated Table?

A Federated Table is a table which points to a table in an other MySQL database instance (mostly on an other server). It can be seen as a view to this remote database table. Other RDBMS have similar concepts for example database links.

What can I do with a Federated Table?

To show what you can do with a federated table let us assume the following constellation: Two MySQL databases on two different servers. The first one called provider (it provides the data) the second one called …


Taxonomy upgrade extras:  Storage Engine  Federated Tables  General Query Log 

FromDual consulting tool collection

Oli Sennhauser - Sat, 2010-03-13 11:37

The following tools we use sometimes for our consulting engagements…

Caution: These tools are NOT for production use! Use with care!

Other tools

FromDual also provides some other tools:

3rd party tools for MySQL

Other 3rd party tools for MySQL you should consider are:


Taxonomy upgrade extras:  Tool  Consulting  Memory  San  General Query Log 

MariaDB and MySQL Benchmarking

Oli Sennhauser - Thu, 2010-03-11 23:29

MySQL pluggable Storage Engines (SE)

Oli Sennhauser - Thu, 2010-03-11 23:20

One of the big advantages of MySQL is its concept of Pluggable Storage Engines. This means you can choose the most optimal Storage Engine for your needs. This also has a disadvantage: You have to know what you are doing…

If you need some help deciding which is the right Storage Engine or even strategy for you or if you want us to make an independent and vendor neutral comparison of those Storage Engines consider our FromDual Consulting Services!

MySQL provides the following storage engines:

mysql> …

Taxonomy upgrade extras:  Storage Engine  Pluggable  Solid State Disk  Rrd  Round-Robin Database  Se  Architecture  Ssd  Memory Table  Data Warehouse 

FromDual - The MySQL consulting company goes operational today!

Oli Sennhauser - Mon, 2010-03-01 13:33

Hello everybody,

One month earlier than planned we have the great pleasure to announce you that the company called FromDual goes operational today!

We are excited about this step and it is an new era in our personal evolution to get back in full-contact with customers and solve their real life day-to-day MySQL problems.

So we are happy hearing from you and to help you solving your individual MySQL problems…

You can find us at FromDual or you can drop us a line.

Regards,
Oli Sennhauser (aka Shinguz) …


Taxonomy upgrade extras:  Fromdual 

Presentations

Oli Sennhauser - Fri, 2010-02-26 21:29

The following presentations are available:

DateTitleLocationLang
November, 2025MySQL Honeypot (PDF, 324 kib)DOAG 2025 Konferenz + Ausstellung, 18 - 20 November 2025, Nürnberg, DD
November, 2024MySQL Performance Tuning (PDF, 791 kib), Was ist neu in MySQL 8.4? (PDF, 407 kib)DOAG 2024 Konferenz + Ausstellung, 19 - 21 November 2024, Nürnberg, DD
August, 2024Was ist neu in MariaDB 11.4? (PDF, 271 kib)FrOSCon 2024, 17 and 18 August 2024, St. Augustin, DD
November, 2023Das …

Taxonomy upgrade extras:  High Availability  Scale-Out  Mysql  Architecture  Presentation  Mariadb  Ha  Performance  Slides 

FromDual

Oli Sennhauser - Sat, 2010-01-30 19:54



Neutral and vendor independent services
for MariaDB, Galera Cluster and MySQL!



Services for MariaDB, Galera and MySQL

We offer the following services:

  • Neutral and vendor independent consulting for MariaDB, Galera Cluster, MySQL and Percona Server.
  • Enterprise support subscriptions for MariaDB, Galera Cluster and MySQL.
  • MariaDB, Galera and MySQL training for database administrators (DBAs) and developers.
  • With our remote DBA services we help you to operate your business-critical MariaDB and MySQL databases. …

Taxonomy upgrade extras: 

MariaDB, Galera Cluster and MySQL training

Oli Sennhauser - Thu, 2010-01-28 22:02

FromDual offers trainings for MySQL, MySQL Enterprise, Galera Cluster, MariaDB or Percona Server.

We offer our MySQL, Galera Cluster and MariaDB trainings together with well-respected training organizations: The Linuxhotel in Essen (Germany), the Heinlein Academy in Berlin (Germany) and GFU Cyrus AG in Cologne (Germany).

If you prefer a MySQL, Galera Cluster or MariaDB in-house training at your location and if you provide the infrastructure we are happy to train you on-site either in German or English as …


Taxonomy upgrade extras:  Workshop  Training  Mysql Training  Mysql-Workshop  Mariadb Training  Mariadb Workshop  Galera Cluster Training  Galera Cluster Workshop  Mysql Enterprise 

Job offerings

Oli Sennhauser - Thu, 2009-12-17 10:43

Open job offers

We currently have no job opportunities open. If you are interested to work for FromDual leave us a note and we will inform you about our future job offerings…


Old job offers

MySQL DBA for FromDual Support Line (open until September 30th 2015)!

MySQL DBA for FromDual Support Line (open until January 31st 2014)

MySQL DBA for FromDual Support Line (open until May 31st 2013)


Taxonomy upgrade extras: 

Pages

Subscribe to FromDual aggregator - FromDual TechFeed (de)