Re: Bottlenecks



Mxsmanic pravi:
If you got enough cache, the prefetching and caching will zero out the access time in most situations. What kind of cases are we talking about?

For random access to large databases, cache is essentially useless;
every access to the database will generate physical disk I/O.

Yes, but not in a time-dependent fashion. A write to the cache will not make the application wait for the actual write to be made. Rather, the data will go into the cache and the cache will independently write it to the disk. Unless you are persistently writing in very different locations of a very large database, a cache of 1 GB will pretty much provide sufficient buffer space for your writing needs. The cache will also allow for optimizations in writing (cache has 0 seek time, disk has enormous seek time).


--
Primary function: Coprocessor
Secondary function: Cluster commander

http://www.thought-beacon.net

Pay once per lifetime webhosting:
http://farcomm-it.com/?ref=jsah

We are the paragon of humanity. You may worship us. From afar.

01010010 01100101 01110011 01101001 01100100 01100101 01101110 01110100
01000010 01000001 01010011 01001001 01000011
.



Relevant Pages

  • Re: is there a better XP Defrag..?
    ... but restricted to files that fit into the cache. ... And file access time can take up a significant ... system's disk access cache, but it doesn't really matter. ...
    (microsoft.public.windowsxp.general)
  • Re: Event ID: 13512 ???
    ... the Active Directory will disable the disk ... If such cache is discovered as being active, ... database may be damaged if power to the drive is lost. ... Write Caching feature and if there are provisions for a power loss (such as ...
    (microsoft.public.win2000.general)
  • Re: Exchange 2007 SCC Cluster - Slow Failover
    ... Exchange 2007 needs to flush the database cache to disk ... CCR SP1 does not persist the cache before moving to the other node and thus ... SSC has to flush uncommitted data to disk before moving the database. ...
    (microsoft.public.exchange.admin)
  • Re: O_DIRECT question
    ... writes to a file and don't pollute cache memory without using O_DIRECT? ... It's why database people like it, ... that makes sure that different people doing allocations and deallocations ... wrong data - including seeign uninitialized portions of the disk etc etc. ...
    (Linux-Kernel)
  • Re: What is the complexity of find_by_name ?
    ... would be 2-15 milliseconds per database call... ... Next, SQL must parse and optimize the query, since Rails doesn't make ... normally complete the cache flushing mentioned above. ... Then, to execute the search requires a logsearch through disk pages, ...
    (comp.lang.ruby)