Was ist neu in MariaDB Enterprise 10.1?

Post on 09-Apr-2017

237 views 0 download

Transcript of Was ist neu in MariaDB Enterprise 10.1?

* 1*

2

MariaDBWas ist neu in

Ralf Gebhardt, Product Manager

Enterprise 10.1

3

MariaDB EnterprisePackaged Enterprise RDBMS

▪ Based on MariaDB open source project

▪ Optimized binaries

▪ MariaDB MaxScale

▪ Robust technical services and support

▪ Productivity tools

▪ Customer Portal

▪ 24x7 support

▪ Optional Remote DBA services

MariaDB Enterprise

MariaDB Enterprise ClusterHighly Available Database Cluster

▪ Advanced, multi-master clustering

▪ Expert support for demanding production applications

High availability

• Full integration of the community Galera multi-master cluster technology

Scalability

• Optimistic parallel replication • Slave execution of triggers

Performance

• InnoDB• Others

GIS• Enhanced Features for OGC Compatibility

What is new in Enterprise 10.1 ?

Security enhancements will be presented in our next webinars.

Galera is now inside

MariaDB Enterprise 10.1

■ The MariaDB Server and MariaDB

Galera Server packages have been

combined

■ Galera packages and their

dependencies get installed

automatically

■ The Galera parts remain dormant

until configured, like a plugin or

storage engine

Enterprise support services for the Galera

Cluster functionality is included in our

MariaDB Enterprise Cluster subscription.

Two new Information Schema tables

for examining wsrep information,

WSREP_MEMBERSHIP and WSREP_STATUS

have been added.

MariaDB Enterprise Cluster adds node's

status and cluster membership related

information to the

INFORMATION_SCHEMA.

This information can be used by monitoring

systems and also by MariaDB MaxScale.

5

High Availability

To : Try to replicate any transaction in

parallel, as long as a transaction can be

rolled back and re-tried (eg. InnoDB/XtraDB

DML).

■ If there are no conflicts, then great,

parallelism will be improved.

■ If there is a conflict, the enforced

commit order will cause it to be

detected as a deadlock, and the later

transaction will be rolled back and

retried.

More information on optimistic replication

6

Scalability EnhancementOptimistic parallel replication – all

transactions will be considered to be run in

parallel, giving another performance boost

in master-to-slave replication

Moving from : only run in parallel

transactions that were known to be able to

safely replicate in parallel.

Slave execution of triggers

when using row-based replication

MySQL's replication system can replicate trigger actions

automatically for statement-based replication

and row-based replication.

More information on triggers on slaves7

Scalability Enhancement

■ If you want to have a setup where a slave has triggers that are not present on the master

(ie. slave needs to update summary tables or perform some other ETL-like process),

■ If you uses statement-based replication, they can just create the required triggers on the

slave. The slave will run the statements from the binary log, which will cause the triggers to

be invoked,

■ If you use row-based replication and for example that the master is Galera cluster node.

you can use row-based events to invoke triggers on the slave.

But now in addition:

And many more improvements such as:

■ A mechanism to filter replication events on the slave replication server based on

domain_id. see CHANGE MASTER TO

■ Enhanced semisync replication; Wait for at least one slave to acknowledge transaction

before committing

■ Dump Thread Enhancements from Google to makes multiple slave setups faster by allowing

concurrent reading of binary log.

■ Commits in certain instances in parallel replication complete immediately, avoiding losing

throughput when many transactions need conflicting locks. See

binlog_commit_wait_count.

■ RESET_MASTER is extended with TO # which allows one to specify the number of the first

binary log.

■ 15 new Webscale patches included (and 9 were already there)

8

Scalability Enhancement

InnoDB/XtraDB Page Compression

■ Alternative to compress tables different (but similar) to the InnoDB COMPRESSED storage format

● InnoDB Compressed stores : both uncompressed and compressed pages in the buffer pool

● Page Compression, stores only uncompressed pages

■ Currently 6 algorithms are possible : ● zlib, lz4, lzo, lzma, bzip2, snappy

■ Possible on any file system● But most beneficial on SSDs and Non-Volatile

Memory

9

Performance - InnoDB

Optimizer enhancements including EXPLAIN JSON and EXPLAIN ANALYZE (with FORMAT=JSON)

■ ANALYZE statement provides output that looks like EXPLAIN output, but also is includes data from the query execution (how many rows were actually read, etc)

■ ANALYZE FORMAT=JSON produces detailed information about the statement execution

Many small optimizations to improve performance

■ From 16K to 64K pages in InnoDB ■ Facebook/Kakao defragmentation patch (Defragmenting InnoDB

Tablespaces)■ Query timeouts

10

Performance - InnoDB

MariaDB 10.1 is now fully compliant with the OGC standards around GIS.

■ Support for Spatial Reference systems for the GIS data

● new REF_SYSTEM_ID column attribute can be used to specify Spatial Reference System ID for columns of spatial data types

■ More functions from the OGC standard added :● ST_Boundary● ST_ConvexHull● ST_IsRing● ST_PointOnSurface● ST_Relate

11

GIS

OS ArchitectureMariaDB Enterprise 5.5, 10.0 and 10.1

MariaDB Enterprise Cluster 5.5, 10.0 and 10.1

Red Hat Enterprise Linux 5, 6, 7.0, 7.1

64-bit ✔ ✔

POWER8 (MSB for 6, 7.0 and LSB for 7.1)

✔ ✔

CentOS 5, 6, 7 64-bit ✔ ✔

Ubuntu 12.04, 14.0464-bit ✔ ✔

POWER8 (LSB) ✔ (14.04) ✔ (14.04)

Debian 6, 7, 8 64-bit✔

(Debian 8 : 10.0 + 10.1)(Debian 6 : 5.5 + 10.0)

✔ (Debian 8 : 10.0 + 10.1)(Debian 6 : 5.5 + 10.0)

SUSE Linux Enterprise Server 11.3, 12.0

64-bit ✔ ✔

POWER8 (LSB) ✔ (12) FUTURE

Windows x86 32-bit, 64-bit ✔

Generic Linux 64-bit ✔ ✔

Source Source ✔ ✔

12

Supported OSs and Platforms

Please refer to the MariaDB Enterprise Installation Guide for additional details.13

How do I Evaluate MariaDB Enterprise?1. Go to mariadb.com

2. Login or Sign up

3. Click “My Portal”

4. Click on the Downloads tab

5. Either use our repository or download directly

14

Q&A

Galera Information Schema Table https://mariadb.com/kb/en/information-schema-wsrep_membership-table/

Galera Information Schema Table https://mariadb.com/kb/en/information-schema-wsrep_status-table/

Optimistic Replication

https://mariadb.com/kb/en/mariadb/parallel-replication/#optimistic-mode-of-in-order-parallel-replication

Triggers on Slaves https://mariadb.com/kb/en/mariadb/running-triggers-on-the-slave-for-row-based-events/

Change Master To https://mariadb.com/kb/en/change-master-to/

Binlog Commit Wait Count

https://mariadb.com/kb/en/replication-and-binary-log-server-system-variables/#binlog_commit_wait_count

Reset Master https://mariadb.com/kb/en/reset-master/

InnoDB Page Compression https://mariadb.com/kb/en/xtradbinnodb-storage-formats/#compressed

Explain Analyze https://mariadb.com/kb/en/analyze-statement/

Explain Analyze JSON https://mariadb.com/kb/en/analyze-format-json/

Defragmentation https://mariadb.com/kb/en/defragmenting-innodb-tablespaces/

Query Timeout https://mariadb.com/kb/en/mariadb/query-limits-and-timeouts/

15

MariaDB Enterprise: Webinar links

Product page: https://mariadb.com/products/mariadb-enterprise

Product FAQ: https://mariadb.com/products/product-faqs

Product comparison: https://mariadb.com/products/subscription-plans

Download page: https://mariadb.com/my_portal/download

Technical documentation: https://mariadb.com/kb/en/mariadb-enterprise/

Docker image: https://mariadb.com/kb/en/mariadb-enterprise/mariadb-enterprise-in-docker/

Chef Cookbook: https://mariadb.com/kb/en/mariadb-enterprise/mariadb-enterprise-chef-cookbook/

Notification Service: https://mariadb.com/.../mariadb-enterprise-notification-service-setup-guide/

Microsoft Azure: https://mariadb.com/.../mariadb-enterprise-cluster-in-azure-quick-guide/

16

MariaDB Enterprise: Additional Resources

Thank YouRalf Gebhardt, Product Manager

ralf.gebhardt@mariadb.com

17

* 18*