Percona is glad to announce the release ofPercona XtraDB Cluster5.5.37-25.10 on May 8, 2014. Binaries are available from thedownloads areaor from oursoftware repositories.
Based onPercona Server 5.5.37-35.0including all the bug fixes in it, Galera Replicator 2.10 (including fixes in2.9and2.10milestones) and on wsrep API 25.10 (including fixes in 25.10),Percona XtraDB Cluster5.5.37-25.10is now the current stable release. All of Percona‘s software is open-source and free.
New Features:
- Percona XtraDB Clusternow supports stream compression/decompression with new xtrabackup-sstcompressor/decompressoroptions.
-
Garbd
init script and configuration files have been packaged forCentOSandDebian, in addition, inDebiangarbd
is packaged separately inpercona-xtradb-cluster-garbd-2.x
package. - New meta packages are now available in order to make thePercona XtraDB Clusterinstallationeasier.
- Debian/Ubuntudebug packages are now available for Galera and garbd.
- New SST options have been implemented:inno-backup-opts, inno-apply-opts, inno-move-optswhich pass options to backup, apply and move stages of
innobackupex
. - Initial configurable timeout, of 100 seconds, to receive a first packet via SST has been implemented, so that if donor dies somewhere in between, joiner doesn’t hang. Timeout can be configured with thesst-initial-timeoutvariable.
- The joiner would wait and not fall back to choosing other potential donor nodes (not listed inwsrep_sst_donor) by their state. This happened even when comma was added at the end. This fixes it for that particular case.
- Support for Query Cache has been implemented.
- Percona XtraDB Cluster packages are now available for Ubuntu 14.04.
Bugs Fixed:
- To avoid disabling Parallel Apply in case of
SAVEPOINT
orROLLBACK TO SAVEPOINT
thewsrep_cert_deps_distancewas set to1.0
at all times. Bug fixed#1277703. - First connection would hang after changing thewsrep_cluster_addressvariable. Bug fixed#1022250.
- When
gmcast.listen_addr
variable was set manually it did not allow node’s own address ingcomm
address list. Bug fixed#1099478. -
wsrep_sst_rsync
would silently fail on joiner whenrsync
server port was already taken. Bug fixed#1099783. - Server would segfault on
INSERT DELAYED
withwsrep_replicate_myisamset todue to unchecked dereference ofNULL
pointer. Bug fixed#1165958. - When
grastate.dat
file was not getting zeroed appropriately it would lead to RBR error during the IST. Bug fixed#1180791. - Due to the
Provides:
line inPercona XtraDB Cluster(which providesPercona-Server-server
), the commandyum install Percona-Server-server
would installPercona XtraDB Clusterinstead of the expectedPercona Server. Bug fixed#1201499. - Replication of partition tables without binlogging enabled failed, partition truncation didn’t work because of lack of TO isolation there. Bug fixed#1219605.
- Exception during group merge after partitioning event has been fixed. Bug fixed#1232747.
- Default value for
binlog_format
is nowROW
. This is done so thatPercona XtraDB Clusteris not started with wrong defaults leading to non-deterministic outcomes like crash. Bug fixed#1243228. -
CREATE TABLE AS SELECT
was not replicated, if the select result set was empty. Bug fixed#1246921. -
INSERT
would return deadlock instead of duplicate key on secondary unique key collision. Bug fixed#1255147. - Joiner node would not initialize storage engines if
rsync
was used for SST and the first view was non-primary. Bug fixed#1257341. - Table level lock conflict resolving was releasing the wrong lock. Bug fixed#1257678.
- Resolved the perl dependencies needed forPercona XtraDB Cluster5.5. Bug fixed#1258563.
- Obsolete dependencies have been removed fromPercona XtraDB Cluster. Bug fixed#1259256.
- GCache file allocation could fail if file size was a multiple of page size. Bug fixed#1259952.
- Percona XtraDB Clusterdidn’t validate the parameters ofwsrep_provider_optionswhen starting it up. Bug fixed#1260193.
- Runtime checks have been added for dynamic variables which are Galera incompatible. Bug fixed#1262188.
- Node would get stuck and required restart if DDL was performed after
FLUSH TABLES WITH READ LOCK
. Bug fixed#1265656. - xtrabackup-v2is now used as default SST method inwsrep_sst_method. Bug fixed#1268837.
-
FLUSH TABLES WITH READ LOCK
behavior on the same connection was changed to conform toMySQLbehavior. Bug fixed#1269085. - Read-only detection has been added in
clustercheck
, which can be helpful during major upgrades (this is used byxinetd
forHAProxyetc.) Bug fixed#1269469. - Binary log directory is now being cleanup as part of the XtraBackup SST. Bug fixed#1273368.
- Deadlock would happen when
NULL
unique key was inserted. Workaround has been implemented to supportNULL
keys, by using themd5
sum of full row as key value. Bug fixed#1276424.
This release contains almost 100 fixed bugs, complete list of fixed bugs can be found in ourrelease notes.
Please see the5.5.37-25.10 releases notesfor complete details on all of the new features and bug fixes. Help us improve quality by reporting any bugs you encounter using ourbug tracking system. As always, thanks for your continued support of Percona!
Percona XtraDB ClusterErratacan be found in our documentation.

