PostgreSQL: Finding Christmas presents
In this blog we are talking about KNN-search. KNN-search has been made for finding something close to what you are looking for.
effective_cache_size: Better set it right
effective_cache_size can have a serious impact on execution plans and change things dramatically. See what kind of difference it can make.
Operator classes explained
In this blog we are tallking about the topic operator class. We will show you some strategies for your database.
Common security issues prior to PostgreSQL 15
UPDATED July 2023: How to avoid security issues in PostgreSQL prior to v15 due to the public schema. Repair the problem.
Reducing space consumption
After digging through some customer source code yesterday I thought that it might be worth publishing a post about space consumption and enum types. It seems to be quite common to store status information as text fields. This is highly inefficient.
CREATE DOMAIN: Data type abstraction
In a procedural language such as C people will create typedefs & functions But what about data type abstraction in SQL?
Statistics are the rocket fuel behind performance. Learn to adjust histogram sizes for optimal performance results.
Reducing the impact of locking
(Bad) locking and low concurrency lead to poor performance results. Learn to minimize locking in PostgreSQL.
Per-tablespace storage parameters
A per-tablespace can be used to add more hardware to the system – but, is there some other way to make use of a tablespace? There is!
Sequences – transactional behavior
Creating and using sequences in PostgreSQL - Database sequences are database objects from which multiple users can generate unique numbers.