Re: How to tell what index tags are actually used
From: Jeff Grippe (jgrippe_at_hilldun.com)
Date: 12/07/04
- Next message: Zeke Galama: "Re: INI files?"
- Previous message: Jeff Grippe: "Re: VFP 9 and file size limits"
- In reply to: tom knauf: "Re: How to tell what index tags are actually used"
- Next in thread: tom knauf: "Re: How to tell what index tags are actually used"
- Reply: tom knauf: "Re: How to tell what index tags are actually used"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 7 Dec 2004 08:32:06 -0500
Actually those aren't the ones that are hard to find. A grep through the
code picks up the ones that are a result of coding. The ones that are harder
to find are the ones that were created to optimize report and query
generation.
Thanks
"tom knauf" <tom.knauf@itds.de> wrote in message
news:cp42og$24d$05$1@news.t-online.com...
> Hi,
>
> I would add a small application method oapp.logit() which "Echos" (Set
> alter
> to or so) ALIAS() , Key() and TAG() into a logfile and place calls to
> this
> method allover the programs. Then just let the users use it for some days
> und put the textfile into excel and sort/filter it. I would not use a dbf
> for it to prevent sideeffects, just produce a textfile.
> May be you put asserts into it but then you have to use it by yourself.
>
> HTH
> Tom
>
>
> "Jeff Grippe" <jgrippe@hilldun.com> schrieb im Newsbeitrag
> news:10r0q71gjh883a3@news.supernews.com...
>> Hello all and thank in advance for the help.
>>
>> I have an app that I maintain which I inherited from other coders. There
> are
>> some tables for which over 50 index tags have been created and I'm
>> certain
>> that not all of them are needed. I can certainly tell which ones are
>> referred to in the code by searching for all of the instances of SET
>> ORDER
>> in the project but that still leaves me with over 30 that may be
>> unnecessary.
>>
>> Is there anything I can turn on that is similar to profiling that will
> tell
>> me which indexes actually get used?
>>
>> I suppose that I could always remove them one at a time and see if anyone
>> complains that their report or query has gotten really slow but I would
>> prefer a more intelligent approach.
>>
>> Does anyone have any ideas?
>>
>> Thanks again.
>>
>> Jeff
>>
>>
>
>
- Next message: Zeke Galama: "Re: INI files?"
- Previous message: Jeff Grippe: "Re: VFP 9 and file size limits"
- In reply to: tom knauf: "Re: How to tell what index tags are actually used"
- Next in thread: tom knauf: "Re: How to tell what index tags are actually used"
- Reply: tom knauf: "Re: How to tell what index tags are actually used"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|