mysqloffersvariousStorageengines,每個suitedfordferentusecases:1)InnodBisidealForapplicationsNeedingingAcidComplianCeanDhighConcurncurnency,supportingtransactionsancions and foreignkeys.2)myisamisbestforread-Heavy-Heavywyworks,lackingtransactionsactionsacupport.3)記憶

MySQL中常見的安全漏洞包括SQL注入、弱密碼、權限配置不當和未更新的軟件。 1.SQL注入可以通過使用預處理語句防止。 2.弱密碼可以通過強制使用強密碼策略避免。 3.權限配置不當可以通過定期審查和調整用戶權限解決。 4.未更新的軟件可以通過定期檢查和更新MySQL版本來修補。

在MySQL中識別慢查詢可以通過啟用慢查詢日誌並設置閾值來實現。 1.啟用慢查詢日誌並設置閾值。 2.查看和分析慢查詢日誌文件,使用工具如mysqldumpslow或pt-query-digest進行深入分析。 3.優化慢查詢可以通過索引優化、查詢重寫和避免使用SELECT*來實現。

要監控MySQL服務器的健康和性能,應關注系統健康、性能指標和查詢執行。 1)監控系統健康:使用top、htop或SHOWGLOBALSTATUS命令查看CPU、內存、磁盤I/O和網絡活動。 2)追踪性能指標:監控查詢每秒數、平均查詢時間和緩存命中率等關鍵指標。 3)確保查詢執行優化:啟用慢查詢日誌,記錄並優化執行時間超過設定閾值的查詢。

MySQL和MariaDB的主要區別在於性能、功能和許可證:1.MySQL由Oracle開發,MariaDB是其分支。 2.MariaDB在高負載環境中性能可能更好。 3.MariaDB提供了更多的存儲引擎和功能。 4.MySQL採用雙重許可證,MariaDB完全開源。選擇時應考慮現有基礎設施、性能需求、功能需求和許可證成本。

MySQL使用的是GPL許可證。 1)GPL許可證允許自由使用、修改和分發MySQL,但修改後的分發需遵循GPL。 2)商業許可證可避免公開修改,適合需要保密的商業應用。

選擇InnoDB而不是MyISAM的情況包括:1)需要事務支持,2)高並發環境,3)需要高數據一致性;反之,選擇MyISAM的情況包括:1)主要是讀操作,2)不需要事務支持。 InnoDB適合需要高數據一致性和事務處理的應用,如電商平台,而MyISAM適合讀密集型且無需事務的應用,如博客系統。

在MySQL中,外鍵的作用是建立表與表之間的關係,確保數據的一致性和完整性。外鍵通過引用完整性檢查和級聯操作維護數據的有效性,使用時需注意性能優化和避免常見錯誤。


熱AI工具

Undresser.AI Undress
人工智慧驅動的應用程序,用於創建逼真的裸體照片

AI Clothes Remover
用於從照片中去除衣服的線上人工智慧工具。

Undress AI Tool
免費脫衣圖片

Clothoff.io
AI脫衣器

Video Face Swap
使用我們完全免費的人工智慧換臉工具,輕鬆在任何影片中換臉!

熱門文章

熱工具

記事本++7.3.1
好用且免費的程式碼編輯器

SAP NetWeaver Server Adapter for Eclipse
將Eclipse與SAP NetWeaver應用伺服器整合。

ZendStudio 13.5.1 Mac
強大的PHP整合開發環境

MantisBT
Mantis是一個易於部署的基於Web的缺陷追蹤工具,用於幫助產品缺陷追蹤。它需要PHP、MySQL和一個Web伺服器。請查看我們的演示和託管服務。

PhpStorm Mac 版本
最新(2018.2.1 )專業的PHP整合開發工具