equal
deleted
inserted
replaced
7 Nokia Corporation - initial contribution. |
7 Nokia Corporation - initial contribution. |
8 Contributors: |
8 Contributors: |
9 --> |
9 --> |
10 <!DOCTYPE concept |
10 <!DOCTYPE concept |
11 PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd"> |
11 PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd"> |
12 <concept xml:lang="en" id="GUID-5F3B814F-30B2-5325-A83F-A48ACCF095EB"><title>Database compaction</title><prolog><metadata><keywords/></metadata></prolog><conbody><p>When a File-store database is constructed using the <codeph>RDbNamedDatabase</codeph> interface, there is no access to the underlying store in order to compact it and recover any free space for re-use.</p> <p>The <codeph>RDbDatabase</codeph> abstract base class, however, supports a compaction interface, the <codeph>Compact()</codeph> member function. The class also offers a complementary interface, the <codeph>UpdateStats()</codeph> and <codeph>Size()</codeph> member functions, which calculate and report size and usage information.</p> <p>Incremental forms of these functions are also offered by the <codeph>RDbIncremental</codeph> class.</p> </conbody></concept> |
12 <concept id="GUID-5F3B814F-30B2-5325-A83F-A48ACCF095EB" xml:lang="en"><title>Database |
|
13 compacting</title><shortdesc>Describes how to compact the database.</shortdesc><prolog><metadata><keywords/></metadata></prolog><conbody> |
|
14 <p>When a File-store database is constructed using the <codeph>RDbNamedDatabase</codeph> interface, |
|
15 there is no access to the underlying store in order to compact it and recover |
|
16 any free space for re-use.</p> |
|
17 <p>The <codeph>RDbDatabase</codeph> abstract base class, however, supports |
|
18 a compacting interface, the <codeph>Compact()</codeph> member function. The |
|
19 class also offers a complementary interface, the <codeph>UpdateStats()</codeph> and <codeph>Size()</codeph> member |
|
20 functions, which calculate and report size and usage information.</p> |
|
21 <p>Incremental forms of these functions are also offered by the <codeph>RDbIncremental</codeph> class.</p> |
|
22 </conbody></concept> |