Skip to content

What is a document database and vector database - #3104

Open
aishwaripahwa12 wants to merge 12 commits into
stardustfrom
docuemnt-database-vector-databse-guide-for-developers
Open

What is a document database and vector database#3104
aishwaripahwa12 wants to merge 12 commits into
stardustfrom
docuemnt-database-vector-databse-guide-for-developers

Conversation

@aishwaripahwa12

Copy link
Copy Markdown
Contributor

Latest SEO blogs

@appwrite

appwrite Bot commented Jul 15, 2026

Copy link
Copy Markdown

Appwrite Website

Project ID: 69d7efb00023389e8d27

Sites (1)
Site Status Logs Preview QR
 website
69d7f2670014e24571ca
Failed Failed View Logs Preview URL QR Code

Website (appwrite/website)

Project ID: 684969cb000a2f6c0a02

Sites (1)
Site Status Logs Preview QR
 website
68496a17000f03d62013
Queued Queued View Logs Preview URL QR Code


Tip

JWT tokens let functions act on behalf of users while preserving their permissions

@greptile-apps

greptile-apps Bot commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR adds two new SEO-focused blog posts — one on document databases and one on vector databases — along with their cover images and cache entries.

  • Both posts are marked unlisted: true, have valid frontmatter, and reference the author slug aishwari which exists in the repo.
  • All internal /blog/post/... and /docs/... links in both articles were verified to resolve to existing routes in the repository.
  • The .optimize-cache.json entries for both images are present (extension differences from the committed .avif files are intentional per project convention).

Confidence Score: 5/5

Two new blog posts adding purely additive content; no code paths, APIs, or application logic are touched.

Both posts are static markdoc files with no logic. All internal links resolve to existing routes, author slugs are valid, cover images and cache entries are present, and the articles are marked unlisted so they won't surface prematurely in the blog index.

No files require special attention.

Important Files Changed

Filename Overview
src/routes/blog/post/what-is-a-document-database-an-expert-guide-for-developers/+page.markdoc New blog post explaining document databases; all internal links verified to exist, author slug valid, frontmatter well-formed.
src/routes/blog/post/what-is-a-vector-database-an-ai-developer-guide/+page.markdoc New blog post explaining vector databases; all internal links verified to exist, frontmatter well-formed.
.optimize-cache.json Two new cache entries added for the new cover images; both image files have corresponding entries (extension differences between cache and committed files are intentional per project convention).
static/images/blog/what-is-a-document-database-an-expert-guide-for-developers/cover.avif Cover image for the document database blog post; referenced correctly in frontmatter.
static/images/blog/what-is-a-vector-database-an-ai-developer-guide/cover.avif Cover image for the vector database blog post; referenced correctly in frontmatter.

Reviews (4): Last reviewed commit: "Merge branch 'stardust' into docuemnt-da..." | Re-trigger Greptile

@adityaoberai
adityaoberai changed the base branch from main to stardust July 20, 2026 12:49

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this blog supposed to be added here?

@adityaoberai adityaoberai left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to look at all the pieces of content not relevant to Init

Comment on lines +24 to +26
Most database tutorials start with tables, rows, and columns. But the data you actually work with in application code rarely looks like a table. It looks like a nested object: a user with an address, a list of orders, and a set of preferences, all in one place. A **document database** stores that object as-is, without flattening it across five normalized tables.

If you have ever spent an afternoon writing a migration just to add one optional field, you already understand the cost this model tries to remove. This guide explains what a document database is, how it stores data, how it differs from a relational database, and when it is the right choice.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We're mentioning what a document database is before we actually describe it. Also, this says NoSQL dbs are easy and convenient but we're not getting into any real problems either. Let's rethink the intro.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

* [MongoDB](https://www.mongodb.com/docs/manual/) is the most widely used document database, known for its flexible querying and mature tooling.
* [Amazon DynamoDB](https://docs.aws.amazon.com/dynamodb/) is a managed key-value and document store built for predictable low-latency access at scale.
* [Apache CouchDB](https://docs.couchdb.org/) focuses on offline-first replication and sync.
* [Appwrite Databases](/docs/products/databases) offers the document model with built-in permissions, queries, and realtime updates as part of a backend platform.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not yet, and if we are talking about DocumentsDB, we need to mention it explicitly

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


## How Appwrite implements the document model

[Appwrite Databases](/docs/products/databases) is a document database that stores data in collections of JSON-like documents. It keeps the flexibility of the document model while adding the pieces most projects end up needing anyway.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not currently

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to specifically be redefined for DocumentsDB please

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Greptile has paused reviews on this repository — it used its 100 free open-source review credits for this billing period. Reviews resume automatically on August 8. To continue before then, an organization admin can keep reviews running past the free credits — those bill as normal usage.

@adityaoberai

Copy link
Copy Markdown
Contributor

@aishwaripahwa12 please respond to comments here ASAP.


## How Appwrite implements the document model

[Appwrite Databases](/docs/products/databases) is a document database that stores data in collections of JSON-like documents. It keeps the flexibility of the document model while adding the pieces most projects end up needing anyway.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to specifically be redefined for DocumentsDB please

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants