An Azure relational database service.
High reported CPU using tedious (nodejs) after Azure SQL database switch
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