troubleshooting Question

Could you explain this sequence adopted to increase performance at an update script by using MSSQLServer?

Avatar of Eduardo Fuerte
Eduardo FuerteFlag for Brazil asked on
Microsoft SQL Server
5 Comments1 Solution23 ViewsLast Modified:
Hi Experts

Could you explain this sequence adopted to increase performance at an update script by using MSSQLServer?

At about 144.000 lines like this:
UPDATE dbo.XX1_StreetZipCodeExt       set cNameStreet = 'Rua Padre Eustáquio',cIdNeighborhood = 4013,lIdStreet = 3047 where cZiCode ='35500521' and  cIdNeighborhood =4013 and  lIdStreet =3047

How to obtain and correctly to interpret this:

Sequence of actions adopted:

Created clustered index by cZiCode, but not UNIQUE, as there are duplicates.

Non-clustered index created by [lIdStreet], [cIdNeighborhood], [cZiCode], as recommended by the Execution Plan.

Thanks in advance.
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 5 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros