forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: Lu, Huayi <luhuayi@huawei.com> Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
34 lines
3.1 KiB
HTML
34 lines
3.1 KiB
HTML
<a name="EN-US_TOPIC_0000001188482256"></a><a name="EN-US_TOPIC_0000001188482256"></a>
|
||
|
||
<h1 class="topictitle1">Selecting a Storage Model</h1>
|
||
<div id="body8662426"><p id="EN-US_TOPIC_0000001188482256__p6119135741818">During database design, some key factors about table design will greatly affect the subsequent query performance of the database. Table design affects data storage as well. Scientific table design reduces I/O operations and minimizes memory usage, improving the query performance.</p>
|
||
<p id="EN-US_TOPIC_0000001188482256__aa4c419203eda43b7be7515d4e3f57af5">Selecting a model for table storage is the first step of table definition. Select a proper storage model for your service based on the following table.</p>
|
||
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001188482256__tdd711f88b635407a83b9a7758cc94187" frame="border" border="1" rules="all"><thead align="left"><tr id="EN-US_TOPIC_0000001188482256__ra6067813e3174a49a05c16bc762f4ed2"><th align="left" class="cellrowborder" valign="top" width="15.65%" id="mcps1.3.3.1.3.1.1"><p id="EN-US_TOPIC_0000001188482256__a1f11c78a50bc47b88d46bb89484147b8"><strong id="EN-US_TOPIC_0000001188482256__b84235270615839">Storage Model</strong></p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="84.35000000000001%" id="mcps1.3.3.1.3.1.2"><p id="EN-US_TOPIC_0000001188482256__adc72be9fdedb43a3aad1af790e130399"><strong id="EN-US_TOPIC_0000001188482256__b84235270615836">Application Scenario</strong></p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="EN-US_TOPIC_0000001188482256__r3e1c3a225f73425ea75afb4fc60794fe"><td class="cellrowborder" valign="top" width="15.65%" headers="mcps1.3.3.1.3.1.1 "><p id="EN-US_TOPIC_0000001188482256__aac2052863cca4421bf94baffdfc6ef9c">Row storage</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="84.35000000000001%" headers="mcps1.3.3.1.3.1.2 "><p id="EN-US_TOPIC_0000001188482256__ac36a27bb8bd64788a55c7a7e51b5eaf6">Point query (simple index–based query that returns only a few records).</p>
|
||
<p id="EN-US_TOPIC_0000001188482256__a7bae6c5e703e4e88b9e22031a7c88e60">Query involving many <strong id="EN-US_TOPIC_0000001188482256__b626814181111">INSERT</strong>, <strong id="EN-US_TOPIC_0000001188482256__b62681912112">UPDATE</strong>, and <strong id="EN-US_TOPIC_0000001188482256__b102688121110">DELETE</strong> operations.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="EN-US_TOPIC_0000001188482256__r8d03bca38009479a9a2e9ca8653729a7"><td class="cellrowborder" valign="top" width="15.65%" headers="mcps1.3.3.1.3.1.1 "><p id="EN-US_TOPIC_0000001188482256__a88bc67a4a113417398fef07677a0c8b8">Column storage</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="84.35000000000001%" headers="mcps1.3.3.1.3.1.2 "><p id="EN-US_TOPIC_0000001188482256__a29c1ec3474b74854a9f5b354c54e66f0">Statistics analysis query, in which operations, such as group and join, are performed many times.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
<div>
|
||
<div class="familylinks">
|
||
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_04_0437.html">Reviewing and Modifying a Table Definition</a></div>
|
||
</div>
|
||
</div>
|
||
|