Partition rotating scheme
enough space
in ÔactiveÕ
for next
datafile
?
yes
EXIT
no
no
oldest ÔpostsiloÕ
to
ÔemptyÕ
no
yes (??)
oldest ÔpresiloÕ
to
ÔgopresiloÕ
both
Ô.temp1Õ and
Ô.temp2Õ
exists
?
yes
postinsert ÔpresiloÕ
no
wait for
at least one
.temp*
disappear
at least 2
ÔpresiloÕs
exists
?
no
both
Ô.temp1Õ and
Ô.temp2Õ
exists
?
yes
yes
oldest ÔpresiloÕ
to
Ô.temp*Õ
no
clonput2
no
yes
Call script
ÔemptyÕ (actually must cleanup !!)