Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Databases / June 2006

Tip: Looking for answers? Try searching our database.

hsqldb recommended SHUTDOWN flavour and frequency ?

Thread view: 
lordy - 26 Jun 2006 01:21 GMT
Hi all,
I have an application with an inprocess hsqldb instance.
The application is receiving data, storing it in a database, collating
and processing it and then sending it out...
Once sent out the data is deleted, so the DB should be of fairly
constant size overtime but has a lot of churn.

The application is typically long running (ie months hopefully)..

1. Whats the best way to shutdown 'SHUTDOWN COMPACT' or 'SHUTDOWN
SCRIPT'? The look the same except the latter divides the effort between
this shutdown and the next startup - and also provides a script that
would help with hsqldb upgrades and perhaps troubleshooting?

2. Should I periodically shutdown and repoen the database. I think I
remember having to consider this with hsqldb a couple of years ago, but
I'm not sure if it was a hsqldb feature or my lack of understanding..

Lordy
IchBin - 26 Jun 2006 01:47 GMT
> Hi all,
> I have an application with an inprocess hsqldb instance.
[quoted text clipped - 15 lines]
>
> Lordy

I think that you could keep it running and just do a 'Checkpoint Defrag'
at your own or automated interval.

Thanks in Advance...
IchBin, Pocono Lake, Pa, USA http://weconsultants.phpnet.us
__________________________________________________________________________

'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor,  Regular Guy (1952-)
lordy - 28 Jun 2006 17:52 GMT
>> Hi all,
>> I have an application with an inprocess hsqldb instance.
[quoted text clipped - 18 lines]
> I think that you could keep it running and just do a 'Checkpoint Defrag'
> at your own or automated interval.

Thanks. I'll look into that..

Lordy


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.