oli's blog

Zabbix agent stopps working

Taxonomy upgrade extras: 

Hello William,

A cron job should not be necessary. It looks like the Zabbix Server disables this specific Zabbix agent/host for some reasons. So we should find, why! Could you please have a look at the zabbix_server.log and the zabbix_agent.log and let us know if you find anything?

Test Zabbix/mpm Agent

Taxonomy upgrade extras: 

Hi handon,

In the MPM installation guide I can find this:

ndb%count output

Taxonomy upgrade extras: 

Hello amatus,

Not sure if I understood you correctly. But the output is in the following Before and After code boxes…

MPM MaaS Questions & Answers

Taxonomy upgrade extras: 

Question: How does the MPM MaaS agent send data to the service?

MPM Questions & Answers

Taxonomy upgrade extras: 

Question: What is the MySQL Performance Monitor (MPM) monitoring and what data is the agent sending?

Monitoring as a Service (MaaS) for MariaDB and MySQL

How to test MySQL Monitoring as Service (MaaS) for free?

To get MaaS for MySQL follow these steps:

VIP

Taxonomy upgrade extras: 

Hello Reid,

Try to break it down into smaller pieces. Do the VIP manually first:

MaaS Key Request

' . 'ERROR: Internal error. File does not exist.' . '

Newsletter Autumn 2011

Taxonomy upgrade extras: 

New version of FromDual’s Performance Monitor for MySQL (MPM) v0.7.2 is out

Dear MySQL User,

Download

Taxonomy upgrade extras: 

Please continue here.

Bug in PDF

Taxonomy upgrade extras: 

Rumbi pointed me to a bug in the PDF!

The first Slave S should point to Master M on port 3315.

Old concepts, please do not use anymore...

Taxonomy upgrade extras: 

This concept/PoC is old! Nowadays we do not need this anymore.

Old concepts, please do not use anymore...

Taxonomy upgrade extras: 

This concept/PoC is old! Nowadays we do not need this anymore.

Canias optimizations

Taxonomy upgrade extras: 

Canias is a great ERP product but there is still some potential to improve it. We only focus on MyISAM/InnoDB installations of Canias v6.0.2 in this article. For other DB back-ends those recommendations might be obsolete.

MySQL Performance Monitor v.0.8 is out

Taxonomy upgrade extras: 

Yesterday we released the new version of the MPM v0.8. The most important new features are:

Service overloaded

Taxonomy upgrade extras: 

Dear user,

Our website is currently overloaded. Please try again in a few minutes.

Example 1

Taxonomy upgrade extras: 
CREATE TABLE `order` (
  id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY
, name VARCHAR(64) NOT NULL
) ENGINE = InnoDB;

INSERT INTO `order` VALUES
  (NULL, 'Test order 1')
, (NULL, 'Test order 2')
, (NULL, 'Test order 3');


CREATE TABLE pos (
  id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY
, order_id INT UNSIGNED NOT NULL
, name VARCHAR(64) NOT NULL
, amount SMALLINT NOT NULL
, price DECIMAL (6,2) NOT NULL
, status TINYINT NULL
) ENGINE = InnoDB;

INSERT INTO pos VALUES
  (null, 1, 'Schrauben', 50, 0.10, 0)
, (null, 1, 'Muttern', 50, 0.10, 0)
, (null, 2, 'Nägel', 1000, 0.05, 1);


CREATE TABLE pos_shadow LIKE pos;
ALTER TABLE pos_shadow ENGINE = MEMORY;
INSERT INTO pos_shadow SELECT * FROM pos;

delimiter //

CREATE TRIGGER upd BEFORE UPDATE ON pos
FOR EACH ROW
BEGIN
  UPDATE pos_shadow AS p
    JOIN `order` AS o ON o.id = p.order_id and o.id = NEW.order_id
    SET status = 1
  WHERE o.id = 1;
END;
//

delimiter ;

SELECT o.name, p.name, p.amount, p.price, (p.amount*p.price) AS total, p. status
  FROM `order` AS o
  JOIN pos_shadow AS p ON p.order_id = o.id
;

UPDATE pos AS p
  JOIN `order` AS o ON o.id = p.order_id AND o.id = 1
   SET p.status = 1, p.order_id = 1
 where o.id = 1;

SELECT o.name, p.name, p.amount, p.price, (p.amount*p.price) AS total, p. status
  FROM `order` AS o
  JOIN pos AS p on p.order_id = o.id
;

Galera 1.1 release

Taxonomy upgrade extras: 

If you cannot wait you can read Building Galera Replication from scratch

Galera 1.0

Taxonomy upgrade extras: 

Yes I know! :)

It will NOT work with 1.0… We did some tests earlier with 1.0 and they failed. The results made it into into 1.1…

Additions for compiling on RedHat/CENTOS

Taxonomy upgrade extras: 

Follow the Galera documentation as well!

What was needed in addition in my case:

Pages

Subscribe to RSS - oli's blog