F43G4N
F43G4N

Reputation: 175

Performance issue with SQL Server and XML datatype columns

I am encountering performance issues using an XML datatype column in SQL Server 2016. It looks like my query is looping through the xml over and over. Here is my setup:

Performance of a simple query over a total of 3300 records is dreadful; it takes 45 seconds to query just the transaction/prop1 and prop2 part...

Upvotes: 1

Views: 411

Answers (1)

F43G4N
F43G4N

Reputation: 175

It seems that my queries performed MUCH better without the indexes. I removed them and instead of 45 seconds it's down to 2 seconds...

Upvotes: 0

Related Questions