Showing entries 551 to 560 of 44803
« 10 Newer Entries | 10 Older Entries »
MySQL 8 utf8mb4_0900_ai_ci collation confusion

Recently I was asked a question: Why am I getting utf8mb4_0900_ai_ci as the default collation in MySQL 8, despite setting the server to use utf8mb4_general_ci? With the upgrade to MySQL…

The post MySQL 8 utf8mb4_0900_ai_ci collation confusion first appeared on Change Is Inevitable.

Enhancing Security and Compliance in Financial Services with MySQL Enterprise Edition

In the financial services sector, safeguarding sensitive customer data and ensuring compliance with an ever-evolving regulatory landscape are paramount. As cyber threats become increasingly sophisticated and regulations tighten, financial institutions must adopt robust solutions to protect their data and meet compliance requirements. MySQL Enterprise Edition offers a comprehensive suite of security features designed to address […]

Enhancing Security and Compliance in Financial Services with MySQL Enterprise Edition

This blog highlights how MySQL Enterprise Edition helps financial services companies enhance security and comply with regulations.

SQL Calculations #1

This was principally written for my SQL students but I thought it might be useful to others. SQL calculation are performed row-by-row in the SELECT-list. In its simplest form without even touching a table, you can add two literal numbers like this:

SELECT 2 + 2 AS result;

It will display the result of the addition to the column alias result as a derived table, or the following result:

+--------+
| result |
+--------+
|      4 |
+--------+
1 row in set (0.00 sec)

Unfortunately, the use of literal values as shown above doesn’t really let you see how the calculation is made row-by-row because it only returns one row. You can rewrite the two literal values into one variable by using a Common Table Expressions (CTEs). The CTE creates an struct tuple with only one x element. Another way to describe what the CTE does would say, it creates a derived table named struct with a single …

[Read more]
How to Change a Table Name in MySQL in Different Ways

Rename table operations are common. When business situations and business requirements change, it becomes necessary to change the name of tables in MySQL databases. This article will explore various methods of renaming MySQL tables and essential related issues.

The post How to Change a Table Name in MySQL in Different Ways appeared first on Devart Blog.

Exploring Kubernetes CPU Resources in View of Percona XtraDB Cluster’s Flow Control

Even though I used a dedicated Kubernetes cluster to host my test database, I had this belief that by not explicitly allocating (or requesting, in Kubernetes vocabulary) CPU resources to my Percona XtraDB Cluster (PXC) pods or yet making just a small request, Kubernetes could be delaying access to the free CPU cycles available on […]

MySQL Replication Monitoring : Enhanced Features for the Enterprise Edition

The latest update to MySQL Enterprise edition, version 9.1, introduces significant enhancements focused on replication monitoring. This update includes improvements to Group Replication Flow Control and the replication applier, providing users with better visibility and control over their replication performance, leading to potential long-term cost savings by ensuring efficient usage of their machine resources.

Some InnoDB Cluster troubleshooting commands

Different ways to get the status:

mysqlsh --login-path=icadmin -h$MYROUTER1 -- cluster status

mysqlsh --login-path=icadmin -h${HOSTNAME} --redirect-primary -- cluster status

mysqlsh icadmin:'P4ssw0rD'@db01:3306 -- cluster status --extended=0

mysqlsh icadmin@$MYROUTER1:3306 -- cluster status --extended=1

watch -n 5 “mysqlsh --login-path=icadmin -h$MYROUTER1 -- cluster status”

Set the Primary Instance (switching):

mysqlsh --login-path=icadmin -h${HOSTNAME} --redirect-primary -- cluster set_primary_instance "db01"

Obtaining MySQL InnoDB Cluster basics:

select cluster_id, cluster_name, description, cluster_type, primary_mode, clusterset_id from mysql_innodb_cluster_metadata.clusters;

Members of our cluster:

select * from performance_schema.replication_group_members order by MEMBER_ROLE;

Local & Remote Trans Q’s:

[Read more]
MySQL Replication Monitoring : Enhanced Features for the Enterprise Edition

For years, MySQL has been a cornerstone for businesses worldwide. Its ease of use and built-in data replication features have made it a perfect fit for creating high available databases. Moreover, it has made it possible to design and implement simple business continuity solutions based on live snapshots trough replication. As setups become more complex […]

BSE (Bombay Stock Exchange) Processes Billions of Transactions Daily with MySQL Enterprise Edition

BSE Limited (previously Bombay Stock Exchange) is Asia’s oldest stock exchange with a rich history of 150 years. It is the largest securities market with over 5,300 companies listed. BSE enables investors to trade equities, currencies, debt instruments, derivatives, and mutual funds. BSE Sensex represents 30 of India’s largest and most well-capitalized stocks and is […]

Showing entries 551 to 560 of 44803
« 10 Newer Entries | 10 Older Entries »