article thumbnail

Database Sharding and Its Challenges

DZone

Database sharding is a powerful technique employed to manage large databases more effectively. It involves partitioning a large database into smaller, more manageable parts, known as shards. The above diagram presents a visual representation of a sharded database.

Database 228
article thumbnail

Web Application Architecture: A Comprehensive Guide

DZone

An Overview of Web Application Architecture A web app architecture presents a layout with all the software components (such as databases, applications, and middleware) and how they interact with each other. It defines how the data is delivered through HTTP and ensures that the client-side server and the backend server can understand.

Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Trending Sources

article thumbnail

Percona Labs Presents: Infrastructure Generator for Percona Database as a Service (DBaaS)

Percona

Let’s look at how you can run Percona databases on Kubernetes, the easy way. Chances are that if you are using the latest Percona Monitoring and Management (PMM) version, you have seen the availability of the new Percona Database as a Service (DBaaS).

article thumbnail

Database Housekeeping in the New Year

Percona

Now it is time to get your databases ready for the rest of the year. If you replicate from one server to the next, are you replicating what you need? Take some to check how the server is being accessed, as you do not want a project to use the root access for all queries. Welcome to 2023! First, how are your backups?

article thumbnail

Why ORMs and Prepared Statements Can't (Always) Win

DZone

Modern languages and frameworks often also abstract away the need to write raw queries, offering high-level interfaces around our database models. Unfortunately, that's not enough to thwart away SQL injections once and for all, as these APIs can still present subtle bugs or nuances in their design.

article thumbnail

Identify Active Databases and Users in MySQL

Percona

Database administrators often need to identify inactive databases and users to save resources. This can be done using various methods to determine which databases and users are frequently accessed. We can save disk space and other resources by purging inactive databases and users.

article thumbnail

Don’t Start Using Your MySQL Server Until You’ve Configured Your OS

Percona

Whenever you install your favorite MySQL server on a freshly created Ubuntu instance, you start by updating the configuration for MySQL, such as configuring buffer pool, changing the default datadir director, and disabling one of the most outstanding features – query cache. This file is present in /proc/$pid/oom_score_adj.

Servers 109