wagnerbianchi.com

Author Archive

PostgreSQL Partitioning Automation with pg_partman and pg_cron

quinta-feira, junho 29th, 2023 Posted in PostgreSQL | No Comments »

I recently started a new project at work that demands a log table with a jsonb column. I don't like to have JSON columns on tables as that sounds like ... Read more..

The MariaDB Storage-Engine Independent Column Compression

segunda-feira, agosto 2nd, 2021 Posted in MySQL Tuning | No Comments »

One of the features DBAs have on their sleeves is the compression of the data living on databases. For the MariaDB Server, this is not any different. Among some options, ... Read more..

MariaDB MaxScale like a Pro: Setting up MaxScale 2.3

segunda-feira, agosto 5th, 2019 Posted in MySQL Tuning | No Comments »

I created this series of blog posts after being worked with the MariaDB MaxScale for many customers. All the points mentioned here reflect my views; I'll add links to the ... Read more..

MaxScale HA with Keepalived (CentOS/RedHat 7++)

sexta-feira, março 29th, 2019 Posted in Data Infrastructure, MariaDB Maxscale | No Comments »

This document aims to guide you through the implementation of what we call here as being the MaxScale HA with Keepalived. To introduce the subject and keep it as simple ... Read more..

MariaDB Maxscale 2.1 and SSL Certificates

segunda-feira, dezembro 18th, 2017 Posted in Data Infrastructure, MariaDB Maxscale | No Comments »

MariaDB Maxscale has become more and more popular since some time ago, and it is mostly adopted by users that would like to take advantage of a good strategy for ... Read more..

Multiple MariaDB Instances and systemd units

quarta-feira, outubro 25th, 2017 Posted in Data Infrastructure | 1 Comment »

First of all :D if you expect to read something really advanced level, this blog is not for you, just go read another stuff, ;) I'm saving you some time. Today ... Read more..

MariaDB 10.3 PL/SQL I

terça-feira, outubro 17th, 2017 Posted in MariaDB New Features, MariaDB PL/SQL | 3 Comments »

Since MariaDB Corporation started with the project to bring the PL/SQL and other Oracle-based functionalities to MariaDB Sever, I’ve got very curious and started having a looking around to see ... Read more..

MySQL InnoDB Cluster, now with remote nodes!

domingo, setembro 25th, 2016 Posted in MySQL Tuning | No Comments »

In this post I’m going to extend the tests I made with MySQL InnoDB Cluster on the previous post, creating a group of instances with separate servers, that is, I’m ... Read more..

Testing the New MySQL InnoDB Cluster

terça-feira, setembro 20th, 2016 Posted in MySQL HA | No Comments »

After receiving the announcement done by Oracle via Lefred, I got myself very curious about the new MySQL InnoDB Cluster. After watching the video, I downloaded the package, got the ... Read more..

MySQL 8.0 DMR, new features, part 1

segunda-feira, setembro 12th, 2016 Posted in MySQL Tuning | No Comments »

I would like to start this telling the reader that this is going to be the first of some blog posts I’m planning to exploit subjects around MySQL 8.0, as ... Read more..

MariaDB 10.1, MSR and MTS

quinta-feira, março 24th, 2016 Posted in MySQL Manutenção, MySQL Replication | No Comments »

As a preparation of my presentation together with Max Bubenick at 2016's Percona Live, happening in Santa Clara, CA, US, I'm running as many tests as I can to check ... Read more..

Exploring InnoDB Schema Partial Backups with Percona Xtrabackup

terça-feira, março 31st, 2015 Posted in MySQL Tuning | No Comments »

I remember the time when all the database and sys admins used to speak about MySQL backup strategy and it was really something to not worry about too much for ... Read more..

Working with MySQL on SSD

quinta-feira, novembro 6th, 2014 Posted in MySQL A&D, MySQL Tuning | No Comments »

I'd like to start this post or entry registering that even SSD cards or disks provides very low latency and faster random reads/writes, I consider that it's new to MySQLers ... Read more..

How to MySQL 5.6 MTS? Some tips and tests…

segunda-feira, outubro 6th, 2014 Posted in MySQL HA, MySQL Replication | No Comments »

In terms of new features, MTS extrapolate conceptually all the expectations seeing that it is a feature that will elevate (or at leaf will try it) all the stress that ... Read more..

