SlideShare a Scribd company logo
Percona Live
November 2018
Advanced MySQL Data at Rest
Encryption in Percona Server
Bartłomiej Oleś, Iwo Panowicz
Severalnines Percona
Presenters
Copyright 2017 Severalnines AB
Copyright 2017 Severalnines AB
Free to download
Initial 30 days Enterprise trial
Converts into free Community Edition
Enterprise / paid versions available
Copyright 2017 Severalnines AB
Automation & Management
Deployment (Free Community)
● Deploy a Cluster in Minutes
○ On-Prem
○ Cloud (AWS/Azure/Google) - paid
Monitoring (Free Community)
● Systems View with 1 sec Resolution
● DB / OS stats & Performance Advisors
● Configurable Dashboards
● Query Analyzer
● Real-time / historical
Management (Paid Features)
● Backup Management
● Upgrades & Patching
● Security & Compliance
● Operational Reports
● Automatic Recovery & Repair
● Performance Management
● Automatic Performance Advisors

Recommended for you

MySQL InnoDB Cluster - A complete High Availability solution for MySQL
MySQL InnoDB Cluster - A complete High Availability solution for MySQLMySQL InnoDB Cluster - A complete High Availability solution for MySQL
MySQL InnoDB Cluster - A complete High Availability solution for MySQL

MySQL InnoDB Cluster provides a complete high availability solution for MySQL. It uses MySQL Group Replication, which allows for multiple read-write replicas of a database to exist with synchronous replication. MySQL InnoDB Cluster also includes MySQL Shell for setup, management and orchestration of the cluster, and MySQL Router for intelligent connection routing. It allows databases to scale out writes across replicas in a fault-tolerant and self-healing manner.

high availabilityinnodbrouter
Disaster Recovery with MySQL InnoDB ClusterSet - What is it and how do I use it?
Disaster Recovery with MySQL InnoDB ClusterSet - What is it and how do I use it?Disaster Recovery with MySQL InnoDB ClusterSet - What is it and how do I use it?
Disaster Recovery with MySQL InnoDB ClusterSet - What is it and how do I use it?

MySQL InnoDB ClusterSet brings multi-datacenter capabilities to our solutions and make it very easy to setup a disaster recovery architecture. Think multiple MySQL InnoDB Clusters into one single database architecture, fully managed from MySQL Shell and with full MySQL Router integration to make it easy to access the entire architecture. This presentation covers: - The various features of InnoDB Clusterset - How to setup MySQL InnoDB ClusterSet - Ways to migrate from an existing MySQL InnoDB Cluster into MySQL InnoDB ClusterSet - How to deal with various failures - The various features of router integration which makes connection to the database architecture easy.

mysqlmysql-shellinnodb cluster
Best Practices in Security with PostgreSQL
Best Practices in Security with PostgreSQLBest Practices in Security with PostgreSQL
Best Practices in Security with PostgreSQL

We will review a multi-layered framework for PostgreSQL security, with a deeper focus on limiting access to the database and data, as well as securing the data. Using the popular AAA (Authentication, Authorization, Auditing) framework we will cover: Best practices for authentication (trust, certificate, MD5, Scram, etc). Advanced approaches, such as password profiles. Deep dive of authorization and data access control for roles, database objects (tables etc), view usage, row level security and data redaction. Auditing, encryption and SQL injection attack prevention.

 
by EDB
databaseopen sourcepostgresql
Copyright 2017 Severalnines AB
Supported Databases
Copyright 2017 Severalnines AB
Our Customers
Copyright 2017 Severalnines ABCopyright 2017 Severalnines AB
● Encryption of data at rest (under development)
○ Transparent Data Encryption (TDE) for MySQL and MariaDB
○ Encryption of backups
● Encryption of data in transit (SSL)
○ Intra-cluster replication traffic
○ Client-server connections
● Role-based Access Control
○ Granular control of who can do what, from management perspective
● Audit Logs
○ Enable auditing on database nodes
● LDAP-based authentication
○ Authenticate against an LDAP v3 compliant directory server
○ Map ClusterControl roles/users onto existing user profiles/groups stored in LDAP
● DB infrastructure audit
○ Report on the number of db servers, software package versions running, whether they fulfill security
requirements, whether they are backed up
Security & Compliance
Agenda
- How it is implemented?
- What is encrypted:
- Tablespaces?
- General tablespace?
- Parallel double write buffer?
- Temporary tablespaces?
- Binlogs?
- Slow/general/error logs?
- MyISAM? MyRocks? X?
- Performance overhead.
- Transportable tablespaces.
- Plugins
- Keyrings in general
- Key rotation?
- Keyring_file
- Is useful? How to make it profitable?
- Keyring Vault
- How does it work?
- How to make a transition from
keyring_file

Recommended for you

Aurora Serverless: Scalable, Cost-Effective Application Deployment (DAT336) -...
Aurora Serverless: Scalable, Cost-Effective Application Deployment (DAT336) -...Aurora Serverless: Scalable, Cost-Effective Application Deployment (DAT336) -...
Aurora Serverless: Scalable, Cost-Effective Application Deployment (DAT336) -...

Amazon Aurora Serverless is an on-demand, autoscaling configuration for Aurora (MySQL-compatible edition) where the database automatically starts up, shuts down, and scales up or down capacity based on your application's needs. It enables you to run your database in the cloud without managing any database instances. Aurora Serverless is a simple, cost-effective option for infrequent, intermittent, or unpredictable workloads. In this session, we explore these use cases, take a look under the hood, and delve into the future of serverless databases. We also hear a case study from a customer building new functionality on top of Aurora Serverless.

amazonawsreinvent2018databases
Troubleshooting tips and tricks for Oracle Database Oct 2020
Troubleshooting tips and tricks for Oracle Database Oct 2020Troubleshooting tips and tricks for Oracle Database Oct 2020
Troubleshooting tips and tricks for Oracle Database Oct 2020

This talk presents 15 different tips and tricks using tools to better troubleshoot and debug problems with Database , Oracle RAC and Oracle Clusterware , ASM and how to get the right pieces of data with the least of commands which today most people do manually. This session will cover tools from the Oracle Autonomous Health Framework (AHF) like Trace file Analyzer (TFA) to collect , organize and analyze log data , Exachk and orachk to perform mass best practices analysis and automation , Cluster Health Advisor to debug node evictions and calibrate the framework , OSWatcher and its analysis engine , oratop for pinpointing performance issues and many others to make one feel like a rockstar DBA.

oracle tfa exachk troubleshoot diagnose debugoracle rac troubleshooting diagnosing 12.2 oracleoracle 19c debugging and troubleshooting
Mysql security 5.7
Mysql security 5.7 Mysql security 5.7
Mysql security 5.7

This document discusses database security and the growing threat of data breaches. It notes that 43% of companies experienced a data breach in the past year, and that 552 million identities were exposed in 2013, a 493% increase from the previous year. The document outlines common database vulnerabilities and attacks, and recommends strategies like access controls, encryption, monitoring and firewalls to enhance database security and prevent breaches.

mysql
Copyright 2018 Severalnines AB; Percona
● Data at rest
○ All `inactive` data stored on hard drives.
○ Inactive in terms of the database means all data not currently loaded
into memory.
● Data in transit
○ All data transferred between clients and database instances; and
○ All replication data between MySQL instances.
● Data in use
○ All the data loaded into a memory.
3 states of data
Copyright 2018 Severalnines AB; Percona
Three major ways to solve data-at-rest encryption in MySQL
○ Full disk encryption
○ Application level encryption
■ Data is encrypted before being inserted into a table
○ Database-level (table) encryption.
Data At Rest
Copyright 2018 Severalnines AB; Percona
● The current state of affairs of data-at-rest encryption in Percona Server:
○ Percona Server >= 5.7.11, InnoDB
○ 2 keyring plugins available
■ File
■ Hashicorp Vault
○ AES is the only supported algorithm
■ EBC used for tablespace key encryption
■ CBC used for data encryption
Data At Rest
Copyright 2018 Severalnines AB; Percona
● Keyring stored locally.
● Not intended as a regulatory compliance solution.
● Requires secure mount point for keyrings (network-attached); not useful
otherwise.
● Developed to easily enable Transparent Data At Rest Encryption without having
to configure any third-party software.
Keyring file

Recommended for you

ETL Design for Impala Zero Touch Metadata.pptx
ETL Design for Impala Zero Touch Metadata.pptxETL Design for Impala Zero Touch Metadata.pptx
ETL Design for Impala Zero Touch Metadata.pptx

CatalogD polls Hive Metastore notifications to automatically sync metadata operations between Impala and other tools like Hive and Spark. This avoids query failures from stale metadata. Some edge cases require running legacy Impala commands like Invalidate Metadata if HDFS block locations change or new partitions are added without ALTER TABLE commands. Spark SQL and Hive loads should use INSERT OVERWRITE instead of directly writing files to generate notifications.

impalaclouderaclouderadataplatform
Introducing Amazon Aurora with PostgreSQL Compatibility - AWS Online Tech Talks
Introducing Amazon Aurora with PostgreSQL Compatibility - AWS Online Tech TalksIntroducing Amazon Aurora with PostgreSQL Compatibility - AWS Online Tech Talks
Introducing Amazon Aurora with PostgreSQL Compatibility - AWS Online Tech Talks

Learning Objectives: - Learn about optimizing relational databases for the cloud - Learn about Amazon Aurora scalability and high availability - Learn about Amazon Aurora compatibility with PostgreSQL

amazon aurora
Data Guard Architecture & Setup
Data Guard Architecture & SetupData Guard Architecture & Setup
Data Guard Architecture & Setup

This document provides an overview and summary of Oracle Data Guard. It discusses the key benefits of Data Guard including disaster recovery, data protection, and high availability. It describes the different types of Data Guard configurations including physical and logical standbys. The document outlines the basic architecture and processes involved in implementing Data Guard including redo transport, apply services, and role transitions. It also summarizes some of the features and protection modes available in different Oracle database versions.

