Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

chore: add info about memory usage

Kevin Grünebergd915a7445dde
diff --git a/studio/components/interfaces/BillingV2/Usage/Infrastructure.tsx b/studio/components/interfaces/BillingV2/Usage/Infrastructure.tsx
index b08ecc810e6..70eb92f8e48 100644
--- a/studio/components/interfaces/BillingV2/Usage/Infrastructure.tsx
+++ b/studio/components/interfaces/BillingV2/Usage/Infrastructure.tsx
@@ -205,9 +205,17 @@ const Infrastructure = ({
</div>
{attribute.key === 'ram_usage' && (
- <p className="text-sm text-scale-1000">
- Your compute instance has {currentComputeInstanceSpecs.memoryGb} GB memory.
- </p>
+ <div className="text-sm text-scale-1000">
+ <p>
+ Your compute instance has {currentComputeInstanceSpecs.memoryGb} GB memory.
+ </p>
+ {currentComputeInstanceSpecs.memoryGb === 1 && (
+ <p>
+ As your project is running on the smallest compute instance, it is not
+ unusual for your project to have a base memory usage of ~50%.
+ </p>
+ )}
+ </div>
)}
{attribute.key === 'cpu_usage' && (
diff --git a/studio/components/interfaces/BillingV2/Usage/Usage.constants.tsx b/studio/components/interfaces/BillingV2/Usage/Usage.constants.tsx
index d55aaf1ca1f..5fac02a0394 100644
--- a/studio/components/interfaces/BillingV2/Usage/Usage.constants.tsx
+++ b/studio/components/interfaces/BillingV2/Usage/Usage.constants.tsx
@@ -61,6 +61,10 @@ export const USAGE_CATEGORIES: CategoryMeta[] = [
url: 'https://supabase.com/docs/guides/platform/compute-add-ons',
},
{ name: 'High CPU Usage', url: 'https://supabase.com/docs/guides/platform/exhaust-cpu' },
+ {
+ name: 'Metrics',
+ url: 'https://supabase.com/docs/guides/platform/metrics',
+ },
],
},
{
@@ -69,13 +73,18 @@ export const USAGE_CATEGORIES: CategoryMeta[] = [
attribute: 'ram_usage',
name: 'Memory',
unit: 'percentage',
- description: 'Memory usage of your server',
+ description:
+ 'Memory usage of your server.\nEven with little to no load, you might observe elevated memory usage. Besides Postgres, a wide range of services is running under the hood resulting in an elevated base memory usage.',
chartDescription: '',
links: [
{
name: 'Compute Add-Ons',
url: 'https://supabase.com/docs/guides/platform/compute-add-ons',
},
+ {
+ name: 'Metrics',
+ url: 'https://supabase.com/docs/guides/platform/metrics',
+ },
],
},
{
@@ -89,6 +98,10 @@ export const USAGE_CATEGORIES: CategoryMeta[] = [
name: 'Disk Throughput and IOPS',
url: 'https://supabase.com/docs/guides/platform/compute-add-ons#disk-throughput-and-iops',
},
+ {
+ name: 'Metrics',
+ url: 'https://supabase.com/docs/guides/platform/metrics',
+ },
],
description:
'The disk performance of your workload is determined by the Disk IO bandwidth.\nSmaller compute instances (below 4XL) can burst up to their largest throughput and IOPS for 30 minutes in a day. Beyond that, the performance reverts to the baseline. Your disk budget gets replenished throughout the day.',