Account Module loads very slow

For complex topics that regular users would not be interested in. For power users and database administrators.
Post Reply
mvoschin
Posts: 21
Joined: Tue Mar 04, 2008 1:06 pm

Account Module loads very slow

Post by mvoschin » Mon May 12, 2008 7:04 am

Just updated to 5.6.20.0
Depending on the account history length when clicking on the module loads(almost hangs) very long. Tried the database on a different computer including database maintenance - same result. There is a waiting time of about 10-30 seconds.

User avatar
jordansparks
Site Admin
Posts: 5744
Joined: Sun Jun 17, 2007 3:59 pm
Location: Salem, Oregon
Contact:

Re: Account Module loads very slow

Post by jordansparks » Mon May 12, 2008 7:09 am

Hmm. It must be database specific, because I noticed to lag time at all. Any chance we could get a copy of your database so we can try to pin down the slowness? I'm sure it won't be too hard to find if we have a database. We probably just need to add an index on some column.
Jordan Sparks, DMD
http://www.opendental.com

mvoschin
Posts: 21
Joined: Tue Mar 04, 2008 1:06 pm

Re: Account Module loads very slow

Post by mvoschin » Mon May 12, 2008 8:14 am

Where can I upload the file? I used Navicat, so would *.psc backup file work or do you need the whole sql dump? Since we are on the speed topic, is there anything that can be done to speed up load time for Procedure Codes?

User avatar
jordansparks
Site Admin
Posts: 5744
Joined: Sun Jun 17, 2007 3:59 pm
Location: Salem, Oregon
Contact:

Re: Account Module loads very slow

Post by jordansparks » Mon May 12, 2008 11:00 am

Neither .psc nor sql dump would be useful to us. The actual database files are what we need, typically zipped into a single file. We had used MediaMax in the past, but they just shut down. So we are working on getting our own ftp site up and running. Until then, we can grab it directly from your computer over a remote connection.
Jordan Sparks, DMD
http://www.opendental.com

User avatar
drtech
Posts: 1649
Joined: Wed Jun 20, 2007 8:44 am
Location: Springfield, MO
Contact:

Re: Account Module loads very slow

Post by drtech » Mon May 12, 2008 11:32 am

another report of speed:
- my account module is less than a second and same with procedure codes...

so what is it that would cause such a slowdown in some databases Jordan? You mentioned an index or column...is that when a database reaches a certain size it needs faster indexing or something?
David Fuchs
Dentist - Springfield, MO
Smile Dental http://www.887-smile.com

User avatar
jordansparks
Site Admin
Posts: 5744
Joined: Sun Jun 17, 2007 3:59 pm
Location: Salem, Oregon
Contact:

Re: Account Module loads very slow

Post by jordansparks » Mon May 12, 2008 12:11 pm

Example: User converts from another software and brings over 500,000 commlog entries. If a typical database had only 5000 commolog entries, then that would be a magnitude of difference of 100 times. That would be noticeable if indexes were not set up right. Larger databases will experience slowdowns before smaller databases. But once we notice a slowdown, we can tune it and optimize it to be faster.
Jordan Sparks, DMD
http://www.opendental.com

User avatar
jordansparks
Site Admin
Posts: 5744
Joined: Sun Jun 17, 2007 3:59 pm
Location: Salem, Oregon
Contact:

Re: Account Module loads very slow

Post by jordansparks » Mon May 12, 2008 1:33 pm

OK, msvochin. I have your database up and running on my computer. The account module runs nice and fast. Any patient in particular that seems to be slow? Oh wait. I found some that are taking 4 seconds, and that could be longer if it's over a network.
Jordan Sparks, DMD
http://www.opendental.com

User avatar
jordansparks
Site Admin
Posts: 5744
Joined: Sun Jun 17, 2007 3:59 pm
Location: Salem, Oregon
Contact:

Re: Account Module loads very slow

Post by jordansparks » Mon May 12, 2008 1:48 pm

I'm making progress. I have isolated a query that seems to account for most of the slowness.
Jordan Sparks, DMD
http://www.opendental.com

mvoschin
Posts: 21
Joined: Tue Mar 04, 2008 1:06 pm

Re: Account Module loads very slow

Post by mvoschin » Mon May 12, 2008 2:26 pm

I have noticed that it also depends on the speed of the computer. I was thinking of switching to Gigabit Ethernet but the operatory laptops don't have the GbE port :roll:. I just don't want to upgrade to dual/quad core just to run the database.

User avatar
jordansparks
Site Admin
Posts: 5744
Joined: Sun Jun 17, 2007 3:59 pm
Location: Salem, Oregon
Contact:

Re: Account Module loads very slow

Post by jordansparks » Mon May 12, 2008 2:37 pm

No, you don't have to. It's running at least 10 times faster now.
Jordan Sparks, DMD
http://www.opendental.com

User avatar
jordansparks
Site Admin
Posts: 5744
Joined: Sun Jun 17, 2007 3:59 pm
Location: Salem, Oregon
Contact:

Re: Account Module loads very slow

Post by jordansparks » Mon May 12, 2008 4:15 pm

To get the speed increase, you'll have to upgrade to version 5.6.22, which has not yet been released. Hopefully tonight.
Jordan Sparks, DMD
http://www.opendental.com

mvoschin
Posts: 21
Joined: Tue Mar 04, 2008 1:06 pm

Re: Account Module loads very slow

Post by mvoschin » Tue May 13, 2008 6:39 am

Just upgraded to 5.6.22; delays are about 1-2.5 secs. Thank you for a quick response.

User avatar
jordansparks
Site Admin
Posts: 5744
Joined: Sun Jun 17, 2007 3:59 pm
Location: Salem, Oregon
Contact:

Re: Account Module loads very slow

Post by jordansparks » Tue May 13, 2008 7:38 am

It should be well under a second. I will review all the queries on that page for possible missing indices.
Jordan Sparks, DMD
http://www.opendental.com

User avatar
kapricorn
Posts: 62
Joined: Tue Dec 18, 2007 12:40 pm

Re: Account Module loads very slow

Post by kapricorn » Wed May 14, 2008 6:23 am

We also have a client that is experiencing the same problem, converted them from softdent and they are on 5.6.23 and still extremely slow 10 seconds across the network. We have a copy of the data we can put on our ftp site if you wish.

Thanks,
Curt
Curt Wyandt
curt@kapricorn.com

Kapricorn Systems, Inc.
214 Woodstown Highway
Hollsopple, PA 15935
800-344-5342
http://www.kapricorn.com

User avatar
jordansparks
Site Admin
Posts: 5744
Joined: Sun Jun 17, 2007 3:59 pm
Location: Salem, Oregon
Contact:

Re: Account Module loads very slow

Post by jordansparks » Wed May 14, 2008 7:23 am

We're working on it today and tomorrow. I think we have a database we can use to duplicate the slowness. If not, we'll contact you.
Jordan Sparks, DMD
http://www.opendental.com

Post Reply