There is a lot of difference between READ & F.READ.... read dosent use
caching, but reads the record from the disk... whereas F.READ will also
check if the record is in the cache as well...

it all depends on the requirement whether to use read / f.read....

but its always better to use read / f.read  instead of DBR....




On Tue, Jun 23, 2009 at 10:11 AM, foxy.md <[email protected]> wrote:

>
> Hi,
>
> not quite right.
> DBR does a lot more actions than just a simple read and locate of a
> field. For ex. it can read a field value depending on the user's
> language, it checks also STANDARD.SELECTION record of the T24
> application, etc. That's why it takes longer to execute.
>
> And F.READ is also about 8 times slower than just a simple READ.
>
> Regards.
>
> On Jun 22, 1:11 pm, Igor Micev <[email protected]> wrote:
>  > Hi all
> >
> > I need confirmation about speed execution of DBR() and F.READ()
> >
> > I measure the speed of DBR with SYSTEM(12) command and it shows 2
> > milliseconds of execution time.
> > When I measure the speed of F.READ() on the same record as for DBR()
> > the execution time is 0.
> >
> > I think the difference in time is the location of the data on the
> > disk, which means it is easier to locate a whole record of an
> > application with F.READ , instead of location only one field as it is
> > with DBR().
> >
> > Am I right?
> >
> > Regards
> > Igor
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
Please read the posting guidelines at: 
http://groups.google.com/group/jBASE/web/Posting%20Guidelines

IMPORTANT: Type T24: at the start of the subject line for questions specific to 
Globus/T24

To post, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to