turbot/oci_insights

Query: nosql_table_by_tenancy

Usage

powerpipe query oci_insights.query.nosql_table_by_tenancy

SQL

select
c.title as "Tenancy",
count(t.*) as "NoSQL Tables"
from
oci_nosql_table as t,
oci_identity_tenancy as c
where
c.id = t.tenant_id and lifecycle_state <> 'DELETED'
group by
c.title
order by
c.title;

Dashboards

The query is used in the dashboards: