diff --git a/db/docs/analytics_devops_adoption_segments.yml b/db/docs/analytics_devops_adoption_segments.yml
index 42f04f5760803541bf61134a956bdc3e7d69b6b8..3bc5952f15f4382f5911e5e3d4aa96d919ccc000 100644
--- a/db/docs/analytics_devops_adoption_segments.yml
+++ b/db/docs/analytics_devops_adoption_segments.yml
@@ -7,4 +7,12 @@ feature_categories:
 description: Stores a reference to the Namespace which is enabled for the DevOps report.
 introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/45748
 milestone: '13.6'
-gitlab_schema: gitlab_main
+gitlab_schema: gitlab_main_cell
+allow_cross_joins:
+- gitlab_main_clusterwide
+allow_cross_transactions:
+- gitlab_main_clusterwide
+allow_cross_foreign_keys:
+- gitlab_main_clusterwide
+sharding_key:
+  namespace_id: namespaces
diff --git a/spec/lib/gitlab/database/sharding_key_spec.rb b/spec/lib/gitlab/database/sharding_key_spec.rb
index 1fdbe9bf087cb7b3fa62e00015a345dd6a76cb76..1a3c9783cbd27569aed19f72aff11094314c59dd 100644
--- a/spec/lib/gitlab/database/sharding_key_spec.rb
+++ b/spec/lib/gitlab/database/sharding_key_spec.rb
@@ -23,6 +23,7 @@
   let(:allowed_to_be_missing_not_null) do
     [
       *tables_with_alternative_not_null_constraint,
+      'analytics_devops_adoption_segments.namespace_id',
       *['boards.project_id', 'boards.group_id'],
       'ci_pipeline_schedules.project_id',
       'ci_sources_pipelines.project_id',