Viewing 11 posts - 1 through 11 (of 11 total)
Hi
Finally Mission Accomplished. Thank you very mush for guide.
The below code made good improvement. (Execution Plan Attached)
some days more than 95% improvement vs old script.
still two problem remain:
1. spill to...
September 2, 2020 at 11:09 am
Friends, I've reached to a good improvement.
I destroyed fragmentation for table Groups_Roles Table. Result was very good. My goal procedure removed from SQL Serve Profiler with more than 3 seconds...
July 18, 2020 at 7:47 am
I've removed PK of LegalReferrence Table. Logical Read reduced for this table very good.
July 14, 2020 at 8:57 am
Hi
Thanks a lot.
I've run your edited query. but its cost was 51% against last improved query that I sent in my last post. And Logical...
July 8, 2020 at 7:09 am
Hi
Thanks a lot.
I've run your edited query. but its cost was 51% against last improved query that I sent in my last post. And Logical Read grows up...
July 7, 2020 at 3:37 pm
Hi
Thanks a lot.
I've run your edited query. but its cost was 51% against last improved query that I sent in my last post. And Logical Read grows up for Table...
July 7, 2020 at 1:06 pm
Hi
I used join and a covered index. I could reach 1% Improvement. I couldn't use 'Not Exists' instead 'Not IN'.
I've attached last execution plan.
--set statistics io on
--set...
July 4, 2020 at 6:49 pm
Hi
Thanks for formmating my code.
Also for good suggestions.
I'm going to tune my code based of your guides. And tell you about results.
July 1, 2020 at 5:23 pm
and this is my target script. I edit subquery in Master query but spill data occured.
I've also attach execution plan.
Select [Roles].[Role_ID] AS "legalRoleID" , [Roles].[UserID] AS...
July 1, 2020 at 1:12 pm
This is old and new script:
I've attached execution plan of below code.
SELECT [Roles_Ex_Rights].[RoleID] FROM [Roles_Ex_Rights] WHERE [Roles_Ex_Rights].[RightID] IN (7295) and IsConfirm = 1 ...
July 1, 2020 at 1:09 pm
Hi.
I've attached execution plan.
I've checked Union ALL and it is better and Eliminate Spill Data . Also I've use join for Groups_Roles And Groups_Rights.
Now, I have another problem, When I...
July 1, 2020 at 12:59 pm
Viewing 11 posts - 1 through 11 (of 11 total)