Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying AI-Ready PostgreSQL 18
  • Table Of Contents Toc
AI-Ready PostgreSQL 18

AI-Ready PostgreSQL 18

By : Vibhor Kumar, Marc Linster
close
close
AI-Ready PostgreSQL 18

AI-Ready PostgreSQL 18

By: Vibhor Kumar, Marc Linster

Overview of this book

In today’s data-first world, businesses need applications that blend transactions, analytics, and AI to power real-time insights at scale. Mastering PostgreSQL 18 for AI-Powered Enterprise Apps is your essential guide to building intelligent, high-performance systems with the latest features of PostgreSQL 18. Through hands-on examples and expert guidance, you’ll learn to design architectures that unite OLTP and OLAP, embed AI directly into apps, and optimize for speed, scalability, and reliability. Discover how to apply cutting-edge PostgreSQL tools for real-time decisions, predictive analytics, and automation. Go beyond basics with advanced strategies trusted by industry leaders. Whether you’re building data-rich applications, internal analytics platforms, or AI-driven services, this book equips you with the patterns and insights to deliver enterprise-grade innovation. Ideal for developers, architects, and tech leads driving digital transformation, this book empowers you to lead the future of intelligent applications. Harness the power of PostgreSQL 18—and unlock the full potential of your data.
Table of Contents (28 chapters)
close
close
Lock Free Chapter
1
Part 1: Introducing PostgreSQL and Setting the Stage
5
Part 2: Creating Transactional Applications
11
Part 3: Creating Analytical Applications
18
Part 4: Using PostgreSQL as an AI Platform
27
Index

PostgreSQL indexes

The prior section reviewed the most important PostgreSQL data types, how to use them, and when to choose them. This section discusses PostgreSQL indexes, how they work, and which indexes to choose for which type of workload.

Overview

Database indexes accelerate the retrieval of data from disk and from memory. PostgreSQL stores data in 8k blocks, and it is the index's role to quickly identify the relevant 8k block(s) that contains the data to be read or modified.

PostgreSQL provides several types of indexes, each with specific strengths and recommended use cases:

  • B-tree (Balanced Tree) is focused on equality and range queries, and it is the only index that can be used to create an ordered output. It is used by default for primary keys and is the default index when no other index type is mentioned.
  • Hash indexes use a 32-bit hash; it is very fast, but it can only be used for equality comparisons.
  • GIN (Generalized Inverted Index...
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
AI-Ready PostgreSQL 18
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon