slowness
After many changes to many ColdFusion programs, the system is having intermittant slowness. The changes include new cfms, many new queries, and a new table.
I'm putting tickcount()s for some of the code into a table and found very slow insert and update queries into a table with over 10 million records, many indexes, and 35 fields. It has thousands of inserts and updates each day. Those insert and update queries have not been changed in years. In logs, it looks like the slowness sometimes correponds to the running of a report that's run against that table, when the report requests many rows.
1. Could the size of the table and the activity be the problem ?
If so, wouldn't the slowness start gradually instead of suddenly ?
2. In select FIELDS from DEMOGRAPHIC left outer join LARGETABLE on JOINCONDITION where WHERECONDITION, is the right place for a SQL nolock directive after the "on" ?
Any suggestions would be really appreciated.
