My RDS(Aurora PostgreSQL) serverless reader instance database capacity count spikes every hour.

0

I have Aurora PostgreSQL reader and writer instance connected to node js application which uses TypeORM for db connectivity.

A few days ago, my serverless reader instance started spiking every hour(serverless database capacity) which I have set to 5-36 i.e. a minimum of 5 when there is no load and a maximum of 36.

I checked in performance metrics as well, there are no such SQL calls which is causing this. there are other times when there is more load but it does not spike, it always spikes every hour like 5:00, 6:00, 7:00,! Also, I have no cron job scheduled.

PS - The Writer instance works totally fine i.e. there is no spike.

Adding Image URL for same below. RDS serverless capacity metric

2回答
0

Kindly perform below checks and let me know your findings

  1. Check Scheduled Tasks
  2. Examine Connections
  3. Analyze the query running at the time of the spikes
  4. Review Auto Scaling Policy
  5. Check if any external services or utility is connected to the database
  6. Check Capacity Settings
AWS
Gaurav
回答済み 4ヶ月前
  • Yes, I have checked all of the points mentioned. There is no such anomaly or pattern.

0

If something is happening that is not tied in to SQL processing, that could be some memory or CPU usage happening in the underlying operating system. I suggest turning on Enhanced Monitoring (EM) and looking at what's happening at the operating system level.

I have seen where SQL submitted through Data API didn't show up in Performance Insights. So check if there any Lambda functions running that might be submitting requests through Data API. I like to use CloudTrail and filter by specific time windows to find things like Lambda functions I forgot were still running. Also check if there are any pg_cron scheduled jobs on the Postgres server, in addition to regular cron jobs on the client systems.

johrss
回答済み 3ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