How does the "user" of the web service perform the query? Maybe you can prevent it simply at the front end I stead of when the query reaches AR?
Sent from my iPhone On Jul 29, 2013, at 3:36 PM, L G Robinson <[email protected]> wrote: ** Hi Folks, We make heavy use of Web services here at NC State and I have come across a problem. We have a number of standard get-entry and get-list operations defined against our main form. These operations have the usual: Qualification StartRecord MaxLimit input parameters. The problem... If a user of the Web services invokes one of these operations with a null qualification, this results in a full table scan. Obviously, this is not ideal for a table with ~275K records. My server settings are set to disallow unqualified searches (Allow-Unqual-Queries: F) and there is also a limit on the number of returned records (Max-Entries-Per-Query: 50000). Apparently, the Web services are exempt from these limitations. Does anyone have any suggestions on how I can prevent these table scans? It doesn't happen often but when it does, I end up restarting the AR server as performance eventually becomes unacceptable before the scan completes. On a side note, if I know the server thread that is processing the table scan, is there any way to kill that process without killing the whole server? Thanks for any insights you might have. ARS: 7.6.03 on Solaris 10. Mid Tier: 7.6.04 SP3 201208101612 Hotfix on Red Hat Linux Tomcat: 6.0.35 Java: 1.7.0_05 Larry Robinson Remedy Developer/Admin NC State University Raleigh, NC PS: I voted. ;-) _ARSlist: "Where the Answers Are" and have been for 20 years_ _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org "Where the Answers Are, and have been for 20 years"

