`
gaojingsong
  • 浏览: 1182273 次
  • 性别: Icon_minigender_1
  • 来自: 深圳
文章分类
社区版块
存档分类
最新评论

【MaxScale介绍】

阅读更多

MariaDB MaxScale

The world's most advanced database proxy

MaxScale 是 MariaDB 开发的一个数据库智能代理服务,允许根据数据库 SQL 语句将请求转向目标一个到多个服务器,可设定各种复杂程度的转向规则。

MaxScale 设计用于透明的提供数据库的负载均衡和高可用性,同时提供高度可伸缩和灵活的架构,支持不同的协议和路由决策。MaxScale 使用 C 语言开发,利用 Linux 下的异步 I/O 功能。使用 epoll 作为事件驱动框架。

 

The MariaDB Corporation MaxScale is an intelligent proxy that allows forwarding of database statements to one or more database servers using complex rules, a semantic understanding of the database statements and the roles of the various servers within the backend cluster of databases.

 

MaxScale is designed to provide load balancing and high availability functionality transparently to the applications. In addition it provides a highly scalable and flexible architecture, with plugin components to support different protocols and routing decisions.

 

MaxScale is implemented in C and makes extensive use of the asynchronous I/O capabilities of the Linux operating system. The epoll system is used to provide the event driven framework for the input and output via sockets.

 



 

 

MariaDB MaxScale is a database proxy that extends the high availability, scalability, and security of MariaDB Server while at the same time simplifying application development by decoupling it from underlying database infrastructure.

MariaDB MaxScale is engineered with an extensible architecture to support plugins, extending its functionality beyond transparent load balancing to become, for example, a database firewall. With built-in plugins for multiple routers, filters and protocols, MariaDB MaxScale can be configured to forward database requests and modify database responses based on business and technical requirements — for example, to mask sensitive data or scale reads.

Firewall--数据库防火墙

MariaDB MaxScale includes a database firewall filter to block queries based on the rules configured — for example, based on the statement type, the functions used, the columns selected or the frequency of queries. MariaDB MaxScale 2.1 extends filtering to prepared statements.

数据库防火墙的 Prepared statement 过滤:数据库防火墙过滤器现在也将过滤规则应用于 Prepared statement。

数据库防火墙的功能过滤:现在,数据库防火墙过滤器会根据存在的功能添加一个规则来对查询进行白名单或黑名单。

 

Denial of service protection--DoS是Denial of Service的简称,即拒绝服务

MariaDB MaxScale 2.1 introduces a result set limiting plugin to prevent queries, prepared statements and stored procedures from causing a denial of service, intentional or not, by returning too much data. The maximum result set size can be configured in rows or bytes.

 

 

Read-write splitting--读写拆分

MariaDB MaxScale includes a router to split reads and writes when multi-master clustering or master/slave replication is configured, while writes are executed a single master node and reads are executed on multiple slave modes — and it can be done without modifying the application.

 

 

Change-data-capture--变化数据捕获

MariaDB MaxScale includes a change-data-capture protocol that, when combined with the Avro router, reads binary log events and streams them to clients where the data can be consumed as Avro objects or JSON documents — for example, with the included CDC client and Kafka producer.

 

Data masking--数据屏蔽

MariaDB MaxScale 2.1 introduces a data masking filter to protect sensitive data by inspecting query results and obfuscating the data in specific columns based on the rules configured. When combined with the database firewall filter, access to sensitive data can be restricted.

 

Bulk insert streaming--Streaming insert 插件

MariaDB MaxScale 2.1 introduces a filter for bulk insert streaming, converting all of the inserts within an explicit transaction into a single CSV data stream for direct loading with greater efficiency, improving performance and reducing network traffic.

 

 

Schema-based sharding

MariaDB MaxScale includes a schema router to support multitenant environments, where every tenant has its own schema and schemas may be on different databases, or to create a single logical database from multiple physical databases — all transparent to the application.

 

 

Querying caching--查询缓存

MariaDB MaxScale 2.1 introducing a query caching filter, improving the performance of repeat queries while reducing the workload on the underlying database depending on the rules configured — time to live, maximum result set rows/size, maximum entry count and more.

  • 大小: 58.8 KB
  • 大小: 100 KB
0
0
分享到:
评论

相关推荐

    Mysql+Maxscale2.0读写分离

    本篇文章将详细介绍如何在生产环境中使用MySQL 5.7.20和MaxScale 2.0来构建一个简单的读写分离架构。 #### 二、环境准备 在开始部署之前,我们需要准备好以下环境: - **操作系统**:CentOS 7.x - **MySQL 版本**...

    MySQL高可用方案之Corosync-Pacemake+MaxScale.docx

    本文档旨在介绍一种基于Corosync-Pacemaker与MaxScale的MySQL高可用解决方案。该方案结合了Corosync的分布式协调功能与Pacemaker的资源管理能力,以及MaxScale作为MySQL的读写分离和故障转移工具。 #### 二、关键...

    maxscale:使用 MariaDB MaxScale for docker 提供可扩展、高度可用且功能强大的变革性数据库服务

    介绍 MariaDB MaxScale 是一个开源的、以数据库为中心的代理,可与 MariaDB Enterprise、MariaDB Enterprise Cluster、MariaDB 5.5、MariaDB 10 和 Oracle MySQL:registered: 配合使用。 它的可插拔架构旨在提高灵活...

    MySQL高可用架构设计最佳实践

    MySQL高可用架构设计最佳实践,详细介绍二进制日志及其对复制的影响、GTID的复制、MMM、MHA等等 详细介绍二进制日志及其对复制的影响、GTID的复制、MMM、MHA等等。 目录 01MySQL复制功能概述 ...20MaxScale实例演示

    MySQL读写分离集群最佳实践

    本文将详细介绍如何通过配置两台MySQL服务器和一台代理服务器来实现MySQL代理的读写分离,以提高数据库系统的读写效率和负载均衡能力。该方案不仅适用于高并发场景下的Web应用,还能有效降低单一服务器的压力,确保...

    MySQL数据库介绍及高可用方案_方案_MYSQL_directionhkc_

    这可以通过软件负载均衡器或分布式数据库中间件实现,例如MySQL Proxy或MaxScale。 群集是另一种提高MySQL可用性的方法,如MySQL Cluster,它提供了共享无盘的架构,数据分布在多个节点上,每个节点都包含数据的...

    藏经阁-ColumnStore 产品测试和技术支持.pdf

    MariaDB提供了一系列的解决方案来处理大数据分析,包括MariaDB ColumnStore、MariaDB MaxScale、Connectors、SPARK Integration等。这些解决方案可以满足大数据分析的需求,提供高性能的数据管理和分析能力。 ...

    相册点击放大

    下面将详细介绍如何实现这个功能,并结合Java语言和Android SDK进行讲解。 1. **基本概念与原理** - **ImageView**: 在Android中,显示图片的主要组件是`ImageView`。点击放大功能通常基于`ImageView`来实现。 - ...

    分形维数MATLAB程序

    在README.md文件中,通常会包含对分形维数计算程序的介绍、使用方法、示例以及可能遇到的问题和解决方案。例如,如何加载分形数据、如何调用函数、参数的意义等。 总的来说,"分形维数MATLAB程序"提供了一种用计算...

    分布式mysql邮件解析1

    市面上有许多数据库中间件,例如MySQL Proxy、Tungsten Replicator、MaxScale以及本文将重点介绍的MyCat。 3. MyCat MyCat是一款开源的MySQL分布式数据库中间件,特别适合大型互联网企业。它支持数据库的分库分表,...

    mysql的读写分离原理.pdf

    首先,介绍读写分离的基本原理。在读写分离的架构中,一个重要的组件是数据库代理服务器。该代理服务器面向客户端提供统一的服务接口,根据收到的请求类型(读或写),将请求转发到合适的服务器上。当数据库代理...

    jquery控制图片同比例放大缩小

    本文将详细介绍如何使用jQuery实现这一功能,以及相关知识点。 首先,我们需要理解的是图片的缩放原理。在HTML中,图片通常通过`<img>`标签来展示,其`width`和`height`属性可以设定图片的初始尺寸。当图片需要缩放...

    iOS TableView下拉图片放大

    本文将详细介绍如何实现这个效果。 首先,我们需要了解UITableView的基本结构。UITableView由多个单元格(UITableViewCell)组成,同时可以包含一个HeaderView。在本案例中,我们将主要关注HeaderView的设计与实现...

    Flutter实现可以缩放拖拽的图片示例代码

    本文将详细介绍如何实现这一功能,以及如何配置和使用这个自定义的图片组件。 【主要知识点】: 1. **手势识别**:Flutter的手势系统是实现缩放和拖拽的基础。通过`GestureDetector`或`Listener`等类,我们可以...

    mariadb 测试

    此外,MariaDB 还引入了 SkySQL(现称为 MariaDB Server)和 MaxScale,分别用于企业级的数据库服务和高性能的数据库中间件。 性能对比测试显示,MariaDB 在某些工作负载下可能比 MySQL 更快,尤其是在并发查询和大...

    Android使用ImageView实现支持手势缩放效果

    本篇文章将详细介绍如何在Android中使用ImageView实现手势缩放效果,具体步骤如下: 首先,我们需要创建一个自定义的ImageView类,例如命名为`TouchImageView`,它将继承自Android内置的`ImageView`。这个自定义类...

Global site tag (gtag.js) - Google Analytics