Course Overview
This course contains the use of artificial intelligence
Launched in 1996, PostgreSQL is an open-source DBMS maintained by the "PostgreSQL Global Development Group".
As it is open-source and completely free, PostgreSQL is widely used in companies around the world.
It is recommended that anyone who wants to invest in creating small to large systems use and apply the PostgreSQL database.
Some of the main features are:
Foreign keys;
More complex searches;
Robust and high-quality software with maintainable and well-commented code
Multiversion concurrency management;
Transactional integrity;
Performance, security and high availability
High accessibility;
Support for the hybrid object-relational model.
Views;
Triggers;
Text indexing;
Work with Artificial Intelligence directly with your PostgreSQL
Structured programming language in different languages for stored procedures, such as pgSQL, Python, Java, Perl, C, etc.; PostGIS data storage system, for Geographic Information System.
And it can be expanded by any user, gaining new tools such as: procedural languages, data types; functions; operators; aggregation functions; index methods, among others.
Because of its less restrictive license, this DBMS can be used, modified and distributed by any company and for any purpose (commercial, academic, personal) without having to pay any type of license or any other remuneration.
What surprises many people is that the PostgreSQL feature set is more comparable to that of Oracle Database or SQL Server than to MySQL or MariaDB itself.
The only connection between MySQL/MariaDB and PostgreSQL is that these two projects are open source;
In addition, the characteristics and philosophies of use are almost completely different.
In the early days, when PostgreSQL was still a research database, the focus was exclusively on new features.
But over the past few years, huge amounts of code have been rewritten and improved, and extensions have been provided to database administrators, more stable server software, and high availability for commercial use.
FAQ
FAQ area empty
Course curriculum
Chương 1 Introduction 1 bài · 9 phút
Chương 2 Environment Preparation 3 bài · 31 phút
Chương 3 First steps 6 bài · 1 giờ 17 phút
- Installing PostgreSQL on Rocky Linux Học thử 19:04
- Installing PostgreSQL on Windows Học thử 7:52
-
Using pgAdmin 13:00
-
The psql command 7:26
- Main psql commands Học thử 15:13
-
PostgreSQL Process Architecture 14:12
Chương 4 Learning SQL 16 bài · 2 giờ 22 phút
-
What is SQL and what is it for 8:16
-
Populating our database 4:23
-
Using the SELECT command 14:07
-
Using the SELECT command - part 2 13:53
-
Using the SELECT command - part 3 8:19
-
Using Order By 8:57
-
Table Joins 6:49
-
Working with multiple tables 9:23
-
Working with strings 10:19
-
Working with Numbers 7:02
-
Working with Numbers Part 2 6:52
-
Database Manipulation - INSERT 10:43
-
Database Manipulation - UPDATE 10:49
-
Database Manipulation - DELETE 3:54
-
Working with Constraints - Primary Key 10:42
-
Working with Constraints - Foreign Key 7:18
Chương 5 Database administration 10 bài · 2 giờ 5 phút
-
Configuration Files 11:38
-
Managing connections 5:01
-
Understanding Roles 10:22
-
Creating a database 5:33
-
Using Schemas 11:20
-
Privileges 14:41
-
Managing disk storage with Tablespaces 6:16
-
Using the ALTER SYSTEM command 19:38
-
Updating PostgreSQL versions 23:10
-
Multiple Postgres instances on the same host 17:30
Chương 6 Tables 8 bài · 1 giờ 37 phút
-
Tables 17:16
-
Managing temporary tables and EXISTS 8:04
-
Unlogged and TYPE OF Tables 7:58
-
Inserting and selecting data 15:46
-
NULL Values 7:50
-
Updating and removing data 11:22
-
Auto Increment with Serial 15:39
-
Sequences 12:43
Chương 7 Views 5 bài · 57 phút
-
Visions 13:34
-
Drop View 9:02
-
Updatable Views 13:22
-
Materialized Views 9:36
-
Recursive View 11:00
Chương 8 Complex queries 12 bài · 1 giờ 43 phút
-
Using the LIKE clause 6:59
-
Using DISTINCT 6:08
-
Using limit and offset 4:46
-
IN-NOT IN and EXISTS-NOT EXISTS subqueries 13:11
-
JOIN Commands 8:40
-
LEFT e RIGHT JOIN 7:19
-
FULL OUTER JOIN 9:01
-
CASE 13:21
-
COALESCE 11:11
-
NULLIF 10:50
-
BETWEEN e NOT BETWEEN 4:23
-
Concatenation with CONCAT and CONCAT_WS 6:51
Chương 9 Constraints 8 bài · 1 giờ 14 phút
-
Constraints 2:49
-
Constraints Check 11:38
-
UNIQUE Constraints 9:22
-
PRIMARY KEY Constraints 7:32
-
FOREIGN KEY Constraints 12:42
-
GENERATED AS IDENTITY 13:50
-
DEFAULT 9:56
-
NOT NULL with NOT VALID 6:40
Chương 10 Indexes 16 bài · 2 giờ 30 phút
-
CREATE INDEX 11:51
-
List and DROP Index 9:24
-
UNIQUE Index 7:35
-
Indexes on Expressions 6:42
-
Partial Index 5:43
-
Multicolumn Indexes 7:00
-
Creating a fuzzy search with pg_trgm 8:45
-
Understanding the EXPLAIN command 7:54
-
EXPLAIN ANALYZE 7:42
-
HypoPG Index 16:03
-
Table Partitioning 5:33
-
Interval Partitioning 10:22
-
Partitioning by lists and hashes 13:38
-
Using the BRIN index 7:03
-
Index FILLFACTOR 9:48
-
Using B-tree Skip Scan 14:54
Chương 11 Data types 17 bài · 2 giờ 50 phút
-
NUMERIC 7:39
-
CHAR, VARCHAR and TEXT 5:35
-
Boolean 6:37
-
Date 13:38
-
Timestamp 9:03
-
Interval 9:48
-
TIME 5:48
-
SERIAL 9:11
-
UUID 12:31
-
JSON 18:04
-
Hstore 16:37
-
Working with Matrices 5:55
-
Working with Range Types 10:23
-
Jsonb 4:22
-
Indexes for Jsonb 14:05
-
CREATE DOMAIN and TYPE 11:45
-
XML 9:11
Chương 12 Functions 4 bài · 1 giờ 1 phút
-
Introduction to function 18:44
-
Functions with FOR LOOP 18:58
-
Raise Notice 9:34
-
Working with operator classes 13:17
Chương 13 Aggregation functions 5 bài · 47 phút
-
Introduction to aggregation functions 13:37
-
AVG 11:51
-
ARRAY_AGG 5:36
-
COUNT 6:56
-
SUM 8:32
Chương 14 Window functions 6 bài · 50 phút
-
Introduction to Window Functions 11:37
-
RANK Function 9:47
-
DENSE_RANK Function 5:55
-
ROW_NUMBER Function 8:57
-
CUME_DIST Function 6:16
-
FIRST and LAST VALUE 7:27
Chương 15 Trigger 3 bài · 25 phút
-
Creating a trigger 12:21
-
ALTER TRIGGER 8:14
-
Enable-Disable Trigger 4:51
Chương 16 Full Text Search 6 bài · 1 giờ 42 phút
-
Introduction to Full Text Search 18:34
-
Working with tsvector 19:34
-
Using the RUM Index in Practice 13:37
-
Practical Comparison of GIN vs GiST vs RUM for Full Text Search 15:54
-
Speeding up the search process with pg_bigm 12:59
-
Full Text Search with PGroonga 21:50
Chương 17 Security 5 bài · 1 giờ 8 phút
-
Remote and secure authentication with SSL 11:20
-
User Restrictions 9:26
-
Implementing Row Level Security 14:32
-
Inspecting permissions 9:33
-
OAuth2 Authentication in PostgreSQL 22:40
Chương 18 Backup and Restore 6 bài · 1 giờ 31 phút
-
Understanding the Backup command 12:52
-
Restoration methods 10:05
-
Automated Backup on Linux 12:03
-
LZ4 and ZSTD Compression 7:44
-
Backup and Restore with pgBackRest 36:55
-
Backup and Restore with pgBackRest part2 11:35
Chương 19 Backup and Restore with PITR 7 bài · 1 giờ 44 phút
-
PITR Backup Preparations 6:08
-
Backing up PITR 16:20
-
Restoring WAL files 19:28
-
WAL Replication 7:47
-
Streaming in asynchronous mode 16:48
-
Streaming in synchronous mode 16:54
-
Backup and Restore with pg_hardstorage 20:06
Chương 20 Backup and Restore with Barman 5 bài · 1 giờ 25 phút
-
Barman backup preparations 6:39
-
Barman Installation 18:28
-
Installing Barman - part 2 15:40
-
Backup with Barman 16:06
-
Performing the restoration 27:58
Chương 21 Clustering in PostgreSQL with repmgr 6 bài · 1 giờ 15 phút
-
High availability with repmgr 4:20
-
First installations and configurations 19:30
-
Master Server Configuration 10:28
-
Standby Server Configuration 16:31
-
Witness Server Configuration 9:13
-
Changing the Primary Server 15:03
Chương 22 Transactions and blocking 12 bài · 2 giờ 5 phút
-
Working with Transactions 10:50
-
Working with SAVEPOINT and DDLs 8:38
-
Understanding the basics of blocking 15:39
-
Using FOR SHARE and FOR UPDATE 13:58
-
Understanding transaction isolation levels 7:18
-
Studying deadlocks and similar problems 5:43
-
VACUUM Theory 9:40
-
Running VACUUM in practice 6:29
-
Vacuum Monitoring 5:30
-
Running AUTOVACUUM 10:14
-
ACID in PostgreSQL 17:42
-
Locks in PostgreSQL 13:35
Chương 23 Stored procedures 11 bài · 1 giờ 27 phút
-
Working with PL-pgSQL 8:51
-
Managing scopes 8:38
-
Working with Cursor 6:16
-
Working with composite types 2:43
-
Working with triggers 12:46
-
Working with PL-Perl 9:10
-
Working with SPI 6:50
-
Working with PL-Python 10:34
-
Working with PROCEDURE 7:30
-
Working with Drop Procedure 4:37
-
Working with FETCH 8:49
Chương 24 Load Balance with HAProxy e PgBouncer 3 bài · 42 phút
-
Setup Presentation 6:07
-
HAProxy Settings 21:26
-
Installing PgBouncer 14:44
Chương 25 Load Balance with HAProxy and Patroni 7 bài · 1 giờ 58 phút
-
Presentation of the HA scenario 9:18
-
Initial database configurations 13:12
-
Configuring the etcd server 21:53
-
Installing haproxy 12:31
-
Configuring the patroni server 28:54
-
Performing failover and recovery tests 8:41
-
Setting up HA Zabbix 23:56
Chương 26 Advanced SQL Commands 12 bài · 2 giờ 6 phút
-
Dealing with GROUPING SETS 13:27
-
Aggregate functions of ordered sets 8:16
-
Working with Window Functions 11:19
-
Studying Windows Functions clauses 7:52
-
Studying the lead() and lag() functions 4:58
-
Studying the _value() and row_number() functions 4:34
-
Creating your own function with CREATE AGGREGATE 12:48
-
Working with WITH ORDINALITY 4:28
-
Using Common Table Expression CTE 16:10
-
Using Asynchronous I/O 20:03
-
Working with Temporal Constraints 10:30
-
Using Just-in-Time 11:20
Chương 27 HA com Citus Patroni e HAProxy 6 bài · 1 giờ 42 phút
-
Introduction to Citus 18:43
-
Initial database configurations 12:52
-
Configuring the etcd server 23:10
-
Configuring the patroni server 30:21
-
Installing haproxy 3:55
-
Performing basic performance tests 13:20
Chương 28 Extensions 19 bài · 4 giờ 35 phút
-
Using the adminpack module 7:19
-
Using the bloom module 4:55
-
Using the btree_gist and btree_gin extensions 4:12
-
Searching for files with file_fdw 4:40
-
Inspecting storage using pageinspect 4:07
-
Checking the Cache with pg_buffercache 5:07
-
Inspecting storage with pgstattuple 5:42
-
PostgreSQL Anonymizer 23:35
-
Accessing another PostgreSQL server with postgres_fdw 25:49
-
Accessing a MySQL server with mysql_fdw 24:31
-
Accessing PostgreSQL through LibreOffice 18:38
-
Using TimescaleDB 25:23
-
Protecting data with pgcrypto 17:46
-
Partition Manager with pg_partman 16:41
-
Using vector data with pgvector 30:45
-
Reorganizing tables in PostgreSQL with pg_repack 6:46
-
Recovering Deleted Data with pg_dirtyread 11:33
-
Using Crosstab with tablefunc 11:52
-
Advanced scheduling with pg_timetable 25:24
Chương 29 Monitoring 5 bài · 2 giờ 4 phút
-
Monitoring PostgreSQL with Zabbix 26:55
-
Log analysis with pgbadger 34:38
-
Monitoring with Prometheus and Grafana 27:19
-
Monitoring with Prometheus and Grafana part 2 12:06
-
Monitoring PostgreSQL security with Wazuh 22:40
Chương 30 Audit 3 bài · 56 phút
-
Configure Syslog and journald 15:44
-
Installing PG-Audit 18:16
-
Monitoring with Graylog 21:32
Chương 31 Artificial Intelligence - AI 3 bài · 42 phút
-
Using Artificial Intelligence in PostgreSQL with pgai 10:01
-
Using Artificial Intelligence in PostgreSQL with pgai part 2 18:00
-
Using Artificial Intelligence in PostgreSQL with pgai part 3 14:18
Chương 32 PostGIS 17 bài · 2 giờ 46 phút
-
What is PostGIS 7:19
-
Working with Buffer 11:12
-
Working with Polygons 13:58
-
Working with Raster in PostGIS 18:38
-
Installing QGIS 10:13
-
Working with GPS data 13:13
-
Measuring distances with the curvature of the Earth 7:52
-
GIS Analysis with Spatial Joins 6:33
-
Clipping geometries with ST_Intersection 8:01
-
Working with Topology 11:04
-
Working with k-Nearest Neighbor k-NN 11:03
-
Calculating Nearest Neighbors and Spatial Alignment in PostGIS 7:19
-
Working with Voronoi Diagrams 4:00
-
Working with pgRouting 3:31
-
Using Dijkstras Algorithm 9:01
-
Using OpenStreetMap 17:49
-
Calculating the Driving Distance Area 5:38
Requirment
-
Solid knowledge of Linux Ubuntu or RHEL/Rocky Linux
-
Knowledge of Python and SQL and programming logic is desirable.
Outcomes
-
Know and learn more about the PostgreSQL database
-
Using pgAdmin
-
Database administration
-
Backup and Restore
-
Using Artificial Intelligence in PostgreSQL
0 Student
1 Course
0 review