Community journal

The latest from the MySQL community

Ideas, releases, practical guides, and perspectives from the people building with MySQL.

Follow the feed
Showing entries 1 to 10 of 263 « Previous | Next »
Displaying posts with tag: Blog (reset)
Kiến thức lập trình web, PHP, MySQL cho người mới

Kiến thức lập trình web, PHP, MySQL cho người mới

Kiến thức lập trình web, PHP, MySQL và công cụ phát triển chính là nền móng chúng tôi luôn nhắc học viên nắm chắc trước khi gõ dòng code đầu tiên. Rất nhiều bạn mới học lao thẳng vào viết PHP mà bỏ qua bước chuẩn bị môi trường. Kết quả là máy không chạy được, cơ sở dữ liệu không kết nối, và cả buổi tối trôi qua chỉ để tìm một lỗi vặt. Đội ngũ chúng tôi đã đồng hành với khá nhiều bạn trẻ rơi vào đúng tình huống này. Trong bài viết hôm nay, chúng tôi muốn chia sẻ lại đúng những gì bên mình thường khuyên học viên chuẩn bị, trước khi bắt tay vào code thật sự.

Kiến thức lập trình web, PHP, MySQL và công cụ phát triển bắt đầu từ đâu Kiến thức lập trình web, PHP, MySQL và …

[Read more]
Kiến Thức Lập Trình Web, PHP, MySQL Cho Người Mới

Kiến Thức Lập Trình Web, PHP, MySQL Cho Người Mới

Kiến thức lập trình web, PHP, MySQL và công cụ phát triển là chủ đề chúng tôi hay được hỏi nhất. Rất nhiều bạn muốn tự học lập trình nhưng không biết bắt đầu từ đâu. Nên học công nghệ gì trước? Dùng công cụ nào để không lạc giữa hàng trăm tài liệu trên mạng? Trong bài này, đội ngũ chúng tôi chia sẻ lộ trình từng áp dụng khi hướng dẫn học viên mới. Lộ trình đi từ những bước sơ khai nhất. Cuối cùng, bạn sẽ tự tay dựng được một website hoàn chỉnh.

Vì sao PHP và MySQL vẫn là lựa chọn tốt để bắt đầu học lập trình web Vì sao PHP và MySQL vẫn là lựa chọn tốt để bắt đầu học lập trình web

Một trong những lý do khiến chúng tôi luôn khuyên người mới chọn PHP và …

[Read more]
Tối Ưu Chỉ Mục (Index) Trong MySQL Cho Dev PHP Mới

Tối ưu chỉ mục (index) trong MySQL là kiến thức cơ bản mà nhiều dev PHP mới hay bỏ qua. Có bạn dev mới ra trường nhắn tin kể cho chúng tôi về một buổi tối khá căng thẳng. Ứng dụng quản lý đơn hàng bạn viết chạy mượt suốt mấy tuần thử nghiệm với vài trăm bản ghi. Nhưng khi khách hàng thật bắt đầu dùng, dữ liệu tăng lên vài chục nghìn dòng. Trang danh sách đơn hàng bỗng dưng tải chậm tới mức khách phàn nàn. Bạn kiểm tra code PHP mãi không thấy lỗi gì. Tới khi một anh senior xem qua mới phát hiện câu truy vấn tìm đơn hàng theo mã khách chưa hề có chỉ mục. Điều này khiến MySQL phải quét qua toàn bộ bảng mỗi lần tìm kiếm. Đây là tình huống khá phổ biến ở nhiều dev PHP mới vào nghề. Chỉ mục trong MySQL là kiến thức nền tảng, nhưng lại thường bị …

[Read more]
Galera Cluster for MySQL 8.0.42-26.23 and 8.4.5-26.23 released

