Remove c
article thumbnail

Missing Library: A pg_upgrade History

Percona

While working as a DBA, we perform many regular tasks, and one of them is upgrading our database systems. There are some techniques to perform a PostgreSQL database upgrade, such as data dump and import, logical replication, or in-site upgrade using pg_upgrade. for lib in $(psql -qtA pgbench -c"select extname||'.so'

C++ 83
article thumbnail

The Magic of PITR, pg_upgrade, and Logical Replication When Used Together for PostgreSQL Version Upgrades

Percona

Inspired by David’s insights, I embarked on a journey to explore logical replication from a different perspective – within the realm of on-premises server databases. Also, it is a helpful method for version upgrades since the target database can run on a different (minor or major) PostgreSQL version. to PostgreSQL v15.4.

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

PostgreSQL Parameters: Scope and Priority Users Should Know

Percona

This can be changed later using the pg_checksums utility, but that will be a painful exercise on a big database. cat /usr/lib/systemd/system/postgresql-14.service. That is where all “ALTER SYSTEM SET/RESET” commands keep the information. Database level setting All options discussed so far have a global scope.

Database 107
article thumbnail

How to Assess MySQL Performance

HammerDB

Among the different components of modern software solutions, the database is one of the most critical. Instead, focus on understanding what the workloads exercise to help us determine how to best use them to aid our performance assessment. We will not concern ourselves with the raw throughput of workload.

article thumbnail

HammerDB: Using MySQL 5.7 vs 8.0 to understand performance profiles

HammerDB

One of the most important concepts in analysing database performance is that of understanding scalability. When a system ‘scales’ it is able to deliver higher levels of performance proportional to the system resources available to it. In this example, we will compare MySQL 5.7.33 and MySQL 8.0.25 and MySQL 8.0.25

article thumbnail

The top 5 reasons to run your own database benchmarks

HammerDB

Some opinions claim that “Benchmarks are meaningless”, “benchmarks are irrelevant” or “benchmarks are nothing like your real applications” However for others “Benchmarks matter,” as they “account for the processing architecture and speed, memory, storage subsystems and the database engine.”

article thumbnail

Fundamentals of table expressions, Part 3 – Derived tables, optimization considerations

SQL Performance

The relational model and the standard querying language that is based on it are supposed to deal only with the conceptual aspects of the data and leave the physical implementation details like storage, optimization, access and processing of the data to the database platform (the implementation ). Persistency. Msg 230, Level 14, State 1.

C++ 109