Skip to main content
Solved

Can we extend the record count function execution time?


Michaelh
Semi-Pro III
Forum|alt.badge.img+2

I have a few clients working with massive data sets and displaying a lot of data. I have tried splitting the inquiries in two etc, but we are now down to the minimum acceptable amount of data and the system is returning the “failed to get record count” error. My understanding is that the system gets 2 or 3 seconds to get this record count. Can we extend this timer?

 

I need a scalable solution for these companies as they continue to grow (one of them is an acquistion company and they are very agressive in their growth). I’d love to double the time to give them some breathing room.

 

THANK YOU!

Best answer by VladS

Hello @Michael Hansen !

 

To my knowledge, the default value for a Report and Query Timeout is 30 seconds. You can adjust these values by navigating to the web.config file, and adjusting the reportQueryTimeout + queryTimeout values respectively. Let me know if increasing those values helps out with this issue your team is facing. Thanks!

View original
Did this topic help you find an answer to your question?

3 replies

VladS
Community Manager
Forum|alt.badge.img
  • Community Manager
  • 24 replies
  • Answer
  • October 12, 2023

Hello @Michael Hansen !

 

To my knowledge, the default value for a Report and Query Timeout is 30 seconds. You can adjust these values by navigating to the web.config file, and adjusting the reportQueryTimeout + queryTimeout values respectively. Let me know if increasing those values helps out with this issue your team is facing. Thanks!


Manikanta Dhulipudi
Captain II
Forum|alt.badge.img+13

Hi @Michael Hansen 

How many records you will get in the GI?

As @Naveen Boga mentioned we can see 10million records in GI,

Generally the error comes because of Incoorect GI relations

 

  1. One way to optimize a Primary List is by reducing the number of fields that have "Use in quick search" enabled (highlighted)

  2. Check the tables in the GI, if there are any that are not necessary we recommend removing them (obsolete tables)

    TO=o calculate the count and display the results, the system needs to run two queries. To ensure the responsiveness of the application, the Generic Inquiry system will wait for a predetermined amount of time (a few seconds). If the count of records is not returned in the allotted time, the query is canceled and the GI will only display the records.

    More than likely, this means that the GI has a complex join expression or condition that requires full table scans instead of faster-clustered index operations. '

  3. Analysis of the SQL Query Execution plan through SQL Management Studio is recommended in such cases. In some cases, it can simply be because you’re missing a field in the relationship (ex: joining by OrderNbr instead of OrderType, OrderNbr).

  4. One way to optimize a Primary List is by reducing the number of fields that have "Use in quick search" enabled 

  5. Check the tables in the GI, if there are any that are not necessary we recommend removing them (obsolete tables)

  6. Another suggestion would be to enter a value for the "export top" field if the client is not exporting all the values and the first few only


Michaelh
Semi-Pro III
Forum|alt.badge.img+2
  • Author
  • Semi-Pro III
  • 187 replies
  • October 12, 2023

THANK YOU @VladSushkin83 

 

@manikantad18 - I will look into killing the quick filter toggles on the inquiries!


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings