This presentation was made at LSPE event in Bangalore (India) held at Walmart labs on 10-03-2018. This presentation focuses how we have harnessed the power of Ansible at Mydbops.
This presentation was made at LSPE event in Bangalore (India) held at Walmart labs on 10-03-2018. This presentation focuses how we have harnessed the power of Ansible at Mydbops.
Hi dear community.
Today I want to share with you some funny and weird error
messages which can be extremely annoying
So let’s begin:
CREATE temporary TABLE `sbtest1_temp` ( `id` int(11) NOT NULL AUTO_INCREMENT, `k` int(11) NOT NULL DEFAULT '0', `c` char(120) NOT NULL DEFAULT '', `pad` char(60) NOT NULL DEFAULT '', `json_test_v` json GENERATED ALWAYS AS (json_array(`k`,`c`,`pad`)) VIRTUAL, `json_test_s` json GENERATED ALWAYS AS (json_array(`k`,`c`,`pad`)) STORED, `json_test_index` varchar(255) GENERATED ALWAYS AS (json_array(`k`,`c`,`pad`)) STORED, PRIMARY KEY (`id`), KEY `k_1` (`k`), KEY `json_test_index` (`json_test_index`) ) ENGINE=InnoDB AUTO_INCREMENT=1001 DEFAULT CHARSET=latin1 COMPRESSION='lz4' ENCRYPTION='Y' ERROR 1478 (HY000): InnoDB: Unsupported encryption option for temporary tables.
Okay, let’s disable it:
CREATE temporary TABLE `sbtest1_temp` ( `id` int(11) NOT NULL AUTO_INCREMENT, …[Read more]
MySQL has various kinds of password policy enforcement tools: a password can expire (even automatically), can be forced to be of a certain length, contain amounts of various types of characters and be checked against a dictionary of common passwords or the user account name itself.…
Dear MySQL Users,
MySQL Connector/J 5.1.46, a maintenance release of the production
5.1
branch has been released. Connector/J is the Type-IV pure-Java
JDBC
driver for MySQL.
MySQL Connector Java is available in source and binary form from
the
Connector/J download pages at
http://dev.mysql.com/downloads/connector/j/5.1.html
and mirror sites as well as Maven-2 repositories.
MySQL Connector Java (Commercial) is already available for
download on the
My Oracle Support (MOS) website. This release will shortly be
available on
eDelivery (OSDC).
As always, we recommend that you check the “CHANGES” file in
the
download archive to be aware of changes in behavior that might
affect
your application.
MySQL Connector/J 5.1.46 includes the following general bug fixes
and
improvements, also available in more detail on
…
In MySQL 8.0, the engineers have added useful
meta-data to the table SETUP_INSTRUMENT. This table
lists the classes of instrumented objects for which events can be
collected.
To the NAME, ENABLES and
TIMED columns, were added PROPERTIES,
VOLATILITY and DOCUMENTATION.
Let’s have a quick look at these new columns:
PROPERTIES can have the following values
memory/performance_schema/metadata_locks that
return the memory used for table
performance_schema.metadata_locks
The latest release of dbdeployer is possibly the last one with a leading 0. If no serious bugs are found in the next two weeks, the next release will bear a glorious 1.0.
Latest news
The decision to get out of the stream of pre-releases that were published until now comes because I have implemented all the features that I wanted to add: mainly, all the ones that I wished to add to MySQL-Sandbox but it would have been …
[Read more]In this post, We will learn how to handle online schema change if the table has triggers.
In PXC, an alter can be made directly ( TOI ) on tables with less than a 1G ( by default) , but on a 20GB or 200GB table we need some downtime to do ( RSU ).
Pt-osc is a good choice for Percona Cluster/Galera. By default percona toolkit’s pt-online-schema-change will create After “insert / update / delete” triggers for maintaining the sync between the shadow and the original table.
pt-online-schema-change process flow:
Check out the complete slides for effective MySQL administration here
If the tables has triggers already then pt-osc wont work well in …
[Read more]
Version 0.3.0 of dbdeployer has gained the ability of deploying
multiple sandboxes concurrently. Whenever we deploy a group of
sandboxes (replication, multiple) we can use
the --concurrent flag, telling dbdeployer that it
should run operations concurrently.
What happens when a single sandbox gets deployed? There are six sets of operations:
Join Percona Chief Evangelist Colin Charles as he covers happenings, gives pointers and provides musings on the open source database community.
Have you been following the Meltdown/Spectre performance regressions? Some of the best blog posts have been coming from Brendan Gregg, who’s keynoting at Percona Live this year. We’ve also got Scott Simpson from Upwork giving a keynote about how and why they use MongoDB. This is in addition to all the other fun talks we have, so please register now. Don’t forget to also book your hotel room!
Even though the Percona Live conference now covers much more …
[Read more]
Recently, I received a question related to GO as
delimter to send a query. The user got some generated statements
from a third party tool that looked like this:
/* CreateTable VersionInfo */ CREATE TABLE VersionInfo (Version BIGINT NOT NULL) ENGINE = INNODB GO /* VersionMigration migrated */ /* VersionUniqueMigration migrating ========================================== */ /* CreateIndex VersionInfo (Version) */ CREATE UNIQUE INDEX UC_Version ON VersionInfo (Version ASC) GO
and so on…
To be honest I was lost ?! I never heard about that syntax and I was convinced that this was not valid (and you?)…
But in fact it is ! It’s the long command name for
\g and EGO is the one for
\G.
You can try help in the client (see the manual) and you will see it: …