Codership is pleased to announce a new Generally Available (GA) release of the multi-master Galera Cluster for MySQL 8.0, consisting of MySQL-wsrep 8.0.42-26.23 (release notes, download), with Galera replication library 4.23 (release notes, download) implementing wsrep API version 26. It also includes Galera Cluster for MySQL 8.4, consisting of MySQL-wsrep 8.4.5-26.23 (release notes, …

[Read more]
Galera Cluster vs InnoDB Cluster in MySQL 8.4 – preamble for SHOOTOUT webinar 15th of April

MySQL 8.4 has two good options for High Availability clusters: Galera Cluster (and Percona XtraDB Cluster (PXC)) plus MySQL InnoDB Cluster. Both solutions are now mature enough, so what is the deciding factor? Workload characteristics, application compatibility (Galera is virtually synchronous; InnoDB Cluster offers 2 modes – single primary mode, which is one instance being read-write, with the rest being read only, and multi-primary mode, which is closer to what Galera Cluster is) and operational preferences, most likely will decide which one comes out top in 2025, is what we aim to answer at next week’s webinar.

Due to the lack of real-world usage statistics (we can tell you how many Galera Cluster downloads we have, for example, or even customer numbers, but we won’t have anything to compare against), we look at proxy statistics, like …

[Read more]
Galera Cluster for MySQL 8.0.41-26.22 and 8.4.4-26.22 released

Codership is pleased to announce a new Generally Available (GA) release of the multi-master Galera Cluster for MySQL 8.0, consisting of MySQL-wsrep 8.0.41-26.22 (release notes, download), with Galera replication library 4.22 (release notes, download) implementing wsrep API version 26. It also includes Galera Cluster for MySQL 8.4, consisting of MySQL-wsrep 8.4.4-26.22 (release notes, …

[Read more]
Rancher and Galera Cluster in the partner repository

If you’ve ever wanted to deploy Galera Cluster on Rancher by SUSE, you now can since Galera Cluster is a partner chart in their repository. This means Codership’s Galera Cluster is a SUSE Ready Verified partner. A direct link to the HELM charts for MySQL/Galera Cluster is here.

What is Rancher? Rancher is a Kubernetes management tool to deploy and run clusters anywhere and on any provider. Rancher can provision Kubernetes from a hosted provider, provision compute nodes and then install Kubernetes onto them, or import existing Kubernetes clusters running anywhere.

Rancher comes with very good …

[Read more]
Galera Cluster for MySQL 8.0.40-26.21, and MySQL 8.4.3-26.21 released

Codership is pleased to announce a new Generally Available (GA) release of the multi-master Galera Cluster for MySQL 8.0, consisting of MySQL-wsrep 8.0.40-26.21 (release notes, download), with Galera replication library 4.21 (release notes, download) implementing wsrep API version 26. It also includes Galera Cluster for MySQL 8.4, consisting of MySQL-wsrep 8.4.3-26.21 (release notes, …

[Read more]
Support for large transactions in Galera: Taking Streaming Replication for a spin

We have documented streaming replication, and we have also mentioned how you can use streaming replication, and we also once did a webinar with recording on it, and we wrote a very in-depth blog post on how to use streaming replication to manage large transactions with Galera Cluster.

However, we had a question recently about streaming replication around the usage of wsrep_trx_fragment_unit and wsrep_trx_fragment_size (also, well …

[Read more]
Deploying Galera Cluster on Kubernetes Webinar

Join us for an in-depth webinar where we introduce the new Helm Chart for Galera Cluster for MySQL, now available from Codership (read the blog).

In this session, we’ll guide you through the process of deploying a high-availability MySQL cluster using Galera Cluster on Kubernetes (live demo!). You’ll learn how Helm Charts can simplify Kubernetes application management, including installation and upgrades, while ensuring robust deployment automation.

This webinar is ideal for database administrators, DevOps engineers, and anyone looking to streamline their MySQL high availability deployments on Kubernetes, whether on cloud platforms like Amazon EKS, Google GKE, or on-premises solutions. We’ll cover best practices for configuration, deployment, and scaling of your Galera Cluster, and offer insights on how to …

[Read more]
« Previous | Next »