MyDumper 0.10.7 is Now Available
The new MyDumper 0.10.7 version, which includes many new features and bug fixes, is now available. You can download the code from here. For this release, we have added several features like WHERE...
View ArticleSharding With Zones Based on Compound Shard-Keys on MongoDB 4.4
This article was written with the main purpose of showing you how to determine zones on a shard when using compound shard keys. Defining Zones in Shards means pre-defining where certain chunks will be...
View ArticleMigrating Ownership of Your Stored Routines, Views, and Triggers in MySQL
“It would be nice to have an option, that would allow to suppress the DEFINER statement in the CREATE VIEW statements generated by mysqldump. This would help when transferring data structures between...
View ArticleRefining Shard Keys in MongoDB 4.4 and Above
A 1st Stab at Correcting Bad Shard Key Selections MongoDB is designed to scale and handle very large data sets. You can scale vertically in your replica sets by adding resources such as CPUs, RAM, and...
View ArticleAuthenticate Percona Server for MongoDB Users via Native LDAP
Percona Server for MongoDB supports two different ways of authenticating against an LDAP service: operating system libraries (aka Native LDAP) saslauthd (aka LDAP proxy) We’ve talked about the LDAP...
View ArticleMySQL/ZFS Performance Update
As some of you likely know, I have a favorable view of ZFS and especially of MySQL on ZFS. As I published a few years ago, the argument for ZFS was less about performance than its useful features like...
View ArticleStreaming MySQL Binlogs to S3 (or Any Object Storage)
Problem Statement Having backups of binary logs is fairly normal these days. The more recent binary logs are copied offsite, the better RPO (Recovery Point Objective) can be achieved. I was asked...
View ArticleHow To Recover Percona XtraDB Cluster 5.7 Node Without SST
The Problem State Snapshot Transfer can be a very long and expensive process, depending on the size of your Percona XtraDB Cluster (PXC)/Galera cluster, as well as network and disk bandwidth. There are...
View ArticlePerforming ETL Using Inheritance in PostgreSQL
Good database maintenance includes not only performing the standard adding, updating, and deleting records, etc., but periodic edits to the table schema too. Operations such as adding, editing, and...
View ArticleThe 1-2-3 for PostgreSQL Logical Replication Using an RDS Snapshot
We have several PostgreSQL versions that support logical decoding to replicate data changes from a source database to a target database, which is a cool and very powerful tool that gives the option to...
View ArticleMongoDB: Modifying Documents Using Aggregation Pipelines and Update Expressions
Updating documents on MongoDB prior to version 4.2 was quite limited. It was not possible to set values to a conditional expression, combine fields, or update a field based on the value of another...
View ArticlePostgreSQL PL/Java – A How-To, Part 1
We’ve recently received some questions regarding PL/Java and I found it hard to get clear instructions searching on the internet. It’s not that there is no good information out there, but most of it is...
View ArticlePercona Monthly Bug Report: July 2021
Here at Percona, we operate on the premise that full transparency makes a product better. We strive to build the best open-source database products, but also to help you manage any issues that arise in...
View ArticleImprove PostgreSQL Query Performance Insights with pg_stat_monitor
Understanding query performance patterns is essentially the foundation for query performance tuning. It, in many ways, dictates how a database cluster evolves. And then there are obviously direct and...
View ArticleImpact of Network and Cursor on Query Performance of PostgreSQL
Many times, we see PostgreSQL users getting confused about the query/statement duration reported in PostgreSQL logs. Other PostgreSQL tools like pgBadger present the same data based on the log file,...
View ArticlePostgreSQL PL/Java – A How-To, Part 2: How to Manipulate and Return Tuples
We discussed how to install and create a simple class in the first part of this series where we ran a SELECT and returned one row with one column with a formatted text. Now it’s time to expand and see...
View ArticlePros and Cons: When You Should and Should Not Use MongoDB
Quite often we see that the main operational storage is used in conjunction with some additional services, for example, for caching or full-text search. Another architecture approach using multiple...
View ArticleStoring JSON in Your Databases: Tips and Tricks For MySQL
Database architecture and design are becoming an increasingly lost art. With new technologies and the push towards faster development cycles, people continue to take shortcuts, often to the detriment...
View ArticleStoring JSON in Your Databases: Tips and Tricks For MySQL Part Two
JSON Structure, The Next Generation (Performance, Scale, and Fun) Now you know the basic JSON functionality available to you, as covered in part one of this series. Let’s look deeper into performance,...
View ArticlePerformance of Various EBS Storage Types in AWS
EBS storage type choices in AWS can be impacted by a lot of factors. As a consultant, I get a lot of questions about choosing the best storage type for a workload. Let me share a few examples. Is io2...
View Article