Managing Relativity SQL log files

Similar documents
Managing Relativity SQL log files

Client Certificate Authentication Guide. June 28, 2018 Version 9.4

Client Certificate Authentication Guide

Smart Card Authentication Guide

Remove Documents from Batch Sets V2.1

Smart Card Authentication Guide

Metrics Guide. March 29, Version

Track Document Field Edits by Reviewer V5.0

System Requirements. v7.5. May 10, For the most recent version of this document, visit kcura's Documentation Site.

Processing Troubleshooting Guide

System Requirements. Version 8.1 March 2, For the most recent version of this document, visit our documentation website.

Pre-Installation Guide

Client SSL Integration Guide

Creating Dynamic Objects

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

Event Handler Express Guide

Workstation Configuration

Solving Review Case Challenges with Analytics

Workstation Configuration

Workstation Configuration

Fact Manager Guide. v7.5. May 10, For the most recent version of this document, visit kcura's Documentation Site.

Workstation Configuration Guide

Relativity's mobile app Guide

Workstation Configuration

Performance Dashboard Guide

Fact Manager Guide. March 23, Version 8.2

System Requirements. December 22, Version 9.2

Performance Baselines and Recommendations. September 7, 2018 Version 9.4

Backup and Data Management Best Practices

Backup and Data Management Best Practices

Service Bus Guide. November 14, 2018 Version 9.4. For the most recent version of this document, visit our documentation website.

Backup and Data Management Best Practices

Synergize Database Management Guide

Installation Guide. July 13, 2018 Version 9.4. For the most recent version of this document, visit our documentation website.

PPC s SMART Practice Aids Prepare for Installing database upgrade to SQL Express 2008 R2

Infrastructure Planning Considerations

Server Memory Allocation White Paper VERSION 7.1. Copyright 2016 Jade Software Corporation Limited. All rights reserved.

Relativity's mobile app Guide. March 2, 2016 Version

System Requirements. December 22, Version 9.3

Relativity's mobile app Guide

WWCdi Error 80040E14: Description 'Warning: The join order has been enforced because a local join hint is used'

Installation Guide. February 6, Version

Transaction Log Internals and Troubleshooting

Optimizing tempdb Performance

System Requirements. January 12, Version 9.4

Redefining Microsoft Exchange Management

Infrastructure Planning Considerations

Single File Upload Guide

Notes & Lessons Learned from a Field Engineer. Robert M. Smith, Microsoft

Contingency Planning and Disaster Recovery

(TBD GB/hour) was validated by ESG Lab

Building Backup-to-Disk and Disaster Recovery Solutions with the ReadyDATA 5200

SDR Guide to Complete the SDR

Starter Template. January 23, Version 9.2

System Requirements. June 16, 2018 Version For the most recent version of this document, visit our documentation website.

Condusiv s V-locity Server Boosts Performance of SQL Server 2012 by 55%

So, coming back to this picture where three levels of memory are shown namely cache, primary memory or main memory and back up memory.

Your business partner providing technology solutions to maximise growth and profi tability

CONFIGURING SQL SERVER FOR PERFORMANCE LIKE A MICROSOFT CERTIFIED MASTER

Performance Metrics and Recommendations

EXAMGOOD QUESTION & ANSWER. Accurate study guides High passing rate! Exam Good provides update free of charge in one year!

Turbo-Charged Transaction Logs. David Maxwell

Deltek Vision 6.X. Microsoft SQL Server Reporting Services (SSRS) Licensing FAQ

Chapter 10 Protecting Virtual Environments

Maximizing your Storage Capacity: Data reduction techniques and performance metrics

IPNexus Server Secure Instant Messaging & Integrated Collaboration

Microsoft SQL Server Fix Pack 15. Reference IBM

Plug into more places

What to Look for in a DRaaS Solution

Dell SC Series Snapshots and SQL Server Backups Comparison

LiveVault. Agent Guide

MDCStoreTools Data Management Utility

Background. $VENDOR wasn t sure either, but they were pretty sure it wasn t their code.

Patient A SQL Critical Care Part 1: Health Triage Findings

System Requirements. February 23, Version

DOCUMENTATION MICROSOFT EXCHANGE INDIVIDUAL BRICK LEVEL BACKUP & RESTORE OPERATIONS

0Introduction. Overview. This introduction contains general information and tips for using your Avaya CD-ROM.

Proper Care and Feeding of your SQL MDB

Provisioning with SUSE Enterprise Storage. Nyers Gábor Trainer &

Acceptable Use Policy

BlackBerry AtHoc Networked Crisis Communication Capacity Planning Guidelines. AtHoc SMS Codes

Optimizing Testing Performance With Data Validation Option

FIA Electronic Give-Up Agreement System (EGUS) Version 2. Administrator Guide

Best Practices. Deploying Optim Performance Manager in large scale environments. IBM Optim Performance Manager Extended Edition V4.1.0.

VERITAS Storage Foundation 4.0 TM for Databases

1. Purpose of Policy Alerts Scope of the Internet Domain in Handling Complaints Types of Complaints 4

Understanding Virtual System Data Protection

Registration Agreement

FIA Electronic Give-Up Agreement System (EGUS) Version 2.6

SQL Server Optimisation

WHITEPAPER. Disk Configuration Tips for Ingres by Chip nickolett, Ingres Corporation

Best Practices for Using Symantec Online Storage for Backup Exec

Metalogix Essentials for Office Performance Optimization

Product Guide. McAfee Performance Optimizer 2.2.0

Using and Archiving Network Manager s Database

UK-SQL MIRRORING AN INTRODUCTION SQL SERVER MIRRORING INFORMATION TEMPLATE

Choosing the Right Deduplication Solution for Your Organization

Technical Notes. EMC NetWorker SharePoint BLOB Backup and Recovery by using NetWorker Module for Microsoft and Metalogix StoragePoint TECHNICAL NOTES

White Paper Features and Benefits of Fujitsu All-Flash Arrays for Virtualization and Consolidation ETERNUS AF S2 series

PRODUCT GUIDE. L e p i d e S o f t w a r e P r i v a t e L i m i t e d

Transcription:

Managing Relativity SQL log files November 20, 2018 Version 9.6.202.10 For the most recent version of this document, visit our documentation website.

Table of Contents 1 Managing Relativity SQL log files 3 1.1 Overview 3 1.2 Log maintenance tips 3 1.3 Setting the size of a SQL log file 4 1.3.1 Log file sizing considerations 5 Managing Relativity SQL log files 2

1 Managing Relativity SQL log files This guide provides tips for keeping log files healthy and a procedure for properly sizing log files. Keep in mind that you should consistently monitor the log files because, if the log drive fills up, and SQL stops, Relativity will also stop working. 1.1 Overview Relativity databases typically exist in fast-growing environments with high activity.therefore, it s important for the transaction logs to be healthy because they keep a history of all executed actions. Unhealthy log files can result in bottlenecks even if they are small in size. Tiny log files that experience large transactions can slow down an environment because, even with instant file initialization turned on, they still need to write zeroes in order to grow. 1.2 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 them more often in the following scenarios: o You want to recover with less than one hour of data loss. o o Your system writes more data to the log file in one hour than is ideal. The amount of data written to the log file in one hour causes the log file to fill 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 Client Services if this happens, and let them know what action caused it. Use the Dr. FeelGood utility, which can be found in the Customer Portal, to check how many Virtual Log Files (VLFs) appear in the logs. We recommend having 50 for most databases, although more than 50 VLFs are acceptable for large databases. Having more than 1,000 VLFs can indicate a problem that requires attention. Ensure 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, when Relativity begins an operation, such as a large data load, many gigabytes of data can pour into the log file before the next scheduled log backup marks space as available. Taking more frequent log backups can mitigate this kind of issue. Unanticipated growth can also occur when extremely large transactions run. Should this occur, contact support@relativity.com. If you find that, even with proper transaction log backups, your log files are growing too large, contact Client Services. If you know that you are 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. Managing Relativity SQL log files 3

1.3 Setting the size of a 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: 2012 VLFs For growth of 64 MB or less, 4 new VLFs are added. For growth between 64 MB and 1 GB, 8 new VLFs are added. For growth over 1 GB, 16 new VLFs are added. 2014 For growth of one eighth of the current log file size or more, the same formula for 2012 is used. For growth of less than one eighth of the current log file size. 2016 For growth of one eighth of the current log file size or more, the same formula for 2012 is used. For growth of less than one eighth of the current log file size. Before you begin this procedure, perform a full backup, and make sure there are no transactions running. Note: This work may have heavy environmental impact. You should only perform this process in a maintenance window. Perform the following steps to set the size of a 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 then select Properties. 2. Click Files. 3. Click Initial Size, and then set it to 1. This decreases your start size to 3 VLFs. If the log file does not shrink, run Truncate Logs v3.5. If it does shrink, run a script to truncate the log. 4. Click Initial Size, and then 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 25 GB, grow the file in 8 GB 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 25 GB, grow the file in 8 GB chunks repeatedly until you're within 8 GB 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. Managing Relativity SQL log files 4

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 shrinks when the systems creates the workspace. This means that new workspaces always have approximately the same LDF file size and VLF count when they're created and should have this maintenance procedure performed prior to any large data imports. 1.3.1 Log file sizing considerations If you know you re going to perform maintenance on your database that requires 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. Managing Relativity SQL log files 5

Proprietary Rights This documentation ( Documentation ) and the software to which it relates ( Software ) belongs to Relativity ODA LLC and/or Relativity s third party software vendors. Relativity grants written license agreements which contain restrictions. All parties accessing the Documentation or Software must: respect proprietary rights of Relativity 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. 2018. Relativity ODA LLC. All rights reserved. Relativity is a registered trademark of Relativity ODA LLC. Managing Relativity SQL log files 6