MySQL Forums
Forum List  »  Performance

Flex MySQL 8.0 on AzUre
Posted by: Nigel Gomm
Date: September 10, 2024 07:20AM

This is probably an Azure question but i can't get a sensible response from MS.

Did anything change on Azure's memory management for MariaDB and MySQL in the last few months?

I'd been running 5 MariaDB servers on Azure for 2 years or so with no problems. Then about 2 months ago all 5 started reaching 100% memory and crashing. MS could only tell me it was "workload" and to increase (i.e. double) the vCores/memory.

The workload hasn't changed in those 2 years but I did that and the servers ran ok. But at twice the expense.

MariaDB is being retired on Azure anyway so i brought forward my migration to FLex MySQL servers.

I'm finding that these MySQL servers are also hitting 100% memory every few hours... but at least they don't crash; they just kick users out and reduce memory usage and carry on. Nevertheless i'd like to keep this to a minimum.

I believe the usual formulae for calculating memory usage is "different" in Azure; certain parameters in Azure (e.g. max_connections and max_allowed_packet) default to extremely high values that would normally be discouraged. I've reduced them but no change in memory usage.

Slow Queries isn't telling me anything interesting.

There may be lots of smallish improvements to be made to some queries but the fact remains that this was perfectly stable for 2 years... then suddenly across 5 servers there's now a problem.

Each server has about 80 - 100 customer databases of identical structure. About 110 tables and 30 views in each database. Triggers for insert, update and delete on about half the tables. Databases range is size from 50mb to 100GB. About 150 concurrent connections on each server at any one time.

Comments please.

Options: ReplyQuote


Subject
Views
Written By
Posted
Flex MySQL 8.0 on AzUre
98
September 10, 2024 07:20AM
36
September 10, 2024 07:52AM
44
September 11, 2024 06:01AM
32
September 19, 2024 09:02AM


Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.