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

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

Can we set max pool size to 300 in ThingWorx 9.0?

VG_8323155
3-Visitor

Can we set max pool size to 300 in ThingWorx 9.0?

We are getting "SQL Query Failed" error from last couple of days.

Error details- Execute Query Failed: java.sql.SQLException: Cannot get a connection, pool error Timeout waiting for idle object

 

Currently, We have set max pool size to 200. Want to understand following things

1. Can we set it to 300?

2. What factor we should consider before increasing pool size?

3. Does this will impact on my other application which also access the same DB?

 

We are using ThingWorx 9.0 with SQL Server

 

Thanks

2 REPLIES 2
PaiChung
22-Sapphire I
(To:VG_8323155)

A DB Server based on what type it is will be able to accommodate a number of connections.

Standard MS SQL server can support a total of 30K connections

If you are using Azure SQL please double check, because it might be based on SKU

So yes you should be able to increase that number.

Please note that if you are using PostGreSQL there are much lower limits especially in Azure PostGres Single Server (vs. Flex which supports 5K)

slangley
23-Emerald II
(To:VG_8323155)

Hi @VG_8323155.

 

To tack on to Pai's response, you also need to make sure your server is sized to support any config changes.  You do need to be mindful in a shared database server to ensure it doesn't exceed the total number of connections supported by the database.  If you are subscribing to database services via Azure, etc. you may have to update the tier to allow for more connections.

 

Regards.

 

--Sharon

Top Tags