David Cao

David Cao

David is a Cloud & DevOps Enthusiast. He has years of experience as a Linux engineer. He had working experience in AMD, EMC. He likes Linux, Python, bash, and more. He is a technical blogger and a Software Engineer. He enjoys sharing his learning and contributing to open-source.

3 ways to Check PostgreSQL Memory Usage: A Complete Guide

Monitoring memory consumption is a fundamental task for any PostgreSQL administrator. Unlike simple applications, PostgreSQL uses a sophisticated memory architecture that splits resources between a large shared pool and smaller, session-local areas for specific tasks like sorting and joining. Understanding…

3 ways To Install Docker in Ubuntu

Installing Docker on Ubuntu transforms your machine into a powerful virtualization host, allowing you to package software together with all its necessary dependencies. Whether you are setting up a local lab or a production server, Linux provides built-in package managers…

4 ways To Restart Network in Ubuntu

Restoring a dropped connection or applying a new configuration is a routine task for any Linux user. You might find yourself needing to restart the network after a change to your IP address, or perhaps your server has become unreachable…

4 ways to Create an Index in PostgreSQL

Indexes are essential tools for enhancing database performance, allowing the server to locate and retrieve specific rows significantly faster than scanning an entire table. By creating a structured path to your data, PostgreSQL can bypass repetitive row-by-row searches, which is…

how to create user in Postgresql – complete guide

In PostgreSQL, managing users effectively is more than just running a single command—it’s about setting up a secure, scalable hierarchy. Technically, PostgreSQL doesn’t distinguish between a “user” and a “group”; both are referred to as Roles. A User is simply…