TeslaCN opened a new issue #15510:
URL: https://github.com/apache/shardingsphere/issues/15510


   ## Performance
   
   Related to #10626.
   
   ### Is your feature request related to a problem?
   
   The QueryHeaderBuilder loaded many fields which are unused by PostgreSQL & 
openGauss, whose overhead is a little heavy for PostgreSQL & openGauss.
   
   
https://github.com/apache/shardingsphere/blob/9b02bfdaf51a6aee89965e9a1be7de568a1587e5/shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/response/header/query/impl/QueryHeaderBuilder.java#L71-L94
   
   <img width="1375" alt="image" 
src="https://user-images.githubusercontent.com/20503072/154731195-b5d58e73-99ef-49d5-8c49-756fd379a62e.png";>
   
   <img width="1369" alt="image" 
src="https://user-images.githubusercontent.com/20503072/154731167-9e97fa43-9374-4600-983d-848eaa6753aa.png";>
   
   
   ### Describe the feature you would like.
   
   Extract QueryHeaderBuilder to an interface and provides implementations for 
different databases. Loads the required fields only.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to