Share via

High reported CPU using tedious (nodejs) after Azure SQL database switch

Rafał Jońca 26 Reputation points
2020-08-06T10:34:12.84+00:00

Hello,

After Azure SQL database switch (because of internal upgrade of SQL engine/VM or configuration change like upgrade from S2 to S3), we observe a very big CPU spike after 3 to 10 minutes after the switch which will not go away unless we close existing connections and start new ones. Anyone observed anything similar to this using nodejs (we use 12.16.3 and tedious or node-mssql library)?

I ask here, because we can easily reproduce the issue, but we wonder why noone else is reporting this. We know that on production the maintenance switch is more or less once per month so it may not be very often but when it happens it is clearly visible, as consumed CPU jumps from 10% to 90%.

More details about the issue with example code to reproduce this can be found on https://github.com/tediousjs/tedious/issues/1136.

Best regards,

Rafal

Azure SQL Database

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.