postgres-intro Flashcards

1
Q

What is PostgreSQL and what are some alternative relational databases?

A

PostgreSQL is a powerful, free, open source relational database management system (RDBMS). Alternative relational databases include MySQL, SQL Server by Microsoft, and Oracle by Oracle Corporation.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are some advantages of learning a relational database?

A

A relational database is a good choice for storing related data, such as data about students, teachers, and courses. A relational database can store and modify data in a way that makes data corruption highly unlikely. It allows developers to set up their database to reject bad data or data being “half written”.
Another major advantage of learning a relational database is that they use almost the same language (SQL language). So learning one relational database makes it easier to learn about the many other relational databases.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is one way to see if PostgreSQL is running?

A

Typing “top” in one terminal, then typing “sudo service postgresql status” in the other terminal.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly