Definitely scaling issues. I created a smaller test database with about 500 staff, 1000 students, and the groups/classes they need. The table sizes in BASTEST are (in records):
ChangeLog: 17K
Class: 1.4K
Class_ref: 6.2K
Group: 0.3K
Group_ref: 7.6K
Staff: 0.5K
Staff_ref: 7.4K
Student: 1.0K
Student_ref: 20.7K
I did a search for all students, opened one student's classes tab, and then just scrolled between students. It took 12 - 14 seconds change to the next student. When I had the students group tab open, it took between 5 - 6 seconds to change students. The basic data tab (no reference attributes) took less than a second to change to the next student. The changelog tab also took less than a second.
The Group and Class tabs each have 4 reference attributes on them and one of these four attributes are a matching attribute. The changelog tab reference attribute is not a matching attribute.
I really need help on how to speed up the query as when I load in the entire 20K students, it is unusable.
Let me know what you need to help resolve this or what I can do to speed things up.
cheers,
ski