oracle 9ioracle 10coracle 11g
Copyright 2018 Severalnines AB; Percona
● Transition to other keyring plugins is possible (and recommended).
● Sample configuration:
● A
● A
● A
Keyring file
[mysqld]
…
early-plugin-load=keyring_file.so
keyring_file_data=/var/lib/mysql-keyring/keyring
Copyright 2018 Severalnines AB; Percona
Data-At-Rest
# strings users.ibd
infimum
supremum(
user010password
user020password
user030password
user040password
user050password
user060497fe4d674fe37194a6fcb08913e596ef6a307f
user070497fe4d674fe37194a6fcb08913e596ef6a307f
user080497fe4d674fe37194a6fcb08913e596ef6a307f
user090497fe4d674fe37194a6fcb08913e596ef6a307f
user100497fe4d674fe37194a6fcb08913e596ef6a307f
# strings strings users_encrypted.ibd
135b28c7-cacd-11e8-bf7b-e4a471aeae61
ZIdGq!
'sRi
{O%3
[!YX
f+<o
`*;$V!Y
'|]5
`2 6
NTy
Rg$O
qFo5
Copyright 2018 Severalnines AB; Percona
Data-At-Rest
# hd test.frm
00002150 |...id....col1...|
00002160 |.......@........|
00002170 |................|
00002180 |.id.col1..|
# hd test.ibd
0000fe30 |kL....9....Q.^A,|
0000fe40 |.?kGs....-TD.vh.|
0000fe50 |...+...V%...&"q.|
0000fe60 |.....d.f.....*."|
Copyright 2018 Severalnines AB; Percona
● Encryption keys are stored inside Hashicorp Vault server.
● Requires additional configuration file pointed to by
Keyring_vault_config.
● After successful initialization the plugin retrieves key signatures and stores them
inside an in-memory hash map.
● MySQL instances can use the same or separate Vault instances.
● Data and keys are separated in a clean way.
Keyring Vault

Recommended for you

Amazon S3 & Amazon Glacier - Object Storage Overview
Amazon S3 & Amazon Glacier - Object Storage OverviewAmazon S3 & Amazon Glacier - Object Storage Overview
Amazon S3 & Amazon Glacier - Object Storage Overview

by Robbie Wright, HEad of Amazon S3 & Amazon Glacier Product Marketing, AWS Learn from AWS on how we've designed S3 and Glacier to be durable, available, and massively scalable. Hear how customers are using these services to enhance the accessibility and usability of their data. We will also dive into the benefits of object storage, its applications, and some best practices to follow.

awsamazon web servicescloud
Parallel Query in AWS Aurora MySQL
Parallel Query in AWS Aurora MySQLParallel Query in AWS Aurora MySQL
Parallel Query in AWS Aurora MySQL

1. The document summarizes a presentation about parallel query in AWS Aurora. It discusses Aurora architecture, parallel query features and implementation steps, use cases, prerequisites, and provides examples testing performance with and without parallel query enabled. 2. Parallel query allows SQL queries to execute in parallel across multiple Aurora nodes, improving performance for queries with certain characteristics like equal, in, and range filters. 3. Test results show parallel query significantly reducing query execution time from hours to minutes for large analytical queries on a 255GB database.

mysqlawsaurora
A 30 day plan to start ending your data struggle with Snowflake
A 30 day plan to start ending your data struggle with SnowflakeA 30 day plan to start ending your data struggle with Snowflake
A 30 day plan to start ending your data struggle with Snowflake

This document outlines a 30-day plan to address common data struggles around loading, integrating, analyzing, and collaborating on data using Snowflake's data platform. It describes setting up a team, defining goals and scope, loading sample data, testing and deploying business logic transformations, creating warehouses for business intelligence tools, and connecting BI tools to the data. The goal is that after 30 days, teams will be collaborating more effectively, able to easily load and combine different data sources, have accurate business logic implemented, and gain more insights from their data.

data warehousingdatadata integration
Copyright 2018 Severalnines AB; Percona
● Sample configuration:
● A
● A
● A
Keyring Vault
[mysqld]
…
early-plugin-load=”keyring_vault=keyring_vault.so”
keyring_vault_config="/etc/mysql/conf.d/vault.conf"
# cat /etc/mysql/conf.d/vault.conf
vault_url = https://vault-endpoint.internal:8200
secret_mount_point = secret
token = 7M0jQ15gtpYNe4jtZHJkfr5V
Copyright 2018 Severalnines AB; Percona
● Each individual tablespace has its own encryption key
● Each tablespace key is encrypted by the Global Master Key
● Each time a tablespace is moved a new key is generated. This is called
a transfer key.
Data At Rest
Copyright 2018 Severalnines AB; Percona
Data At Rest
Copyright 2018 Severalnines AB; Percona
● Implemented on a low-level, close to the disk layer:
○ Encryption and decryption are performed just before IO read/write
○ data stored in memory are not encrypted
● the performance overhead varies and depends on the workload.
● The more IO operation needed, the higher the overhead.
● For reads, if data is in the buffer pool, there’s no performance loss.
○ Monitor innodb_buffer_pool_reads
● For writes, a page could be modified many times in the buffer and then get
flushed.
● In general, a single percentage point (<10%) is expected.
Data At Rest

Recommended for you

Introduction to NoSQL Databases
Introduction to NoSQL DatabasesIntroduction to NoSQL Databases
Introduction to NoSQL Databases

This document provides an overview and introduction to NoSQL databases. It begins with an agenda that explores key-value, document, column family, and graph databases. For each type, 1-2 specific databases are discussed in more detail, including their origins, features, and use cases. Key databases mentioned include Voldemort, CouchDB, MongoDB, HBase, Cassandra, and Neo4j. The document concludes with references for further reading on NoSQL databases and related topics.

mongodbcouchdbnosql
Deep Dive on Amazon Aurora with PostgreSQL Compatibility (DAT305-R1) - AWS re...
Deep Dive on Amazon Aurora with PostgreSQL Compatibility (DAT305-R1) - AWS re...Deep Dive on Amazon Aurora with PostgreSQL Compatibility (DAT305-R1) - AWS re...
Deep Dive on Amazon Aurora with PostgreSQL Compatibility (DAT305-R1) - AWS re...

This document provides a summary of Amazon Aurora and how it compares to PostgreSQL. It discusses how Aurora provides high availability, durability and automatic scaling without the need for redo logs. It also summarizes how Aurora delivers better performance than PostgreSQL for write-heavy workloads through its ability to write less data and handle concurrency differently. The document concludes with a discussion of Amazon Aurora Serverless which automatically scales databases on demand.

amazonawsreinvent2018databases
Deep Dive on Amazon Aurora
Deep Dive on Amazon AuroraDeep Dive on Amazon Aurora
Deep Dive on Amazon Aurora

This document provides a summary of a presentation on Amazon Aurora by Dickson Yue. It discusses Aurora fundamentals like its scale-out distributed architecture and 6 copies of data for fault tolerance. Recent improvements discussed include fast database cloning, backup and restore capabilities, and backtrack for point-in-time recovery. Coming soon features outlined are asynchronous key prefetch, batched scans, hash joins, and Aurora Serverless for automatic scaling.

amazon web servicesawsaws cloud
Copyright 2018 Severalnines AB; Percona
Data At Rest
Copyright 2018 Severalnines AB; Percona
● Implementation details
○ https://bit.ly/2AFHJSo
○ os0file.cc:
$ grep ^Encryption os0file.cc
Encryption::to_string(Type type)
Encryption::create_master_key(byte** master_key)
Encryption::get_master_key(ulint master_key_id,
Encryption::get_master_key(ulint* master_key_id,
Encryption::is_encrypted_page(const byte* page)
Encryption::encrypt(
Encryption::decrypt(
Data At Rest
Copyright 2018 Severalnines AB; Percona
● InnoDB tablespaces
● InnoDB system tablespace
● Parallel double write buffer
● Temporary tablespaces
● Temporary files
● Binlogs
● Slow/general/error logs?
● MyISAM? MyRocks?
● Data in transit security?
● Backups
What can be encrypted?
Copyright 2018 Severalnines AB; Percona
● innodb_sys_tablespace_encrypt
● Available since 5.7.23-23
● The feature is considered alpha quality.
● Provides an encryption for:
○ the change buffer
○ The undo logs (if they have not been configured to be stored in separate
undo tablespaces)
○ Data from any tables that exist in main tablespace
(innodb_file_per_table=0)
InnoDB system tablespace

Recommended for you

Oracle Database Security
Oracle Database SecurityOracle Database Security
Oracle Database Security

The document discusses security issues with databases and Oracle's database security solutions. It notes that 97% of breaches were avoidable with basic controls, 98% of records were stolen from databases, and 84% of records were breached using stolen credentials. Oracle provides database security solutions like encryption, activity monitoring, auditing, and privileged user controls to help prevent breaches through a defense-in-depth approach.

oracle databaseoracle corporation
Apache doris (incubating) introduction
Apache doris (incubating) introductionApache doris (incubating) introduction
Apache doris (incubating) introduction

Apache Doris (incubating) is an MPP-based interactive SQL data warehousing for reporting and analysis. It is open-sourced by Baidu. Doris mainly integrates the technology of Google Mesa and Apache Impala. Unlike other popular SQL-on-Hadoop systems, Doris is designed to be a simple and single tightly coupled system, not depending on other systems. Doris not only provides high concurrent low latency point query performance, but also provides high throughput queries of ad-hoc analysis. Doris not only provides batch data loading, but also provides near real-time mini-batch data loading. Doris also provides high availability, reliability, fault tolerance, and scalability. The simplicity (of developing, deploying and using) and meeting many data serving requirements in single system are the main features of Doris.

olapdorislide
Webinar slides: How to Automate & Manage PostgreSQL with ClusterControl
Webinar slides: How to Automate & Manage PostgreSQL with ClusterControlWebinar slides: How to Automate & Manage PostgreSQL with ClusterControl
Webinar slides: How to Automate & Manage PostgreSQL with ClusterControl

Running PostgreSQL in production comes with the responsibility for a business critical environment; this includes high availability, disaster recovery, and performance. Ops staff worry whether databases are up and running, if backups are taken and tested for integrity, whether there are performance problems that might affect end user experience, if failover will work properly in case of server failure without breaking applications, and the list goes on. ClusterControl can be used to operationalize your PostgreSQL footprint across your enterprise. It offers a standard way of deploying high-availability replication setups with auto-failover, integrated with load balancers offering a single endpoint to applications. It provides constant health and performance monitoring through rich dashboards, as well as backup management and point-in-time recovery See how much time and effort can be saved, as well as risks mitigated, with the help of a unified management platform over the more traditional, manual methods. We’ve seen a 152% increase in ClusterControl installations by PostgreSQL users last year, so make sure you don’t miss out on the trend! AGENDA - Managing PostgreSQL “the old way”: - Common challenges - Important tasks to perform - Tools that are available to help - PostgreSQL automation and management with ClusterControl: - Deployment - Backup and recovery - HA setups - Failover - Monitoring - Live Demo SPEAKER Sebastian Insausti, Support Engineer at Severalnines, has loved technology since his childhood, when he did his first computer course (Windows 3.11). And from that moment he was decided on what his profession would be. He has since built up experience with MySQL, PostgreSQL, HAProxy, WAF (ModSecurity), Linux (RedHat, CentOS, OL, Ubuntu server), Monitoring (Nagios), Networking and Virtualization (VMWare, Proxmox, Hyper-V, RHEV). Prior to joining Severalnines, Sebastian worked as a consultant to state companies in security, database replication and high availability scenarios. He’s also a speaker and has given a few talks locally on InnoDB Cluster and MySQL Enterprise together with an Oracle team. Previous to that, he worked for a Mexican company as chief of sysadmin department as well as for a local ISP (Internet Service Provider), where he managed customers' servers and connectivity.

postgresqlwebinarmanagement
Copyright 2018 Severalnines AB; Percona
● Why do I need this?
● How do you turn it on?
● How does this work ?
CREATE TABLESPACE …. ENCRYPTION='Y/N'
General tablespaces
Copyright 2018 Severalnines AB; Percona
● Why do I need this?
● How do you turn it on?
● How does it work ?
Table encryption
mysql> CREATE TABLE test ( id INT PRIMARY KEY, col1 TEXT) ENCRYPTION=’Y’;
Copyright 2018 Severalnines AB; Percona
● Why do I need this?
● How do you turn it on?
● How does this work ?
This feature is considered BETA quality.
[mysqld]
encrypt-tmp-files=ON
Temporary files
Copyright 2018 Severalnines AB; Percona
● encrypt-tmp-files
● Can be enabled on runtime.
● Available since 5.7.22-22
● The feature is considered beta quality.
● Encrypts:
○ filesort (for example, SELECT statements with SQL_BIG_RESULT hints),
○ binary log transactional caches,
○ Group Replication caches.
● For each temporary file, an encryption key is generated locally, only kept in
memory for the lifetime of the temporary file, and discarded afterwards.
Temporary files encryption

Recommended for you

Transparent Data Encryption in PostgreSQL and Integration with Key Management...
Transparent Data Encryption in PostgreSQL and Integration with Key Management...Transparent Data Encryption in PostgreSQL and Integration with Key Management...
Transparent Data Encryption in PostgreSQL and Integration with Key Management...

The document discusses transparent data encryption in PostgreSQL databases. It proposes encrypting data at the tablespace and buffer levels for minimal performance impact. A two-tier key architecture with separate master and data encryption keys enables fast key rotation. Integrating with key management systems provides flexible and robust key management. The solution aims to securely encrypt database content with low overhead.

postgresqldatabasesercurity
Webinar slides: Backup Management for MySQL, MariaDB, PostgreSQL & MongoDB wi...
Webinar slides: Backup Management for MySQL, MariaDB, PostgreSQL & MongoDB wi...Webinar slides: Backup Management for MySQL, MariaDB, PostgreSQL & MongoDB wi...
Webinar slides: Backup Management for MySQL, MariaDB, PostgreSQL & MongoDB wi...

What if … - Traditional, labour-intensive backup and archive practices for your MySQL, MariaDB, MongoDB and PostgreSQL databases were a thing of the past? - You could have one backup management solution for all your business data? - You could ensure integrity of all your backups? - You could leverage the competitive pricing and almost limitless capacity of cloud-based backup while meeting cost, manageability, and compliance requirements from the business. Welcome to our webinar on Backup Management with ClusterControl. ClusterControl’s centralized backup management for open source databases provides you with hot backups of large datasets, point in time recovery in a couple of clicks, at-rest and in-transit data encryption, data integrity via automatic restore verification, cloud backups (AWS, Google and Azure) for Disaster Recovery, retention policies to ensure compliance, and automated alerts and reporting. Whether you are looking at rebuilding your existing backup infrastructure, or updating it, this webinar is for you! AGENDA - Backup and recovery management of local or remote databases - Logical or physical backups - Full or Incremental backups - Position or time-based Point in Time Recovery (for MySQL and PostgreSQL) - Upload to the cloud (Amazon S3, Google Cloud Storage, Azure Storage) - Encryption of backup data - Compression of backup data - One centralized backup system for your open source databases (Demo) - Schedule, manage and operate backups - Define backup policies, retention, history - Validation - Automatic restore verification - Backup reporting SPEAKER Bartlomiej Oles, Senior Support Engineer at Severalnines, is a MySQL and Oracle DBA, with over 15 years experience in managing highly available production systems at IBM, Nordea Bank, Acxiom, Lufthansa, and other Fortune 500 companies. In the past five years, his focus has been on building and applying automation tools to manage multi-datacenter database environments.

database backupbackup managementmongodb
How to scale MongoDB
How to scale MongoDBHow to scale MongoDB
How to scale MongoDB

Redundancy and high availability are the basis for all production deployments. Database systems with large data sets or high throughput applications can challenge the capacity of a single server like CPU for high query rates or RAM for large working sets. Adding more CPU and RAM for vertical scaling is limited. Systems need horizontal scaling by distributing data across multiple servers. MongoDB supports horizontal scaling through sharding.

mongodbshardinghorizontal scale
Copyright 2018 Severalnines AB; Percona
● innodb_temp_tablespace_encrypt
● Available since 5.7.21-21
● The feature is considered beta quality.
● Provides an encryption for:
○ temporary tablespaces
○ does not force encryption of temporary tables which are currently opened,
and it doesn’t rebuild system temporary tablespace to encrypt data which
are already written
InnoDB temporary tablespace
Copyright 2018 Severalnines AB; Percona
● Why do I need this?
● How do you turn it on?
● How does this work ?
[mysqld]
innodb_parallel_dblwr_encrypt=1
Parallel doublewrite buffer
○ data for an encrypted tablespace is also only written in an encrypted form in
the parallel doublewrite buffer
○ unencrypted tablespace data remains in plaintext
Copyright 2018 Severalnines AB; Percona
● Requires MySQL configured keyring plugins.
● Master server encrypts each event before writing it out to the binary log.
● When a slave connects to the master and asks for events, the master decrypts
the events from a binary logs and sends them over to slave.
● To prevent data leakage connections between master and slave require secure
channel (TLS).
● The slave stores encrypted events in the relay log, and decrypts them before
applying.
Binlog encryption
Copyright 2018 Severalnines AB; Percona
● Master:
○ Requires encrypt-binlog to encrypt binary logs
● Slave
○ Requires encrypt-binlog to encrypt relay logs
● The connection between master and slave needs to be secure (TLS).
● The master and slave don’t know if the data on the other server are encrypted,
or not.
● To be sure encrypted data wasn’t modified/compromised both
○ master_verify_checksum, and
○ binlog_checksum need to be turned on.
Binlog encryption

Recommended for you

Webinar slides: Free Monitoring (on Steroids) for MySQL, MariaDB, PostgreSQL ...
Webinar slides: Free Monitoring (on Steroids) for MySQL, MariaDB, PostgreSQL ...Webinar slides: Free Monitoring (on Steroids) for MySQL, MariaDB, PostgreSQL ...
Webinar slides: Free Monitoring (on Steroids) for MySQL, MariaDB, PostgreSQL ...

Traditional server monitoring tools are not built for modern distributed database architectures. Let’s face it, most production databases today run in some kind of high availability setup - from simpler master-slave replication to multi-master clusters fronted by redundant load balancers. Operations teams deal with dozens, often hundreds of services that make up the database environment. This is why we built ClusterControl - to address modern, highly distributed database setups based on replication or clustering. We wanted something that could provide a systems view of all the components of a distributed cluster, including load balancers. Watch this replay of a webinar on free database monitoring using ClusterControl Community Edition. We show you how to monitor all your MySQL, MariaDB, PostgreSQL and MongoDB systems from a single point of control - whether they are deployed as Galera Clusters, sharded clusters or replication setups across on-prem and cloud data centers. We also see how to use Advisors in order to improve performance. AGENDA - Requirements for monitoring distributed database systems - Cloud-based vs On-prem monitoring solutions - Agent-based vs Agentless monitoring - Deepdive into ClusterControl Community Edition - Architecture - Metrics Collection - Trending - Dashboards - Queries - Performance Advisors - Other features available to Community users SPEAKER Bartlomiej Oles is a MySQL and Oracle DBA, with over 15 years experience in managing highly available production systems at IBM, Nordea Bank, Acxiom, Lufthansa, and other Fortune 500 companies. In the past five years, his focus has been on building and applying automation tools to manage multi-datacenter database environments.

monitoringmysqlmongodb
PL22 - Backup and Restore Performance.pptx
PL22 - Backup and Restore Performance.pptxPL22 - Backup and Restore Performance.pptx
PL22 - Backup and Restore Performance.pptx

This document compares the performance of different MySQL backup and restore tools including mysqldump, mydumper, mysqlpump, Xtrabackup, and MySQL shell. It describes benchmark tests conducted on a 96GB MySQL database using these tools under various compression options. The results show that Xtrabackup offers the best balance of backup speed and size when compression is used. mydumper/myloader and MySQL shell provide the fastest logical backups while mysqlpump has high backup capacity but slow restores due to lack of parallelism. In conclusion, compression does not significantly impact performance but saves disk space, and parallelism provides a major boost that is limited by I/O capacity. For routine backups, the presenter

mysqldatabasespercona
Webinar slides: How to Achieve PCI Compliance for MySQL & MariaDB with Cluste...
Webinar slides: How to Achieve PCI Compliance for MySQL & MariaDB with Cluste...Webinar slides: How to Achieve PCI Compliance for MySQL & MariaDB with Cluste...
Webinar slides: How to Achieve PCI Compliance for MySQL & MariaDB with Cluste...

Join Laurent Blume, Unix Systems Engineer & PCI Specialist and Vinay Joosery, CEO at Severalnines, as they discuss all there is to know about how to achieve PCI compliance for MySQL & MariaDB with ClusterControl. The Payment Card Industry Data Security Standard (PCI-DSS) is a set of technical and operational requirements defined by the PCI Security Standards Council (PCI SSC) to protect cardholder data. These standards apply to all entities that store, process or transmit cardholder data – with requirements for software developers and manufacturers of applications and devices used in those transactions. PCI data that resides in a MySQL or MariaDB database must of course also adhere to these requirements, and database administrators must follow best practices to ensure the data is secured and compliant. The PCI standards are stringent and can easily require a spiraling amount of time spent on meeting their requirements. Database administrators can end up overwhelmed when using software that was not designed for compliance, often because it long predates PCI itself, as is the case for most database systems in use today. That is why, as often as possible, reliable tools must be chosen to help with that compliance, easing out the crucial parts. Each time the compliance for one requirement can be shown to be implemented, working, and logged accordingly, time will be saved. If well-designed, it will only require regular software upgrades, a yearly review and a moderate amount of tweaking to follow the standard's evolution over time. This webinar focuses on PCI-DSS requirements for a MySQL or MariaDB database back-end managed by ClusterControl in order to help meet these requirements. It will provide a MySQL and MariaDB user focussed overview of what the PCI standards mean, how they impact database management and provide valuable tips and tricks on how to achieve PCI compliance for MySQL & MariaDB with ClusterControl. AGENDA Introduction to the PCI-DSS standards The impact of PCI on database management Step by step review of the PCI requirements How to meet the requirements for MySQL & MariaDB with ClusterControl Conclusion Q&A

clustercontrolmysqlmariadb
Copyright 2018 Severalnines AB; Percona
● Logical backup
○ mysqldump
○ mysqlpump
○ mydumper
○ basically, any logical backup
● PXB
○ Works just fine.
○ Supports both keyring_file and keyring_vault.
○ You will need >= 2.4.12 (released: June 22, 2018).
Backup
Copyright 2018 Severalnines AB; Percona
● Why do I need this?
● How do you turn it on?
● How does this work ?
innobackupex --encrypt=AES256 --encrypt-
key="RRSFxrDFVx6UAsRb88uLVbAVWbK+FRgp" /data/backups
Backups
Copyright 2018 Severalnines AB; Percona
● Why do I need this?
● How do you turn it on?
● How does this work ?
Slow/general/error logs
Copyright 2018 Severalnines AB; Percona
Why do I need this?
How do you turn it on?
How does this work ?
MyISAM MyRocks

Recommended for you

Logs @ OVHcloud
Logs @ OVHcloudLogs @ OVHcloud
Logs @ OVHcloud

Logging at OVHcloud : Logs Data platform est la plateforme de collecte, d'analyse et de gestion centralisée de logs d'OVHcloud. Cette plateforme a pour but de répondre aux challenges que constitue l'indexation de plus de 4000 milliards de logs par une entreprise comme OVHcloud. Cette présentation vous décrira l'architecture générale de Logs Data Platform autour de ses composants centraux Elasticsearch et Graylog et vous décrira les différentes problématiques de scalabilité, disponibilité, performance et d'évolutivité qui sont le quotidien de l'équipe Observability à OVHcloud.

observabilitylogsdata platforms
The Proper Care and Feeding of MySQL Databases
The Proper Care and Feeding of MySQL DatabasesThe Proper Care and Feeding of MySQL Databases
The Proper Care and Feeding of MySQL Databases

Many Linux System Administrators are 'also' accidental database administrators. This is a guide for them to keep their MySQL database instances happy, health, and glowing

linux administationmysqldatabase
Transparent Data Encryption in PostgreSQL
Transparent Data Encryption in PostgreSQLTransparent Data Encryption in PostgreSQL
Transparent Data Encryption in PostgreSQL

The document discusses transparent data encryption in PostgreSQL. It describes threats to unencrypted database servers like privilege abuse and SQL injections. It then covers using buffer-level encryption in PostgreSQL to encrypt data in shared memory and at rest on disk. This provides encryption with less performance overhead than per-query encryption. The document proposes encrypting WAL files, system catalogs, and temporary files in addition to table data for stronger security. It also discusses key management with a two-tier architecture involving master and tablespace keys.

postgresqldatabasesecurity
Copyright 2018 Severalnines AB; Percona
● Why do I need this?
● How do you turn it on?
● How does this work ?
Data in transit security
Copyright 2018 Severalnines AB; Percona
[mysqld]
early-plugin-load=keyring_file.so
keyring_file_data=/u01/keyring_file.key
innodb_sys_tablespace_encrypt=ON
innodb_temp_tablespace_encrypt=ON
innodb_parallel_dblwr_encrypt=ON
innodb_encrypt_online_alter_logs=ON
innodb_encrypt_online_alter_logs=FORCE
encrypt_binlog=ON
encrypt_tmp_files=ON
Maximum encryption
Copyright 2018 Severalnines AB; Percona
● With Tyler Duzan, Michael Coburn, and Alexander Rubin
● Share feedback
● Get to see the product roadmaps
Wednesday @ the reserved area in back of Gaia Restaurant
Join the Percona Product Managers for Lunch!
40
Thank You Sponsors!!

Recommended for you

MySQL 8.0 achitecture and enhancement
MySQL 8.0 achitecture and enhancementMySQL 8.0 achitecture and enhancement
MySQL 8.0 achitecture and enhancement

This document summarizes the architecture and enhancements in MySQL 8.0, including: - The in-memory structures like the buffer pool, change buffer, adaptive hash index, and log buffer. - The on-disk structures including the system tablespace, redo logs, temporary tablespaces, and undo tablespace. Enhancements in MySQL 8.0 include a native InnoDB-based data dictionary, encryption capabilities for various components, persisted system variables, improved logging configuration, multi-source replication per channel, and enhanced security features like SQL roles.

mysqlmysql 8.0mysql architecture
Data Science in the Cloud @StitchFix
Data Science in the Cloud @StitchFixData Science in the Cloud @StitchFix
Data Science in the Cloud @StitchFix

Video and slides synchronized, mp3 and slide download available at URL http://bit.ly/2lGNybu. Stefan Krawczyk discusses how his team at StitchFix use the cloud to enable over 80 data scientists to be productive. He also talks about prototyping ideas, algorithms and analyses, how they set up & keep schemas in sync between Hive, Presto, Redshift & Spark and make access easy for their data scientists, etc. Filmed at qconsf.com.. Stefan Krawczyk is Algo Dev Platform Lead at StitchFix, where he’s leading development of the algorithm development platform. He spent formative years at Stanford, LinkedIn, Nextdoor & Idibon, working on everything from growth engineering, product engineering, data engineering, to recommendation systems, NLP, data science and business intelligence.

infoqqconsfqcon
Raft Engine Meetup 220702.pdf
Raft Engine Meetup 220702.pdfRaft Engine Meetup 220702.pdf
Raft Engine Meetup 220702.pdf

This document discusses the design of the Raft engine in TiKV 6.1. The Raft engine is a lightweight log store written in Rust that aims to reduce I/O compared to RocksDB. It keeps an in-memory index of log entries and appends compressed log entries to files. Initial tests showed a 30% reduction in write I/Os compared to using KVDB and RaftDB. The document outlines some quality control efforts during development and discusses ensuring the Raft engine has features like fast recovery and safe writing that are as good as RocksDB. It also discusses potential future improvements.

41
Rate Our Session
Copyright 2017 Severalnines AB
Copyright 2018 Severalnines AB
Q & A

More Related Content

What's hot

Amazon Aurora: Under the Hood
Amazon Aurora: Under the HoodAmazon Aurora: Under the Hood
Amazon Aurora: Under the Hood
Amazon Web Services
 
Enhancing MySQL Security
Enhancing MySQL SecurityEnhancing MySQL Security
Enhancing MySQL Security
Vinicius M Grippa
 
Amazon S3 Best Practice and Tuning for Hadoop/Spark in the Cloud
Amazon S3 Best Practice and Tuning for Hadoop/Spark in the CloudAmazon S3 Best Practice and Tuning for Hadoop/Spark in the Cloud
Amazon S3 Best Practice and Tuning for Hadoop/Spark in the Cloud
Noritaka Sekiyama
 
MySQL InnoDB Cluster - A complete High Availability solution for MySQL
MySQL InnoDB Cluster - A complete High Availability solution for MySQLMySQL InnoDB Cluster - A complete High Availability solution for MySQL
MySQL InnoDB Cluster - A complete High Availability solution for MySQL
Olivier DASINI
 
Disaster Recovery with MySQL InnoDB ClusterSet - What is it and how do I use it?
Disaster Recovery with MySQL InnoDB ClusterSet - What is it and how do I use it?Disaster Recovery with MySQL InnoDB ClusterSet - What is it and how do I use it?
Disaster Recovery with MySQL InnoDB ClusterSet - What is it and how do I use it?
Miguel Araújo
 
Best Practices in Security with PostgreSQL
Best Practices in Security with PostgreSQLBest Practices in Security with PostgreSQL
Best Practices in Security with PostgreSQL
EDB
 
Aurora Serverless: Scalable, Cost-Effective Application Deployment (DAT336) -...
Aurora Serverless: Scalable, Cost-Effective Application Deployment (DAT336) -...Aurora Serverless: Scalable, Cost-Effective Application Deployment (DAT336) -...
Aurora Serverless: Scalable, Cost-Effective Application Deployment (DAT336) -...
Amazon Web Services
 
Troubleshooting tips and tricks for Oracle Database Oct 2020
Troubleshooting tips and tricks for Oracle Database Oct 2020Troubleshooting tips and tricks for Oracle Database Oct 2020
Troubleshooting tips and tricks for Oracle Database Oct 2020
Sandesh Rao
 
Mysql security 5.7
Mysql security 5.7 Mysql security 5.7
Mysql security 5.7
Mark Swarbrick
 
ETL Design for Impala Zero Touch Metadata.pptx
ETL Design for Impala Zero Touch Metadata.pptxETL Design for Impala Zero Touch Metadata.pptx
ETL Design for Impala Zero Touch Metadata.pptx
Manish Maheshwari
 
Introducing Amazon Aurora with PostgreSQL Compatibility - AWS Online Tech Talks
Introducing Amazon Aurora with PostgreSQL Compatibility - AWS Online Tech TalksIntroducing Amazon Aurora with PostgreSQL Compatibility - AWS Online Tech Talks
Introducing Amazon Aurora with PostgreSQL Compatibility - AWS Online Tech Talks
Amazon Web Services
 
Data Guard Architecture & Setup
Data Guard Architecture & SetupData Guard Architecture & Setup
Data Guard Architecture & Setup
Satishbabu Gunukula
 
Amazon S3 & Amazon Glacier - Object Storage Overview
Amazon S3 & Amazon Glacier - Object Storage OverviewAmazon S3 & Amazon Glacier - Object Storage Overview
Amazon S3 & Amazon Glacier - Object Storage Overview
Amazon Web Services
 
Parallel Query in AWS Aurora MySQL
Parallel Query in AWS Aurora MySQLParallel Query in AWS Aurora MySQL
Parallel Query in AWS Aurora MySQL
Mydbops
 
A 30 day plan to start ending your data struggle with Snowflake
A 30 day plan to start ending your data struggle with SnowflakeA 30 day plan to start ending your data struggle with Snowflake
A 30 day plan to start ending your data struggle with Snowflake
Snowflake Computing
 
Introduction to NoSQL Databases
Introduction to NoSQL DatabasesIntroduction to NoSQL Databases
Introduction to NoSQL Databases
Derek Stainer
 
Deep Dive on Amazon Aurora with PostgreSQL Compatibility (DAT305-R1) - AWS re...
Deep Dive on Amazon Aurora with PostgreSQL Compatibility (DAT305-R1) - AWS re...Deep Dive on Amazon Aurora with PostgreSQL Compatibility (DAT305-R1) - AWS re...
Deep Dive on Amazon Aurora with PostgreSQL Compatibility (DAT305-R1) - AWS re...
Amazon Web Services
 
Deep Dive on Amazon Aurora
Deep Dive on Amazon AuroraDeep Dive on Amazon Aurora
Deep Dive on Amazon Aurora
Amazon Web Services
 
Oracle Database Security
Oracle Database SecurityOracle Database Security
Oracle Database Security
Troy Kitch
 
Apache doris (incubating) introduction
Apache doris (incubating) introductionApache doris (incubating) introduction
Apache doris (incubating) introduction
leanderlee2
 

What's hot (20)

Amazon Aurora: Under the Hood
Amazon Aurora: Under the HoodAmazon Aurora: Under the Hood
Amazon Aurora: Under the Hood
 
Enhancing MySQL Security
Enhancing MySQL SecurityEnhancing MySQL Security
Enhancing MySQL Security
 
Amazon S3 Best Practice and Tuning for Hadoop/Spark in the Cloud
Amazon S3 Best Practice and Tuning for Hadoop/Spark in the CloudAmazon S3 Best Practice and Tuning for Hadoop/Spark in the Cloud
Amazon S3 Best Practice and Tuning for Hadoop/Spark in the Cloud
 
MySQL InnoDB Cluster - A complete High Availability solution for MySQL
MySQL InnoDB Cluster - A complete High Availability solution for MySQLMySQL InnoDB Cluster - A complete High Availability solution for MySQL
MySQL InnoDB Cluster - A complete High Availability solution for MySQL
 
Disaster Recovery with MySQL InnoDB ClusterSet - What is it and how do I use it?
Disaster Recovery with MySQL InnoDB ClusterSet - What is it and how do I use it?Disaster Recovery with MySQL InnoDB ClusterSet - What is it and how do I use it?
Disaster Recovery with MySQL InnoDB ClusterSet - What is it and how do I use it?
 
Best Practices in Security with PostgreSQL
Best Practices in Security with PostgreSQLBest Practices in Security with PostgreSQL
Best Practices in Security with PostgreSQL
 
Aurora Serverless: Scalable, Cost-Effective Application Deployment (DAT336) -...
Aurora Serverless: Scalable, Cost-Effective Application Deployment (DAT336) -...Aurora Serverless: Scalable, Cost-Effective Application Deployment (DAT336) -...
Aurora Serverless: Scalable, Cost-Effective Application Deployment (DAT336) -...
 
Troubleshooting tips and tricks for Oracle Database Oct 2020
Troubleshooting tips and tricks for Oracle Database Oct 2020Troubleshooting tips and tricks for Oracle Database Oct 2020
Troubleshooting tips and tricks for Oracle Database Oct 2020
 
Mysql security 5.7
Mysql security 5.7 Mysql security 5.7
Mysql security 5.7
 
ETL Design for Impala Zero Touch Metadata.pptx
ETL Design for Impala Zero Touch Metadata.pptxETL Design for Impala Zero Touch Metadata.pptx
ETL Design for Impala Zero Touch Metadata.pptx
 
Introducing Amazon Aurora with PostgreSQL Compatibility - AWS Online Tech Talks
Introducing Amazon Aurora with PostgreSQL Compatibility - AWS Online Tech TalksIntroducing Amazon Aurora with PostgreSQL Compatibility - AWS Online Tech Talks
Introducing Amazon Aurora with PostgreSQL Compatibility - AWS Online Tech Talks
 
Data Guard Architecture & Setup
Data Guard Architecture & SetupData Guard Architecture & Setup
Data Guard Architecture & Setup
 
Amazon S3 & Amazon Glacier - Object Storage Overview
Amazon S3 & Amazon Glacier - Object Storage OverviewAmazon S3 & Amazon Glacier - Object Storage Overview
Amazon S3 & Amazon Glacier - Object Storage Overview
 
Parallel Query in AWS Aurora MySQL
Parallel Query in AWS Aurora MySQLParallel Query in AWS Aurora MySQL
Parallel Query in AWS Aurora MySQL
 
A 30 day plan to start ending your data struggle with Snowflake
A 30 day plan to start ending your data struggle with SnowflakeA 30 day plan to start ending your data struggle with Snowflake
A 30 day plan to start ending your data struggle with Snowflake
 
Introduction to NoSQL Databases
Introduction to NoSQL DatabasesIntroduction to NoSQL Databases
Introduction to NoSQL Databases
 
Deep Dive on Amazon Aurora with PostgreSQL Compatibility (DAT305-R1) - AWS re...
Deep Dive on Amazon Aurora with PostgreSQL Compatibility (DAT305-R1) - AWS re...Deep Dive on Amazon Aurora with PostgreSQL Compatibility (DAT305-R1) - AWS re...
Deep Dive on Amazon Aurora with PostgreSQL Compatibility (DAT305-R1) - AWS re...
 
Deep Dive on Amazon Aurora
Deep Dive on Amazon AuroraDeep Dive on Amazon Aurora
Deep Dive on Amazon Aurora
 
Oracle Database Security
Oracle Database SecurityOracle Database Security
Oracle Database Security
 
Apache doris (incubating) introduction
Apache doris (incubating) introductionApache doris (incubating) introduction
Apache doris (incubating) introduction
 

Similar to Advanced MySql Data-at-Rest Encryption in Percona Server

Webinar slides: How to Automate & Manage PostgreSQL with ClusterControl
Webinar slides: How to Automate & Manage PostgreSQL with ClusterControlWebinar slides: How to Automate & Manage PostgreSQL with ClusterControl
Webinar slides: How to Automate & Manage PostgreSQL with ClusterControl
Severalnines
 
Transparent Data Encryption in PostgreSQL and Integration with Key Management...
Transparent Data Encryption in PostgreSQL and Integration with Key Management...Transparent Data Encryption in PostgreSQL and Integration with Key Management...
Transparent Data Encryption in PostgreSQL and Integration with Key Management...
Masahiko Sawada
 
Webinar slides: Backup Management for MySQL, MariaDB, PostgreSQL & MongoDB wi...
Webinar slides: Backup Management for MySQL, MariaDB, PostgreSQL & MongoDB wi...Webinar slides: Backup Management for MySQL, MariaDB, PostgreSQL & MongoDB wi...
Webinar slides: Backup Management for MySQL, MariaDB, PostgreSQL & MongoDB wi...
Severalnines
 
How to scale MongoDB
How to scale MongoDBHow to scale MongoDB
How to scale MongoDB
Igor Donchovski
 
Webinar slides: Free Monitoring (on Steroids) for MySQL, MariaDB, PostgreSQL ...
Webinar slides: Free Monitoring (on Steroids) for MySQL, MariaDB, PostgreSQL ...Webinar slides: Free Monitoring (on Steroids) for MySQL, MariaDB, PostgreSQL ...
Webinar slides: Free Monitoring (on Steroids) for MySQL, MariaDB, PostgreSQL ...
Severalnines
 
PL22 - Backup and Restore Performance.pptx
PL22 - Backup and Restore Performance.pptxPL22 - Backup and Restore Performance.pptx
PL22 - Backup and Restore Performance.pptx
Vinicius M Grippa
 
Webinar slides: How to Achieve PCI Compliance for MySQL & MariaDB with Cluste...
Webinar slides: How to Achieve PCI Compliance for MySQL & MariaDB with Cluste...Webinar slides: How to Achieve PCI Compliance for MySQL & MariaDB with Cluste...
Webinar slides: How to Achieve PCI Compliance for MySQL & MariaDB with Cluste...
Severalnines
 
Logs @ OVHcloud
Logs @ OVHcloudLogs @ OVHcloud
Logs @ OVHcloud
OVHcloud
 
The Proper Care and Feeding of MySQL Databases
The Proper Care and Feeding of MySQL DatabasesThe Proper Care and Feeding of MySQL Databases
The Proper Care and Feeding of MySQL Databases
Dave Stokes
 
Transparent Data Encryption in PostgreSQL
Transparent Data Encryption in PostgreSQLTransparent Data Encryption in PostgreSQL
Transparent Data Encryption in PostgreSQL
Masahiko Sawada
 
MySQL 8.0 achitecture and enhancement
MySQL 8.0 achitecture and enhancementMySQL 8.0 achitecture and enhancement
MySQL 8.0 achitecture and enhancement
lalit choudhary
 
Data Science in the Cloud @StitchFix
Data Science in the Cloud @StitchFixData Science in the Cloud @StitchFix
Data Science in the Cloud @StitchFix
C4Media
 
Raft Engine Meetup 220702.pdf
Raft Engine Meetup 220702.pdfRaft Engine Meetup 220702.pdf
Raft Engine Meetup 220702.pdf
fengxun
 
Splunk, SIEMs, and Big Data - The Undercroft - November 2019
Splunk, SIEMs, and Big Data - The Undercroft - November 2019Splunk, SIEMs, and Big Data - The Undercroft - November 2019
Splunk, SIEMs, and Big Data - The Undercroft - November 2019
Jonathan Singer
 
MySQL Data Encryption at Rest
MySQL Data Encryption at RestMySQL Data Encryption at Rest
MySQL Data Encryption at Rest
Mydbops
 
Netflix Open Source Meetup Season 4 Episode 2
Netflix Open Source Meetup Season 4 Episode 2Netflix Open Source Meetup Season 4 Episode 2
Netflix Open Source Meetup Season 4 Episode 2
aspyker
 
Demystifying MS17-010: Reverse Engineering the ETERNAL Exploits
Demystifying MS17-010: Reverse Engineering the ETERNAL ExploitsDemystifying MS17-010: Reverse Engineering the ETERNAL Exploits
Demystifying MS17-010: Reverse Engineering the ETERNAL Exploits
Priyanka Aash
 
PGEncryption_Tutorial
PGEncryption_TutorialPGEncryption_Tutorial
PGEncryption_Tutorial
Vibhor Kumar
 
MySQL backup and restore performance
MySQL backup and restore performanceMySQL backup and restore performance
MySQL backup and restore performance
Vinicius M Grippa
 
NetflixOSS Meetup season 3 episode 1
NetflixOSS Meetup season 3 episode 1NetflixOSS Meetup season 3 episode 1
NetflixOSS Meetup season 3 episode 1
Ruslan Meshenberg
 

Similar to Advanced MySql Data-at-Rest Encryption in Percona Server (20)

Webinar slides: How to Automate & Manage PostgreSQL with ClusterControl
Webinar slides: How to Automate & Manage PostgreSQL with ClusterControlWebinar slides: How to Automate & Manage PostgreSQL with ClusterControl
Webinar slides: How to Automate & Manage PostgreSQL with ClusterControl
 
Transparent Data Encryption in PostgreSQL and Integration with Key Management...
Transparent Data Encryption in PostgreSQL and Integration with Key Management...Transparent Data Encryption in PostgreSQL and Integration with Key Management...
Transparent Data Encryption in PostgreSQL and Integration with Key Management...
 
Webinar slides: Backup Management for MySQL, MariaDB, PostgreSQL & MongoDB wi...
Webinar slides: Backup Management for MySQL, MariaDB, PostgreSQL & MongoDB wi...Webinar slides: Backup Management for MySQL, MariaDB, PostgreSQL & MongoDB wi...
Webinar slides: Backup Management for MySQL, MariaDB, PostgreSQL & MongoDB wi...
 
How to scale MongoDB
How to scale MongoDBHow to scale MongoDB
How to scale MongoDB
 
Webinar slides: Free Monitoring (on Steroids) for MySQL, MariaDB, PostgreSQL ...
Webinar slides: Free Monitoring (on Steroids) for MySQL, MariaDB, PostgreSQL ...Webinar slides: Free Monitoring (on Steroids) for MySQL, MariaDB, PostgreSQL ...
Webinar slides: Free Monitoring (on Steroids) for MySQL, MariaDB, PostgreSQL ...
 
PL22 - Backup and Restore Performance.pptx
PL22 - Backup and Restore Performance.pptxPL22 - Backup and Restore Performance.pptx
PL22 - Backup and Restore Performance.pptx
 
Webinar slides: How to Achieve PCI Compliance for MySQL & MariaDB with Cluste...
Webinar slides: How to Achieve PCI Compliance for MySQL & MariaDB with Cluste...Webinar slides: How to Achieve PCI Compliance for MySQL & MariaDB with Cluste...
Webinar slides: How to Achieve PCI Compliance for MySQL & MariaDB with Cluste...
 
Logs @ OVHcloud
Logs @ OVHcloudLogs @ OVHcloud
Logs @ OVHcloud
 
The Proper Care and Feeding of MySQL Databases
The Proper Care and Feeding of MySQL DatabasesThe Proper Care and Feeding of MySQL Databases
The Proper Care and Feeding of MySQL Databases
 
Transparent Data Encryption in PostgreSQL
Transparent Data Encryption in PostgreSQLTransparent Data Encryption in PostgreSQL
Transparent Data Encryption in PostgreSQL
 
MySQL 8.0 achitecture and enhancement
MySQL 8.0 achitecture and enhancementMySQL 8.0 achitecture and enhancement
MySQL 8.0 achitecture and enhancement
 
Data Science in the Cloud @StitchFix
Data Science in the Cloud @StitchFixData Science in the Cloud @StitchFix
Data Science in the Cloud @StitchFix
 
Raft Engine Meetup 220702.pdf
Raft Engine Meetup 220702.pdfRaft Engine Meetup 220702.pdf
Raft Engine Meetup 220702.pdf
 
Splunk, SIEMs, and Big Data - The Undercroft - November 2019
Splunk, SIEMs, and Big Data - The Undercroft - November 2019Splunk, SIEMs, and Big Data - The Undercroft - November 2019
Splunk, SIEMs, and Big Data - The Undercroft - November 2019
 
MySQL Data Encryption at Rest
MySQL Data Encryption at RestMySQL Data Encryption at Rest
MySQL Data Encryption at Rest
 
Netflix Open Source Meetup Season 4 Episode 2
Netflix Open Source Meetup Season 4 Episode 2Netflix Open Source Meetup Season 4 Episode 2
Netflix Open Source Meetup Season 4 Episode 2
 
Demystifying MS17-010: Reverse Engineering the ETERNAL Exploits
Demystifying MS17-010: Reverse Engineering the ETERNAL ExploitsDemystifying MS17-010: Reverse Engineering the ETERNAL Exploits
Demystifying MS17-010: Reverse Engineering the ETERNAL Exploits
 
PGEncryption_Tutorial
PGEncryption_TutorialPGEncryption_Tutorial
PGEncryption_Tutorial
 
MySQL backup and restore performance
MySQL backup and restore performanceMySQL backup and restore performance
MySQL backup and restore performance
 
NetflixOSS Meetup season 3 episode 1
NetflixOSS Meetup season 3 episode 1NetflixOSS Meetup season 3 episode 1
NetflixOSS Meetup season 3 episode 1
 

More from Severalnines

WEBINAR SLIDES: CCX for Cloud Service Providers
WEBINAR SLIDES: CCX for Cloud Service ProvidersWEBINAR SLIDES: CCX for Cloud Service Providers
WEBINAR SLIDES: CCX for Cloud Service Providers
Severalnines
 
LIVE DEMO: CCX for CSPs, a drop-in DBaaS solution
LIVE DEMO: CCX for CSPs, a drop-in DBaaS solutionLIVE DEMO: CCX for CSPs, a drop-in DBaaS solution
LIVE DEMO: CCX for CSPs, a drop-in DBaaS solution
Severalnines
 
Kubernetes at Scale: Going Multi-Cluster with Istio
Kubernetes at Scale:  Going Multi-Cluster  with IstioKubernetes at Scale:  Going Multi-Cluster  with Istio
Kubernetes at Scale: Going Multi-Cluster with Istio
Severalnines
 
DIY DBaaS: A guide to building your own full-featured DBaaS
DIY DBaaS: A guide to building your own full-featured DBaaSDIY DBaaS: A guide to building your own full-featured DBaaS
DIY DBaaS: A guide to building your own full-featured DBaaS
Severalnines
 
Cloud's future runs through Sovereign DBaaS
Cloud's future runs through Sovereign DBaaSCloud's future runs through Sovereign DBaaS
Cloud's future runs through Sovereign DBaaS
Severalnines
 
Tips to drive maria db cluster performance for nextcloud
Tips to drive maria db cluster performance for nextcloudTips to drive maria db cluster performance for nextcloud
Tips to drive maria db cluster performance for nextcloud
Severalnines
 
Working with the Moodle Database: The Basics
Working with the Moodle Database: The BasicsWorking with the Moodle Database: The Basics
Working with the Moodle Database: The Basics
Severalnines
 
SysAdmin Working from Home? Tips to Automate MySQL, MariaDB, Postgres & MongoDB
SysAdmin Working from Home? Tips to Automate MySQL, MariaDB, Postgres & MongoDBSysAdmin Working from Home? Tips to Automate MySQL, MariaDB, Postgres & MongoDB
SysAdmin Working from Home? Tips to Automate MySQL, MariaDB, Postgres & MongoDB
Severalnines
 
(slides) Polyglot persistence: utilizing open source databases as a Swiss poc...
(slides) Polyglot persistence: utilizing open source databases as a Swiss poc...(slides) Polyglot persistence: utilizing open source databases as a Swiss poc...
(slides) Polyglot persistence: utilizing open source databases as a Swiss poc...
Severalnines
 
Webinar slides: How to Migrate from Oracle DB to MariaDB
Webinar slides: How to Migrate from Oracle DB to MariaDBWebinar slides: How to Migrate from Oracle DB to MariaDB
Webinar slides: How to Migrate from Oracle DB to MariaDB
Severalnines
 
Webinar slides: How to Manage Replication Failover Processes for MySQL, Maria...
Webinar slides: How to Manage Replication Failover Processes for MySQL, Maria...Webinar slides: How to Manage Replication Failover Processes for MySQL, Maria...
Webinar slides: How to Manage Replication Failover Processes for MySQL, Maria...
Severalnines
 
Disaster Recovery Planning for MySQL & MariaDB
Disaster Recovery Planning for MySQL & MariaDBDisaster Recovery Planning for MySQL & MariaDB
Disaster Recovery Planning for MySQL & MariaDB
Severalnines
 
MariaDB Performance Tuning Crash Course
MariaDB Performance Tuning Crash CourseMariaDB Performance Tuning Crash Course
MariaDB Performance Tuning Crash Course
Severalnines
 
Performance Tuning Cheat Sheet for MongoDB
Performance Tuning Cheat Sheet for MongoDBPerformance Tuning Cheat Sheet for MongoDB
Performance Tuning Cheat Sheet for MongoDB
Severalnines
 
Polyglot Persistence Utilizing Open Source Databases as a Swiss Pocket Knife
Polyglot Persistence Utilizing Open Source Databases as a Swiss Pocket KnifePolyglot Persistence Utilizing Open Source Databases as a Swiss Pocket Knife
Polyglot Persistence Utilizing Open Source Databases as a Swiss Pocket Knife
Severalnines
 
Webinar slides: An Introduction to Performance Monitoring for PostgreSQL
Webinar slides: An Introduction to Performance Monitoring for PostgreSQLWebinar slides: An Introduction to Performance Monitoring for PostgreSQL
Webinar slides: An Introduction to Performance Monitoring for PostgreSQL
Severalnines
 
Webinar slides: Our Guide to MySQL & MariaDB Performance Tuning
Webinar slides: Our Guide to MySQL & MariaDB Performance TuningWebinar slides: Our Guide to MySQL & MariaDB Performance Tuning
Webinar slides: Our Guide to MySQL & MariaDB Performance Tuning
Severalnines
 
Webinar slides: Migrating to Galera Cluster for MySQL and MariaDB
Webinar slides: Migrating to Galera Cluster for MySQL and MariaDBWebinar slides: Migrating to Galera Cluster for MySQL and MariaDB
Webinar slides: Migrating to Galera Cluster for MySQL and MariaDB
Severalnines
 
Webinar slides: How to Measure Database Availability?
Webinar slides: How to Measure Database Availability?Webinar slides: How to Measure Database Availability?
Webinar slides: How to Measure Database Availability?
Severalnines
 
Webinar slides: Designing Open Source Databases for High Availability
Webinar slides: Designing Open Source Databases for High AvailabilityWebinar slides: Designing Open Source Databases for High Availability
Webinar slides: Designing Open Source Databases for High Availability
Severalnines
 

More from Severalnines (20)

WEBINAR SLIDES: CCX for Cloud Service Providers
WEBINAR SLIDES: CCX for Cloud Service ProvidersWEBINAR SLIDES: CCX for Cloud Service Providers
WEBINAR SLIDES: CCX for Cloud Service Providers
 
LIVE DEMO: CCX for CSPs, a drop-in DBaaS solution
LIVE DEMO: CCX for CSPs, a drop-in DBaaS solutionLIVE DEMO: CCX for CSPs, a drop-in DBaaS solution
LIVE DEMO: CCX for CSPs, a drop-in DBaaS solution
 
Kubernetes at Scale: Going Multi-Cluster with Istio
Kubernetes at Scale:  Going Multi-Cluster  with IstioKubernetes at Scale:  Going Multi-Cluster  with Istio
Kubernetes at Scale: Going Multi-Cluster with Istio
 
DIY DBaaS: A guide to building your own full-featured DBaaS
DIY DBaaS: A guide to building your own full-featured DBaaSDIY DBaaS: A guide to building your own full-featured DBaaS
DIY DBaaS: A guide to building your own full-featured DBaaS
 
Cloud's future runs through Sovereign DBaaS
Cloud's future runs through Sovereign DBaaSCloud's future runs through Sovereign DBaaS
Cloud's future runs through Sovereign DBaaS
 
Tips to drive maria db cluster performance for nextcloud
Tips to drive maria db cluster performance for nextcloudTips to drive maria db cluster performance for nextcloud
Tips to drive maria db cluster performance for nextcloud
 
Working with the Moodle Database: The Basics
Working with the Moodle Database: The BasicsWorking with the Moodle Database: The Basics
Working with the Moodle Database: The Basics
 
SysAdmin Working from Home? Tips to Automate MySQL, MariaDB, Postgres & MongoDB
SysAdmin Working from Home? Tips to Automate MySQL, MariaDB, Postgres & MongoDBSysAdmin Working from Home? Tips to Automate MySQL, MariaDB, Postgres & MongoDB
SysAdmin Working from Home? Tips to Automate MySQL, MariaDB, Postgres & MongoDB
 
(slides) Polyglot persistence: utilizing open source databases as a Swiss poc...
(slides) Polyglot persistence: utilizing open source databases as a Swiss poc...(slides) Polyglot persistence: utilizing open source databases as a Swiss poc...
(slides) Polyglot persistence: utilizing open source databases as a Swiss poc...
 
Webinar slides: How to Migrate from Oracle DB to MariaDB
Webinar slides: How to Migrate from Oracle DB to MariaDBWebinar slides: How to Migrate from Oracle DB to MariaDB
Webinar slides: How to Migrate from Oracle DB to MariaDB
 
Webinar slides: How to Manage Replication Failover Processes for MySQL, Maria...
Webinar slides: How to Manage Replication Failover Processes for MySQL, Maria...Webinar slides: How to Manage Replication Failover Processes for MySQL, Maria...
Webinar slides: How to Manage Replication Failover Processes for MySQL, Maria...
 
Disaster Recovery Planning for MySQL & MariaDB
Disaster Recovery Planning for MySQL & MariaDBDisaster Recovery Planning for MySQL & MariaDB
Disaster Recovery Planning for MySQL & MariaDB
 
MariaDB Performance Tuning Crash Course
MariaDB Performance Tuning Crash CourseMariaDB Performance Tuning Crash Course
MariaDB Performance Tuning Crash Course
 
Performance Tuning Cheat Sheet for MongoDB
Performance Tuning Cheat Sheet for MongoDBPerformance Tuning Cheat Sheet for MongoDB
Performance Tuning Cheat Sheet for MongoDB
 
Polyglot Persistence Utilizing Open Source Databases as a Swiss Pocket Knife
Polyglot Persistence Utilizing Open Source Databases as a Swiss Pocket KnifePolyglot Persistence Utilizing Open Source Databases as a Swiss Pocket Knife
Polyglot Persistence Utilizing Open Source Databases as a Swiss Pocket Knife
 
Webinar slides: An Introduction to Performance Monitoring for PostgreSQL
Webinar slides: An Introduction to Performance Monitoring for PostgreSQLWebinar slides: An Introduction to Performance Monitoring for PostgreSQL
Webinar slides: An Introduction to Performance Monitoring for PostgreSQL
 
Webinar slides: Our Guide to MySQL & MariaDB Performance Tuning
Webinar slides: Our Guide to MySQL & MariaDB Performance TuningWebinar slides: Our Guide to MySQL & MariaDB Performance Tuning
Webinar slides: Our Guide to MySQL & MariaDB Performance Tuning
 
Webinar slides: Migrating to Galera Cluster for MySQL and MariaDB
Webinar slides: Migrating to Galera Cluster for MySQL and MariaDBWebinar slides: Migrating to Galera Cluster for MySQL and MariaDB
Webinar slides: Migrating to Galera Cluster for MySQL and MariaDB
 
Webinar slides: How to Measure Database Availability?
Webinar slides: How to Measure Database Availability?Webinar slides: How to Measure Database Availability?
Webinar slides: How to Measure Database Availability?
 
Webinar slides: Designing Open Source Databases for High Availability
Webinar slides: Designing Open Source Databases for High AvailabilityWebinar slides: Designing Open Source Databases for High Availability
Webinar slides: Designing Open Source Databases for High Availability
 

Recently uploaded

Introduction to the Red Hat Portfolio.pdf
Introduction to the Red Hat Portfolio.pdfIntroduction to the Red Hat Portfolio.pdf
Introduction to the Red Hat Portfolio.pdf
kihus38
 
AIRLINE_SATISFACTION_Data Science Solution on Azure
AIRLINE_SATISFACTION_Data Science Solution on AzureAIRLINE_SATISFACTION_Data Science Solution on Azure
AIRLINE_SATISFACTION_Data Science Solution on Azure
SanelaNikodinoska1
 
Seamlessly Pay Online, Pay In Stores or Send Money
Seamlessly Pay Online, Pay In Stores or Send MoneySeamlessly Pay Online, Pay In Stores or Send Money
Seamlessly Pay Online, Pay In Stores or Send Money
gargtinna79
 
NPS_Presentation_V3.pptx it is regarding National pension scheme
NPS_Presentation_V3.pptx it is regarding National pension schemeNPS_Presentation_V3.pptx it is regarding National pension scheme
NPS_Presentation_V3.pptx it is regarding National pension scheme
ASISHSABAT3
 
Vasant Kunj @ℂall @Girls ꧁❤ 9873777170 ❤꧂VIP Ruhi Singla Top Model Safe
Vasant Kunj @ℂall @Girls ꧁❤ 9873777170 ❤꧂VIP Ruhi Singla Top Model SafeVasant Kunj @ℂall @Girls ꧁❤ 9873777170 ❤꧂VIP Ruhi Singla Top Model Safe
Vasant Kunj @ℂall @Girls ꧁❤ 9873777170 ❤꧂VIP Ruhi Singla Top Model Safe
nikita dubey$A17
 
Daryaganj @ℂall @Girls ꧁❤ 9873940964 ❤꧂VIP Jina Singh Top Model Safe
Daryaganj @ℂall @Girls ꧁❤ 9873940964 ❤꧂VIP Jina Singh Top Model SafeDaryaganj @ℂall @Girls ꧁❤ 9873940964 ❤꧂VIP Jina Singh Top Model Safe
Daryaganj @ℂall @Girls ꧁❤ 9873940964 ❤꧂VIP Jina Singh Top Model Safe
butwhat24
 
RK Puram @ℂall @Girls ꧁❤ 9873777170 ❤꧂VIP Neha Singla Top Model Safe
RK Puram @ℂall @Girls ꧁❤ 9873777170 ❤꧂VIP Neha Singla Top Model SafeRK Puram @ℂall @Girls ꧁❤ 9873777170 ❤꧂VIP Neha Singla Top Model Safe
RK Puram @ℂall @Girls ꧁❤ 9873777170 ❤꧂VIP Neha Singla Top Model Safe
Alisha Pathan $A17
 
Lajpat Nagar @ℂall @Girls ꧁❤ 9873777170 ❤꧂VIP Ginni Singh Top Model Safe
Lajpat Nagar @ℂall @Girls ꧁❤ 9873777170 ❤꧂VIP Ginni Singh Top Model SafeLajpat Nagar @ℂall @Girls ꧁❤ 9873777170 ❤꧂VIP Ginni Singh Top Model Safe
Lajpat Nagar @ℂall @Girls ꧁❤ 9873777170 ❤꧂VIP Ginni Singh Top Model Safe
khansayyad1256
 
Nehru Place @ℂall @Girls ꧁❤ 9873940964 ❤꧂VIP Jina Singh Top Model Safe
Nehru Place @ℂall @Girls ꧁❤ 9873940964 ❤꧂VIP Jina Singh Top Model SafeNehru Place @ℂall @Girls ꧁❤ 9873940964 ❤꧂VIP Jina Singh Top Model Safe
Nehru Place @ℂall @Girls ꧁❤ 9873940964 ❤꧂VIP Jina Singh Top Model Safe
butwhat24
 
Greater Kailash @ℂall @Girls ꧁❤ 9873777170 ❤꧂Glamorous sonam Mehra Top Model ...
Greater Kailash @ℂall @Girls ꧁❤ 9873777170 ❤꧂Glamorous sonam Mehra Top Model ...Greater Kailash @ℂall @Girls ꧁❤ 9873777170 ❤꧂Glamorous sonam Mehra Top Model ...
Greater Kailash @ℂall @Girls ꧁❤ 9873777170 ❤꧂Glamorous sonam Mehra Top Model ...
shoeb2926
 
Cómo hemos implementado semántica de "Exactly Once" en nuestra base de datos ...
Cómo hemos implementado semántica de "Exactly Once" en nuestra base de datos ...Cómo hemos implementado semántica de "Exactly Once" en nuestra base de datos ...
Cómo hemos implementado semántica de "Exactly Once" en nuestra base de datos ...
javier ramirez
 
Lajpat Nagar @ℂall @Girls ꧁❤ 9873777170 ❤꧂VIP Arti Singh Top Model Safe
Lajpat Nagar @ℂall @Girls ꧁❤ 9873777170 ❤꧂VIP Arti Singh Top Model SafeLajpat Nagar @ℂall @Girls ꧁❤ 9873777170 ❤꧂VIP Arti Singh Top Model Safe
Lajpat Nagar @ℂall @Girls ꧁❤ 9873777170 ❤꧂VIP Arti Singh Top Model Safe
aarusi sexy model
 
Rohini @ℂall @Girls ꧁❤ 9873940964 ❤꧂VIP Megha Singla Top Model Safe
Rohini @ℂall @Girls ꧁❤ 9873940964 ❤꧂VIP Megha Singla Top Model SafeRohini @ℂall @Girls ꧁❤ 9873940964 ❤꧂VIP Megha Singla Top Model Safe
Rohini @ℂall @Girls ꧁❤ 9873940964 ❤꧂VIP Megha Singla Top Model Safe
depikasharma
 
Niagara College degree offer diploma Transcript
Niagara College  degree offer diploma TranscriptNiagara College  degree offer diploma Transcript
Niagara College degree offer diploma Transcript
taqyea
 
[D3T1S02] Aurora Limitless Database Introduction
[D3T1S02] Aurora Limitless Database Introduction[D3T1S02] Aurora Limitless Database Introduction
[D3T1S02] Aurora Limitless Database Introduction
Amazon Web Services Korea
 
LLM powered Contract Compliance Application.pptx
LLM powered Contract Compliance Application.pptxLLM powered Contract Compliance Application.pptx
LLM powered Contract Compliance Application.pptx
Jyotishko Biswas
 
Karol Bagh @ℂall @Girls ꧁❤ 9873777170 ❤꧂VIP Jya Khan Top Model Safe
Karol Bagh @ℂall @Girls ꧁❤ 9873777170 ❤꧂VIP Jya Khan Top Model SafeKarol Bagh @ℂall @Girls ꧁❤ 9873777170 ❤꧂VIP Jya Khan Top Model Safe
Karol Bagh @ℂall @Girls ꧁❤ 9873777170 ❤꧂VIP Jya Khan Top Model Safe
bookmybebe1
 
Streamlining Legacy Complexity Through Modernization
Streamlining Legacy Complexity Through ModernizationStreamlining Legacy Complexity Through Modernization
Streamlining Legacy Complexity Through Modernization
sanjay singh
 
Australian Catholic University degree offer diploma Transcript
Australian Catholic University  degree offer diploma TranscriptAustralian Catholic University  degree offer diploma Transcript
Australian Catholic University degree offer diploma Transcript
taqyea
 
Cloud Analytics Use Cases - Telco Products
Cloud Analytics Use Cases - Telco ProductsCloud Analytics Use Cases - Telco Products
Cloud Analytics Use Cases - Telco Products
luqmansyauqi2
 

Recently uploaded (20)

Introduction to the Red Hat Portfolio.pdf
Introduction to the Red Hat Portfolio.pdfIntroduction to the Red Hat Portfolio.pdf
Introduction to the Red Hat Portfolio.pdf
 
AIRLINE_SATISFACTION_Data Science Solution on Azure
AIRLINE_SATISFACTION_Data Science Solution on AzureAIRLINE_SATISFACTION_Data Science Solution on Azure
AIRLINE_SATISFACTION_Data Science Solution on Azure
 
Seamlessly Pay Online, Pay In Stores or Send Money
Seamlessly Pay Online, Pay In Stores or Send MoneySeamlessly Pay Online, Pay In Stores or Send Money
Seamlessly Pay Online, Pay In Stores or Send Money
 
NPS_Presentation_V3.pptx it is regarding National pension scheme
NPS_Presentation_V3.pptx it is regarding National pension schemeNPS_Presentation_V3.pptx it is regarding National pension scheme
NPS_Presentation_V3.pptx it is regarding National pension scheme
 
Vasant Kunj @ℂall @Girls ꧁❤ 9873777170 ❤꧂VIP Ruhi Singla Top Model Safe
Vasant Kunj @ℂall @Girls ꧁❤ 9873777170 ❤꧂VIP Ruhi Singla Top Model SafeVasant Kunj @ℂall @Girls ꧁❤ 9873777170 ❤꧂VIP Ruhi Singla Top Model Safe
Vasant Kunj @ℂall @Girls ꧁❤ 9873777170 ❤꧂VIP Ruhi Singla Top Model Safe
 
Daryaganj @ℂall @Girls ꧁❤ 9873940964 ❤꧂VIP Jina Singh Top Model Safe
Daryaganj @ℂall @Girls ꧁❤ 9873940964 ❤꧂VIP Jina Singh Top Model SafeDaryaganj @ℂall @Girls ꧁❤ 9873940964 ❤꧂VIP Jina Singh Top Model Safe
Daryaganj @ℂall @Girls ꧁❤ 9873940964 ❤꧂VIP Jina Singh Top Model Safe
 
RK Puram @ℂall @Girls ꧁❤ 9873777170 ❤꧂VIP Neha Singla Top Model Safe
RK Puram @ℂall @Girls ꧁❤ 9873777170 ❤꧂VIP Neha Singla Top Model SafeRK Puram @ℂall @Girls ꧁❤ 9873777170 ❤꧂VIP Neha Singla Top Model Safe
RK Puram @ℂall @Girls ꧁❤ 9873777170 ❤꧂VIP Neha Singla Top Model Safe
 
Lajpat Nagar @ℂall @Girls ꧁❤ 9873777170 ❤꧂VIP Ginni Singh Top Model Safe
Lajpat Nagar @ℂall @Girls ꧁❤ 9873777170 ❤꧂VIP Ginni Singh Top Model SafeLajpat Nagar @ℂall @Girls ꧁❤ 9873777170 ❤꧂VIP Ginni Singh Top Model Safe
Lajpat Nagar @ℂall @Girls ꧁❤ 9873777170 ❤꧂VIP Ginni Singh Top Model Safe
 
Nehru Place @ℂall @Girls ꧁❤ 9873940964 ❤꧂VIP Jina Singh Top Model Safe
Nehru Place @ℂall @Girls ꧁❤ 9873940964 ❤꧂VIP Jina Singh Top Model SafeNehru Place @ℂall @Girls ꧁❤ 9873940964 ❤꧂VIP Jina Singh Top Model Safe
Nehru Place @ℂall @Girls ꧁❤ 9873940964 ❤꧂VIP Jina Singh Top Model Safe
 
Greater Kailash @ℂall @Girls ꧁❤ 9873777170 ❤꧂Glamorous sonam Mehra Top Model ...
Greater Kailash @ℂall @Girls ꧁❤ 9873777170 ❤꧂Glamorous sonam Mehra Top Model ...Greater Kailash @ℂall @Girls ꧁❤ 9873777170 ❤꧂Glamorous sonam Mehra Top Model ...
Greater Kailash @ℂall @Girls ꧁❤ 9873777170 ❤꧂Glamorous sonam Mehra Top Model ...
 
Cómo hemos implementado semántica de "Exactly Once" en nuestra base de datos ...
Cómo hemos implementado semántica de "Exactly Once" en nuestra base de datos ...Cómo hemos implementado semántica de "Exactly Once" en nuestra base de datos ...
Cómo hemos implementado semántica de "Exactly Once" en nuestra base de datos ...
 
Lajpat Nagar @ℂall @Girls ꧁❤ 9873777170 ❤꧂VIP Arti Singh Top Model Safe
Lajpat Nagar @ℂall @Girls ꧁❤ 9873777170 ❤꧂VIP Arti Singh Top Model SafeLajpat Nagar @ℂall @Girls ꧁❤ 9873777170 ❤꧂VIP Arti Singh Top Model Safe
Lajpat Nagar @ℂall @Girls ꧁❤ 9873777170 ❤꧂VIP Arti Singh Top Model Safe
 
Rohini @ℂall @Girls ꧁❤ 9873940964 ❤꧂VIP Megha Singla Top Model Safe
Rohini @ℂall @Girls ꧁❤ 9873940964 ❤꧂VIP Megha Singla Top Model SafeRohini @ℂall @Girls ꧁❤ 9873940964 ❤꧂VIP Megha Singla Top Model Safe
Rohini @ℂall @Girls ꧁❤ 9873940964 ❤꧂VIP Megha Singla Top Model Safe
 
Niagara College degree offer diploma Transcript
Niagara College  degree offer diploma TranscriptNiagara College  degree offer diploma Transcript
Niagara College degree offer diploma Transcript
 
[D3T1S02] Aurora Limitless Database Introduction
[D3T1S02] Aurora Limitless Database Introduction[D3T1S02] Aurora Limitless Database Introduction
[D3T1S02] Aurora Limitless Database Introduction
 
LLM powered Contract Compliance Application.pptx
LLM powered Contract Compliance Application.pptxLLM powered Contract Compliance Application.pptx
LLM powered Contract Compliance Application.pptx
 
Karol Bagh @ℂall @Girls ꧁❤ 9873777170 ❤꧂VIP Jya Khan Top Model Safe
Karol Bagh @ℂall @Girls ꧁❤ 9873777170 ❤꧂VIP Jya Khan Top Model SafeKarol Bagh @ℂall @Girls ꧁❤ 9873777170 ❤꧂VIP Jya Khan Top Model Safe
Karol Bagh @ℂall @Girls ꧁❤ 9873777170 ❤꧂VIP Jya Khan Top Model Safe
 
Streamlining Legacy Complexity Through Modernization
Streamlining Legacy Complexity Through ModernizationStreamlining Legacy Complexity Through Modernization
Streamlining Legacy Complexity Through Modernization
 
Australian Catholic University degree offer diploma Transcript
Australian Catholic University  degree offer diploma TranscriptAustralian Catholic University  degree offer diploma Transcript
Australian Catholic University degree offer diploma Transcript
 
Cloud Analytics Use Cases - Telco Products
Cloud Analytics Use Cases - Telco ProductsCloud Analytics Use Cases - Telco Products
Cloud Analytics Use Cases - Telco Products
 

Advanced MySql Data-at-Rest Encryption in Percona Server

  • 1. Percona Live November 2018 Advanced MySQL Data at Rest Encryption in Percona Server Bartłomiej Oleś, Iwo Panowicz Severalnines Percona Presenters
  • 3. Copyright 2017 Severalnines AB Free to download Initial 30 days Enterprise trial Converts into free Community Edition Enterprise / paid versions available
  • 4. Copyright 2017 Severalnines AB Automation & Management Deployment (Free Community) ● Deploy a Cluster in Minutes ○ On-Prem ○ Cloud (AWS/Azure/Google) - paid Monitoring (Free Community) ● Systems View with 1 sec Resolution ● DB / OS stats & Performance Advisors ● Configurable Dashboards ● Query Analyzer ● Real-time / historical Management (Paid Features) ● Backup Management ● Upgrades & Patching ● Security & Compliance ● Operational Reports ● Automatic Recovery & Repair ● Performance Management ● Automatic Performance Advisors
  • 5. Copyright 2017 Severalnines AB Supported Databases
  • 6. Copyright 2017 Severalnines AB Our Customers
  • 7. Copyright 2017 Severalnines ABCopyright 2017 Severalnines AB ● Encryption of data at rest (under development) ○ Transparent Data Encryption (TDE) for MySQL and MariaDB ○ Encryption of backups ● Encryption of data in transit (SSL) ○ Intra-cluster replication traffic ○ Client-server connections ● Role-based Access Control ○ Granular control of who can do what, from management perspective ● Audit Logs ○ Enable auditing on database nodes ● LDAP-based authentication ○ Authenticate against an LDAP v3 compliant directory server ○ Map ClusterControl roles/users onto existing user profiles/groups stored in LDAP ● DB infrastructure audit ○ Report on the number of db servers, software package versions running, whether they fulfill security requirements, whether they are backed up Security & Compliance
  • 8. Agenda - How it is implemented? - What is encrypted: - Tablespaces? - General tablespace? - Parallel double write buffer? - Temporary tablespaces? - Binlogs? - Slow/general/error logs? - MyISAM? MyRocks? X? - Performance overhead. - Transportable tablespaces. - Plugins - Keyrings in general - Key rotation? - Keyring_file - Is useful? How to make it profitable? - Keyring Vault - How does it work? - How to make a transition from keyring_file
  • 9. Copyright 2018 Severalnines AB; Percona ● Data at rest ○ All `inactive` data stored on hard drives. ○ Inactive in terms of the database means all data not currently loaded into memory. ● Data in transit ○ All data transferred between clients and database instances; and ○ All replication data between MySQL instances. ● Data in use ○ All the data loaded into a memory. 3 states of data
  • 10. Copyright 2018 Severalnines AB; Percona Three major ways to solve data-at-rest encryption in MySQL ○ Full disk encryption ○ Application level encryption ■ Data is encrypted before being inserted into a table ○ Database-level (table) encryption. Data At Rest
  • 11. Copyright 2018 Severalnines AB; Percona ● The current state of affairs of data-at-rest encryption in Percona Server: ○ Percona Server >= 5.7.11, InnoDB ○ 2 keyring plugins available ■ File ■ Hashicorp Vault ○ AES is the only supported algorithm ■ EBC used for tablespace key encryption ■ CBC used for data encryption Data At Rest
  • 12. Copyright 2018 Severalnines AB; Percona ● Keyring stored locally. ● Not intended as a regulatory compliance solution. ● Requires secure mount point for keyrings (network-attached); not useful otherwise. ● Developed to easily enable Transparent Data At Rest Encryption without having to configure any third-party software. Keyring file
  • 13. Copyright 2018 Severalnines AB; Percona ● Transition to other keyring plugins is possible (and recommended). ● Sample configuration: ● A ● A ● A Keyring file [mysqld] … early-plugin-load=keyring_file.so keyring_file_data=/var/lib/mysql-keyring/keyring
  • 14. Copyright 2018 Severalnines AB; Percona Data-At-Rest # strings users.ibd infimum supremum( user010password user020password user030password user040password user050password user060497fe4d674fe37194a6fcb08913e596ef6a307f user070497fe4d674fe37194a6fcb08913e596ef6a307f user080497fe4d674fe37194a6fcb08913e596ef6a307f user090497fe4d674fe37194a6fcb08913e596ef6a307f user100497fe4d674fe37194a6fcb08913e596ef6a307f # strings strings users_encrypted.ibd 135b28c7-cacd-11e8-bf7b-e4a471aeae61 ZIdGq! 'sRi {O%3 [!YX f+<o `*;$V!Y '|]5 `2 6 NTy Rg$O qFo5
  • 15. Copyright 2018 Severalnines AB; Percona Data-At-Rest # hd test.frm 00002150 |...id....col1...| 00002160 |.......@........| 00002170 |................| 00002180 |.id.col1..| # hd test.ibd 0000fe30 |kL....9....Q.^A,| 0000fe40 |.?kGs....-TD.vh.| 0000fe50 |...+...V%...&"q.| 0000fe60 |.....d.f.....*."|
  • 16. Copyright 2018 Severalnines AB; Percona ● Encryption keys are stored inside Hashicorp Vault server. ● Requires additional configuration file pointed to by Keyring_vault_config. ● After successful initialization the plugin retrieves key signatures and stores them inside an in-memory hash map. ● MySQL instances can use the same or separate Vault instances. ● Data and keys are separated in a clean way. Keyring Vault
  • 17. Copyright 2018 Severalnines AB; Percona ● Sample configuration: ● A ● A ● A Keyring Vault [mysqld] … early-plugin-load=”keyring_vault=keyring_vault.so” keyring_vault_config="/etc/mysql/conf.d/vault.conf" # cat /etc/mysql/conf.d/vault.conf vault_url = https://vault-endpoint.internal:8200 secret_mount_point = secret token = 7M0jQ15gtpYNe4jtZHJkfr5V
  • 18. Copyright 2018 Severalnines AB; Percona ● Each individual tablespace has its own encryption key ● Each tablespace key is encrypted by the Global Master Key ● Each time a tablespace is moved a new key is generated. This is called a transfer key. Data At Rest
  • 19. Copyright 2018 Severalnines AB; Percona Data At Rest
  • 20. Copyright 2018 Severalnines AB; Percona ● Implemented on a low-level, close to the disk layer: ○ Encryption and decryption are performed just before IO read/write ○ data stored in memory are not encrypted ● the performance overhead varies and depends on the workload. ● The more IO operation needed, the higher the overhead. ● For reads, if data is in the buffer pool, there’s no performance loss. ○ Monitor innodb_buffer_pool_reads ● For writes, a page could be modified many times in the buffer and then get flushed. ● In general, a single percentage point (<10%) is expected. Data At Rest
  • 21. Copyright 2018 Severalnines AB; Percona Data At Rest
  • 22. Copyright 2018 Severalnines AB; Percona ● Implementation details ○ https://bit.ly/2AFHJSo ○ os0file.cc: $ grep ^Encryption os0file.cc Encryption::to_string(Type type) Encryption::create_master_key(byte** master_key) Encryption::get_master_key(ulint master_key_id, Encryption::get_master_key(ulint* master_key_id, Encryption::is_encrypted_page(const byte* page) Encryption::encrypt( Encryption::decrypt( Data At Rest
  • 23. Copyright 2018 Severalnines AB; Percona ● InnoDB tablespaces ● InnoDB system tablespace ● Parallel double write buffer ● Temporary tablespaces ● Temporary files ● Binlogs ● Slow/general/error logs? ● MyISAM? MyRocks? ● Data in transit security? ● Backups What can be encrypted?
  • 24. Copyright 2018 Severalnines AB; Percona ● innodb_sys_tablespace_encrypt ● Available since 5.7.23-23 ● The feature is considered alpha quality. ● Provides an encryption for: ○ the change buffer ○ The undo logs (if they have not been configured to be stored in separate undo tablespaces) ○ Data from any tables that exist in main tablespace (innodb_file_per_table=0) InnoDB system tablespace
  • 25. Copyright 2018 Severalnines AB; Percona ● Why do I need this? ● How do you turn it on? ● How does this work ? CREATE TABLESPACE …. ENCRYPTION='Y/N' General tablespaces
  • 26. Copyright 2018 Severalnines AB; Percona ● Why do I need this? ● How do you turn it on? ● How does it work ? Table encryption mysql> CREATE TABLE test ( id INT PRIMARY KEY, col1 TEXT) ENCRYPTION=’Y’;
  • 27. Copyright 2018 Severalnines AB; Percona ● Why do I need this? ● How do you turn it on? ● How does this work ? This feature is considered BETA quality. [mysqld] encrypt-tmp-files=ON Temporary files
  • 28. Copyright 2018 Severalnines AB; Percona ● encrypt-tmp-files ● Can be enabled on runtime. ● Available since 5.7.22-22 ● The feature is considered beta quality. ● Encrypts: ○ filesort (for example, SELECT statements with SQL_BIG_RESULT hints), ○ binary log transactional caches, ○ Group Replication caches. ● For each temporary file, an encryption key is generated locally, only kept in memory for the lifetime of the temporary file, and discarded afterwards. Temporary files encryption
  • 29. Copyright 2018 Severalnines AB; Percona ● innodb_temp_tablespace_encrypt ● Available since 5.7.21-21 ● The feature is considered beta quality. ● Provides an encryption for: ○ temporary tablespaces ○ does not force encryption of temporary tables which are currently opened, and it doesn’t rebuild system temporary tablespace to encrypt data which are already written InnoDB temporary tablespace
  • 30. Copyright 2018 Severalnines AB; Percona ● Why do I need this? ● How do you turn it on? ● How does this work ? [mysqld] innodb_parallel_dblwr_encrypt=1 Parallel doublewrite buffer ○ data for an encrypted tablespace is also only written in an encrypted form in the parallel doublewrite buffer ○ unencrypted tablespace data remains in plaintext
  • 31. Copyright 2018 Severalnines AB; Percona ● Requires MySQL configured keyring plugins. ● Master server encrypts each event before writing it out to the binary log. ● When a slave connects to the master and asks for events, the master decrypts the events from a binary logs and sends them over to slave. ● To prevent data leakage connections between master and slave require secure channel (TLS). ● The slave stores encrypted events in the relay log, and decrypts them before applying. Binlog encryption
  • 32. Copyright 2018 Severalnines AB; Percona ● Master: ○ Requires encrypt-binlog to encrypt binary logs ● Slave ○ Requires encrypt-binlog to encrypt relay logs ● The connection between master and slave needs to be secure (TLS). ● The master and slave don’t know if the data on the other server are encrypted, or not. ● To be sure encrypted data wasn’t modified/compromised both ○ master_verify_checksum, and ○ binlog_checksum need to be turned on. Binlog encryption
  • 33. Copyright 2018 Severalnines AB; Percona ● Logical backup ○ mysqldump ○ mysqlpump ○ mydumper ○ basically, any logical backup ● PXB ○ Works just fine. ○ Supports both keyring_file and keyring_vault. ○ You will need >= 2.4.12 (released: June 22, 2018). Backup
  • 34. Copyright 2018 Severalnines AB; Percona ● Why do I need this? ● How do you turn it on? ● How does this work ? innobackupex --encrypt=AES256 --encrypt- key="RRSFxrDFVx6UAsRb88uLVbAVWbK+FRgp" /data/backups Backups
  • 35. Copyright 2018 Severalnines AB; Percona ● Why do I need this? ● How do you turn it on? ● How does this work ? Slow/general/error logs
  • 36. Copyright 2018 Severalnines AB; Percona Why do I need this? How do you turn it on? How does this work ? MyISAM MyRocks
  • 37. Copyright 2018 Severalnines AB; Percona ● Why do I need this? ● How do you turn it on? ● How does this work ? Data in transit security
  • 38. Copyright 2018 Severalnines AB; Percona [mysqld] early-plugin-load=keyring_file.so keyring_file_data=/u01/keyring_file.key innodb_sys_tablespace_encrypt=ON innodb_temp_tablespace_encrypt=ON innodb_parallel_dblwr_encrypt=ON innodb_encrypt_online_alter_logs=ON innodb_encrypt_online_alter_logs=FORCE encrypt_binlog=ON encrypt_tmp_files=ON Maximum encryption
  • 39. Copyright 2018 Severalnines AB; Percona ● With Tyler Duzan, Michael Coburn, and Alexander Rubin ● Share feedback ● Get to see the product roadmaps Wednesday @ the reserved area in back of Gaia Restaurant Join the Percona Product Managers for Lunch!
  • 42. Copyright 2017 Severalnines AB Copyright 2018 Severalnines AB Q & A