Subject | Re: Assure me |
---|---|
Author | Michael Vilhelmsen <Michael.Vilhelmsen@M |
Post date | 2003-01-13T10:47:40Z |
>No, None.
> I presume that you did not make ANY changes to the database
> at the same time!
I started making changes some weeks later, when problem was already
there.
>tables.
> > Now the clients keep falling of every once in a while.
> > And the system has dropped considerable.
> >
> > First I assummed, that I had created to many index' on to many
> > So laft week i drop a lot of index' on the DB.Yes.
> > Now every table contains no more than 8 index'.
> > Most of the tables only contains 4 index'
> >
> > Those 4 are always created as 2 asc and 2 desc (on two different
> > fields).
>
> I presume that this was what was working fine last year?
It wasn't the fastest solution ever made up, but it worked fine
(because of the Terminal Server).
At that time a update of a sale took 0.5 - 2 seconds.
Its now up to 30 seconds.
>No the capacity.
> > We have been pinging the clients router at the new location, and
> > every once in a while the respons time from the router is not
> > available.
>
> Either the router is faulty, or the capacity of the line is
> simply unable to cope with all the users.
Its the same.
I think its a fawlty router.
>insert
> > I Think thats why the are being trown off.
>
> Sounds familiar - I had it the other way round. FrameRelay
> had not been set up properly by British Telecom so every now
> and again packets were taking seconds rather than
> milliseconds. I spent 6 months trying to fix my end, but
> once we had got BT to admit it was their problem and correct
> it everything started working fine. Now we are not using
> enough bandwidth to register a 1% uasage each week, because
> of all the extra stuff to fix other peoples problems.
>
> > Now my theori goes on this:
> >
> > 1 clients is about to do an update, and therefor starts an
> > transaction.
> > The connection to the terminal server goes down.
> > After a few seconds the session is terminated, by both server and
> > client.
> > And after another few seconds the firebird DB realizes that the
> > connecton has been lost and rollbacks whatever transactions are
> > active (Does anyone know how long time there will go) ?
> >
> > Until this happens, all other clients that wants to update /
> > on the same tables must wait (they get a Deadload on no waitour
> > transaction).
>
> Sounds about right.
>
> > So I think that the poor quality of the internet line causes this.
> > Is that likely to be the case ?
> >
> > Or Could it be anything else ?
> > Still to many index (which I find very unlikly since we here in
> > own house havn't the same problems with the same software / DB).Thats deficcult.
>
> And I presume that this was working fine with the previous
> internet connection.
>
> > Other things ?
>
> First thing is to establish if it is simply a faulty router,
> or that the comms supplier at the new location simply does
> not have enough bandwidth to cope with all the users are are
> supplying. I don't think you problem is in your software.
>
> Perhaps you could use another site as a temporary server
> just to prove the point?
But it can be, that we have to do that.
Michael
>
> --
> Lester Caine
> -----------------------------
> L.S.Caine Electronic Services