Use, manage, and build secure and scalable databases with PostgreSQL 16
Luca Ferrari, Enrico Pirozzi

#SQL
#PostgreSQL
#psql
#data
#database
#DDL
#DBMS
🐘 یادگیری PostgreSQL 16 از صفر تا مباحث پیشرفته
🚀 این ویرایش جدید کمکت میکنه PostgreSQL رو از صفر و با جدیدترین نسخه یاد بگیری و دیدی کامل و متمرکز روی موضوعهایی مثل Configuration، پرفورمنس بالا، Partitioning، Backup، Server-Side Programming و Replication به دست بیاری.
✨ ویژگیهای کلیدی
🧠 مبانی PostgreSQL 16، از SQL Statementها گرفته تا Replication و Security رو یاد میگیری
🐳 با Docker Imageهای همراه کتاب، تمرینهای عملی انجام میدی و در پایان هر فصل با سؤالها و Testها میزان یادگیری خودت رو میسنجی
🛠️ با مثالها، Use Caseها و سناریوهای جدید و بهبودیافته برای موضوعهایی مثل Partitioning، Replication، Backup و Restore، Cluster Configuration و Monitoring کار میکنی
📘 توضیح کتاب
🐘 جدیدترین ویرایش این کتاب PostgreSQL کمکت میکنه استفاده از PostgreSQL رو کاملا از صفر شروع کنی و خیلی سریع با نحوه کار داخلی دیتابیس آشنا بشی. کتاب با ساختاری منظم و مثالهای عملی، مسیری رو از مبانی مثل SQL Statementها و اجرای برنامههای Server-Side تا Configuration، Management، Security و بهینهسازی پرفورمنس دیتابیس طی میکنه.
🧩 این ویرایش جدید فقط تغییرات اخیر اکوسیستم PostgreSQL رو پوشش نمیده، بلکه با مجموعه تازهای از مثالها عمیقتر وارد موضوعهایی مثل Partitioning و Replication میشه. برای هر فصل Docker Imageهایی هم ارائه شده تا تجربه یادگیری سریعتر و راحتتر بشه.
⚙️ کتاب از مبانی کاملا ابتدایی دیتابیس شروع میکنه و بعد به موضوعهای پیشرفتهای مثل Window Functionها، Logging، Auditing، گسترش قابلیتهای دیتابیس، Configuration، Partitioning و Replication میرسه.
🔄 همینطور یاد میگیری چطور سیستم دیتابیس فعلی خودت رو بدون دردسر به PostgreSQL مهاجرت بدی و یک فصل اختصاصی هم برای Disaster Recovery در نظر گرفته شده. در پایان هر فصل سؤالهای تمرینی وجود دارن تا در فاصلههای منظم میزان یادگیری خودت رو ارزیابی کنی.
🎯 تا پایان کتاب، میتونی PostgreSQL رو نصب، پیکربندی و مدیریت کنی و اپلیکیشنهایی بسازی که با یک دیتابیس PostgreSQL کار میکنن.
🎯 چیزهایی که یاد میگیری
🧠 درک عمیقتری از بخشهای داخلی PostgreSQL مثل Transactionها، MVCC، Security و Replication پیدا میکنی
🗃️ با جدیدترین قابلیتهای Partitioning در PostgreSQL، مدیریت داده رو بهتر میکنی
🔄 استراتژی Replication مناسب برای دیتابیس خودت رو انتخاب میکنی
🛠️ با مثالهای واقعی یاد میگیری چطور داده رو از دیتابیسهای دیگه مهاجرت بدی، Backup و Restore انجام بدی و PostgreSQL Installation خودت رو Monitor کنی
🔐 با Schemaها و User Privilegeها، Security و Compliance رو مدیریت میکنی
🧩 Database Functionها و Extensionهای سفارشی میسازی
⚙️ روی Server-Side Programming، Window Functionها و Triggerها مسلط میشی
👤 این کتاب برای چه کسانیه؟
🐘 کتاب Learning PostgreSQL 16 برای هر کسی مناسبه که میخواد PostgreSQL رو از صفر یاد بگیره.
📊 افرادی که قصد دارن اپلیکیشنهای قدرتمند Data Warehousing بسازن و دیتابیس رو با استفاده از جدیدترین قابلیتهای PostgreSQL برای High Availability و پرفورمنس بالا Scale کنن هم از این کتاب استفاده زیادی میبرن.
📌 داشتن دانش قبلی PostgreSQL ضروری نیست، اما انتظار میره با مفاهیم پایه دیتابیس آشنا باشی.
📖 فهرست مطالب
فصل ۱. مقدمهای بر PostgreSQL
فصل ۲. آشنایی با Cluster
فصل ۳. مدیریت کاربران و Connectionها
فصل ۴. Statementهای پایه
فصل ۵. Statementهای پیشرفته
فصل ۶. Window Functionها
فصل ۷. Server-Side Programming
فصل ۸. Triggerها و Ruleها
فصل ۹. Partitioning
فصل ۱۰. کاربران، Roleها و امنیت دیتابیس
فصل ۱۱. Transactionها، MVCC، WALها و Checkpointها
فصل ۱۲. گسترش دیتابیس. اکوسیستم Extensionها
فصل ۱۳. Query Tuning، Indexها و Performance Optimization
فصل ۱۴. Logging و Auditing
فصل ۱۵. Backup و Restore
فصل ۱۶. Configuration و Monitoring
فصل ۱۷. Physical Replication
فصل ۱۸. Logical Replication
فصل ۱۹. Toolها و Extensionهای کاربردی
👤 درباره نویسندگان
👨💻 لوکا فراری از دوران Commodore 64 به علوم کامپیوتر علاقهمند بوده و امروز مدرک کارشناسی ارشد با درجه ممتاز و PhD از University of Modena and Reggio Emilia داره.
📚 او چندین مقاله پژوهشی، مقاله فنی و فصل کتاب نوشته و در سال ۲۰۱۱ بهعنوان Adjunct Professor در Nipissing University منصوب شد.
🐧 لوکا از کاربران جدی Unix و حامی قدرتمند Open Source است و در اوقات فراغت با چند پروژه مختلف همکاری میکنه. آشنایی او با PostgreSQL به نسخه 7.3 برمیگرده و یکی از بنیانگذارها و رئیس سابق Italian PostgreSQL Community یا ITPUG بوده.
🎤 او بهطور منظم در کنفرانسها و رویدادهای فنی سخنرانی میکنه و دورههای آموزشی حرفهای هم برگزار میکنه.
👨💻 انریکو پیروتزی از ۱۳ سالگی به علوم کامپیوتر علاقهمند شد و اولین کامپیوتر او هم یک Commodore 64 بود. او امروز مدرک کارشناسی ارشد خودش رو از University of Bologna دریافت کرده.
🎤 انریکو بهعنوان سخنران در کنفرانسهای ملی و بینالمللی PostgreSQL حضور داشته و آشنایی او با این دیتابیس به نسخه 7.2 برمیگرده.
🌐 او یکی از همبنیانگذارهای اولین Mailing List ایتالیایی PostgreSQL و اولین وبسایت ایتالیایی PostgreSQL بوده و بهطور منظم در رویدادها و کنفرانسهای فنی سخنرانی و دورههای حرفهای برگزار میکنه.
🏢 انریکو در حال حاضر بهعنوان PostgreSQL Database Administrator در Nexteam، از Zucchetti Group S.p.A. فعالیت میکنه.
This new edition will help you learn PostgreSQL from scratch with the latest version, providing a complete focused view on aspects like configuration, high performance, partitioning, backup, server-side programming and replication.
The latest edition of this PostgreSQL book will help you to start using PostgreSQL from absolute scratch, helping you to quickly understand the internal workings of the database. With a structured approach and practical examples, go on a journey that covers the basics, from SQL statements and how to run server-side programs, to configuring, managing, securing, and optimizing database performance.
This new edition will not only help you get to grips with all the recent changes within the PostgreSQL ecosystem but will also dig deeper into concepts like partitioning and replication with a fresh set of examples. The book is also equipped with Docker images for each chapter which makes the learning experience faster and easier. Starting with the absolute basics of databases, the book sails through to advanced concepts like window functions, logging, auditing, extending the database, configuration, partitioning, and replication. It will also help you seamlessly migrate your existing database system to PostgreSQL and contains a dedicated chapter on disaster recovery. Each chapter ends with practice questions to test your learning at regular intervals.
By the end of this book, you will be able to install, configure, manage, and develop applications against a PostgreSQL database.
Learning PostgresSQL 16 book is for anyone interested in learning about the PostgreSQL database from scratch. Anyone looking to build robust data warehousing applications and scale the database for high-availability and performance using the latest features of PostgreSQL will also find this book useful. Although prior knowledge of PostgreSQL is not required, familiarity with databases is expected.
17: Physical Replication
18: Logical Replication
19: Useful Tools and Extensions
Luca Ferrari has been passionate about computer science since the Commodore 64 era, and today holds a master's degree (with honors) and a Ph.D. from the University of Modena and Reggio Emilia. He has written several research papers, technical articles, and book chapters. In 2011, he was named an Adjunct Professor by Nipissing University. An avid Unix user, he is a strong advocate of open source, and in his free time, he collaborates with a few projects. He met PostgreSQL back in release 7.3; he was a founder and former president of the Italian PostgreSQL Community (ITPUG). He also talks regularly at technical conferences and events and delivers professional training.
Enrico Pirozzi has been passionate about computer science since he was a 13-year-old, his first computer was a Commodore 64, and today he holds a master's degree from the University of Bologna. He has participated as a speaker at national and international conferences on PostgreSQL. He met PostgreSQL back in release 7.2, he was a co-founder of the first PostgreSQL Italian mailing list and the first Italian PostgreSQL website, and he talks regularly at technical conferences and events and delivers professional training. Right now, he is employed as a PostgreSQL database administrator at Nexteam (Zucchetti Group S.p.a.).









