# MongoDB introspection

You can observe MongoDB collections and fields in   Database   tool window .

IntelliJ IDEA fetches the first 10 documents from each collection to get information about the fields. You can customize this behavior by specifying the `fetch_documents_for_metainfo` JDBC parameter on the Advanced tab of the   Data Sources and Drivers  dialog (  `Shift+Enter` (Windows), `⌘ I` (macOS), `⇧ ⏎` (IntelliJ IDEA Classic (macOS)), `⌘ I` (macOS System Shortcuts), `Shift+Enter` (XWin), `Shift+Enter` (GNOME), `Shift+Enter` (KDE), `Shift+Enter` (Emacs), `Shift+Enter` (Sublime Text), `⌘ I` (Sublime Text (macOS)), `Shift+Enter` (NetBeans), `Shift+Enter` (Visual Studio), `⌘ I` (Visual Studio (macOS)), `Shift+Enter` (Eclipse), `⌘ I` (Eclipse (macOS)) ) .

Procedure: Fetch more documents

1. In the   Database   tool window ,  right-click MongoDB data source and select Properties.

2. Click the Advanced tab.

3. In the parameter table, scroll down till you see `fetch_documents_for_metainfo`.

4. Double-click the Value cell of the `fetch_documents_for_metainfo` parameter.

5. Specify the required value.

![Fetch more documents for MongoDB introspection](https://resources.jetbrains.com.cn/help/img/idea/2026.2/db_fetch_documents_for_metainfo.png)

## See also

### Reference

[Data sources and their elements](database-tool-window.html#icons-for-data-sources-and-their-elements) [Data Sources and Drivers dialog](data-sources-and-drivers-dialog.html)

### Tool Windows

[Database tool window](database-tool-window.html)

