Subject | Re: [firebird-php] pconnect & disconnect & FK |
---|---|
Author | Jochem Maas |
Post date | 2005-08-15T13:23:27Z |
michal.720 wrote:
production box so casually - you can make the change and show the customer
it works on a dev box and then possibly schedule in an (automated) update
'window' on the production box once a day. e.g. during quite hours the
box switches to 'connect' and a cronjob runs to patch the DB (trying
regularly until it succeeds).
if a customer knows he can rely on a DB schema change always being implemented
within 24 hours, and you explain to then how/why the process works the way it does,
then they might be less annoyed because they have the required insight and knowledge
to plan in accordance...
just a thought.
.
to eat thru the number of requests that each child want to handle
before dying. you might want to make it a very simple script. :-)
> Thanks Jochem for your reply.I might suggest that DB schema changes should not be performed on a
>
> The solution you described is the only one I found acceptable.
>
> 1] there is no way to destroy link to database created by ibase_pconnect()
> 2] there is no way to restart apache or firebird (from my position)
>
> I already have a switch which switches between functions connect() or
> pconnect() in my webapplication. And I already know that persistent link
> to database dies in about 20 minutes on one server where the applicaion
> runs.
>
> As you may expect, when somebody needs something, he needs it
> immediately, not after 20 minutes or one hour ;-)
production box so casually - you can make the change and show the customer
it works on a dev box and then possibly schedule in an (automated) update
'window' on the production box once a day. e.g. during quite hours the
box switches to 'connect' and a cronjob runs to patch the DB (trying
regularly until it succeeds).
if a customer knows he can rely on a DB schema change always being implemented
within 24 hours, and you explain to then how/why the process works the way it does,
then they might be less annoyed because they have the required insight and knowledge
to plan in accordance...
just a thought.
.
>you could setup a script that hammers the server with requests in order
> I just wanted to know, if somebody has solved this problem different
> way. Or faster ;-)
to eat thru the number of requests that each child want to handle
before dying. you might want to make it a very simple script. :-)
>
> Thank you
> Michal
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>