|
-
Oct 16th, 2024, 07:43 AM
#11
New Member
Re: Help Optimize MySql Query
One thing to consider is focusing on index optimization for both id_planoconta and id_registro. If id_planoconta is a foreign key and id_registro is the primary key in table2, creating a composite index on these fields could potentially speed up your query significantly. This would help improve performance, especially when counting records in table2.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|