Comments - Query on partition with like take forever
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.
What is the output if you run EXPLAIN on the two queries?
Here the results:
I agree that this looks implausibly slow. I'd raise a bug report if there isn't already.
Could it be you are thrashing a table cache of insufficient size for 600-2300 partitions?
Your structure does break a few of the guidelines on partitioning.
Also FYI INET6 datatype does exist in 10.5+ version.