Remove articles how-to-generate-scripts-of-database-objects-in-sql
article thumbnail

PostgreSQL Indexes Can Hurt You: Negative Effects and the Costs Involved

Percona

Indexes are generally considered to be the panacea when it comes to SQL performance tuning, and PostgreSQL supports different types of indexes catering to different use cases. I keep seeing many articles and talks on “tuning” discussing how creating new indexes speeds up SQL but rarely ones discussing removing them.

Tuning 123
article thumbnail

Fundamentals of table expressions, Part 10 – Views, SELECT *, and DDL changes

SQL Performance

The code that I’ll be using in this article can be executed in any database, but in my demos, I’ll be using TSQLV5—the same sample database that I used in previous articles. You can find the script that creates and populates TSQLV5 here , and its ER diagram here. V1 ; DROP TABLE IF EXISTS dbo. CREATE TABLE dbo.

Code 117
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

In Part 1 and Part 2 of this series, I covered the logical, or conceptual, aspects of named table expressions in general, and derived tables specifically. In my coverage of the physical treatment of named table expressions in the series I focus on the treatment in Microsoft SQL Server and Azure SQL Database.

C++ 109
article thumbnail

Fundamentals of Table Expressions, Part 12 – Inline Table-Valued Functions

SQL Performance

This article is the twelfth part in a series about named table expressions. In my examples I’ll use a sample database called TSQLV5. You can find the script that creates and populates it here and its ER diagram here. What Is an Inline Table-Valued Function? < table expression > [ ; ]. An Example.

Cache 144
article thumbnail

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

SQL Performance

In Part 1 and Part 2 of this series, I covered the logical, or conceptual, aspects of named table expressions in general, and derived tables specifically. In my coverage of the physical treatment of named table expressions in the series I focus on the treatment in Microsoft SQL Server and Azure SQL Database.

C++ 93
article thumbnail

New Metadata-Only Column Changes in SQL Server 2016

SQL Performance

Ultimately, tables are stored as a sequence of bytes with some metadata elsewhere in the system to describe what each of those bytes mean, and how they relate to each of the table's various columns. Improvements in SQL Server 2016. ALTER COLUMN command is very powerful. Metadata-Only Changes.

Servers 63
article thumbnail

How We Optimized Performance To Serve A Global Audience

Smashing Magazine

How We Optimized Performance To Serve A Global Audience How We Optimized Performance To Serve A Global Audience Liran Cohen 2023-08-03T10:00:00+00:00 2023-08-03T13:06:00+00:00 I work for Bookaway , a digital travel brand. It was only in 2020, though, that Google shared its concept of Core Web Vitals and how it impacts SEO efforts.