Re: script dies yet there are no errors in error log
- From: lawrence k <lkrubner@xxxxxxxxxxxxx>
- Date: Fri, 24 Oct 2008 11:17:46 -0700 (PDT)
On Oct 22, 2:54 pm, Jerry Stuckle <jstuck...@xxxxxxxxxxxxx> wrote:
lawrencek wrote:
Bizzare. I took out the UPPER and strtoupper() stuff from the queries,
so the SQL became simple:
$query = "UPDATE tracks SET status=4 WHERE isrc_id = '$upc' ";
The script now seems to work. I was able to run 200 UPCs through the
script and the script ran in less than a second.
That would make sense. The UPPER requires a table scan, where without
it MySQL probably is using an index.
That's a hot tip. I suppose if I'd thought clearly about it I might
have realized that. But that is good to know.
.
- References:
- script dies yet there are no errors in error log
- From: Lawrence Krubner
- Re: script dies yet there are no errors in error log
- From: Gordon Burditt
- Re: script dies yet there are no errors in error log
- From: Lawrence Krubner
- Re: script dies yet there are no errors in error log
- From: Jerry Stuckle
- Re: script dies yet there are no errors in error log
- From: Lawrence Krubner
- Re: script dies yet there are no errors in error log
- From: lawrence k
- Re: script dies yet there are no errors in error log
- From: lawrence k
- Re: script dies yet there are no errors in error log
- From: Jerry Stuckle
- script dies yet there are no errors in error log
- Prev by Date: Re: how to tell CLI or webserver execution?
- Next by Date: Re: email filtering
- Previous by thread: Re: script dies yet there are no errors in error log
- Next by thread: Re: script dies yet there are no errors in error log
- Index(es):
Relevant Pages
|