Postgres offers set operators that make it easy to query and filter the results of searches from your database. Set operators are used to join…
View More set operators in PostgresCategory: Postgres
Postgres
How To Delete Duplicate Rows in PostgreSQL
Preparing sample data First, create a new table named carsthat stores fruits: CREATE TABLE cars( id SERIAL PRIMARY KEY, make VARCHAR(50) NOT NULL, model VARCHAR(50) NOT NULL );…
View More How To Delete Duplicate Rows in PostgreSQLIndexes in Postgresql
PostgreSQL Basic Index Terminology Before describing the types of indexes in PostgreSQL and their use, letβs take a look at some terminology that any DBA…
View More Indexes in PostgresqlQuery Performance in Postgres
What is Explain? EXPLAIN is a keyword that gets prepended to a query to show a user how the query planner plans to execute the…
View More Query Performance in PostgresScaling in Postgresql
Horizontal Scaling vs Vertical Scaling There are two main ways to scale our database… Horizontal Scaling (scale-out): Itβs performed by adding more database nodes creating…
View More Scaling in PostgresqlPostgres EXCLUSION Constraint
Exclusion constraints ensure that if any two rows are compared on the specified columns or expressions using the specified operators, at least one of these…
View More Postgres EXCLUSION ConstraintPostgres Data Types
PostgreSQL supports the following data types: Boolean Character types such as char, varchar, and text. Numeric types such as integer and floating-point number. Temporal types such as date, time, timestamp, and interval UUID for…
View More Postgres Data TypesDocker Postgres data from windows location
We can reach out postgres docker image volumes location windows: \wsl$\docker-desktop-data\version-pack-data\community\docker\volumes\
View More Docker Postgres data from windows locationpostgres random data generation
add words from linux.words.backup.fedora.standard Then, you can easily create a ton of no sense description BUT searchable using dictionary words with the following steps: 1)…
View More postgres random data generationDocker linux add sudoers, alias commit image
at docker cli with root user: #apt-get install sudo #usermod -aG sudo postgres #su – postgres postgres # sudo whoami Permanent Alias vim ~/.bashrc or…
View More Docker linux add sudoers, alias commit image