Managing Relativity SQL log files



Similar documents
Client SSL Integration Guide

Pre-Installation Guide

System Requirements Version 8.0 July 25, 2013

Workflow Solutions for Very Large Workspaces

Mixed Authentication Setup

Review Manager Guide

System Requirements. Version 8.2 November 23, For the most recent version of this document, visit our documentation website.

Service Bus Guide. July 4, Version 9.4

Understanding and Controlling Transaction Logs

sql server best practice

Pre-Installation Guide

Best Practices Every SQL Server DBA Must Know

Backup and Data Management Best Practices

DBA 101: Best Practices All DBAs Should Follow

SQL Server 2005 Advanced settings

Database Maintenance Essentials

Backup and Data Management Best Practices

How to install Artologik HelpDesk 3

How To Set Up Chime For A Coworker On Windows (Windows) With A Windows 7 (Windows 7) On A Windows 8.1 (Windows 8) With An Ipad (Windows).Net (Windows Xp

SYSTEM SETUP FOR SPE PLATFORMS

SQL Server Transaction Log from A to Z

2.5.1 Policy on Responsible Use of University Computing Resources Introduction This policy governs the proper use and management of all University of

DOCUMENTATION FILE BACKUP

PLEASE READ THIS AGREEMENT CAREFULLY, AS IT CONTAINS IMPORTANT INFORMATION REGARDING YOUR LEGAL RIGHTS AND REMEDIES.

Metalogix Replicator. Quick Start Guide. Publication Date: May 14, 2015

Website & Hosting Terms & Conditions

Database Maintenance Guide

Information Technology Security Policies

BrightStor ARCserve Backup for Windows

code of Business Conduct and ethics

MFR IT Technical Guides

How to protect, restore and recover SQL 2005 and SQL 2008 Databases

UNITED STATES OF AMERICA ) ) No. vs. ) ) Violation: Title 18, United States ) Code, Section 1832(a) DAVID JACOB NEWMAN ) COUNT ONE

Backup Utility. Specify when the backup utility runs. You may configure the backup program to run at regular intervals or at a specified time.

CA ARCserve and CA XOsoft r12.5 Best Practices for protecting Microsoft SQL Server

Database Backup and Recovery Guide

Broadlinc Communications LLC Internet Service Agreement and Acceptable Use Policy

SATA RAID SIL 3112 CONTROLLER USER S MANUAL

Website Development & Hosting Agreement

Backups and Repository Maintenance

DOCUMENTATION FILE RESTORE

Introduction. Application Versions. Assumptions. Delete $$ExportTempFolders. Tech Note 930 Wonderware System Platform Clean-up Guide

Predictive Analytics Client

Environment Optimization Guide

WHITE PAPER Keeping Your SQL Server Databases Defragmented with Diskeeper

Mobile Device Manager User Guide

Technical Brief. Unify Your Backup and Recovery Strategy with LiteSpeed for SQL Server and LiteSpeed Engine for Oracle

SalonTouch SQL and.net Database Backup Instructions Updated 10/16/2006

Acronis Backup & Recovery 10 Advanced Server Virtual Edition. Quick Start Guide

ArcSDE Database Servers Tutorial

HELP DOCUMENTATION E-SSOM BACKUP AND RESTORE GUIDE

Active Directory Change Notifier Quick Start Guide

Bulletproof your Database Backup and Recovery Strategy

DOCUMENTATION MICROSOFT SQL BACKUP & RESTORE OPERATIONS

How to schedule SQL Maintenance Plan

SQL Server Maintenance Plans

PRODUCT GUIDE. N u c l e u s D a t a R e c o v e r y. C o m P riv a t e L i m i t e d

13. Acceptable Use Policy

Installing Windows Rights Management Services with Service Pack 2 Step-by- Step Guide

ADDENDUM 1 September 22, 2015 Request for Proposals: Data Center Implementation

Q&A. DEMO Version

DOCUMENTATION LOTUS NOTES BACKUP & RESTORE OPERATIONS

VMware vsphere 5.5: Install, Configure, Manage Lab Addendum. Lab 4: Working with Virtual Machines

DocAve 6 Service Pack 1 Platform Backup and Restore

Infor Web UI Sizing and Deployment for a Thin Client Solution

Upgrading from VAM/SQL MS303 to VAM/SQL MS401

NTP Software VFM Administration Web Site for Azure

Working with a Version Control System

Oracle Enterprise Single Sign-on Logon Manager How-To: Configuring ESSO-LM Event Logging with Microsoft SQL Server 2005 Release

Transaction Log Internals and Troubleshooting. Andrey Zavadskiy

WEBSITE HOSTING SERVICES AGREEMENT. Effective Date: 1/1/2015

How To Use A Microsoft Microsoft Database Server 2012

Attix5 Pro Storage Platform

WEB HOSTING AGREEMENT

Canon USA, Inc. WEBVIEW LIVESCOPE SOFTWARE DEVELOPMENT KIT DEVELOPER LICENSE AGREEMENT

Hardware/Software Guidelines

Symantec Enterprise Vault Technical Note. Administering the Monitoring database. Windows

idelpi Software Quick Install and Basic Configuration Guide

ACCOUNTS PAYABLE VOUCHER ADJUSTMENT

Omtool Server Monitor administrator guide

Performance data collection and analysis process

MOUNT10 Plug-ins. V7 Sailfish R2 User Manual. for Microsoft Windows. Your guide to installing and using MOUNT10 plug-ins.

Aras Innovator 11. Platform Specifications

MEMORANDUM INFORMATION TECHNOLOGY SERVICES DEPARTMENT

