vttranlina opened a new pull request, #2528:
URL: https://github.com/apache/james-project/pull/2528

   The performance test reveals that the query on the `thread` table is take 
time:
   ```sql
   select
     thread_id,
     hash_base_subject
   from thread
   where (
     username = $1
     and hash_mime_message_id in (
       $2, $3
     )
   )
   ```
   
   before
   
![image](https://github.com/user-attachments/assets/04a2b8ed-88f6-47ad-865d-4e3ed51583f1)
   
   After
   
![image](https://github.com/user-attachments/assets/3480f711-ab31-4ec3-9cf7-4eb165aed205)
   


-- 
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: notifications-unsubscr...@james.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org
For additional commands, e-mail: notifications-h...@james.apache.org

Reply via email to