PostgreSQL Flashcards
What is PostgreSQL and what are some alternative relational databases?
an open source Relational Database management system. it is the most advanced open source databased of its kind. MongoDB, Redis, Neo4j (nosql)
What are some advantages of learning a relational database?
widely used (tim: they’re everywhere!) and make good data integrities (source: lecture)
when working with datas that are interconnected to each other. Something with relationship.
They provide good guarantees about data integrity.
Can store and modify data in a way that makes data corruption as unlikely as possible.
What is one way to see if PostgreSQL is running?
sudo service postgresql status also in top
What is a database schema?
defines how the data in a relational database should be organized. (collections of tables) => to build database (schema is like a blue print on how to make a table too)
What is a table?
is a list of rows each having the same set of attributes
What is a row?
row contains all the attributes/columns