MySQL Enterprise Backup(MEB) 4.0.2 is provided to support the
backup and restore of Encrypted Innodb Tables. MySQL Transparent
Data Encryption(TDE) is introduced in MySQL 5.7.12. This enables
data-at-rest encryption by encrypting the physical files of the
database. MySQL TDE uses a two-tier encryption key architecture,
consisting of a master encryption key and tablespace keys.
The InnoDB storage engine uses the keyring to store its key for
tablespace encryption.
These keyring solutions are available as plugins. To use this
feature on server, one of the plugins need to be installed and
configured on the server.
Currently, MySQL Server Community Edition supports
keyring_file plugin which stores keyring data in a file
local to the server host.
MySQL Server Enterprise Edition Edition supports keyring_file
and keyring_okv, a plugin that uses Oracle Key Vault (OKV)
for keyring backend storage. …
Today we are announcing the open source release of gh-ost: GitHub’s triggerless online schema migration tool for MySQL.
gh-ost has been developed at GitHub in recent months
to answer a problem we faced with ongoing, continuous production
changes requiring modifications to MySQL tables.
gh-ost changes the existing online table migration
paradigm by providing a low impact, controllable, auditable,
operations friendly solution.
MySQL table migration is a well known problem, and has been addressed by online schema change tools since 2009. Growing, fast-paced products often require changes to database structure. Adding/changing/removing columns and indexes etc., are blocking operations with the default MySQL behavior. We conduct such schema changes multiple times per day and wish to minimize user facing impact.
Before illustrating …
[Read more]This is the second post in a series covering Yelp's real-time streaming data infrastructure. Our series explores in-depth how we stream MySQL updates in real-time with an exactly-once guarantee, how we automatically track & migrate schemas, how we process and transform streams, and finally how we connect all of this into datastores like Redshift and Salesforce. Read the posts in the series: Billions of Messages a Day - Yelp's Real-time Data Pipeline Streaming MySQL tables in real-time to Kafka More Than Just a Schema Store PaaStorm: A Streaming Processor Data Pipeline: Salesforce Connector As our engineering team grew, we realized...
I made some improvements to the 'proxy' inside of MySQL 5.7 that
I've created for WarpSQL (Shard-Query 3). I've made the
MySQL proxy/shim pluggable and I moved the SQLClient to
sql/sql_client.cc. I've merged these changes into 'master'
in my fork.
Now you can create "SQL shim" plugins (SHOW PASSWORD is
implemented in plugin/sql_shim) and install them in the server
like regular plugins:
-- command doesn't work mysql> show password; ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'password' at line 1 -- install the example sql_shim plugin: mysql> install plugin sql_shim soname 'sql_shim.so'; Query OK, 0 rows affected (0.00 sec) -- now the command works mysql> show password; +--+ | | +--+ | | +--+ 1 row in set (0.00 sec)
…
I made some improvements to the 'proxy' inside of MySQL 5.7 that
I've created for WarpSQL (Shard-Query 3). I've made the
MySQL proxy/shim pluggable and I moved the SQLClient to
sql/sql_client.cc. I've merged these changes into 'master'
in my fork.
Now you can create "SQL shim" plugins (SHOW PASSWORD is
implemented in plugin/sql_shim) and install them in the server
like regular plugins:
-- command doesn't work mysql> show password; ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'password' at line 1 -- install the example sql_shim plugin: mysql> install plugin sql_shim soname 'sql_shim.so'; Query OK, 0 rows affected (0.00 sec) -- now the command works mysql> show password; +--+ | | +--+ | | +--+ 1 row in set (0.00 sec)
…
In this blog post, we’ll look at the MariaDB 10.2 CHECK and DEFAULT clauses.
MariaDB 10.2 includes some long-awaited features. In this blog, we are going to discuss the improvements to some table definitions: the DEFAULT clause and the CHECK constraints. These clauses describe columns default values and rules for data validation.
Note that MariaDB 10.2 is still in alpha stage. This article describes the current state of these features, which could change before MariaDB 10.2 becomes GA.
The DEFAULT clause
The DEFAULT clause has always been supported in MariaDB/MySQL, but traditionally it only accepted literal values (like “hello world” or “2”). MariaDB 10.2 removes this limitation, so DEFAULT can now accept most SQL expressions. For example:
- fiscal_year …
Faceted search or faceted navigation is a highly praised and widely use search pattern. And, it is a great reply to an off the records sales engineering question. MySQL finally has some document store features built-in. A bit of a yawn in 2016. There is a new X DevAPI available with some Connectors. A bit of a yawn technically. But it is a non-technical change of mind: developer centric counts! Sales, all, technical value could show at non-trivial developer tasks, like faceted search.
Todays X DevAPI does not get you very far
There are great stories to tell about the X …
[Read more]Are you ready to accept the challenge? Really? Can you prove that you have got what it takes to be an effective DBA? Go grab the tests from https://github.com/dbadojo/test-mysql-restore and see if you do… Background: These tests are designed to … Continue reading →
Is it cheating? Is using MySQL without Structured Query Language (SQL) or putting all your data into one column proper? Impossible a year ago and probably thought as a poor/crazy practice until recently, this is a new type of MySQL usage. NoSQL has had a big impact in the SQL world with several relational products from vendors like MySQL, Microsoft, Postgresql and others offering NoSQL interfaces and JSON data types to their databases.
Several old timers have come to me asking if putting lots of data in a JSON column is cheating? After all data normalization is part of relational databases and the way to efficiency and speed is well organized data. This higgledy–piggledy fashion of putting an entire document in a column without breaking it down to its component sections does violate the first rule of data normalization. And that has …
[Read more]