No Picture
MinervaDB

How Materialised Views work in PostgreSQL?

Materialized views in PostgreSQL are useful when you have frequently used queries that are complex, slow, or involve large amounts of data. In such cases, creating a materialized view can significantly improve query performance. A […]

No Picture
MinervaDB

How invisible indexes in MySQL 8 works?

In MySQL 8, invisible indexes are a feature that allows you to create an index without it being used by the optimizer. This can be useful in situations where you want to test the impact […]

No Picture
MinervaDB

Tuning Process Global Area in PostgreSQL

In PostgreSQL, the process global area (PGA) is managed by the server’s memory allocator and is used to store data structures associated with each client’s session, such as query plans and sorts. To tune the […]

No Picture
MinervaDB

What does a COMMIT do internally to PostgreSQL?

In PostgreSQL, a COMMIT statement is used to finalize a transaction and make its changes permanent in the database. When a COMMIT statement is executed, the following things happen internally in PostgreSQL: After a transaction […]

No Picture
MinervaDB

Why SELECT * from is bad for SQL performance?

Using SELECT * can be bad for SQL performance for several reasons, including the following: Overall, it is best practice to only select the columns that are needed for a query, rather than using SELECT […]