Skip to content

Question regarding mysql_thread___threshold_resultset_size. #5057

@pranavpandey1998official

Description

Hi, we are experimenting with mysql_thread___threshold_resultset_size and found ourself in a unique situation

How i understand mysql_thread___threshold_resultset_size is that proxysql will first get the whole resultset from the backend in the resultset and then send it to the client, (mentioned here #1031)

So we want to minimize the latency , for this we set mysql_thread___threshold_resultset_size to be minimum so it is in streaming mode. so I am not waiting for the resultset to be filled hence its always in streaming mode

Now there is also a unique behaviour that if the resultset increases beyond 8* resultset_size , then it will throtle the backend connections, which will again increase the latency,

What is the solution here, I don't want the resultset I just want it to be in passthough mode

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions