Академический Документы
Профессиональный Документы
Культура Документы
What is PostgreSQL?
PostgreSQL is a advance, open source object-relational
database system (ORDBMS)
Data types
Functions
Operators
Aggregate functions
Index methods
If you dont like any part of the system, you can always develop a custom
plugin to enhance it to meet your requirements e.g., adding a new optimizer
PostgreSQL limits
Limit Value
Maximum Database Size Unlimited
Maximum Table Size 32 TB
Maximum Row Size 1.6 TB
Maximum Field Size 1 GB
Maximum Rows per Table Unlimited
Maximum Columns per Table 250 - 1600 depending on column types
Maximum Indexes per Table Unlimited
Advantages of PostgreSQL :
An open-source SQL standard compliant RDBMS:
Strong community:
Advantages of PostgreSQL :
Strong third-party support:
Extensible:
Disadvantages of PostgreSQL :
Performance:
Popularity:
Given the nature of this tool, it lacks behind in terms of popularity, despite
the very large amount of deployments - which might affect how easy it
might be possible to get support.
If all you require is fast read operations, PostgreSQL is not the tool to go
for.
Replication:
Unless you are willing to spend the time, energy and resources, achieving
replication with MySQL might be simpler for those who lack the database
and system administration experience.
PostgreSQL vs MySQL
mysql> CREATE TABLE cake (name VARCHAR(3));
Query OK, 0 rows affected (0.02 sec)
PostgreSQL vs MySQL
mysql> SELECT * FROM cake;
+------+
| name |
+------+
| pan |
+------+
1 row in set (0.03 sec)
PostgreSQL vs MySQL
testdb=# CREATE TABLE cake (name
VARCHAR(3));
CREATE TABLE
PgAdmin 4
Different data types
Syntax
Create functions instead of Procedures
https://www.postgresql.org/
www.postgresqltutorial.com/
https://www.tutorialspoint.com/postgresql/
https://pgexercises.com/
http://postgresguide.com/