cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

MSSQL high CPU usage

georgeanderson
11-Garnet

MSSQL high CPU usage

My MSSQL ThingWorx database keeps getting slammed by a query that seems to run very frequently. Here's the query:

 

SELECT COUNT(*) FROM data_table WHERE entity_id = @P0

 

I am not sure what is triggering this query, or why. But, data_table is quite large and this query seems to be consuming resources unnecessarily. Does anyone know what triggers this query, and why.

1 ACCEPTED SOLUTION

Accepted Solutions
slangley
23-Emerald II
(To:tmisner)

Hi @georgeanderson.

 

For the benefit of the rest of the community, the fix for this issue was delivered in ThingWorx 8.5.5 released earlier this week.

 

If you agree with the solution, please mark this post as the Accepted Solution.

 

Regards.

 

--Sharon

 

View solution in original post

2 REPLIES 2

Hello George,

 

I see you have logged a case with Technical Support for this issue. Vanessa who is working with you can post the solution here for other PTC Community Users once the case is resolved.

slangley
23-Emerald II
(To:tmisner)

Hi @georgeanderson.

 

For the benefit of the rest of the community, the fix for this issue was delivered in ThingWorx 8.5.5 released earlier this week.

 

If you agree with the solution, please mark this post as the Accepted Solution.

 

Regards.

 

--Sharon

 

Top Tags