<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml">
  <head runat="server">
    <!-- PageID 382 - published by RedDot 7.5 - 7.5.1.69 - 22111 -->
    <META name="PublicArticle" content="True" />
    <META http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <META name="keywords" />
    <META name="summary" />
    <META name="product" content="fp_email" />
    <META name="version" content="v85" />
    <META name="book" content="Forcepoint Email Security Administrator Help, v8.5.x" />
    <title>Configuring Log Database options</title>
    <!--Loading the 2016 fonts.-->
    <script type="text/javascript" src="//fast.fonts.net/jsapi/c504d579-e135-4f75-8335-4906f6c6ce67.js"></script>
    <!--Library content styles.-->
    <link rel="StyleSheet" href="https://help.forcepoint.com/docs/ni/assets/css/epub2016.css" type="text/css" media="all" />
    <!--2016 font support -->
    <link type="text/css" rel="stylesheet" href="//fast.fonts.net/cssapi/c504d579-e135-4f75-8335-4906f6c6ce67.css" />
  </head>
  <body>
    <!--googleoff: all-->
    <a href="https://www.forcepoint.com">
      <img class="logo" alt="Forcepoint logo" src="https://help.forcepoint.com/docs/ni/assets/logo1.png" />
    </a>
    <div class="extLinksContainer">
      <a class="extLinks" href="https://support.forcepoint.com/s/">Documentation</a> | <a class="extLinks" href="//support.forcepoint.com">Support</a></div>
    <!--
		<wsApp:UserAccess ID="useraccess1" runat="server" IsSecure="False" />
		-->
    <div class="spacer1"></div>
    <br />
    <!-- New Navigation DIV -->
    <div class="TL_nav" style="text-align: left;">
      <table cellspacing="0" class="toolBarTable" summary="">
        <!-- End New Navigation DIV -->
        <tr>
          <td>
            <!-- New Go To TOC -->
            <a href="toc.aspx"><img src="images/toc.png" alt="Go to the table of contents" border="0" /></a>
            <!-- End Go To TOC -->
          </td>
          <td>
            <!-- New Previous -->
            <a href="first_6.aspx"><img src="images/prev.png" alt="Go to the previous page" border="0" /></a>
            <!-- End New Previous -->
          </td>
          <td>
            <!-- New Next (Active) -->
            <a href="changing_log_database_esg.aspx"><img src="images/next.png" alt="Go to the next page" border="0" /></a>
            <!-- End New Next (Active) -->
          </td>
          <td>
            <!-- New PDF -->
            <a href="email_help.pdf"><img src="images/pdf.png" alt="View or print as PDF" border="0" /></a>
            <!-- End New PDF -->
          </td>
          <!--Start JR breadcrumbs -->
          <td width="20px"></td>
          <td>
            <div class="WebWorks_Breadcrumbs" style="text-align: left;">
              <a class="WebWorks_Breadcrumb_Link" href="first_6.aspx">Working with Reports</a> &gt; Configuring Log Database options   </div>
          </td>
          <!--End JR breadcrumbs -->
        </tr>
      </table>
    </div>
    <!--googleon: all-->
    <div>
      <div class="N1H-Heading1"><a name="1034045">Configuring Log Database options   </a></div>
      <div class="IN-TopicInfo"><a name="618008">Administrator Help | </a>Forcepoint Email Security | Version 8.5.x</div>
      <div class="B-Body"><a name="1034058">The Log Database stores the records of email traffic activity and the associated email analysis on that traffic. These data records are used to generate presentation reports of email activity, including size and volume of email messages and identification of senders and recipients. They are also used to generate the status charts on the dashboard.</a></div>
      <div class="B-Body"><a name="1034063">Administering the Log Database involves controlling many aspects of database operations, including the timing of maintenance tasks, the conditions for creating new database partitions, and which partitions are available for reporting. Manage Log Database operations on the page </a><span class="B-Bold">Settings&nbsp;&gt; Reporting&nbsp;&gt; Log Database</span>.</div>
      <div class="B-Body"><a name="1018957">Making changes to Log Database settings on one appliance applies those changes to all the appliances in your network.</a></div>
      <div class="B-Body"><a name="1018958">The Log Database page is divided into six sections, as detailed in the following table. After making changes in any of these sections of the Log Database page, click the </a><span class="B-Bold">OK</span> button within the section to save and implement the changes in that section.</div>
      <div class="F-Frame"><a name="1019001">&nbsp;</a></div>
      <table class="BodyTable" summary="">
        <caption></caption>
        <tr>
          <td style="background-color: #666465; border-bottom-color: #808080; border-bottom-style: solid; border-bottom-width: 2px; border-left-color: #808080; border-left-style: solid; border-left-width: thin; border-right-color: #808080; border-right-style: solid; border-right-width: 2px; border-top-color: #808080; border-top-style: solid; border-top-width: 2px; padding-bottom: 3.5pt; padding-left: 6pt; padding-right: 6pt; padding-top: 4.5pt; vertical-align: top">
            <div class="CH-CellHeading"><span style="color: #000000; font-style: normal; font-variant: normal; font-weight: bold; text-transform: none; vertical-align: baseline"><a name="1019049">Parameter</a></span></div>
          </td>
          <td style="background-color: #666465; border-bottom-color: #808080; border-bottom-style: solid; border-bottom-width: 2px; border-left-color: #808080; border-left-style: solid; border-left-width: thin; border-right-color: #808080; border-right-style: solid; border-right-width: 2px; border-top-color: #808080; border-top-style: solid; border-top-width: 2px; padding-bottom: 3.5pt; padding-left: 6pt; padding-right: 6pt; padding-top: 4.5pt; vertical-align: top">
            <div class="CH-CellHeading"><a name="1019051">Description</a></div>
          </td>
        </tr>
        <tr>
          <td style="border-bottom-color: #808080; border-bottom-style: solid; border-bottom-width: thin; border-left-color: #808080; border-left-style: solid; border-left-width: thin; border-right-color: #808080; border-right-style: solid; border-right-width: thin; border-top-color: #808080; border-top-style: solid; border-top-width: thin; padding-bottom: 3.5pt; padding-left: 6pt; padding-right: 6pt; padding-top: 4.5pt; vertical-align: top">
            <div class="CI-CellIndent"><a name="1019053">Log Database Location</a></div>
          </td>
          <td style="border-bottom-color: #808080; border-bottom-style: solid; border-bottom-width: thin; border-left-color: #808080; border-left-style: solid; border-left-width: thin; border-right-color: #808080; border-right-style: solid; border-right-width: thin; border-top-color: #808080; border-top-style: solid; border-top-width: thin; padding-bottom: 3.5pt; padding-left: 6pt; padding-right: 6pt; padding-top: 4.5pt; vertical-align: top">
            <div class="CB-CellBody"><a name="1019055">Provides options to configure the IP address/instance or hostname/instance of your Log Database server. By default, the Log Database created at installation is entered. See </a><span class="LEM-LinkEmphasis"><a href="#629278" title="Configuring Log Database options">Configuring the Log Database location</a></span>.</div>
          </td>
        </tr>
        <tr>
          <td style="border-bottom-color: #808080; border-bottom-style: solid; border-bottom-width: thin; border-left-color: #808080; border-left-style: solid; border-left-width: thin; border-right-color: #808080; border-right-style: solid; border-right-width: thin; border-top-color: #808080; border-top-style: solid; border-top-width: thin; padding-bottom: 3.5pt; padding-left: 6pt; padding-right: 6pt; padding-top: 4.5pt; vertical-align: top">
            <div class="CI-CellIndent"><a name="1019060">Database Rollover Options</a></div>
          </td>
          <td style="border-bottom-color: #808080; border-bottom-style: solid; border-bottom-width: thin; border-left-color: #808080; border-left-style: solid; border-left-width: thin; border-right-color: #808080; border-right-style: solid; border-right-width: thin; border-top-color: #808080; border-top-style: solid; border-top-width: thin; padding-bottom: 3.5pt; padding-left: 6pt; padding-right: 6pt; padding-top: 4.5pt; vertical-align: top">
            <div class="CB-CellBody"><a name="1019062">Provides options to specify when you want the Log Database to create a new database partition, a process called a rollover.</a></div>
          </td>
        </tr>
        <tr>
          <td style="border-bottom-color: #808080; border-bottom-style: solid; border-bottom-width: thin; border-left-color: #808080; border-left-style: solid; border-left-width: thin; border-right-color: #808080; border-right-style: solid; border-right-width: thin; border-top-color: #808080; border-top-style: solid; border-top-width: thin; padding-bottom: 3.5pt; padding-left: 6pt; padding-right: 6pt; padding-top: 4.5pt; vertical-align: top">
            <div class="CI-CellIndent"><a name="1019064">Maintenance Configuration</a></div>
          </td>
          <td style="border-bottom-color: #808080; border-bottom-style: solid; border-bottom-width: thin; border-left-color: #808080; border-left-style: solid; border-left-width: thin; border-right-color: #808080; border-right-style: solid; border-right-width: thin; border-top-color: #808080; border-top-style: solid; border-top-width: thin; padding-bottom: 3.5pt; padding-left: 6pt; padding-right: 6pt; padding-top: 4.5pt; vertical-align: top">
            <div class="CB-CellBody"><a name="1019066">Provides options to configure aspects of database processing, such as the time for running the database maintenance job, some of the maintenance tasks performed, and deletion of database partitions and error logs. </a>See <span class="LEM-LinkEmphasis"><a href="#1034104" title="Configuring Log Database options">Configuring maintenance options</a></span>.</div>
          </td>
        </tr>
        <tr>
          <td style="border-bottom-color: #808080; border-bottom-style: solid; border-bottom-width: thin; border-left-color: #808080; border-left-style: solid; border-left-width: thin; border-right-color: #808080; border-right-style: solid; border-right-width: thin; border-top-color: #808080; border-top-style: solid; border-top-width: thin; padding-bottom: 3.5pt; padding-left: 6pt; padding-right: 6pt; padding-top: 4.5pt; vertical-align: top">
            <div class="CI-CellIndent"><a name="1019071">Database Partition Creation</a></div>
          </td>
          <td style="border-bottom-color: #808080; border-bottom-style: solid; border-bottom-width: thin; border-left-color: #808080; border-left-style: solid; border-left-width: thin; border-right-color: #808080; border-right-style: solid; border-right-width: thin; border-top-color: #808080; border-top-style: solid; border-top-width: thin; padding-bottom: 3.5pt; padding-left: 6pt; padding-right: 6pt; padding-top: 4.5pt; vertical-align: top">
            <div class="CB-CellBody"><a name="1019073">Provides options to define characteristics for new database partitions, such as location and size options. This area also lets you create a new partition right away, rather than waiting for a planned rollover. </a>See <span class="LEM-LinkEmphasis"><a href="#1034137" title="Configuring Log Database options">Creating database partitions</a></span>.</div>
          </td>
        </tr>
        <tr>
          <td style="border-bottom-color: #808080; border-bottom-style: solid; border-bottom-width: thin; border-left-color: #808080; border-left-style: solid; border-left-width: thin; border-right-color: #808080; border-right-style: solid; border-right-width: thin; border-top-color: #808080; border-top-style: solid; border-top-width: thin; padding-bottom: 3.5pt; padding-left: 6pt; padding-right: 6pt; padding-top: 4.5pt; vertical-align: top">
            <div class="CI-CellIndent"><a name="1019078">Available Partitions</a></div>
          </td>
          <td style="border-bottom-color: #808080; border-bottom-style: solid; border-bottom-width: thin; border-left-color: #808080; border-left-style: solid; border-left-width: thin; border-right-color: #808080; border-right-style: solid; border-right-width: thin; border-top-color: #808080; border-top-style: solid; border-top-width: thin; padding-bottom: 3.5pt; padding-left: 6pt; padding-right: 6pt; padding-top: 4.5pt; vertical-align: top">
            <div class="CB-CellBody"><a name="1019080">Lists all database partitions available for reporting. The list shows the dates covered by the partition, as well as the size and name of each partition.</a></div>
            <div class="CB-CellBody"><a name="1019081">Use this list to control what database partitions are included in reports, and to select individual partitions to be deleted</a>.</div>
          </td>
        </tr>
        <tr>
          <td style="border-bottom-color: #808080; border-bottom-style: solid; border-bottom-width: thin; border-left-color: #808080; border-left-style: solid; border-left-width: thin; border-right-color: #808080; border-right-style: solid; border-right-width: thin; border-top-color: #808080; border-top-style: solid; border-top-width: thin; padding-bottom: 3.5pt; padding-left: 6pt; padding-right: 6pt; padding-top: 4.5pt; vertical-align: top">
            <div class="CI-CellIndent"><a name="1019083">Log Activity</a></div>
          </td>
          <td style="border-bottom-color: #808080; border-bottom-style: solid; border-bottom-width: thin; border-left-color: #808080; border-left-style: solid; border-left-width: thin; border-right-color: #808080; border-right-style: solid; border-right-width: thin; border-top-color: #808080; border-top-style: solid; border-top-width: thin; padding-bottom: 3.5pt; padding-left: 6pt; padding-right: 6pt; padding-top: 4.5pt; vertical-align: top">
            <div class="CB-CellBody"><a name="1019085">Displays log activity to review database maintenance status and event and error messages recorded during the jobs run on the Log Database. </a>See <span class="LEM-LinkEmphasis"><a href="#1034187" title="Configuring Log Database options">Viewing log activity</a></span>.</div>
          </td>
        </tr>
      </table>
      <div class="N2HN-HeadNoTopic2">
        <span class="Heading_Number"></span><a name="629278">Configuring the Log Database location</a></div>
      <div class="B-Body"><a name="1013693">Use the section Log Database Location on the page </a><span class="B-Bold">Settings&nbsp;&gt; Reporting&nbsp;&gt; Log Database</span> to enter the IP address\instance or hostname\instance of your Log Database server. By default, the Log Database created at installation is entered. If you chose to encrypt the database connection at product installation, the <span class="B-Bold">Encrypt connection</span> check box is marked. If you did not select the encryption option during installation, you can encrypt the database connection by marking the check box here.</div>
      <div class="F-Frame"><a name="1034074"> </a>  </div>
      <table class="ImpTable" border="0" cellpadding="1" cellspacing="0" summary="">
        <caption></caption>
        <tr>
          <td style="padding-bottom: 3.5pt; padding-left: 4pt; padding-right: 4pt; padding-top: 4.5pt; vertical-align: top; width: 36pt">
            <div class="II-ImpIcon">
              <img src="important.gif" alt="*" border="0" width="30" height="34" /><a name="1034070">&nbsp;</a></div>
          </td>
          <td style="padding-bottom: 3.5pt; padding-left: 4pt; padding-right: 4pt; padding-top: 4.5pt; vertical-align: top; width: 266.4pt">
            <div class="IMP-Important">
              <span class="Bold">Important</span><a name="1034072">&nbsp;</a></div>
            <div class="NT-NoteText"><a name="1034073">You must have imported a trusted SSL certificate to the Log Server machine in order to use SSL for the encryption option. See your database documentation for information about importing a trusted certificate. </a></div>
          </td>
        </tr>
      </table>
      <div class="B-Body"><a name="615875">Other settings created at installation and displayed here include the designated authentication method (Windows or SQL Server), user name, and password.</a></div>
      <div class="B-Body" style="color: #000000; font-style: normal; font-variant: normal; font-weight: bold; text-transform: none; vertical-align: baseline"><span class="B-Bold"><a name="1013883">Determine the availability of the server</a></span></div>
      <div class="B1-Bullet1_outer" style="margin-left: 0pt">
        <table border="0" cellspacing="0" cellpadding="0" summary="" role="presentation">
          <tr style="vertical-align: baseline">
            <td>
              <div class="B1-Bullet1_inner" style="width: 18pt; white-space: nowrap">
                <img src="b1.png" alt="*" border="0" width="8" height="8" />
              </div>
            </td>
            <td width="100%">
              <div class="B1-Bullet1_inner"><a name="615888">From the section Log Database Location, click </a><span class="B-Bold">Check Status</span>.</div>
            </td>
          </tr>
        </table>
      </div>
      <div class="N2HN-HeadNoTopic2">
        <span class="Heading_Number"></span><a name="1034079">Configuring database rollover options</a></div>
      <div class="B-Body"><a name="1034080">The top of the Log Database Options section displays the name of the active Log Database and a Refresh link. Click </a><span class="B-Bold">Refresh</span> to update the information shown on the Log Database page. Be sure you save your settings before you click <span class="B-Bold">Refresh</span>, because any unsaved changes on the page will be cleared.</div>
      <div class="B-Body"><a name="1034081">Use the Database Rollover Options section of the page </a><span class="B-Bold">Settings&nbsp;&gt; Reporting&nbsp;&gt; Log Database</span> to specify when you want the Log Database to create a new database partition, a process called a rollover.</div>
      <div class="B-Body"><a name="1034082">Use the </a><span class="B-Bold">Roll over every</span> option to indicate whether database partitions should roll over based on size (MB) or date (weeks or months).</div>
      <div class="B1-Bullet1_outer" style="margin-left: 0pt">
        <table border="0" cellspacing="0" cellpadding="0" summary="" role="presentation">
          <tr style="vertical-align: baseline">
            <td>
              <div class="B1-Bullet1_inner" style="width: 18pt; white-space: nowrap">
                <img src="b1.png" alt="*" border="0" width="8" height="8" />
              </div>
            </td>
            <td width="100%">
              <div class="B1-Bullet1_inner"><a name="1034083">For size-based rollovers, select MB and specify the number of megabytes the database must reach for the rollover to begin, from 100&ndash;10240 MB (default is 5120).</a></div>
            </td>
          </tr>
        </table>
      </div>
      <div class="B1-Bullet1_outer" style="margin-left: 0pt">
        <table border="0" cellspacing="0" cellpadding="0" summary="" role="presentation">
          <tr style="vertical-align: baseline">
            <td>
              <div class="B1-Bullet1_inner" style="width: 18pt; white-space: nowrap">
                <img src="b1.png" alt="*" border="0" width="8" height="8" />
              </div>
            </td>
            <td width="100%">
              <div class="B1-Bullet1_inner"><a name="1034084">For date-based rollovers, select either weeks or months as the unit of measure, and specify how many full calendar weeks (from 1&ndash;52) or months (from 1&ndash;12) to keep in a database partition before a new one is created.</a></div>
            </td>
          </tr>
        </table>
      </div>
      <table class="NoteTable" border="0" cellpadding="1" cellspacing="0" summary="">
        <caption></caption>
        <tr>
          <td style="padding-bottom: 3.5pt; padding-left: 4pt; padding-right: 4pt; padding-top: 4.5pt; vertical-align: top; width: 36pt">
            <div class="NI-NoteIcon">
              <img src="note.gif" alt="*" border="0" width="33" height="33" /><a name="1034087">&nbsp;</a></div>
          </td>
          <td style="padding-bottom: 3.5pt; padding-left: 4pt; padding-right: 4pt; padding-top: 4.5pt; vertical-align: top; width: 266.4pt">
            <div class="N-Note">Note<a name="1034089">&nbsp;</a></div>
            <div class="NT-NoteText"><a name="1034090">If the rollover begins during a busy part of the day, performance may slow during the rollover process.</a></div>
            <div class="NT-NoteText"><a name="1034091">To avoid this possibility, some environments choose to set the automatic rollover to a long time period or large maximum size. Then, they perform regular manual rollovers to prevent the automatic rollover from occurring.</a></div>
            <div class="NT-NoteText"><a name="1034095">See </a><span class="LEM-LinkEmphasis"><a href="#1034137" title="Configuring Log Database options">Creating database partitions</a></span> for information on manual rollovers.</div>
            <div class="NT-NoteText"><a name="1034096">Extremely large individual partitions are not recommended. Reporting performance can slow if data is not divided into multiple, smaller partitions. </a></div>
          </td>
        </tr>
      </table>
      <div class="B-Body"><a name="1034097">When a new database partition is created, reporting is automatically enabled for the partition (see </a><span class="LEM-LinkEmphasis"><a href="#1034160" title="Configuring Log Database options">Enabling database partitions</a></span>).</div>
      <div class="B-Body"><a name="1034101">Click </a><span class="B-Bold">OK</span> to activate changes to the database rollover options.</div>
      <div class="N2HN-HeadNoTopic2">
        <span class="Heading_Number"></span><a name="1034104">Configuring maintenance options</a></div>
      <div class="B-Body"><a name="1034105">Use the Maintenance Configuration section of the page </a><span class="B-Bold">Settings&nbsp;&gt; Reporting&nbsp;&gt; Log Database</span> to control certain aspects of database processing, such as the time for running the database maintenance job, some of the maintenance tasks performed, and deletion of database partitions and error logs.</div>
      <div class="S-Step_outer" style="margin-left: 0pt">
        <table border="0" cellspacing="0" cellpadding="0" summary="" role="presentation">
          <tr style="vertical-align: baseline">
            <td>
              <div class="S-Step_inner" style="width: 18pt; white-space: nowrap">1.	</div>
            </td>
            <td width="100%">
              <div class="S-Step_inner"><a name="1034106">For </a><span class="B-Bold">Maintenance start time</span>, select the time of day for running the database maintenance job. Default value is 1:00.</div>
            </td>
          </tr>
        </table>
      </div>
      <div class="I-IndentedText"><a name="1034107">The time and system resources required by this job vary depending on the tasks you select in this area. To minimize any impact on other activities and systems, it is best to run this job during a slow email traffic period.</a></div>
      <div class="S-Step_outer" style="margin-left: 0pt">
        <table border="0" cellspacing="0" cellpadding="0" summary="" role="presentation">
          <tr style="vertical-align: baseline">
            <td>
              <div class="S-Step_inner" style="width: 18pt; white-space: nowrap">2.	</div>
            </td>
            <td width="100%">
              <div class="S-Step_inner"><a name="1034108">Mark the check box </a><span class="B-Bold">Automatically delete a partition with an end date older than</span>, and then specify the number of days (from 1 to 365) after which partitions should be deleted (default is 365).       </div>
            </td>
          </tr>
        </table>
      </div>
      <table class="WarnTable" border="0" cellpadding="1" cellspacing="0" summary="">
        <caption></caption>
        <tr>
          <td style="padding-bottom: 3.5pt; padding-left: 4pt; padding-right: 4pt; padding-top: 4.5pt; vertical-align: top; width: 36pt">
            <div class="WI-WarnIcon">
              <img src="caution_icon.gif" alt="*" border="0" width="38" height="34" /><a name="1034111">&nbsp;</a></div>
          </td>
          <td style="padding-bottom: 3.5pt; padding-left: 4pt; padding-right: 4pt; padding-top: 4.5pt; vertical-align: top; width: 266.4pt">
            <div class="W-Warning">Warning<a name="1034113">&nbsp;</a></div>
            <div class="NT-NoteText"><a name="1034114">After a partition has been deleted, the data cannot be recovered. See </a><span class="LEM-LinkEmphasis"><a href="#1034160" title="Configuring Log Database options">Enabling database partitions</a></span> for an alternative way to delete partitions.</div>
          </td>
        </tr>
      </table>
      <div class="S-Step_outer" style="margin-left: 0pt">
        <table border="0" cellspacing="0" cellpadding="0" summary="" role="presentation">
          <tr style="vertical-align: baseline">
            <td>
              <div class="S-Step_inner" style="width: 18pt; white-space: nowrap">3.	</div>
            </td>
            <td width="100%">
              <div class="S-Step_inner"><a name="1034118">Mark the check box </a><span class="B-Bold">Enable automatic reindexing of partitions on</span>, and then select a day of the week to have this processing performed automatically (default is Saturday).</div>
            </td>
          </tr>
        </table>
      </div>
      <div class="I-IndentedText"><a name="1034119">Reindexing the database is important to maintain database integrity and to optimize reporting speed. </a></div>
      <table class="ImpTable" border="0" cellpadding="1" cellspacing="0" summary="">
        <caption></caption>
        <tr>
          <td style="padding-bottom: 3.5pt; padding-left: 4pt; padding-right: 4pt; padding-top: 4.5pt; vertical-align: top; width: 36pt">
            <div class="II-ImpIcon">
              <img src="important.gif" alt="*" border="0" width="30" height="34" /><a name="1034122">&nbsp;</a></div>
          </td>
          <td style="padding-bottom: 3.5pt; padding-left: 4pt; padding-right: 4pt; padding-top: 4.5pt; vertical-align: top; width: 266.4pt">
            <div class="IMP-Important">
              <span class="Bold">Important</span><a name="1034124">&nbsp;</a></div>
            <div class="NT-NoteText"><a name="1034125">It is best to perform this processing during a quiet time for email traffic. Reindexing database partitions is resource intensive and time consuming. Reports should not be run during the reindexing process.</a></div>
          </td>
        </tr>
      </table>
      <div class="S-Step_outer" style="margin-left: 0pt">
        <table border="0" cellspacing="0" cellpadding="0" summary="" role="presentation">
          <tr style="vertical-align: baseline">
            <td>
              <div class="S-Step_inner" style="width: 18pt; white-space: nowrap">4.	</div>
            </td>
            <td width="100%">
              <div class="S-Step_inner"><a name="1034126">Mark the check box </a><span class="B-Bold">Delete failed batches after</span> and then enter a number of days (from 1 to 365) after which to delete any failed batches. Default value is 20.</div>
            </td>
          </tr>
        </table>
      </div>
      <div class="I-IndentedText"><a name="1034127">If this option is not checked, failed batches are retained indefinitely for future processing.</a></div>
      <div class="I-IndentedText"><a name="1034128">If there is insufficient disk space or inadequate database permissions to insert log records into the database, the records are marked as a failed batch. Typically, these batches are successfully reprocessed and inserted into the database during the nightly database maintenance job.</a></div>
      <div class="I-IndentedText"><a name="1034129">However, this reprocessing cannot be successful if the disk space or permission problem is not resolved. Additionally, if the </a><span class="B-Bold">Process any unprocessed batches</span> option is not selected, failed batches are never reprocessed. They are deleted after the time specified here.</div>
      <div class="S-Step_outer" style="margin-left: 0pt">
        <table border="0" cellspacing="0" cellpadding="0" summary="" role="presentation">
          <tr style="vertical-align: baseline">
            <td>
              <div class="S-Step_inner" style="width: 18pt; white-space: nowrap">5.	</div>
            </td>
            <td width="100%">
              <div class="S-Step_inner"><a name="1034130">Mark the check box </a><span class="B-Bold">Process any unprocessed batches</span> to have the nightly database maintenance job reprocess any failed batches.</div>
            </td>
          </tr>
        </table>
      </div>
      <div class="I-IndentedText"><a name="1034131">If this option is not checked, failed batches are never reprocessed. They are deleted after the time specified in step 4, if any.</a></div>
      <div class="S-Step_outer" style="margin-left: 0pt">
        <table border="0" cellspacing="0" cellpadding="0" summary="" role="presentation">
          <tr style="vertical-align: baseline">
            <td>
              <div class="S-Step_inner" style="width: 18pt; white-space: nowrap">6.	</div>
            </td>
            <td width="100%">
              <div class="S-Step_inner"><a name="1034132">Mark the check box </a><span class="B-Bold">Delete the log after</span>, and then enter a number of days (1 to 120) after which to delete database error records. Default value is 45.</div>
            </td>
          </tr>
        </table>
      </div>
      <div class="I-IndentedText"><a name="1034133">If this option is not checked, error logs are retained indefinitely.</a></div>
      <div class="S-Step_outer" style="margin-left: 0pt">
        <table border="0" cellspacing="0" cellpadding="0" summary="" role="presentation">
          <tr style="vertical-align: baseline">
            <td>
              <div class="S-Step_inner" style="width: 18pt; white-space: nowrap">7.	</div>
            </td>
            <td width="100%">
              <div class="S-Step_inner"><a name="1034134">Click </a><span class="B-Bold">OK</span> to activate changes to the maintenance configuration options.</div>
            </td>
          </tr>
        </table>
      </div>
      <div class="N2HN-HeadNoTopic2">
        <span class="Heading_Number"></span><a name="1034137">Creating database partitions</a></div>
      <div class="B-Body"><a name="1034138">Database partitions store the individual log records of email traffic activity. Microsoft SQL Server users can configure the Log Database to start a new partition based on partition size or a date interval. </a></div>
      <div class="B-Body"><a name="1034139">When partitions are based on size, all incoming log records are inserted into the most recent active partition that satisfies the size rule. When the partition reaches the designated maximum size, a new partition is created for inserting new log records.</a></div>
      <div class="B-Body"><a name="1034140">When the partitions are based on date, new partitions are created according to the established cycle. For example, if the rollover option is monthly, a new partition is created as soon as any records are received for the new month. Incoming log records are inserted into the appropriate partition based on date.</a></div>
      <div class="B-Body"><a name="1034141">Database partitions provide flexibility and performance advantages. For example, you can generate reports from a single partition to limit the scope of data that must be analyzed to locate the requested information.</a></div>
      <div class="B-Body"><a name="1034142">Use the Database Partition Creation section of the page </a><span class="B-Bold">Settings&nbsp;&gt; Reporting&nbsp;&gt; Log Database</span> to define characteristics for new database partitions, such as location and size options. This area also lets you create a new partition right away, rather than waiting for a planned rollover.   </div>
      <div class="S-Step_outer" style="margin-left: 0pt">
        <table border="0" cellspacing="0" cellpadding="0" summary="" role="presentation">
          <tr style="vertical-align: baseline">
            <td>
              <div class="S-Step_inner" style="width: 18pt; white-space: nowrap">1.	</div>
            </td>
            <td width="100%">
              <div class="S-Step_inner"><a name="1034143">Enter the file path for creating both the data and log files for new database partitions.</a></div>
            </td>
          </tr>
        </table>
      </div>
      <div class="S-Step_outer" style="margin-left: 0pt">
        <table border="0" cellspacing="0" cellpadding="0" summary="" role="presentation">
          <tr style="vertical-align: baseline">
            <td>
              <div class="S-Step_inner" style="width: 18pt; white-space: nowrap">2.	</div>
            </td>
            <td width="100%">
              <div class="S-Step_inner"><a name="1034144">Under </a><span class="B-Bold">Initial Size (MB)</span>, set the initial file size (from 100 to 2048 MB) for both the Data and Log files for new database partitions.</div>
            </td>
          </tr>
        </table>
      </div>
      <table class="NoteTable" border="0" cellpadding="1" cellspacing="0" summary="">
        <caption></caption>
        <tr>
          <td style="padding-bottom: 3.5pt; padding-left: 4pt; padding-right: 4pt; padding-top: 4.5pt; vertical-align: top; width: 36pt">
            <div class="NI-NoteIcon">
              <img src="note.gif" alt="*" border="0" width="33" height="33" /><a name="1034147">&nbsp;</a></div>
          </td>
          <td style="padding-bottom: 3.5pt; padding-left: 4pt; padding-right: 4pt; padding-top: 4.5pt; vertical-align: top; width: 266.4pt">
            <div class="N-Note">Note<a name="1034149">&nbsp;</a></div>
            <div class="NT-NoteText"><a name="1034150">Best practice recommends calculating the average partition size over a period of time. Then, update the initial size to that value. This approach minimizes the number of times the partition must be expanded, and frees resources to process data into the partitions.</a></div>
          </td>
        </tr>
      </table>
      <div class="S-Step_outer" style="margin-left: 0pt">
        <table border="0" cellspacing="0" cellpadding="0" summary="" role="presentation">
          <tr style="vertical-align: baseline">
            <td>
              <div class="S-Step_inner" style="width: 18pt; white-space: nowrap">3.	</div>
            </td>
            <td width="100%">
              <div class="S-Step_inner"><a name="1034151">Under </a><span class="B-Bold">Growth (MB)</span>, set the increment by which to increase the size (from 8&nbsp;-&nbsp;512&nbsp;MB) of a partition's data and log files when additional space is required.</div>
            </td>
          </tr>
        </table>
      </div>
      <div class="S-Step_outer" style="margin-left: 0pt">
        <table border="0" cellspacing="0" cellpadding="0" summary="" role="presentation">
          <tr style="vertical-align: baseline">
            <td>
              <div class="S-Step_inner" style="width: 18pt; white-space: nowrap">4.	</div>
            </td>
            <td width="100%">
              <div class="S-Step_inner"><a name="1034152">Click </a><span class="B-Bold">OK</span> to implement the path, size, and growth changes entered.</div>
            </td>
          </tr>
        </table>
      </div>
      <div class="I-IndentedText"><a name="1034153">Database partitions created after these changes use the new settings.</a></div>
      <div class="S-Step_outer" style="margin-left: 0pt">
        <table border="0" cellspacing="0" cellpadding="0" summary="" role="presentation">
          <tr style="vertical-align: baseline">
            <td>
              <div class="S-Step_inner" style="width: 18pt; white-space: nowrap">5.	</div>
            </td>
            <td width="100%">
              <div class="S-Step_inner"><a name="1034154">Click </a><span class="B-Bold">Create</span> to create a new partition immediately, regardless of the automatic rollover settings. </div>
            </td>
          </tr>
        </table>
      </div>
      <div class="I-IndentedText"><a name="1034155">To have the new partition use the changes made in this section, be sure to click </a><span class="B-Bold">OK</span> before you click <span class="B-Bold">Create</span>.</div>
      <div class="I-IndentedText"><a name="1034156">Click the </a><span class="B-Bold">Refresh</span> link in the content pane periodically. The Available Partitions area will show the new partition when the creation process is complete.</div>
      <div class="B-Body"><a name="1034157">If you later change the partition file path, you should be sure that the new database folder exists with write privileges.</a></div>
      <div class="N2HN-HeadNoTopic2">
        <span class="Heading_Number"></span><a name="1034160">Enabling database partitions</a></div>
      <div class="B-Body"><a name="1034161">The Available Partitions section of the page </a><span class="B-Bold">Settings&nbsp;&gt; Reporting&nbsp;&gt; Log Database</span> lists all the database partitions available for reporting. The list shows the dates covered by the partition, as well as the size and name of each partition.</div>
      <div class="B-Body"><a name="1034162">Use this list to control what database partitions are included in reports, and to select individual partitions to be deleted.</a></div>
      <div class="S-Step_outer" style="margin-left: 0pt">
        <table border="0" cellspacing="0" cellpadding="0" summary="" role="presentation">
          <tr style="vertical-align: baseline">
            <td>
              <div class="S-Step_inner" style="width: 18pt; white-space: nowrap">1.	</div>
            </td>
            <td width="100%">
              <div class="S-Step_inner"><a name="1034163">Mark the check box in the </a><span class="B-Bold">Enable</span> column next to each partition you want included in reports.</div>
            </td>
          </tr>
        </table>
      </div>
      <div class="I-IndentedText"><a name="1034164">Use the </a><span class="B-Bold">Select all</span> and <span class="B-Bold">Select none</span> options above the list, as appropriate.</div>
      <div class="I-IndentedText"><a name="1034165">You must enable at least one partition for reporting. Use the </a><span class="B-Bold">Select none</span> option to disable all partitions at one time so that you can enable just a few.</div>
      <div class="I-IndentedText"><a name="1034166">Use these options to manage how much data must be analyzed when generating reports and speed report processing. For example, if you plan to generate a series of reports for June, select only partitions with dates in June.</a></div>
      <table class="ImpTable" border="0" cellpadding="1" cellspacing="0" summary="">
        <caption></caption>
        <tr>
          <td style="padding-bottom: 3.5pt; padding-left: 4pt; padding-right: 4pt; padding-top: 4.5pt; vertical-align: top; width: 36pt">
            <div class="II-ImpIcon">
              <img src="important.gif" alt="*" border="0" width="30" height="34" /><a name="1034169">&nbsp;</a></div>
          </td>
          <td style="padding-bottom: 3.5pt; padding-left: 4pt; padding-right: 4pt; padding-top: 4.5pt; vertical-align: top; width: 266.4pt">
            <div class="IMP-Important">
              <span class="Bold">Important</span><a name="1034171">&nbsp;</a></div>
            <div class="NT-NoteText"><a name="1034172">This selection affects scheduled reports as well as reports that are run interactively. To avoid generating reports with no data, make sure the relevant partitions are enabled when reports are scheduled to run.</a></div>
          </td>
        </tr>
      </table>
      <div class="S-Step_outer" style="margin-left: 0pt">
        <table border="0" cellspacing="0" cellpadding="0" summary="" role="presentation">
          <tr style="vertical-align: baseline">
            <td>
              <div class="S-Step_inner" style="width: 18pt; white-space: nowrap">2.	</div>
            </td>
            <td width="100%">
              <div class="S-Step_inner"><a name="1034173">Click the </a><span class="B-Bold">Delete</span> option beside a partition name if that partition is no longer needed. The partition is actually deleted the next time the nightly database maintenance job runs.</div>
            </td>
          </tr>
        </table>
      </div>
      <table class="WarnTable" border="0" cellpadding="1" cellspacing="0" summary="">
        <caption></caption>
        <tr>
          <td style="padding-bottom: 3.5pt; padding-left: 4pt; padding-right: 4pt; padding-top: 4.5pt; vertical-align: top; width: 36pt">
            <div class="WI-WarnIcon">
              <img src="caution_icon.gif" alt="*" border="0" width="38" height="34" /><a name="1034176">&nbsp;</a></div>
          </td>
          <td style="padding-bottom: 3.5pt; padding-left: 4pt; padding-right: 4pt; padding-top: 4.5pt; vertical-align: top; width: 266.4pt">
            <div class="W-Warning">Warning<a name="1034178">&nbsp;</a></div>
            <div class="NT-NoteText"><a name="1034179">Use this option with care. You cannot recover data from deleted partitions. </a></div>
          </td>
        </tr>
      </table>
      <div class="I-IndentedText"><a name="1034180">Deleting obsolete partitions minimizes the number of partitions in the Log Database, which improves database and reporting performance. Use this Delete option to delete individual partitions as needed. See </a><span class="LEM-LinkEmphasis"><a href="#1034104" title="Configuring Log Database options">Configuring maintenance options</a></span> if you prefer to delete older partitions according to a schedule.</div>
      <div class="S-Step_outer" style="margin-left: 0pt">
        <table border="0" cellspacing="0" cellpadding="0" summary="" role="presentation">
          <tr style="vertical-align: baseline">
            <td>
              <div class="S-Step_inner" style="width: 18pt; white-space: nowrap">3.	</div>
            </td>
            <td width="100%">
              <div class="S-Step_inner"><a name="1034184">Click </a><span class="B-Bold">OK</span> to activate changes to the available partitions options.</div>
            </td>
          </tr>
        </table>
      </div>
      <div class="N2HN-HeadNoTopic2">
        <span class="Heading_Number"></span><a name="1034187">Viewing log activity </a></div>
      <div class="B-Body"><a name="1034188">Use the Log Activity section of the page </a><span class="B-Bold">Settings&nbsp;&gt; Reporting&nbsp;&gt; Log Database</span> to review database maintenance status and event and error messages recorded during the jobs run on the Log Database. Use the <span class="B-Bold">View</span> pull-down menu to select the maximum number of messages to display.</div>
    </div>
    <!--googleoff: all-->
    <div class="library_search">
      <form class="support_search" action="/content/kb-search.aspx" method="get">
        <label></label>
        <label></label>
        <input type="text" name="q" value=" Search eSupport" onfocus="if (this.value == ' Search eSupport') {this.value = '';}" onblur="if (this.value == '') {this.value = ' Search eSupport';}"></input>
        <input type="submit" value=" "></input>
      </form>
    </div>
    <br class="clear" />
    <!-- New Navigation DIV -->
    <div class="TL_nav" style="text-align: left;">
      <table cellspacing="0" class="toolBarTable" summary="">
        <!-- End New Navigation DIV -->
        <tr>
          <td>
            <!-- New Go To TOC -->
            <a href="toc.aspx"><img src="images/toc.png" alt="Go to the table of contents" border="0" /></a>
            <!-- End Go To TOC -->
          </td>
          <td>
            <!-- New Previous -->
            <a href="first_6.aspx"><img src="images/prev.png" alt="Go to the previous page" border="0" /></a>
            <!-- End New Previous -->
          </td>
          <td>
            <!-- New Next (Active) -->
            <a href="changing_log_database_esg.aspx"><img src="images/next.png" alt="Go to the next page" border="0" /></a>
            <!-- End New Next (Active) -->
          </td>
          <td>
            <!-- New PDF -->
            <a href="email_help.pdf"><img src="images/pdf.png" alt="View or print as PDF" border="0" /></a>
            <!-- End New PDF -->
          </td>
          <!--Start JR breadcrumbs -->
          <td width="20px"></td>
          <td>
            <div class="WebWorks_Breadcrumbs" style="text-align: left;">
              <a class="WebWorks_Breadcrumb_Link" href="first_6.aspx">Working with Reports</a> &gt; Configuring Log Database options   </div>
          </td>
          <!--End JR breadcrumbs -->
        </tr>
      </table>
    </div>
    <div class="extFooterContainer">
      <div class="extFooter">
        <div align="center">Copyright 2022 Forcepoint. All rights reserved.</div>
      </div>
    </div>
    <SCRIPT>
   function getFileName() {
      //this gets the full url
      var url = document.location.href;
      //this removes the anchor at the end, if there is one
      url = url.substring(0, (url.indexOf("#") == -1) ? url.length : url.indexOf("#"));
      //this removes the query after the file name, if there is one
      url = url.substring(0, (url.indexOf("?") == -1) ? url.length : url.indexOf("?"));
      //this removes everything before the last slash in the path
      url = url.substring(url.lastIndexOf("/") + 1, url.length);
      //return
      return url;
   }

   var url = document.URL;
   var Docname = getFileName()
   s.pageName = "enu:support:technical library:email_help_854:" + Docname;
   s.prop1 = "enu:support";
   s.prop2 = "enu:support:technical library";
   s.channel = "support";
   // <!--
   s.server = "<%= System.Environment.MachineName %>";
   //--></SCRIPT>
    <script language="javascript1.1" type="text/javascript">
   /********Do Not alter below this line ***********/
   var s_code = s.t(); if (s_code) document.write(s_code)
   //--&gt;</script>
  </body>
  <!--"GENERALQUARTERSALLHANDSMANYOURSTATIONS"-->
</html>