• How to Check Running Queries in Postgres?

    How to Check Running Queries in Postgres?

    Hello! Monitoring running queries is important for monitoring performance issues and bottlenecks in the database. In this article we will talk about how to check running queries in Postgres and help you to understand pg_stat_activity catalog view. Keeping PostgreSQL database performance over a line is a database administrators primary job. Finding and understanding low performing…

  • How to Create View PostgreSQL?

    How to Create View PostgreSQL?

    Hello! Views are great for reporting purposes or refining access to sensitive data. In this article we will discuss how to create view PostgreSQL topic. Creating views in PostgreSQL can significantly enhance the manageability and security of your database by providing a virtual table representing a result set of a stored query. This feature is…

  • How to Check indexes on a Table in Postgres?

    How to Check indexes on a Table in Postgres?

    Hello! Hello in this article i will show you how to check indexes on a table in Postgres. In previous articles we discussed how to check column type in PostgreSQL. Indexes? What are they? A table is basically an ordered version of yellow pages. Think about example yellow pages which is not ordered alphabetically, but…

  • How to Create enum in PostgreSQL?

    Hello! Enums are very familiar concept for software developer, especially, C#, java and C++ developers. In this article we will discuss about how to create enum in PostgreSQL. What is an enum? PostgreSQL enum is a short format of enumerations, a data type of static set of values. Software developers use enums to save static…

  • How to Find High CPU Utilization Query in Postgresql

    How to Find High CPU Utilization Query in Postgresql

    It is important to know which queries are consuming your resources, that will help you to tune your system for the workload needed. In this article we will discuss how to find high CPU utilization query in PostgreSQL? High CPU utilization also causes other problems as well. High CPU utilization means one or more queries…

  • How to Update Multiple Columns in Postgresql?

    How to Update Multiple Columns in Postgresql?

    Hello! In this article we will discuss how to update multiple columns in PostgreSQL? This is a SQL developer question and usually considered as a beginner question. Updates in PostgreSQL UPDATE is a verb for updating values of rows. We use update to change values in a table. As a side note, just to mention…

  • PostgreSQL How to Check Column Type Using 3 Methods

    PostgreSQL How to Check Column Type Using 3 Methods

    A team mate left the job and you became the responsible for their systems, or you changed your job and trying to learn more about the systems. We all would need to understand column types. In this article i will show you postgresql how to check column type. Why Do We Need? If we takeover…

  • Postgresql Unlogged Table Performance

    Postgresql Unlogged Table Performance

    Hello! Logged tables log the changes to WAL before writing to table file, this IO requires additional time to complete operation. In this article we will discuss about postgresql unlogged table performance and make a comparison between those two options. Any insert or update will be logged to write ahead log before running in the…

  • Postgres Monitor Query Performance

    Postgres Monitor Query Performance

    Hello! Majority of DBAs and companies care about query performance and efficiency, and they are right. In this article we will talk about Postgres monitor query performance. Query Performance Change on a query performance is very important indicator of database condition, monitoring queries with highest costs is an important strategy for maintaining stable performance. Most…

  • Refresh Materialized View Concurrently Performance Effect

    Refresh Materialized View Concurrently Performance Effect

    Hello! It is a very common question, what is refresh materialized view concurrently performance effect? Let’s try to answer this question. What is a Materialized View? Let’s start with view. A view is a logical structure to gather data from different tables and return them as a virtual table. As said, a virtual table, which…