PostgreSQL with Python Training Course
PostgreSQL (commonly referred to as Postgres) is an open-source relational database management system (RDBMS) designed to manage extensive data workloads. Python is a dynamic and versatile programming language capable of interacting with various databases, including MySQL, Oracle, and PostgreSQL.
This instructor-led live training (available online or onsite) is designed for developers and administrators who want to leverage PostgreSQL with Python to construct secure, reliable, and scalable applications.
Upon completion of this training, participants will be able to:
- Install, configure, and integrate PostgreSQL with Python.
- Refresh their knowledge of Python programming fundamentals.
- Grasp the advantages of combining PostgreSQL with Python.
- Perform basic SQL operations using Python.
- Utilise advanced PostgreSQL features with Python.
- Implement techniques for data safety, security, monitoring, and optimisation.
Course Format
- Interactive lectures and discussions.
- Extensive exercises and practical practice.
- Hands-on implementation in a live-lab environment.
Course Customisation Options
- For bespoke training requirements, please contact us to make arrangements.
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.
Need help picking the right course?
southafrica@nobleprog.co.za or +27 (0)10 005 5793
PostgreSQL with Python Training Course - Enquiry
Testimonials (2)
The provided examples and labs
Christophe OSTER - EU Lisa
Course - PostgreSQL Advanced DBA
1. A very well-structured training program 2. The warm atmosphere the trainer created, along with his outstanding personal professionalism 3. That the trainer explained everything as if he were talking to a complete beginner, without slipping into any technical jargon.
Piotr Romer - Asseco Poland S.A
Course - PostgreSQL Administration, Optimization and Replication
Related Courses
AI for Postgres
21 HoursPostgres serves as a robust open-source relational database foundation, capable of supporting AI-powered systems and advanced data intelligence applications.
This instructor-led live training, available either online or onsite, is tailored for database professionals and developers with intermediate skills who aim to integrate, manage, and optimise AI capabilities directly within Postgres.
Upon completion of this training, participants will be able to:
- Set up and configure Postgres extensions specifically for AI workloads.
- Implement embeddings and similarity search functionalities using pgvector.
- Integrate both open-source and proprietary Large Language Models (LLMs) with Postgres to gain real-time insights.
- Optimise Postgres to effectively handle AI-driven queries and workflows.
Course Format
- Interactive lectures and group discussions.
- Ample exercises and practical practice sessions.
- Hands-on implementation within a live-lab environment.
Customisation Options for the Course
- To request a tailored training session for this course, please contact us to arrange it.
AI for PostgreSQL: Enterprise-Grade Integration, Optimization & Governance
21 HoursPostgreSQL is a robust, open-source relational database that can be augmented with AI capabilities to enhance enterprise data intelligence, predictive analytics, and automation.
This instructor-led training (available online or onsite) targets intermediate to advanced data engineers, DBAs, and solution architects who wish to design, implement, and govern enterprise-grade AI systems leveraging PostgreSQL.
Upon completing this programme, participants will acquire the expertise to:
- Integrate AI models and vector search capabilities directly into PostgreSQL.
- Deploy AI-optimised architectures suited for high-volume enterprise workloads.
- Implement robust governance, auditing, and compliance measures for AI data pipelines.
- Leverage open-source and proprietary AI frameworks securely within PostgreSQL environments.
Course Format
- Interactive lectures and enterprise case discussions.
- Practical exercises and real-world labs.
- Hands-on implementation in a live PostgreSQL environment.
Course Customization Options
- To request customized training for this course, please contact us to arrange.
Migrating Oracle to Azure SQL or PostgreSQL
7 HoursThis instructor-led, live training in Botswana (online or in-person) is aimed at database administrators and cloud architects who wish to migrate Oracle databases to Azure SQL or PostgreSQL.
By the end of this training, participants will be able to:
- Compare Azure SQL with PostgreSQL to choose the database that best meets business objectives and needs.
- Prepare databases to move definitions, data, and procedures from Oracle to AzureSQL or PostgreSQL database system.
- Perform post-migration steps to test, optimize, update, and maintain a migrated database.
PostgreSQL AI
14 HoursThis course explores the foundational aspects of PostgreSQL server extensions and libraries designed to integrate artificial intelligence techniques into database systems. Key topics include semantic and similarity searches using embedding vectors, Text-to-SQL querying, and Retrieval-Augmented Generation (RAG). Participants will acquire skills to install PgVector and PgAI, generate and load vector embeddings, construct vector indexes, implement semantic search and RAG capabilities, and develop Text-to-SQL applications using LangChain with Python or JavaScript. Practical demonstrations and hands-on exercises will reinforce core concepts and technical proficiency.
PostgreSQL Advanced - Performance Management
14 HoursThis practical course centres on the hands-on aspects of performance tuning in PostgreSQL. Participants will acquire skills in analysing query execution, optimising indexing, fine-tuning memory and system parameters, and effectively monitoring workloads. Through real-world scenarios and live exercises, attendees will learn how to identify and resolve bottlenecks at both the database and system levels.
PostgreSQL Administration and Development
28 HoursThis programme covers the administration and performance optimisation of PostgreSQL databases. Participants will gain expertise in utilising specialised PostgreSQL (also known as Postgres) modules, including replication, connection pooling, and full-text searching.
PostgreSQL Server Administration
14 HoursPostgreSQL Essentials
14 HoursThis training programme is tailored for Database Administrators and Architects seeking to master PostgreSQL from the ground up.
Participants will gain comprehensive knowledge of PostgreSQL architecture, installation procedures, design principles, and techniques for performing database backups and recoveries within the PostgreSQL environment.
PostgreSQL Advanced DBA
14 HoursThis training programme is tailored for Database Administrators and Architects seeking to master the tools and techniques required for implementing Backups, High Availability, and Database Security within PostgreSQL.
Participants will also learn how to identify slow queries, monitor database performance, and tune PostgreSQL for optimal performance.
Implementing High Availability in PostgreSQL
7 HoursThis course is tailored for Database Administrators and Architects aiming to master Streaming Replication within PostgreSQL. It demonstrates how pgpool-II facilitates automatic failover mechanisms to establish a robust and highly available PostgreSQL Database Cluster.
PostgreSQL Performance Tuning
14 HoursThis programme is tailored for Database Administrators and Architects aiming to enhance PostgreSQL Database performance. Discover techniques to capture slow-running workloads and identify potential bottlenecks within queries. The course also addresses the critical parameters that require adjustment to achieve optimal efficiency.
PostgreSQL Administration, Optimization and Replication
35 HoursIn this instructor-led live training Botswana (onsite or remote), participants will explore the general and advanced aspects of PostgreSQL. The course covers administration, performance tuning, advanced development, and replication through a series of hands-on, live-lab exercises involving setup, configuration, testing, deployment, and troubleshooting.
By the end of this training, participants will be able to:
- Use advanced administration techniques to configure and manage a PostgreSQL server.
- Optimize the database and queries for maximum performance.
- Replicate and scale a PostgreSQL server.
PostgresAI at Enterprise Scale: Monitoring, Cloning & AI-Driven Operations
21 HoursPostgresAI is a platform that enables database teams to clone, test, and optimise PostgreSQL environments using AI-driven automation.
This instructor-led, live training (online or onsite) is aimed at advanced-level DevOps professionals and database engineers who wish to implement PostgresAI at enterprise scale for database monitoring, cloning, and AI-driven optimisation.
By the end of this training, participants will be able to:
- Deploy and configure PostgresAI in enterprise environments.
- Integrate PostgresAI with CI/CD pipelines and PostgreSQL clusters.
- Leverage AI-driven insights for query optimisation and performance tuning.
- Implement governance, auditing, and data privacy controls for cloned environments.
Format of the Course
- Interactive lecture and discussion.
- Lots of exercises and practice.
- Hands-on implementation in a live-lab environment.
Course Customization Options
- To request a customized training for this course, please contact us to arrange.
PostgreSQL for Developers
14 HoursThis course focuses on programmatically interacting with PostgreSQL databases. Participants will master the techniques, syntaxes, and structures required to build high-quality applications using a PostgreSQL backend. The training also addresses SQL Tuning, outlining best practices for crafting efficient SQL queries.
The target audience comprises developers who wish to use or extend PostgreSQL, as well as database architects.
PostgreSQL Advanced: Replication and High Availability (RepMgr, PgPool-II)
14 HoursThis course delivers comprehensive insights into replication, high availability, and cluster management within PostgreSQL. Participants will construct and oversee multi-node environments, set up automated failover mechanisms, and examine load balancing and connection pooling options. The curriculum features practical replication labs and disaster recovery simulations.