Fast Index Creation really matters

quarta-feira, julho 23rd, 2014 Posted in MySQL A&D, MySQL Tuning | No Comments »

In one of the recent projects I've got involved, I had a situation where I started reviewing the data model so as to find any additional or unnecessary indexes on ... Read more..

How to change the number or size of InnoDB Log Files

quinta-feira, fevereiro 27th, 2014 Posted in MySQL A&D | No Comments »

This week I was approached by a friend who was not aware of the resource available in 5.6 although it's being very well commented and has been used by many ... Read more..

Replication and worker threads

quinta-feira, janeiro 30th, 2014 Posted in MySQL Replication | No Comments »

Recently I've got myself a little worried about how to monitor the threads executing data coming from the relay logs in a replication environment. I decided to go, raise some ... Read more..

Lock wait timeout exceeded; try restarting transaction

quinta-feira, dezembro 26th, 2013 Posted in MySQL A&D, MySQL Manutenção | No Comments »

It's very nice when you find some very good and well explained messages in the MySQL error log and the ENGINE INNODB STATUS output. The very good part of the ... Read more..

MySQL 5.5.X – Sort aborted

quinta-feira, dezembro 26th, 2013 Posted in MySQL A&D, MySQL Manutenção, MySQL Tuning | No Comments »

This morning I started investigating a file sort problem that is happening with a report server. Actually, what caught more my attention was what is really behind of the error ... Read more..

MySQL e o skip-name-resolve

quinta-feira, novembro 28th, 2013 Posted in MySQL Tuning | No Comments »

Desde o lançamento da versão 5.5 do servidor de bancos de dados MySQL que eu venho verificando muitos problemas relacionados com a variável de resolução de nomes, skip-name-resolve. Para quem ... Read more..

InnoDB Status Output – Buffer Pool and Spin Rounds

sábado, outubro 19th, 2013 Posted in MySQL Tuning | No Comments »

InnoDB has a good source of information about its status which can be requested every time you need to know "what's up" with that in your environment. The SHOW ENGINE ... Read more..

MySQL 5.6 Thread Pool

segunda-feira, setembro 30th, 2013 Posted in MySQL A&D, MySQL Tuning | No Comments »

Tendo em vista o problema já discutido aqui neste blog com relação à escala de conexão de usuários versus criação de threads no MySQL versus sistema operacional - no caso, ... Read more..

Got an error reading communication packets

quinta-feira, julho 12th, 2012 Posted in MySQL A&D, MySQL Manutenção | No Comments »

O nome desse post é exatamente a mensagem de erro que você provavelmente poderá receber ao verificar o estado de saúde do seu servidor de bancos de dados MySQL, nesse ... Read more..

Estressando o MySQL com o mysqlslap

sexta-feira, junho 15th, 2012 Posted in MySQL A&D, MySQL Manutenção, MySQL Tuning | 2 Comments »

Não é de hoje que é necessário efetuar vários testes antes de colocar um servidor em produção e para isso, as vezes os testes que a turma de desenvolvimento elabora ... Read more..

Verificando o tamanho de índices e dados!

quarta-feira, junho 13th, 2012 Posted in MySQL Manutenção, MySQL Tuning | No Comments »

Muitas são as tarefas diárias (e também noturnas) que um DBA deverá realizar para trazer o seu servidor de bancos de dados em perfeito funcionamento, acessível pelos clientes e aplicações ... Read more..

Agilizando a carga de dados e restore no MySQL

domingo, maio 13th, 2012 Posted in MySQL A&D, MySQL Backup, MySQL Manutenção, MySQL Tuning | No Comments »

Muitos são os amigos que escrevem perguntando como agilizar a carga de dados ou restore de um backup no MySQL. Realmente, dependendo do tamanho do seu hardware, configuração dos Storage ... Read more..

InnoDB e os Logs de Transação

domingo, março 18th, 2012 Posted in MySQL Tuning | No Comments »

Um dos desafios mais interessantes no MySQL atualmente é conseguir aplicar ao servidor de bancos de dados, o mysqld, uma boa configuração relacionada com o InnoDB Plugin. Digo uma configuração, ... Read more..

MySQL server has gone away

quarta-feira, janeiro 18th, 2012 Posted in MySQL Manutenção, MySQL Tuning | 1 Comment »

