Tag: sql

Query Optimization in PostgreSQL. EXPLAIN Basics – Part 3

Database administration, Performance Tuning, PostgreSQL

I continue a series of articles on the basics of EXPLAIN in PostgreSQL, which is a short review of...
Read More

Query Optimization in PostgreSQL. EXPLAIN Basics – Part 2

Database development, PostgreSQL, Statements

In my previous article, we started to describe the basics of the EXPLAIN command and analyzed what happens in PostgreSQL when executing a...
Read More

Query Optimization in PostgreSQL. EXPLAIN Basics – Part 1

Database development, PostgreSQL, Statements

Why does it take so much time to execute a query? Why are there no indexes? Chances are you’ve heard about EXPLAIN in PostgreSQL....
Read More

Comparison of Tree Graphs

Computer Environment, Languages & Coding

When developing an information system that also includes various processing of design and...
Read More

Understanding Transactions in SQL

Database administration, Transaction Log • 2 Comments

A transaction in SQL is a unit of execution that groups one or more tasks together. A transaction is considered successful if all the tasks...
Read More

Oracle as Workaround of Mutating Tables

Computer Environment, Database development, Tables

The Oracle mutating trigger error occurs when a trigger references the table that owns the trigger, resulting in the “ORA-04091:...
Read More

Oracle Regular Expressions. Dangerous Range

Computer Environment, Database development, Statements

An Oracle developer who often uses regular expressions in code sooner or later can face a...
Read More

Don’t like database triggers? You just don’t know how to work with them!

Database development, Triggers

When designing large relational databases, we often make a decision to diverge from a normal form, i.e. denormalization. The reasons for...
Read More

Introducing Common Table Expressions in SQL Server

Database development, Tables

Common Table Expressions, or CTE for short, is simply a technique to create a temporary set of records that can be referenced within an...
Read More

Introduction to Temporary Tables in SQL Server

Database development, Tables • One Comment

A temporary table in SQL Server, as the name suggests, is a database table that exists temporarily...
Read More
Close