> For the complete documentation index, see [llms.txt](https://janeto.gitbook.io/mongodb-toan-tap/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://janeto.gitbook.io/mongodb-toan-tap/master.md).

# MongoDB Toàn Tập

**MongoDB** là một cơ sở dữ liệu mã nguồn mở và là cơ sở dữ liệu NoSQL hàng đầu, được hàng triệu người sử dụng. MongoDB được viết bằng C++.

Ngoài ra, MongoDB là một cơ sở dữ liệu đa nền tảng, hoạt động trên các khái niệm Collection và Document, nó cung cấp hiệu suất cao, tính khả dụng cao và khả năng mở rộng dễ dàng.

Dưới đây là danh sách các bài hướng dẫn học MongoDB cơ bản và nâng cao:

**MỤC LỤC**

## Cơ bản về MongoDB

* [**MongoDB - Tổng quan**](/mongodb-toan-tap/tong-quan.md)
* [**MongoDB - Các lợi thế**](/mongodb-toan-tap/loi-the-cua-mongodb.md)
* [**MongoDB - Cài đặt**](/mongodb-toan-tap/cai-dat-mongodb.md)
* [**MongoDB - Data Modeling**](/mongodb-toan-tap/mo-hinh-hoa-du-lieu-trong-mongodb.md)
* [**MongoDB - Tạo Database**](/mongodb-toan-tap/tao-database-trong-mongodb.md)
* [**MongoDB - Xóa Database**](/mongodb-toan-tap/xoa-database-trong-mongodb.md)
* [**MongoDB - Tạo Collection**](/mongodb-toan-tap/tao-collection-trong-mongodb.md)
* [**MongoDB - Xóa Collection**](/mongodb-toan-tap/xoa-collection-trong-mongodb.md)
* [**MongoDB - Kiểu dữ liệu**](/mongodb-toan-tap/kieu-du-lieu-trong-mongodb.md)
* [**MongoDB - Chèn Document**](/mongodb-toan-tap/chen-document-trong-mongodb.md)
* [**MongoDB - Truy vấn Document**](/mongodb-toan-tap/truy-van-document-trong-mongodb.md)
* [**MongoDB - Cập nhật Document**](/mongodb-toan-tap/cap-nhat-document-trong-mongodb.md)
* [**MongoDB - Xóa Document**](/mongodb-toan-tap/xoa-document-trong-mongodb.md)
* [**MongoDB - Projection**](/mongodb-toan-tap/projection-trong-mongodb.md)
* [**MongoDB - Giới hạn bản ghi**](/mongodb-toan-tap/gioi-han-ban-ghi-trong-mongodb.md)
* [**MongoDB - Sắp xếp bản ghi**](/mongodb-toan-tap/sap-xep-ban-ghi-trong-mongodb.md)
* [**MongoDB - Chỉ mục**](/mongodb-toan-tap/chi-muc-index-trong-mongodb.md)
* [**MongoDB - Aggregation**](/mongodb-toan-tap/aggregation-trong-mongodb.md)
* [**MongoDB - Replica Set**](/mongodb-toan-tap/replica-set-trong-mongodb.md)
* [**MongoDB - Shard**](/mongodb-toan-tap/shard-trong-mongodb.md)
* [**MongoDB - Tạo Backup**](/mongodb-toan-tap/tao-backup-trong-mongodb.md)
* [**MongoDB - Deployment**](/mongodb-toan-tap/mongodb-deployment.md)

## Hoạt động MongoDB nâng cao

* [**MongoDB Relationship**](/mongodb-toan-tap/relationship-trong-mongodb.md)
* [**MongoDB - Tham chiếu Database**](/mongodb-toan-tap/tham-chieu-database-trong-mongodb.md)
* [**MongoDB - Covered Query**](/mongodb-toan-tap/covered-query-trong-mongodb.md)
* [**MongoDB - Phân tích truy vấn**](/mongodb-toan-tap/phan-tich-truy-van-trong-mongodb.md)
* [**MongoDB - Atomic Operation**](/mongodb-toan-tap/hoat-dong-nguyen-tu-atomic-operation-trong-mongodb.md)
* [**MongoDB - Chỉ mục nâng cao**](/mongodb-toan-tap/hoat-dong-chi-muc-nang-cao-trong-mongodb.md)
* [**MongoDB - Hạn chế của chỉ mục**](/mongodb-toan-tap/han-che-cua-chi-muc-trong-mongodb.md)
* [**MongoDB - ObjectId**](/mongodb-toan-tap/objectid-trong-mongodb.md)
* [**MongoDB - Map Reduce**](/mongodb-toan-tap/map-reduce-trong-mongodb.md)
* [**MongoDB - Text Search**](/mongodb-toan-tap/text-search-trong-mongodb.md)
* [**MongoDB - Regular Expression**](/mongodb-toan-tap/regular-expression-trong-mongodb.md)
* [**MongoDB - GridFS**](/mongodb-toan-tap/gridfs-trong-mongodb.md)
* [**MongoDB - Capped Collection**](/mongodb-toan-tap/capped-collection-trong-mongodb.md)
* [**MongoDB Auto-Increment Sequence**](/mongodb-toan-tap/auto-increment-sequence-trong-mongodb.md)

Loạt bài hướng dẫn của chúng tôi dựa trên nguồn tài liệu của: Tutorialspoint.com và Vietjack.com dịch.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://janeto.gitbook.io/mongodb-toan-tap/master.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
