Which Oracle AI Database vector index is an in-memory neighbor graph?
- Exam domain
- Agentic AI for Oracle AI Database
- Difficulty
- Medium
- In this mock
- 5 questions on this domainPractise this domain
Why C is the answer
HNSW
Oracle supports two vector index categories: HNSW, the only in-memory neighbor graph index, and IVF, the only neighbor partition index.
Remember: In-memory graph: HNSW.
In detail
- HNSW: in-memory neighbor graph.
- IVF: neighbor partitions.
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. IVFWrong
IVF is a partition-based index.
B. B-treeWrong
B-tree indexes do not do vector similarity search.
C. HNSWRight
In-memory graph: HNSW.
D. BitmapWrong
Bitmap indexes are for low-cardinality columns.
Use case
An illustrative scenario, not a real incident.
Illustrative: a team uses HNSW for fast approximate search over product embeddings that fit in memory.
See it in different ways
mindmap
root(("Vector indexes"))
n1["HNSW"]
n2["In-memory neighbor graph"]
n3["IVF"]
n4["Neighbor partitions"]How to read this chart
- The centre is "Vector indexes".
- "HNSW" covers "In-memory neighbor graph".
- "IVF" covers "Neighbor partitions".
flowchart TD
Q{"Which structure?"}
Q -->|"Graph in memory"| A0["HNSW"]
Q -->|"Partitions"| A1["IVF"]How to read this chart
- At "Which structure?": if "Graph in memory", go to "HNSW"; if "Partitions", go to "IVF".