logo       


Re: Re: hsqldb as RAM cache of some database tables: msg#00039

Subject: Re: Re: hsqldb as RAM cache of some database tables
---------------
> Campbell,
> 
> I have spent a good time with Oracle(as a matter of fact still do ),
but I
> don't have any benchmarks to offer. It was just common sense. Oracle
has a
> mechanism via which you can 'pin' objects ( tables, stored procedures,
> etc. ) in memory at database startup. Then, why use one more level of
> caching, if objects are allready cached in memory ?
> In addition to your observations, what also noticed is that another
> bottleneck can be opening/closing DB connections, so allways use a
> connection pool. And for avoiding roundtrips, allways use views/stored
> procedures, and delegate as much as possible processing to DB server,
but
> you allready said that.
> 
> All best,
> Dan
>

To make it clearer. I have about 10 - 15 MB quite static data (may
change once in a month if at all). I doubt that querying a server via
ethernet connection can beat reading local hard disk. There is simply a
latency and bandwith restriction.
The only thing I need to do at startup is querying server for a cache
version id, in order to know if I have to refresh cache. In the
application there will be many queries on this data. Of course some
queries have to go to server because they asking for other than static
data.

Even now I have a simple self written cache that is much faster then
querying server. But the cache itself can be made faster by adding
indizes (maps) for quicker lookup. I noticed that I was going to write
my own little RAM database. Therefor I stopped and was looking for an
existing solution that is fast to implement and sufficient in time. I am
not looking for a hard coded cache that would probably be the fastest
but would require a lot of coding.

Regards,
Stephan






-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click


Ruby Jobs
Java Jobs
Jobs in California
more...
what
job title, keywords
where
city, state, zip
jobs by job search
Search:
Java, servers, webhosting, windows, cisco ...
more...
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
encryption.gpg....    ietf.rfc822/199...    freebsd.devel.i...    lang.haskell.li...    mail.squirrelma...    web.zope.plone....    yellowdog.gener...    text.xml.xalan....    recreation.phot...    kde.devel.educa...    hardware.bus.ca...    printing.ghosts...    voip.peering/20...    assembly/2006-0...    org.user-groups...    culture.interne...    network.i2p/200...    boot-loaders.ya...    xfree86.render/...    qnx.openqnx.dev...    jakarta.velocit...    user-groups.pal...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe