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++ 84
article thumbnail

Deprecated features to take out of your toolbox – Part 3

SQL Performance

Let's create a simple database with a few tables: CREATE DATABASE BadIdeas ; GO. Here is a query to help you track them down using the sys.columns catalog view, but you're on your own for any explicit references that might exist in your application code: SELECT [ Schema ] = s. name , [ Column ] = c.

C++ 58
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

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.

C++ 109
article thumbnail

Overlooked T-SQL Gems

SQL Performance

In my examples I'll use a sample database called TSQLV5. You can find the script that creates and populates this database here , and its ER diagram here. As an exercise, try solving this task with a pre-SQL Server 2017 compatible solution where you cannot use TRIM and TRANSLATE. EOMONTH has a second parameter.

C++ 111
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.

C++ 93
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

SQL Mysteries: SQL Server Login Timeouts – A Debugging Story

SQL Server According to Bob

This means we are reading database pages from the master, acquiring locks, and making calls to the domain controller (DC/KDC.). The lack of wait_info* events is revealing because if we are waiting for a database read, lock or preemptive, external call for more than 5 seconds an event would have been logged. – -c the control file.

Servers 40