performance analysis of checkpointing strategies  a widely used error recovery technique in database systems is the rollback and recovery technique. this technique saves periodically the state of the system and records all activities on a reliable log tape. the operation of saving the system state is called checkpointing. the elapsed time between two consecutive checkpointing operations is called checkpointing interval. when the system fails, the recovery process uses the log tape and the state saved at the most recent checkpoint to bring the system to the correct state that preceded the failure. this process is called error recovery and consists of loading the most recent state and then reprocessing all the activities, stored on the log tape, that took place since the most recent checkpoint and prior to failure.  former models of rollback and recovery assumed poisson failures and fixed (or exponential) checkpointing intervals. extending these models, we consider general failure distributions. we also allow checkpointing intervals to depend on the reprocessing time (the time elapsed between the most recent checkpoint prior to failure and the time of failure) and the failure distribution. furthermore, failures may occur during the checkpointing and error recovery. our general model unifies a variety of models that have previously been investigated.  we denote by fi; and t(fi), i 1, 2, ..., the ith failure that occurs during normal processing (not during error recovery) and the time of its occurrence, respectively. we refer to the time period li t(fi+1) t(fi), i 1, 2, ..., as the ith cycle whose length is li. it consists of two portions: the total error recovery time and the normal processing time. the reprocessing time associated with failure fi is denoted by yi 1. since the variables of the ith cycle depend at most on one variable of the (i 1)st cycle, namely yi 1, the stochastic process of the reprocessing time {yi; i≥0} is a markov process. we obtain the transition probability density function and the stationary distribution of this process.  the performance of the system is measured by the availability, the fraction of time the system is not checkpointing or recovering from errors. in equilibrium, the system availability is expressed as the ratio of the mean production time (normal processing time excluding checkpointing time) during a cycle and the mean length of the cycle. we obtain a general expression for the system availability in our general model.  the checkpointing strategy is characterized by the sequence of checkpointing intervals. for the well-known equidistant checkpointing strategy, in which the checkpointing intervals are constant, we find that the resulting system availability depends only on the mean of the failure distribution. we define a checkpointing strategy as failure- dependent if the sequence of checkpointing intervals depends on the failure distribution. checkpointing strategies that result in a checkpointing operation immediately after error recovery are called reprocessing-independent strategies. we then introduce a novel checkpointing strategy, the equicost strategy, which is failure-dependent and reprocessing-independent. this strategy suggests that a checkpointing operation is to be performed whenever the mean reprocessing cost equals the mean checkpointing cost. interestingly, the equicost strategy leads to fixed checkpointing intervals for poisson failures. we compare the maximum system availability resulting from the equidistant and the equicost checkpointing strategies under weibull distributions which are good approximations of actual failure distributions. computational results based on weibull failure distributions (both increasing and decreasing failure rates) show that the equicost strategy achieves higher system availability than the equidistant strategy which is known to be optimal under poisson failures.  asser n. tantawi manfred ruschitzka