Hello
Reading database is very slow.
I'm using Connector 8.0.22.0
After profiling it I found that 90% of all time is lost on regex ctor.
Class:
MySql.Data.MySqlCLient.NativeDriver
Method:
public IMySqlValue ReadColumnValue(int index, MySqlField field, IMySqlValue valObject)
Line:
Regex regex = new Regex("(?i)^[0-9A-F]{8}[-](?:[0-9A-F]{4}[-]){3}[0-9A-F]{12}$");
It is huge time loss on each value read. And if I understood correctly this regex is used only with guid column types which I don't have.
Please check it out
Reading database is very slow.
I'm using Connector 8.0.22.0
After profiling it I found that 90% of all time is lost on regex ctor.
Class:
MySql.Data.MySqlCLient.NativeDriver
Method:
public IMySqlValue ReadColumnValue(int index, MySqlField field, IMySqlValue valObject)
Line:
Regex regex = new Regex("(?i)^[0-9A-F]{8}[-](?:[0-9A-F]{4}[-]){3}[0-9A-F]{12}$");
It is huge time loss on each value read. And if I understood correctly this regex is used only with guid column types which I don't have.
Please check it out