close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

DataAssist results page very slow to load

Thread began 8/05/2018 6:23 am by Mags | Last modified 8/06/2018 2:23 pm by Ray Borduin | 367 views | 3 replies |

Mags

DataAssist results page very slow to load

One of the DataAssist results pages in a client's CMS is very, very slow to load - anything up to 1.5 minutes on a superfast broadband connection. All other pages in the CMS load fine and I've checked on the Developers Console in Chrome and can't see what's causing the problem. Also ran error reporting and apart from a couple of duplicate session starts, which I've removed, there were no errors. Any idea what might be causing this? There are over 2,000 rows in the table but I wouldn't have thought that would be the issue?

Sign in to reply to this post

Mags

I found out what was causing the trouble - I have a table in the database which records the successful login dates and times by each users. This table currently has over 27,000 entries and I had queried it as follows:

SELECT max(Login) as Login FROM users LEFT JOIN `LoginRecord` on users.user_email = LoginRecord.UserID

This is what was slowing everything down. I've taken that facility off the results page and was going to build it into the user detail page instead, however I can't actually select the table from the list of tables in the Recordset builder - it doesn't appear in the dropdown. Could this be because of its size?

Sign in to reply to this post

Ray BorduinWebAssist

Did you create an index on the Login column? That can greatly improve performance.

I'm not sure why the table wouldn't show are you using a local database for testing? Maybe it doesn't exist?

Sign in to reply to this post
Did this help? Tips are appreciated...

Mags

Hi Ray, I added an index to the Login column and all seems to be working fine now. I also realised why I thought the table wasn't showing - it was, but because the table name had a capital letter it wasn't in alphabetical order with the lowercase table names... [facepalm]

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...