Skip to content

[auto-build] docs-ah-mongodb -> master #304

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 16, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion _docs/master/databases/connections/mongodb.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ Learn more about [configuring SSL with MongoDB](http://mongodb.github.io/mongo-j

## How Metabase syncs data in MongoDB

Because MongoDB contains unstructured data, Metabase takes a different approach to syncing your database's metadata. To get a sense of the schema, Metabase will query the first and last 500 documents (most of the calculation is done in MongoDB). This sampling helps Metabase do things like differentiate datetime fields from string fields, and provide people with pre-populated filters. The reason Metabase only scans a sample of the documents is because scanning every document in every collection on every sync would put too much strain on your database. And while the sampling does a pretty good job keeping Metabase up to date, it can also mean that new fields can sometimes fall through the cracks, leading to visualization issues, or even fields failing to appear in your results. For more info, check out our [troubleshooting guide](../../troubleshooting-guide/db-connection).
Because MongoDB contains unstructured data, Metabase takes a different approach to syncing your database's metadata. To get a sense of the schema, Metabase will query the first and last 500 documents (most of the calculation is done in MongoDB). This sampling helps Metabase do things like differentiate datetime fields from string fields, and provide people with pre-populated filters. Metabase also syncs 1,000 leaf fields (fields at the deepest nesting level) per MongoDB collection. The reason Metabase only scans a sample of the documents is because scanning every document in every collection on every sync would put too much strain on your database. And while the sampling does a pretty good job keeping Metabase up to date, it can also mean that new fields can sometimes fall through the cracks, leading to visualization issues, or even fields failing to appear in your results. For more info, check out our [troubleshooting guide](../../troubleshooting-guide/db-connection).

## General connectivity concerns

Expand Down
83 changes: 53 additions & 30 deletions _site/docs/master/CONTRIBUTING.html
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.11.1/styles/base16/atelier-sulphurpool-light.min.css" integrity="sha512-qrwjMzcPG1EHhhg9z2nH7VW7hj525RVx0o7GlxQc4ZhWkghp9slpnTjOUu5thnPaRfRqfAUlX7anvAqD9EonfQ==" crossorigin="anonymous" referrerpolicy="no-referrer">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/highlight.min.js"></script>

<script src="/js/promo-banner.js"></script>

<!-- GDPR -->
<script type="text/javascript" src="/gdpr-cookie-notice/dist/script.js"></script>
<script type="text/javascript" src="/js/cookie-consent.js"></script>
Expand Down Expand Up @@ -160,10 +162,13 @@



<header class="bootstrap ">


<header class="bootstrap sticky">
<div class="navigation-header bg-neutral-white ">

<div class="promo-banner hidden">

<div class="promo-banner hidden">
<div>
<span class="button">New</span>
<span>Metabase 55: Data visualizer for dashboard cards, database connection routing, and much more!</span>
Expand All @@ -173,8 +178,8 @@
<button>×</button>
</div>
<script src="/js/events/datetime.js"></script>
<script src="/js/promo-banner.js"></script>




<div class="container d-flex h-100 align-items-center">
Expand Down Expand Up @@ -301,6 +306,24 @@ <h6>Embedded Analytics</h6>



</div>
</a>


<a class="menu-link" href="/features/data-segregation">
<svg width="24" height="24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path stroke="#509EE3" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M4.75 5.75a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1v3.5a1 1 0 0 1-1 1h-3.5a1 1 0 0 1-1-1v-3.5ZM4.75 14.75a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1v3.5a1 1 0 0 1-1 1h-3.5a1 1 0 0 1-1-1v-3.5ZM13.75 5.75a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1v3.5a1 1 0 0 1-1 1h-3.5a1 1 0 0 1-1-1v-3.5ZM13.75 14.75a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1v3.5a1 1 0 0 1-1 1h-3.5a1 1 0 0 1-1-1v-3.5Z"></path>
</svg>


<div>
<span class="menu-link-heading">
Data segregation
</span>




</div>
</a>

Expand Down Expand Up @@ -366,24 +389,6 @@ <h6>Embedded Analytics</h6>



</div>
</a>


<a class="menu-link" href="/features/data-sandbox">
<svg width="24" height="24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path stroke="#509EE3" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M4.75 5.75a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1v3.5a1 1 0 0 1-1 1h-3.5a1 1 0 0 1-1-1v-3.5ZM4.75 14.75a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1v3.5a1 1 0 0 1-1 1h-3.5a1 1 0 0 1-1-1v-3.5ZM13.75 5.75a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1v3.5a1 1 0 0 1-1 1h-3.5a1 1 0 0 1-1-1v-3.5ZM13.75 14.75a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1v3.5a1 1 0 0 1-1 1h-3.5a1 1 0 0 1-1-1v-3.5Z"></path>
</svg>


<div>
<span class="menu-link-heading">
Sandboxing
</span>




</div>
</a>

Expand Down Expand Up @@ -748,14 +753,18 @@ <h6>Learn</h6>
<div class="menu-links-wrapper bg-neutral-95 blog-posts-wrapper">
<span class="menu-heading">Recent Blog Posts</span>

<a class="w-100 post-with-image recent-blog-link mt-1" href="/blog/how-to-build-sales-dashboards">
<a class="w-100 post-with-image recent-blog-link mt-1" href="/blog/story-behind-ai-dataset-generator">
<div class="d-flex align-items-center position-relative overflow-hidden rounded-2 mb-3" id="recent-blog-image-wrapper">
<img alt="Resources Image" class="position-absolute w-100" src="/images/posts/sales-dashboards/sales-dashboard-og.jpg" loading="lazy">
<img alt="Resources Image" class="position-absolute w-100" src="/images/posts/ai-dataset-generator.png" loading="lazy">
</div>
<span class="h6 neutral-40 recent-blog-link-heading mb-3">How to build sales dashboards that sales teams actually use</span>
<span class="h6 neutral-40 recent-blog-link-heading mb-3">The story behind our AI Dataset Generator</span>
</a>


<a class="w-100 recent-blog-link" href="/blog/how-to-build-sales-dashboards">
<span class="h6 neutral-40 recent-blog-link-heading mb-3">How to build sales dashboards that sales teams actually use</span>
</a>

<a class="w-100 recent-blog-link" href="/blog/what-is-embedded-analytics">
<span class="h6 neutral-40 recent-blog-link-heading mb-3">What is embedded analytics?</span>
</a>
Expand All @@ -768,10 +777,6 @@ <h6>Learn</h6>
<span class="h6 neutral-40 recent-blog-link-heading mb-3">Top 5 Dashboard fails (and how to fix them)</span>
</a>

<a class="w-100 recent-blog-link" href="/blog/metabase-product-hunt-ama">
<span class="h6 neutral-40 recent-blog-link-heading mb-3">Product Hunt AMA Recap: embedding, open source success, and more</span>
</a>

</div>
</div>
</div>
Expand Down Expand Up @@ -2649,6 +2654,22 @@ <h5>Embedding</h5>

</li>







<li class="">
<a href="/docs/master/embedding/securing-embeds" class="">
Securing embedded Metabase


</a>


</li>

</ul>

<h5>Administration</h5>
Expand Down Expand Up @@ -4164,7 +4185,7 @@ <h5>Other resources</h5>

<nav style="--bs-breadcrumb-divider: url('/images/chevron_blue_right.svg');" aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a class="paragraph-5 blue-60 fw-bold" href="/docs/master/">Home</a></li>
<li class="breadcrumb-item"><a href="/docs/master/">Home</a></li>



Expand Down Expand Up @@ -4289,10 +4310,12 @@ <h5>Other resources</h5>




<div id="inkeep"></div>


<script src="/js/inkeep.js" type="module" defer=""></script>

</div>
</div>

Expand Down Expand Up @@ -4573,7 +4596,7 @@ <h6>Features</h6>
<a href="/features/usage-analytics">Usage analytics</a>
<a href="/features/analytics-dashboards">Analytics dashboards</a>
<a href="/features/sql-editor">SQL editor</a>
<a href="/features/data-sandbox">Sandboxing</a>
<a href="/features/data-segregation">Data segregation</a>
<a href="/features/models">Models</a>
<a href="/features/permissions">Permissions</a>
<a href="/product/csv-uploads">CSV upload</a>
Expand Down
85 changes: 54 additions & 31 deletions _site/docs/master/actions/basic.html
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.11.1/styles/base16/atelier-sulphurpool-light.min.css" integrity="sha512-qrwjMzcPG1EHhhg9z2nH7VW7hj525RVx0o7GlxQc4ZhWkghp9slpnTjOUu5thnPaRfRqfAUlX7anvAqD9EonfQ==" crossorigin="anonymous" referrerpolicy="no-referrer">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/highlight.min.js"></script>

<script src="/js/promo-banner.js"></script>

<!-- GDPR -->
<script type="text/javascript" src="/gdpr-cookie-notice/dist/script.js"></script>
<script type="text/javascript" src="/js/cookie-consent.js"></script>
Expand Down Expand Up @@ -160,10 +162,13 @@



<header class="bootstrap ">


<header class="bootstrap sticky">
<div class="navigation-header bg-neutral-white ">

<div class="promo-banner hidden">

<div class="promo-banner hidden">
<div>
<span class="button">New</span>
<span>Metabase 55: Data visualizer for dashboard cards, database connection routing, and much more!</span>
Expand All @@ -173,8 +178,8 @@
<button>×</button>
</div>
<script src="/js/events/datetime.js"></script>
<script src="/js/promo-banner.js"></script>




<div class="container d-flex h-100 align-items-center">
Expand Down Expand Up @@ -301,6 +306,24 @@ <h6>Embedded Analytics</h6>



</div>
</a>


<a class="menu-link" href="/features/data-segregation">
<svg width="24" height="24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path stroke="#509EE3" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M4.75 5.75a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1v3.5a1 1 0 0 1-1 1h-3.5a1 1 0 0 1-1-1v-3.5ZM4.75 14.75a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1v3.5a1 1 0 0 1-1 1h-3.5a1 1 0 0 1-1-1v-3.5ZM13.75 5.75a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1v3.5a1 1 0 0 1-1 1h-3.5a1 1 0 0 1-1-1v-3.5ZM13.75 14.75a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1v3.5a1 1 0 0 1-1 1h-3.5a1 1 0 0 1-1-1v-3.5Z"></path>
</svg>


<div>
<span class="menu-link-heading">
Data segregation
</span>




</div>
</a>

Expand Down Expand Up @@ -366,24 +389,6 @@ <h6>Embedded Analytics</h6>



</div>
</a>


<a class="menu-link" href="/features/data-sandbox">
<svg width="24" height="24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path stroke="#509EE3" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M4.75 5.75a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1v3.5a1 1 0 0 1-1 1h-3.5a1 1 0 0 1-1-1v-3.5ZM4.75 14.75a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1v3.5a1 1 0 0 1-1 1h-3.5a1 1 0 0 1-1-1v-3.5ZM13.75 5.75a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1v3.5a1 1 0 0 1-1 1h-3.5a1 1 0 0 1-1-1v-3.5ZM13.75 14.75a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1v3.5a1 1 0 0 1-1 1h-3.5a1 1 0 0 1-1-1v-3.5Z"></path>
</svg>


<div>
<span class="menu-link-heading">
Sandboxing
</span>




</div>
</a>

Expand Down Expand Up @@ -748,14 +753,18 @@ <h6>Learn</h6>
<div class="menu-links-wrapper bg-neutral-95 blog-posts-wrapper">
<span class="menu-heading">Recent Blog Posts</span>

<a class="w-100 post-with-image recent-blog-link mt-1" href="/blog/how-to-build-sales-dashboards">
<a class="w-100 post-with-image recent-blog-link mt-1" href="/blog/story-behind-ai-dataset-generator">
<div class="d-flex align-items-center position-relative overflow-hidden rounded-2 mb-3" id="recent-blog-image-wrapper">
<img alt="Resources Image" class="position-absolute w-100" src="/images/posts/sales-dashboards/sales-dashboard-og.jpg" loading="lazy">
<img alt="Resources Image" class="position-absolute w-100" src="/images/posts/ai-dataset-generator.png" loading="lazy">
</div>
<span class="h6 neutral-40 recent-blog-link-heading mb-3">How to build sales dashboards that sales teams actually use</span>
<span class="h6 neutral-40 recent-blog-link-heading mb-3">The story behind our AI Dataset Generator</span>
</a>


<a class="w-100 recent-blog-link" href="/blog/how-to-build-sales-dashboards">
<span class="h6 neutral-40 recent-blog-link-heading mb-3">How to build sales dashboards that sales teams actually use</span>
</a>

<a class="w-100 recent-blog-link" href="/blog/what-is-embedded-analytics">
<span class="h6 neutral-40 recent-blog-link-heading mb-3">What is embedded analytics?</span>
</a>
Expand All @@ -768,10 +777,6 @@ <h6>Learn</h6>
<span class="h6 neutral-40 recent-blog-link-heading mb-3">Top 5 Dashboard fails (and how to fix them)</span>
</a>

<a class="w-100 recent-blog-link" href="/blog/metabase-product-hunt-ama">
<span class="h6 neutral-40 recent-blog-link-heading mb-3">Product Hunt AMA Recap: embedding, open source success, and more</span>
</a>

</div>
</div>
</div>
Expand Down Expand Up @@ -2649,6 +2654,22 @@ <h5>Embedding</h5>

</li>







<li class="">
<a href="/docs/master/embedding/securing-embeds" class="">
Securing embedded Metabase


</a>


</li>

</ul>

<h5>Administration</h5>
Expand Down Expand Up @@ -4164,12 +4185,12 @@ <h5>Other resources</h5>

<nav style="--bs-breadcrumb-divider: url('/images/chevron_blue_right.svg');" aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a class="paragraph-5 blue-60 fw-bold" href="/docs/master/">Home</a></li>
<li class="breadcrumb-item"><a href="/docs/master/">Home</a></li>




<li class="breadcrumb-item"><a class="paragraph-5 blue-60 fw-bold" href="/docs/master/actions/start">Actions</a></li>
<li class="breadcrumb-item"><a class="blue-60" href="/docs/master/actions/start">Actions</a></li>


</ol>
Expand Down Expand Up @@ -4291,10 +4312,12 @@ <h5>Other resources</h5>




<div id="inkeep"></div>


<script src="/js/inkeep.js" type="module" defer=""></script>

</div>
</div>

Expand Down Expand Up @@ -4548,7 +4571,7 @@ <h6>Features</h6>
<a href="/features/usage-analytics">Usage analytics</a>
<a href="/features/analytics-dashboards">Analytics dashboards</a>
<a href="/features/sql-editor">SQL editor</a>
<a href="/features/data-sandbox">Sandboxing</a>
<a href="/features/data-segregation">Data segregation</a>
<a href="/features/models">Models</a>
<a href="/features/permissions">Permissions</a>
<a href="/product/csv-uploads">CSV upload</a>
Expand Down
Loading