Esta é uma mensagem de erro que acontece em muitos dos servidores de bancos de dados MySQL instalados aí pelo mundo e muitos dos usuários se vêem em uma situação ... Read more..

Particionando o InnoDB Buffer Pool

quarta-feira, dezembro 21st, 2011 Posted in MySQL Manutenção, MySQL Tuning | No Comments »

O título deste artigo é bastante sugestivo do ponto de vista de performance em bancos de dados. Geralmente, independente do tipo de particionamento, horizontal ou vertical, ele servirá para eliminar ... Read more..

Problemas de escala de usuários com o MySQL

sábado, dezembro 17th, 2011 Posted in MySQL Manutenção, MySQL Tuning | 2 Comments »

Essa semana tive um problema grave em um cliente que precisava escalar o números de conexões simultâneas no MySQL de forma que estas conexões superassem o número de 2000. Vários ... Read more..

Cache de Threads – thread_cache_size

segunda-feira, novembro 28th, 2011 Posted in MySQL Tuning | No Comments »

Um dos pontos mais críticos para o workload do MySQL é a criação contínua de threads e sabendo-se que a cada conexão que uma aplicação ou um cliente qualquer realiza ... Read more..

Analisando o InnoDB Buffer Pool

quinta-feira, novembro 24th, 2011 Posted in MySQL Manutenção | No Comments »

A primeira coisa a se fazer ao se trabalhar com o InnoDB é utilizar as variáveis de status para checar se a configuração atual do Buffer Pool, definida em innodb_buffer_pool_size, ... Read more..

InnoDB Buffer Pool

terça-feira, novembro 22nd, 2011 Posted in MySQL Manutenção | No Comments »

Os exemplos deste artigo contam com uma instalação completamente nova do MySQL, na versão 5.5.18, rodando em CentOS 6.0, conforme exibido abaixo: [root@mgm01 ~]# rpm -ivh MySQL-server-5.5.18-1.rhel5.i386.rpm Preparing...             ... Read more..

Monitorando discos do servidor

quarta-feira, novembro 16th, 2011 Posted in MySQL Manutenção | 1 Comment »

Pode ser que esse post não tenha haver com o fato de este ser um blog focado em MySQL, mas, pelo contrário, tudo que está em torno de tal software ... Read more..

Manutenção do MySQL – mysqlcheck

domingo, novembro 13th, 2011 Posted in MySQL Manutenção | No Comments »

Uma das tarefas mais interessantes e que envolve mais pontos a serem analisados são as rotinas de manutenção dos bancos de dados e com o MySQL não é diferente. Tais ... Read more..

Little comments about InnoDB

terça-feira, novembro 8th, 2011 Posted in MySQL A&D | No Comments »

Hello everyone, here we go for a new blog post and now treating about InnoDB inside MySQL 5.5 and as you should now, this new version uses InnoDB Plugin version ... Read more..

Compressão de dados entre Storage Engines

terça-feira, novembro 8th, 2011 Posted in MySQL A&D | No Comments »

Muitos são os problemas quando se tem uma empresa que utiliza qualquer um dos produtos de bancos de dados existentes no mercado e não libera os investimentos necessários em estrutura, ... Read more..

Starting with MySQL Cluster

terça-feira, novembro 8th, 2011 Posted in MySQL HA | No Comments »

MySQL Cluster originates from a product called Network DataBase from Ericson Telco, located on Swedish.  Ericson's intention was to have a database running on network as a service. Today's MySQL ... Read more..

MySQL Cluster Storage Nodes

terça-feira, novembro 8th, 2011 Posted in MySQL HA | No Comments »

Going on with our MySQL Cluster studies, now I am starting this new post to talk or write about the Storage or Data Nodes, that one is responsible to storage ... Read more..

MySQL Replication Topologies

terça-feira, novembro 8th, 2011 Posted in MySQL Replication | No Comments »

You should know that MySQL team has been doing a good job and that product naturally is being a great option when the chat is horizontal scale or Scale-Out too. ... Read more..

MySQL 5.6 and the new MySQL Partitioning resources

terça-feira, novembro 8th, 2011 Posted in MySQL A&D | No Comments »

There are lots of new features on MySQL 5.6 related to the MySQL Partition Engine that we can apply on database tables. With MySQL new version, besides the performance improvements ... Read more..