MongoDB Archives - Percona Database Performance Blog Mon, 06 May 2024 13:17:22 +0000 en-US hourly 1 https://wordpress.org/?v=6.5.2 https://www.percona.com/blog/wp-content/uploads/2023/02/cropped-percona-favicon-32x32.png MongoDB Archives - Percona Database Performance Blog 32 32 76301791 Securing Your MongoDB Database: Essential Best Practices https://www.percona.com/blog/securing-your-mongodb-database-essential-best-practices/ https://www.percona.com/blog/securing-your-mongodb-database-essential-best-practices/#respond Mon, 06 May 2024 13:17:22 +0000 https://www.percona.com/blog/?p=96153 MongoDB offers powerful features and scalability, but like any database system, it has security challenges that must be addressed to protect sensitive data as well as comply with regulatory standards like GDPR, HIPAA, PCI DSS, and AM/ATF. A single breach can significantly impact a business, and failure to establish sufficient security measures can result in […]]]> https://www.percona.com/blog/securing-your-mongodb-database-essential-best-practices/feed/ 0 96153 Benchmarking MongoDB Performance on Kubernetes https://www.percona.com/blog/performance-implications-of-running-databases-in-kubernetes/ https://www.percona.com/blog/performance-implications-of-running-databases-in-kubernetes/#respond Fri, 26 Apr 2024 12:46:44 +0000 https://www.percona.com/blog/?p=96016 Cloud-native databases are becoming the norm, and containerized databases are a common trend (see the report from Dynatrace and Figure 1). Kubernetes—the de facto standard for platform engineers—and operators simplify database deployment and management. But what are the performance implications of running databases in Kubernetes? To answer this question, we compared the performance of Percona Server for […]]]> https://www.percona.com/blog/performance-implications-of-running-databases-in-kubernetes/feed/ 0 96016 How to Improve Database Performance: The Ultimate Guide https://www.percona.com/blog/ultimate-guide-to-improving-database-performance/ https://www.percona.com/blog/ultimate-guide-to-improving-database-performance/#respond Thu, 18 Apr 2024 13:25:39 +0000 https://www.percona.com/blog/?p=95915 Welcome to the ultimate guide on how to boost your database performance! We’ve designed it to help you understand and improve the performance of your databases, regardless of your level of experience as a DBA or whether you manage databases for a small or large company.We’ll cover a number of very important topics, such as […]]]> https://www.percona.com/blog/ultimate-guide-to-improving-database-performance/feed/ 0 95915 MongoDB 4.4 EOL with 5.0 Not Far Behind https://www.percona.com/blog/mongodb-4-4-eol-with-5-0-not-far-behind/ https://www.percona.com/blog/mongodb-4-4-eol-with-5-0-not-far-behind/#respond Wed, 10 Apr 2024 14:52:44 +0000 https://www.percona.com/blog/?p=95596 February 2024 marked the end of life (EOL) of MongoDB 4.4.Another year, another EOL, is a fitting summary. Time goes by fast, and looking from this perspective, 5.0 is one we will soon also say goodbye to, as this year, 5.0 is also going EOL in October.Why is MongoDB 4.4 EOL significant?In case you and […]]]> https://www.percona.com/blog/mongodb-4-4-eol-with-5-0-not-far-behind/feed/ 0 95596 Querying Percona Operator for MongoDB Logs Using LogCLI https://www.percona.com/blog/querying-percona-operator-for-mongodb-logs-using-logcli/ https://www.percona.com/blog/querying-percona-operator-for-mongodb-logs-using-logcli/#respond Fri, 05 Apr 2024 15:08:36 +0000 https://www.percona.com/blog/?p=95653 With all the convenience Kubernetes operators provide in managing resources, it can still be a challenge to conveniently store, query, manage, and download the database logs from the pods. Since the pod logs are rotated after a certain period or size depending on the configuration and workload, it’s necessary to collect them to analyze for […]]]> https://www.percona.com/blog/querying-percona-operator-for-mongodb-logs-using-logcli/feed/ 0 95653 Percona Backup for MongoDB: Restore a Single Collection From Backup https://www.percona.com/blog/percona-backup-for-mongodb-restore-a-single-collection-from-backup/ https://www.percona.com/blog/percona-backup-for-mongodb-restore-a-single-collection-from-backup/#respond Thu, 04 Apr 2024 13:01:57 +0000 https://www.percona.com/blog/?p=95593 When you design a backup strategy, you need to think about the business requirements, as you will need to shape your backups to meet them. Let’s review the basics briefly; you need to define the RPO and RTO. The RPO stands for “Recovery Point Objective”, which means how far back you will be able to […]]]> https://www.percona.com/blog/percona-backup-for-mongodb-restore-a-single-collection-from-backup/feed/ 0 95593 MongoDB Log and the Message “RSM Not Processing Response” https://www.percona.com/blog/mongodb-log-and-the-message-rsm-not-processing-response/ https://www.percona.com/blog/mongodb-log-and-the-message-rsm-not-processing-response/#comments Wed, 03 Apr 2024 13:16:25 +0000 https://www.percona.com/blog/?p=95416 One of the most common tasks for database administrators is checking logs; you can either work directly with the file or process it using another tool. Either way, regularly checking the logs remains essential. Within this context, certain log messages occasionally begin to appear, yet, unfortunately, there isn’t much literature on some of them; that’s because […]]]> https://www.percona.com/blog/mongodb-log-and-the-message-rsm-not-processing-response/feed/ 1 95416 MongoDB Configuration 101: 5 Configuration Options That Impact Performance and How to Set Them https://www.percona.com/blog/mongodb-101-5-configuration-options-that-impact-performance-and-how-to-set-them/ https://www.percona.com/blog/mongodb-101-5-configuration-options-that-impact-performance-and-how-to-set-them/#comments Mon, 01 Apr 2024 07:00:15 +0000 https://www.percona.com/blog/?p=73502 This blog was published in January of 2021 and updated in April of 2024.As with any database platform, MongoDB performance is of paramount importance to keeping your application running quickly.  In this blog post, we’ll show you five configuration options that can impact the performance for your MongoDB Deployment and will help keep your database […]]]> https://www.percona.com/blog/mongodb-101-5-configuration-options-that-impact-performance-and-how-to-set-them/feed/ 2 73502 Using PAM with SASL in Percona Server for MongoDB https://www.percona.com/blog/using-pam-with-sasl-in-percona-server-for-mongodb/ https://www.percona.com/blog/using-pam-with-sasl-in-percona-server-for-mongodb/#respond Wed, 27 Mar 2024 14:03:47 +0000 https://www.percona.com/blog/?p=95210 Percona Server for MongoDB currently has several external authentication options, such as LDAP with SASL, LDAP, Kerberos, and AWS IAM. What is amazing is that SASL can authenticate with Pluggable Authentication Modules (PAM) too. This means that you still have additional external authentication options to choose from through PAM libraries.For a quick demonstration of PAM […]]]> https://www.percona.com/blog/using-pam-with-sasl-in-percona-server-for-mongodb/feed/ 0 95210 Stages of Index Build in MongoDB https://www.percona.com/blog/stages-of-index-build-in-mongodb/ https://www.percona.com/blog/stages-of-index-build-in-mongodb/#respond Mon, 25 Mar 2024 17:56:54 +0000 https://www.percona.com/blog/?p=95329 Indexes in MongoDB play a crucial role in improving the query performance and increasing the overall database efficiency. Without indexes, MongoDB will perform a collection scan, i.e., it will read all the documents to find if they match the condition specified in the query and cause low response time. Indexes help in navigating directly to […]]]> https://www.percona.com/blog/stages-of-index-build-in-mongodb/feed/ 0 95329 Analyzing Slow Queries After MongoDB 4.4 https://www.percona.com/blog/analyzing-slow-queries-after-mongodb-4-4/ https://www.percona.com/blog/analyzing-slow-queries-after-mongodb-4-4/#comments Thu, 14 Mar 2024 13:45:57 +0000 https://www.percona.com/blog/?p=95028 Before MongoDB 4.4, we had a tool to use to analyze slow queries from the log file called mplotqueries from mtools (thanks, Thomas Rueckstiess, for the tool and the inspiration).Mplotqueries is a great tool that helped analyze slow queries on MongoDB Community, Enterprise, and Percona for MongoDB versions. But when MongoDB 4.4 was released and […]]]> https://www.percona.com/blog/analyzing-slow-queries-after-mongodb-4-4/feed/ 1 95028 Using Percona Backup for MongoDB in Replica Set and Sharding Environments: Part Two https://www.percona.com/blog/using-percona-backup-for-mongodb-in-replica-set-and-sharding-environment-part-two/ https://www.percona.com/blog/using-percona-backup-for-mongodb-in-replica-set-and-sharding-environment-part-two/#respond Wed, 13 Mar 2024 13:47:39 +0000 https://www.percona.com/blog/?p=95062 In Using Percona Backup for MongoDB in Replica Set and Sharding Environment: Part One, I demonstrated a basic Percona Backup for MongoDB (PBM) setup under the Replica Set and Sharding environment. Now, here we will see some advanced stuff and other backup/restore options available with PBM.Let’s discuss each one.Taking backups on remote storage (AWS S3/Google […]]]> https://www.percona.com/blog/using-percona-backup-for-mongodb-in-replica-set-and-sharding-environment-part-two/feed/ 0 95062 Percona Backup for MongoDB 2.4.0: New User-Driven Improvements https://www.percona.com/blog/percona-backup-for-mongodb-2-4-0-new-user-driven-improvements/ https://www.percona.com/blog/percona-backup-for-mongodb-2-4-0-new-user-driven-improvements/#respond Tue, 05 Mar 2024 17:31:12 +0000 https://www.percona.com/blog/?p=94984 Those memes that were super popular a couple of years ago show how you, your family, friends, and boss see your job vs. what you actually do. “Making sure we’re doing the right things” — that’s a one-sentence catchphrase I tell my relatives when asked what is Product Management all about.With a tool like Percona […]]]> https://www.percona.com/blog/percona-backup-for-mongodb-2-4-0-new-user-driven-improvements/feed/ 0 94984 Using Percona Backup for MongoDB in Replica Set and Sharding Environments: Part One https://www.percona.com/blog/using-percona-backup-for-mongodb-in-replica-set-and-sharding-environment-part-one/ https://www.percona.com/blog/using-percona-backup-for-mongodb-in-replica-set-and-sharding-environment-part-one/#respond Wed, 21 Feb 2024 16:57:45 +0000 https://www.percona.com/blog/?p=94746 Backups are crucial for every database system, and having a reliable, fast, and hot backup is the demand for next-generation database systems. Percona Backup for MongoDB (PBM) is a backup management tool that enhances the existing backup capability of MongoDB by providing various layers of backups such as physical, logical, incremental, PITR, etc.In this blog […]]]> https://www.percona.com/blog/using-percona-backup-for-mongodb-in-replica-set-and-sharding-environment-part-one/feed/ 0 94746 Considering a MongoDB Migration? Why Percona Should Be Your First Choice https://www.percona.com/blog/considering-a-mongodb-migration-why-percona-should-be-your-first-choice/ https://www.percona.com/blog/considering-a-mongodb-migration-why-percona-should-be-your-first-choice/#respond Fri, 02 Feb 2024 15:00:06 +0000 https://www.percona.com/blog/?p=94148 As a DBA or database architect, you’re well-acquainted with the offerings of MongoDB Community Edition, MongoDB Enterprise, and MongoDB Atlas. Maybe you’re even thinking of jumping ship from your current database over to MongoDB – adventurous, aren’t you? If you are considering a MongoDB migration, before making a commitment to corporate MongoDB, it would be […]]]> https://www.percona.com/blog/considering-a-mongodb-migration-why-percona-should-be-your-first-choice/feed/ 0 94148 How to Run MongoDB on Kubernetes: Solutions, Pros and Cons https://www.percona.com/blog/run-mongodb-in-kubernetes-solutions-pros-and-cons/ https://www.percona.com/blog/run-mongodb-in-kubernetes-solutions-pros-and-cons/#respond Fri, 05 Jan 2024 10:00:08 +0000 https://www.percona.com/blog/?p=82065 This blog was originally published in August 2022 and was updated in January 2024.In this blog, we’ll examine the increasingly popular practice of deploying MongoDB on Kubernetes and explore various approaches to this setup. From direct deployments as a stateful application to utilizing specialized operators and considering cloud-based solutions, we’ll guide you through the key […]]]> https://www.percona.com/blog/run-mongodb-in-kubernetes-solutions-pros-and-cons/feed/ 0 82065 The Pros and Cons of Wildcard Indexes on MongoDB https://www.percona.com/blog/pros-and-cons-of-wildcard-indexes-on-mongodb/ https://www.percona.com/blog/pros-and-cons-of-wildcard-indexes-on-mongodb/#respond Fri, 22 Dec 2023 13:56:45 +0000 https://www.percona.com/blog/?p=92669 ​​MongoDB is a schemaless database that is extremely flexible. When you create a collection, you don’t have to specify a structure in advance, providing field names and data types. Just start inserting JSON documents, and MongoDB will store them, no matter which fields and data types you provide. As a consequence, a collection can store […]]]> https://www.percona.com/blog/pros-and-cons-of-wildcard-indexes-on-mongodb/feed/ 0 92669 Can You Trust AI Chatbots When Seeking Help With Databases? https://www.percona.com/blog/can-you-trust-ai-chatbots-when-seeking-help-with-databases/ https://www.percona.com/blog/can-you-trust-ai-chatbots-when-seeking-help-with-databases/#respond Thu, 14 Dec 2023 15:06:20 +0000 https://www.percona.com/blog/?p=92580 Will 2023 be called the year of Generative Artificial Intelligence (AI)? I don’t know, but certainly, the launching of ChatGPT at the end of 2022 sparked a huge hype explosion around that technology throughout this year. Interesting time indeed, we’re eyewitnesses to something that started changing our world.I played a bit with ChatGPT in February […]]]> https://www.percona.com/blog/can-you-trust-ai-chatbots-when-seeking-help-with-databases/feed/ 0 92580 Introducing Percona’s API for Faster Snapshot-Based Backup and Restore for Your MongoDB Environments https://www.percona.com/blog/introducing-percona-api-for-faster-snapshot-based-backup-and-restore-for-your-mongodb-environments/ https://www.percona.com/blog/introducing-percona-api-for-faster-snapshot-based-backup-and-restore-for-your-mongodb-environments/#respond Mon, 20 Nov 2023 14:37:53 +0000 https://www.percona.com/blog/?p=89963 Although the introduction of physical backups in Percona Backup for MongoDB (PBM) made it possible to significantly cut the restore time for big datasets, it’s hard to beat snapshots in speed and efficiency. That’s why we introduced external backups (aka snapshot-based backup API) in PBM 2.2.0The idea came from the requests to bring EBS snapshots […]]]> https://www.percona.com/blog/introducing-percona-api-for-faster-snapshot-based-backup-and-restore-for-your-mongodb-environments/feed/ 0 89963 Best Practices for a Seamless MongoDB Upgrade https://www.percona.com/blog/mongodb-upgrade-best-practices/ https://www.percona.com/blog/mongodb-upgrade-best-practices/#respond Thu, 02 Nov 2023 16:16:32 +0000 https://www.percona.com/blog/?p=91949 Ready to supercharge your MongoDB experience?MongoDB is a dynamic database system continually evolving to deliver optimized performance, robust security, and limitless scalability. Upgrading to the newest release of MongoDB is the key to unlocking its full potential, but it’s not as simple as clicking a button; it requires meticulous planning, precise execution, and a deep […]]]> https://www.percona.com/blog/mongodb-upgrade-best-practices/feed/ 0 91949