Oracle AI Vector Search

DBA to AI-DBA, Start your AI-DBA journey today...

  • Self-Paced Course

  • Learn at your own pace and comfort

  • Doubts clarification via discussion boards/mail/call/WhatsApp

  • Course Recordings with 1 year access

  • Downloadable Resources - Slides, Activity Guide

  • Recommended for busy/working professionals

About the Course

Starting with Oracle Database 23ai release, Oracle started embedding AI capabilities directly into Oracle Database.

One of the most important capability is Oracle AI Vector Search.

AI Vector Search is a new breakthrough technology to help find similar unstructured data based on their semantic content.

Traditionally, databases are good at querying structured data that is stored as strings, numbers and dates.

However, enterprises are facing an ever-increasing volumes of unstructured data such as documents, images, videos which databases traditionally have not been so good at querying.

And the reason for that is because these new types of data need to be searched based on their semantic content or its meaning, rather than the key words or pixels that make them up.

This is where Oracle AI Vector Search comes-in...

Oracle AI Vector Search can help extract value from all of our data assets - structured as well as unstructured data enabling ultra-sophisticated AI Search Applications.

In this course, you will leverage the key capability of Oracle Database 23ai to design and manage Artificial Intelligence (AI) workloads using the new Oracle AI Vector Data type and Vector Search feature.

You will learn how to create tables with vector data type, load data, and the query them based on semantics, rather than keywords. You will learn to perform semantic search on unstructured data by combining it with your relational data in one single system.

With hands-on practices, you'll be be able to reinforce the learning of the new AI Vector Search feature and its capabilities.

After completion this course, you should be able to:

  • Describe a Vector Database and the use cases for Vector databases like Oracle Database 23ai

  • Understand how Vector Databases work

  • Distinguish Vector database from the Traditional databases

  • Key Advantages of Vector Databases

  • Describe AI Vector Search features, benefits, and capabilities

  • Understand Oracle AI Vector Search Workflow

  • Run basic queries on vectors

  • Perform DML and DDL operations on vectors

  • Upload Vector Embedding Models into Oracle Database

  • Generate Vector Embeddings using AI Models

  • Store Embeddings in Oracle Tables

  • Create Vector Indexes

  • Use SQL Functions for Vector Operations

  • Perform Vector Search

After completing this course, you'll be able to equip yourself with future-proof skills in AI-powered data management, making you a valuable asset in the evolving tech landscape

Who can take this Course?

  • Oracle DBAs

  • Oracle Developers

  • AI Engineers

  • Cloud Developers

Course Curriculum

Course Overview

  • What you will Learn?

  • Audience

  • Benefits

  • Requirements

Overview of Vector Databases

  • What is Vector Database?

  • What are Vector Embeddings?

  • What is Vector Search?

  • Advantages of Vector Search

  • How does Vector Database work?

  • Difference between Vector Database and Traditional Database

  • Role of Vector Database in AI & ML application development

  • Examples of Vector Databases

Preparing the Practice Environment

  • Download and Import Pre-built VM

  • Perform Sanity Checks

  • Become Familiar with Practice Environment

Overview of Oracle Vector Search

  • Overview of Oracle AI Vector Search

  • Why use Oracle AI Vector Search

  • Oracle AI Vector Search Workflow

Becoming Familiar with Vector Data and Vector Operations

  • Creating Table with Vector Data Type Column

  • Inserting Vector Data

  • Selecting Vector Data

  • Perform DDL, DML Operations on Vector Data

  • Prohibited Operations

Generate Vector Embeddings

  • About Vector Generation

  • Import Pretrained Models in ONNX format

  • Access Third-party Models using REST APIs

Store Vector Embeddings

  • Create Tables using VECTOR Data Type

  • Insert Vectors into tables using INSERT statement

  • Load Vector Data using SQL*Loader

  • Unload and Load Vectors using Oracle Data Pump

Create Vector Indexes and Hybrid Vector Indexes

  • What are Vector Indexes?

  • Why Vector Index?

  • In-Memory Neighbor Graph Vector Index

  • Neighbor Partition Vector Index

  • Sizing the VECTOR POOL

  • Guidelines for using Vector Indexes

  • Hybrid Vector Indexes

  • When to use Hybrid Vector Index?

Use SQL Functions for Vector Operations

  • Vector Distance Functions

    • VECTOR_DISTANCE

    • L1_DISTANCE

    • L2_DISTANCE

    • COSINE_DISTANCE

    • INNER_PRODUCT

    • HAMMING_DISTANCE

    • JACCARD_DISTANCE

    • VECTOR

    • TO_VECTOR

    • VECTOR_NORM

    • VECTOR_DIMENSION_COUNT

    • VECTOR_DIMS

    • VECTOR_DIMENSION_FORMAT

  • Vector Distance Metrics

    • Euclidean and Euclidean Squared Distances

    • Cosine Similarity

    • Dot Product Similarity

    • Manhattan Distance

    • Hamming Distance

    • Jaccard Similarity

Query Data with Similarity and Hybrid Searches

  • Perform Exact Similarity Search

  • Perform Approximate Similarity Search using Vector Indexes

  • Perform Multi-Vector Similarity Search

  • Perform Hybrid Search

Course Recordings

Course Materials

Slides v7.0
  • 2.01 MB
Activity Guide v9.0
  • 1.07 MB

Vector Database General Concepts

What is Vector Database?
  • 34 mins
  • 26.5 MB
Preview
What are Vector Embeddings?
  • 22 mins
  • 17.1 MB
Preview
What is Vector Search?
  • 27 mins
  • 20.3 MB
Preview

Preparing the Practice Environment

Link to download Oracle Database 23ai pre-built VM
    Importing and Configuring the VM
    • 26 mins
    • 31.7 MB

    Overview of Oracle AI Vector Search

    Overview of Oracle AI Vector Search
    • 40 mins
    • 30.6 MB

    Storing Vector Embeddings

    About Storing Vector Embeddings
    • 22 mins
    • 17.6 MB
    Lab: Storing Vectors, Performing DDL & DML Operations on Vector Data
    • 41 mins
    • 42.9 MB

    Generating Vector Embeddings

    About Generating Vector Embeddings
    • 29 mins
    • 22 MB
    Lab Practice: Generating Embeddings within Database by importing pretrained ONNX models
    • 30 mins
    • 51.1 MB
    Lab Practice: Generating Embeddings using Third-Party Models leveraging Third-Party REST APIs
    • 25 mins
    • 34.9 MB
    Lab Practice: Generating Embeddings using Local REST Provider Ollama
    • 14 mins
    • 30.4 MB

    Vector Distance Functions and Metrics

    Overview of Vector Distance Functions and Metrics
    • 39 mins
    • 29.5 MB
    Lab Practice: Vector Distance Functions and Metrics
    • 18 mins
    • 21.9 MB

    Vector Indexes

    Overview of Vector Indexes
    • 49 mins
    • 37.3 MB
    Lab Practice: Creating Vector Indexes
    • 12 mins
    • 14 MB

    Similarity Search and Hybrid Search

    Exact Similarity Search
    • 13 mins
    • 9.54 MB
    Approximate Similarity Search
    • 6 mins
    • 4.6 MB
    Multi-Vector Similarity Search
    • 9 mins
    • 7.04 MB
    Hybrid Search
    • 6 mins
    • 4.69 MB
    Lab Practice: Vector Search
    • 11 mins
    • 13.7 MB