QAD Enterprise Applications. Training Guide Demand Management 6.1 Technical Training

Backup and Restore Back to Basics with SQL LiteSpeed

Kaspersky Security 9.0 for Microsoft SharePoint Server Administrator's Guide

Transcription:

Managing Relativity SQL log files January 29, 2016 - Version 9.2 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - For the most recent version of this document, visit our documentation website.

Table of Contents 1 Managing Relativity SQL log files 3 2 Overview 3 3 Log maintenance tips 3 4 Setting the size of an SQL log file 4 4.1 Log file sizing considerations 5 Relativity Managing Relativity SQL log files - 2

1 Managing Relativity SQL log files This guide provides tips for keeping log files healthy and describes a procedure for properly sizing log files. Keep in mind that you should consistently be monitoring the log files. If the log drive fills up, SQL stops, and when SQL stops, Relativity stops. 2 Overview Relativity databases typically exist in fast-growing environments with high activity. Because databases usually grow until an admin closes the case, in terms of size stability, the concept of maturity does not apply. It s important for log files to be healthy because all transactional data flows through these files. Unhealthy log files can result in bottlenecks. If the log files are too small, large transactions slow down the environment because log files even with instant file initialization turned on need to write zeroes in order to grow. As databases grow, log file maintenance becomes increasingly important. 3 Log maintenance tips Consider the following tips when maintaining log files: Ensure that log file backups are set to run at least once every hour. Consider running more often in the following scenarios: o o o You want to recover with less than one hour of data loss. More data can be written to the log file in one hour than is desirable. The amount of data written to the log file in one hour causes the log file to fill up the drive. SQL marks space in the log file as reusable once it is backed up, so it shouldn t grow too large. Note: Some single transactions in Relativity are quite large and may result in log file growth through multiple transaction log backups. This can prevent successful log backups. Contact kcura Client Services if this happens, and let them know what action caused it. Use the Dr. FeelGood utility to check how many Virtual Log Files (VLFs) appear in the logs. We recommend 50 for most databases; more than 50 VLFs is acceptable for large databases; more than 1,000 VLFs indicates a problem that requires immediate attention. Ensure that the autogrowth of the log files is set to at least 512 MB, but no more than 1 GB. When log file growth occurs, zeroes must be written to disk before anything else is written to the log file. Setting autogrowth too high can cause other transactional activity to be suspended while autogrowth is in progress. In certain situations Relativity begins an operation, such as a large data load, and many gigabytes of data pour into the log file before the next scheduled log backup marks space as available. Unanticipated growth can also occur when extremely large transactions run. Should this occur, contact support@kcura.com. Relativity Managing Relativity SQL log files - 3

If you find that, even with proper transaction log backups, your log files are growing too large, contact kcura Client Services. If you know that you will be creating hundreds of gigabytes of new data in your database, we strongly recommend that you grow the log file during a maintenance window beforehand. This reduces environmental impact when loading during the day. 4 Setting the size of an SQL log file The following procedure gets you to about 50 VLFs using the Set Initial Size interface. Log file growth uses the following logic to decide how many VLFs to make. For growth of 64MB or less, 4 new VLFs are added For growth between 64MB and 1GB, 8 new VLFs are added For growth over 1GB, 16 new VLFs are added Before you begin this procedure, perform a full backup, and make sure there are no transactions running. WARNING: This work may have heavy environmental impact. It should only be performed in a maintenance window. Perform the following steps to set the size of an SQL log file: Note: You should test this process on a test database and time it as a baseline. 1. Right-click the database and select Properties. 2. Click Files. 3. Click Initial Size and set it to 1. This will drop you down to 3 VLFs. If the log file does not shrink, run Truncate Logs v3.5. If it does shrink, it will be between 1-70 MBs. 4. Click Initial Size and set it to 1/3 the size you want. This can take a few seconds or several minutes as the log file grows. For a target file size greater than or equal to 25GB, grow the file in 8GB chunks rather than thirds of the target size. 5. Set the Initial Size value to 2/3 the final size. For a target file size greater than or equal to 25GB, grow the file in 8GB chunks repeatedly until you're within 8GB of the target size. 6. Set the Initial Size value to the target size. This method should produce around 50 VLFs or a value twice that of your target file size in GB for larger databases. Run the Dr. FeelGood utility to see your results. New workspaces copy the LDF file from the database of the template case, but the LDF for the new workspace is shrunk upon workspace creation. This means that new workspaces will always have approximately the same LDF file size and VLF count upon creation and should have this maintenance procedure performed prior to any large data imports. Relativity Managing Relativity SQL log files - 4

4.1 Log file sizing considerations If you know you re going to perform maintenance on your database that will require a complete copy of a large table, consider making the log file as big as that table and its indexes. You should continuously monitor your log files and adjust accordingly. Relativity Managing Relativity SQL log files - 5

Proprietary Rights This documentation ( Documentation ) and the software to which it relates ( Software ) belongs to kcura LLC and/or kcura s third party software vendors. kcura grants written license agreements which contain restrictions. All parties accessing the Documentation or Software must: respect proprietary rights of kcura and third parties; comply with your organization s license agreement, including but not limited to license restrictions on use, copying, modifications, reverse engineering, and derivative products; and refrain from any misuse or misappropriation of this Documentation or Software in whole or in part. The Software and Documentation is protected by the Copyright Act of 1976, as amended, and the Software code is protected by the Illinois Trade Secrets Act. Violations can involve substantial civil liabilities, exemplary damages, and criminal penalties, including fines and possible imprisonment. 2016. kcura LLC. All rights reserved. Relativity and kcura are registered trademarks of kcura LLC. Relativity Managing Relativity SQL log files - 6