Get in Touch

Course Outline

Introduction

  • Overview of PostgreSQL features and architecture.
  • Python programming fundamentals.
  • Advantages of using PostgreSQL with Python.

Getting Started

  • Installing PostgreSQL.
  • Installing Python, Django, or Flask.
  • Installing psycopg2.
  • Connecting to PostgreSQL with Python.

Python and SQL Operations

  • The basics of the SQL language.
  • Database schema and tables.
  • Writing Python queries.
  • Creating tables.
  • Inserting data.
  • Manipulating data.
  • Using the limit clause.
  • Joining tables.
  • Full-text search.
  • Working with SQLite.
  • Examples of Python applications.

Advanced PostgreSQL with Python

  • Table inheritance.
  • Nested transactions.
  • User-defined types.
  • VIEWS, HAVING, DISTINCT.
  • Working with dates and times.
  • Multi-version concurrency control (MVCC).
  • Charts, graphs, and reports using matplotlib.

Administration and Security

  • PostgreSQL data safety.
  • Restricting access using a whitelist.
  • Implementing replication.
  • Database migration.
  • Backup and restore.
  • Monitoring queries.
  • Performance tuning.
  • Preventing SQL injection attacks.

Troubleshooting

Summary and Next Steps

Requirements

  • Experience with PostgreSQL.
  • Experience with Python programming.

Audience

  • Developers.
  • Administrators.
 21 Hours

Testimonials (2)

Related Categories