*This post is locked for comments
*This post is locked for comments
Hi,
May I know how many GB is your company db? I have similar client, we have 40 GB mostly RM tables being populated, only a few from other modules.
Sounds like you need SUPLIMENTAL INDEXES. These are tables indexes that you add to the database. The only problem with suplimental indexes is that any time someone rebuilds tables (updates, upgrades, et cetera) you potentially need to re-add the indexes. So keep the code that you use to create the index.
First, run a SQL log to identify how the data is being pulled. Is the record being pulled by (using some wild examples) zip_code, phone_number, Dex_Row_ID, et cetera.
Second, check the table structure in SQL to see if there is an alternate index with these fields already. Keep in mind that if a suplimental index is by Field A, Field B, and Field C and you are pulling records by Field C, this is not sufficient. You need an index by Field C
Make sure you do not add too many suplimental indexes. Limit yourself to 3-5 per table, if even that many.
I had a client with simular response times in SmartLists and by adding 3 indexes to 2 tables, the response time went from 90-120 seconds to 2-3.
As a consultant, I am assuming you have someone with SQL skills (perhaps yourself) available so I have not written the code for you. If not, find out which fields are being used for searches and post back. One of us will craft the code for you.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,280 Super User 2024 Season 2
Martin Dráb 230,235 Most Valuable Professional
nmaenpaa 101,156