persistentstorage/dbms/bmake/EDbms_Template.mmh
changeset 0 08ec8eefde2f
equal deleted inserted replaced
-1:000000000000 0:08ec8eefde2f
       
     1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // EDBMS.MMH
       
    15 // edbms.mmh Database management - DBMS server, page and cluster cache sizes
       
    16 // This file is an example file that may be copied, modified and 
       
    17 // installed as \epoc32\include\edbms.mmh file to customise cache handling
       
    18 // in the DBMS component. Also, SYMBIAN_CUSTOM_DBMS_CACHE_SIZES macro must be 
       
    19 // defined in the related \epoc32\include\variant\Symbian_OS_v<N>.hrh file,
       
    20 // where <N> is the OS version number, like 9.1.
       
    21 // This example file is not expected to be directly modified.
       
    22 // NOTE: Changing the value of these macros will affect RAM usage in 
       
    23 // database processing system wide and should not be undertaken lightly.
       
    24 // Index cache size in pages - size of page pool.
       
    25 // The page cache is used to cache index information in a database.
       
    26 // It can't be less than 8 pages.
       
    27 // 
       
    28 //
       
    29 
       
    30 /**
       
    31  @file
       
    32  @publishedPartner
       
    33 */
       
    34 MACRO PAGE_CACHE_SIZE=16
       
    35 
       
    36 /**
       
    37 Max cluster cache size - max number of clusters.
       
    38 The cluster cache is used to cache row data for tables in a database.
       
    39 It can't be less than 4 clusters.
       
    40 @publishedPartner
       
    41 */
       
    42 MACRO MAX_CLUSTER_CACHE_SIZE=8
       
    43