ladderlore
လမ်းညွှန် တောင်းဆိုရန်
  • S3 သို့မဟုတ် IAM လို service အမည်ကို ရိုက်ထည့်ပါ။

သဘောတရား · AIF-C01 အပေါ် ဆက်လေ့လာရန်

Choosing and configuring a vector store

Pick the vector store by scale, latency, cost, filtering and the stack you already run.

ဒီသင်ခန်းစာကို မြန်မာဘာသာ မပြန်ရသေးလို့ အင်္ဂလိပ်လို ပြထားပါတယ်။

AI Practitioner မှ သင်သိပြီးသားများ

  • A vector database finds items by meaning, which RAG uses to fetch passages.
  • OpenSearch can store embeddings and search them by similarity.
  • Aurora PostgreSQL can store vectors next to relational rows.
AI Practitioner သင်ခန်းစာကို ဖတ်ရန်
  • OpenSearch

    Fits when
    Hybrid search at scale
    Watch for
    Cluster or OCU cost
  • Aurora, RDS pgvector

    Fits when
    Vectors with SQL rows
    Watch for
    One writer scales up, not out
  • S3 Vectors

    Fits when
    Huge, less active data, low cost
    Watch for
    About 100 ms at best
  • Neptune Analytics

    Fits when
    Graph links plus vectors
    Watch for
    Graph model needed
  • DocumentDB

    Fits when
    Documents already there
    Watch for
    Fewer search features
Five stores, where each fits and what to watch.

1 / 2

  • OpenSearch

    Fits when
    Hybrid search at scale
    Watch for
    Cluster or OCU cost
  • Aurora, RDS pgvector

    Fits when
    Vectors with SQL rows
    Watch for
    One writer scales up, not out
  • S3 Vectors

    Fits when
    Huge, less active data, low cost
    Watch for
    About 100 ms at best

2 / 2

  • Neptune Analytics

    Fits when
    Graph links plus vectors
    Watch for
    Graph model needed
  • DocumentDB

    Fits when
    Documents already there
    Watch for
    Fewer search features
Five stores, where each fits and what to watch.
Low cost, occasional queries?
Vectors with SQL rows?
Graph links?
S3 Vectors
Aurora, RDS pgvector
Neptune Analytics
OpenSearch
yesnoyesnoyesno
A quick path to the likely store.

ဘာလဲ

Several AWS services store vectors. Amazon OpenSearch Service gives fast k-NN search with filters, keyword search and hybrid queries at large scale. Aurora or RDS for PostgreSQL with pgvector adds vectors to a relational database. Amazon S3 Vectors is a vector bucket with vector indexes: it is built for low-cost storage and sub-second queries, about 100 milliseconds for frequent queries, and it suits large archives that are queried less often. Amazon Neptune Analytics combines graph and vector search. Amazon DocumentDB offers vector search on documents.

ဘာလဲ

Decide with five questions. How large is the data? How fast must queries answer? What does it cost to keep and query? Do queries filter on metadata or join with rows? Which store does the team already run? A search-heavy app with hybrid queries points to OpenSearch. Vectors that belong with SQL rows point to pgvector. Billions of vectors and occasional queries point to S3 Vectors.

ဘာလဲ

One rule holds for every store: the index dimension must equal the output size of the embedding model. A mismatch makes writes or queries fail. If you change the embedding model, you re-embed the data and build a new index, because vectors from different models cannot be compared.

မှတ်ထားရန်

  • OpenSearch: fast k-NN, filters and hybrid search at scale.
  • pgvector: vectors and SQL rows in one database.
  • S3 Vectors: lowest cost, sub-second queries, large and less active data.
  • Neptune Analytics: graph relationships plus vectors. DocumentDB: vectors on documents.
  • Index dimension must equal the embedding model output size.

မှတ်ထားရန်

  • A new embedding model means a new index.

စာမေးပွဲမှာ

  • “Vectors must join with customer rows in one SQL query” points to Aurora or RDS with pgvector.
  • “Cheapest store for a huge archive of embeddings with occasional queries” points to Amazon S3 Vectors.
  • “Hybrid keyword and semantic search at high query rates” points to OpenSearch.