Slow write to DB but read Ok?

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
Seoman
Posts: 3
Joined: Mon May 15, 2006 8:56 pm

Slow write to DB but read Ok?

Post by Seoman »

Script URL: http://intranetgjl/hesk (it's installed to be local)
Version of script: 0.93
Version of PHP: 4.3.2
Hosting company: Myself using a RH enterprise 3.0
Have you searched THIS FORUM for your problem: Yes
(if not please do before posting)
If so, what terms did you try: Nothing I found relates to my problem.

Write your message below:

Hi, I've succesfully solved my login bug (the same issue that plagues a lot of people, unfortunately.) but i'm still stuck with a bug to which I haven't seen any solution either in the forum or the internet in general. Here's how it goes:

I'm hosting my helpdesk as a sub-part of my intranet (meaning i've copied the Hesk folder into the root of my intranet.). I already have a MySQL database running for my intranet and I've created another one for Hesk using the installer file. Everything works fine when I try to add entries in my intranet DB but when I try to add something (let's say a ticket) using Hesk, it takes a long time before completing the operation, about a couple of minutes... Also, whenever I try to read from the DB, everything's ok I get normal speeds. And by the way, the intranet database is extremely small and there are only a couple of entries in my Hesk database. Any ideas as to what may be causing the problem?

Thanks.
Klemen
Site Admin
Posts: 10139
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

No idea what could be wrong, but it must have something to do with your server setup, because there is nothing special in Hesk SQL code. Do other PHP scripts with MySQL have such problems?
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Seoman
Posts: 3
Joined: Mon May 15, 2006 8:56 pm

Post by Seoman »

Thanks for the swift reply.

That's the thing, MySql hosts two DBs: my intranet and Hesk. Whenever I add things to my intranet DB, everything's ok, but when I'm using the Hesk one, it's slow...

I'll try to look deeper into it tomorrow.

thanks
Klemen
Site Admin
Posts: 10139
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Maybe something to do with database user/permissions? I'm not a server-side expert so I don't really know what to suggest here, sorry.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Seoman
Posts: 3
Joined: Mon May 15, 2006 8:56 pm

Post by Seoman »

Just to give you a little follow up, I've finally decided to install Hesk on my own desktop which will constantly run EasyPHP.

Thanks for the support and dedication, guys like you make the internet a place worth visiting.

[Seoman]
Post Reply