Random vs. Sequential

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • rayw

    #1

    Random vs. Sequential

    I was wondering if there were some good on-line references to the various
    pros/cons with these types of file access at all?

    Ta

    rayw



  • Kenneth Brody

    #2
    Re: Random vs. Sequential

    rayw wrote:[color=blue]
    >
    > I was wondering if there were some good on-line references to the various
    > pros/cons with these types of file access at all?[/color]

    (Please include the relevent information in the body of the message. I
    am assuming that "these types of file access" refers to the subject's
    "Random vs. Sequential".)

    Imagine a database of two million names. How would you update the one
    millionth record? Would random or sequential access be better?

    Imagine a C source file. Would random or sequential access make more
    sense?

    The "pro" is one is better for the task at hand. The "con" is that the
    same one is not necessarily appropriate for a different task.

    --
    +-------------------------+--------------------+-----------------------------+
    | Kenneth J. Brody | www.hvcomputer.com | |
    | kenbrody/at\spamcop.net | www.fptech.com | #include <std_disclaimer .h> |
    +-------------------------+--------------------+-----------------------------+
    Don't e-mail me at: <mailto:ThisIsA SpamTrap@gmail. com>


    Comment

    Working...