AWS Database Migration Service (DMS) - SHOW BINARY LOGS

0

Our current setup has a AWS DMS replication instance where 1 migration task is performing CDC reading from a source endpoint (Aurora MySQL writer instance) to a target endpoint (Redshift), after a full load.

I'm getting pinged by my Aurora MySQL database administrator that we're seeing "SHOW BINARY LOG" calls like what we have below 20-50 times a day, coming from DMS (private IP address matches that of the replication instance).

@logStreamaurora-mysql-[redacted]
@message# Time: 2023-09-13T07:41:16.230048Z
# User@Host: [redacted][redacted] @  [redacted] Id: [redacted]
# Query_time: 27.554365  Lock_time: 0.000000 Rows_sent: 0  Rows_examined: 0
SET timestamp=1694590848;
SHOW BINARY LOGS;

Any idea why AWS DMS is executing this? And if it adds to the CPU load of our Aurora MySQL cluster?

Zyntas
已提问 8 个月前279 查看次数
2 回答
0

Hi,

This stack exchange question https://dba.stackexchange.com/questions/316433/how-to-speed-up-show-binary-logs will be very useful to you.

Some folks have noticed same behavior re SHOW BINARY LOG and propose solutions.

Best,

Didier

profile pictureAWS
专家
已回答 8 个月前
0

Hi Didier,

Thank you for your response. If I understand the stack exchange information correctly, each DMS task runs every few seconds "SHOW BINARY LOGS" command to get the list of binlogs to read from, for the purposes of CDC.

Is this a configurable schedule in DMS? And how would it affect CDC latency/performance overall?

Best, Zyntas

Zyntas
已回答 8 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则