AuditWizard v8. SQL Maintenance



Similar documents
PCSchool SQL Backup Tech Tip. SQL Backup Tech Tip. Created in version /9

GO!NotifyLink. Database Maintenance. GO!NotifyLink Database Maintenance 1

How to Backup and FTP your SQL database using E2.

How to Copy A SQL Database SQL Server Express (Making a History Company)

Microsoft SQLServer Restore / Redirected Restore Procedure

SQL Database Administration. Overview

SQL Server 2005 Advanced settings

Moving the Web Security Log Database

Print Audit 6 - How to Move Print Audit 6 and a SQL Server 2005 Express Database to a New Server

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

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

How To Upgrade Your Microsoft SQL Server for Accounting CS Version

SQL Server 2008 R2 Express Edition Installation Guide

Accounts Production Installation Guide

HOW TO CONFIGURE SQL SERVER REPORTING SERVICES IN ORDER TO DEPLOY REPORTING SERVICES REPORTS FOR DYNAMICS GP

InformationNOW SQL 2005 Database Backup and Restoration

VERITAS Backup Exec 9.1 for Windows Servers Quick Installation Guide

mylittleadmin for MS SQL Server Quick Start Guide

SELF SERVICE RESET PASSWORD MANAGEMENT BACKUP GUIDE

Moving a Romexis Database to an Existing SQL Instance

If you have questions or need assistance, contact PCS Technical Services using the contact information on page 10.

Microsoft SQL Server 2005 How to Create and Restore Database (GRANTH3) Manually

Upgrading Litium Studio. From version C to 4.3

Keystone Enterprise Backup

Moving the TRITON Reporting Databases

Video Administration Backup and Restore Procedures

InformationNOW SQL 2008 Database Backup and Restoration

System Administration and Log Management

MS SQL Express installation and usage with PHMI projects

Microsoft SQL Server Scheduling

Remote Media Encryption Log Management

How To Restore Your From Backup On An Exchange Service Pack 1 On A Windows (Windows 7) On A Microsoft Powerbook (Windows) On An Ubuntu 2003 Power

SQL Backup and Restore using CDP

ScriptLogic File System Auditor Agent Configuration Getting Started Guide

VirtualCenter Database Maintenance VirtualCenter 2.0.x and Microsoft SQL Server

Microsoft Office 2010

How To Backup Your Computer With A Remote Drive Client On A Pc Or Macbook Or Macintosh (For Macintosh) On A Macbook (For Pc Or Ipa) On An Uniden (For Ipa Or Mac Macbook) On

STIDistrict Server Replacement

INTRODUCTION: SQL SERVER ACCESS / LOGIN ACCOUNT INFO:

Upgrading from MSDE to SQL Server 2005 Express Edition with Advanced Services SP2

Table of Contents. CHAPTER 1 About This Guide CHAPTER 2 Introduction CHAPTER 3 Database Backup and Restoration... 15

VERITAS Backup Exec TM 10.0 for Windows Servers

Notes Transfer instructions INTRODUCTION More information

4cast Server Specification and Installation

Last updated: 10/02/2009. SQL Info Pack. for new or existing PATGuard users who are considering SQL database formats for their PAT records. Rev 1.

Migrating MSDE to Microsoft SQL 2008 R2 Express

Microsoft Access Database

SQL Server Protection. User guide

Norman Secure Backup. SQL Backup Training Guide. Author: Arne Stieghorst Layout: Eva Langballe

Automating Administration with SQL Agent

Introduction to Microsoft Access 2003

1.0 Doors.Net Database Backup Microsoft SQL Server 2005 Studio Express

How to schedule SQL Maintenance Plan

Symantec Backup Exec TM 11d for Windows Servers. Quick Installation Guide

Symantec Backup Exec 12.5 for Windows Servers. Quick Installation Guide

Connecting to a Soundweb TM. London Network

You must have at least Editor access to your own mail database to run archiving.

Avatier Identity Management Suite

SonicWALL CDP 5.0 Microsoft Exchange InfoStore Backup and Restore

Scala InfoChannel Content Manager 5 Backup and Restore Instructions

Migrating Trend Micro Mobile Security for Enterprise (TMMS) 8.0 to TMMS 9.0

SOS SO S O n O lin n e lin e Bac Ba kup cku ck p u USER MANUAL

DigiVault Online Backup Manager. Microsoft SQL Server Backup/Restore Guide

Microsoft SQL Server 2005 How to Create and Restore Database (GRANTH3) Manually

TSM Studio Server User Guide

Technical Bulletin. SQL Express Backup Utility

1. CONFIGURING REMOTE ACCESS TO SQL SERVER EXPRESS

How to Create a Delegated Administrator User Role / To create a Delegated Administrator user role Page 1

FIGURE Selecting properties for the event log.

Migrating documents from Business Objects Reporter to Web Intelligence XI R2

Using Windows Task Scheduler instead of the Backup Express Scheduler

NovaBACKUP xsp Version 15.0 Upgrade Guide

How To Backup A Database In Navision

Acronis Backup & Recovery 11

Moving a CIMPLICITY SQL Database using Detach/Attach Proficy HMI/SCADA CIMPLICITY

Portions of this product were created using LEADTOOLS LEAD Technologies, Inc. ALL RIGHTS RESERVED.

Exchange Server Backup and Restore

Utilities ComCash

TECHNICAL NOTE. The following information is provided as a service to our users, customers, and distributors.

Backup/Restore Microsoft SQL Server 7.0 / 2000 / 2005 / 2008

Insight Video Net. LLC. CMS 2.0. Quick Installation Guide

Table of Contents. RFMS SQL Backup

Support Document: Microsoft SQL Server - LiveVault 7.6X

Xythos on Demand Quick Start Guide For Xythos Drive

Bosch ReadykeyPRO Unlimited Installation Guide, product version 6.5. This guide is item number DOC , revision 2.029, May 2012.

SQL Server Protection

BackupAssist v6 quickstart guide

0651 Installing PointCentral 8.0 For the First Time

How To Write A Powerpoint Report On An Orgwin Database On A Microsoft Powerpoint 2.5 (Pg2) Or Gpl (Pg3) On A Pc Or Macintosh (Pg4) On An Ubuntu 2.2

Migrating Mobile Security for Enterprise (TMMS) 8.0 to version 9.0

Juris Installation / Upgrade Guide

How To Restore Your Data On A Backup By Mozy (Windows) On A Pc Or Macbook Or Macintosh (Windows 2) On Your Computer Or Mac) On An Pc Or Ipad (Windows 3) On Pc Or Pc Or Micro

Microsoft Dynamics GP Audit Trails

Best Practices for Backup of Microsoft SQL 2000 Databases with Unitrends Backup Professional

Migrating Netpresenter Message Server

IBM Campaign and IBM Silverpop Engage Version 1 Release 2 August 31, Integration Guide IBM

When you publish data to a SharePoint site, you first

Back Up and Restore. Section 11. Introduction. Backup Procedures

Backup / migration of a Coffalyser.Net database

Transcription:

AuditWizard v8 This document describes a few operations we recommend to improve or maintain the performance of AuditWizard v8 and the back end SQL server. These steps should allow for optimal upload, application and reporting performance. 1. Back-Up the Database We highly recommend a back up of the database before continuing to be able to recover from any damage that can possibly occur in the event of an error. A back-up can only be done if you have migrated away from the default SQL Compact Edition. Open Management Studio from Start Programs Microsoft SQL Server 2005 SQL Management Studio. Expand the Server Name Databases Right click on the AuditWizard Database then select Tasks Backup. - 1

From the Source section, choose the FULL from the drop down box, and from the Options page, choose Overwrite All Existing Back-up Sets. Back on the General page, choose a destination path and file name for the back up file, say AuditWizard.bak. If you intend to keep archives of the database, you may want to give the backup set a naming scheme with numbers or dates to show when it was backed up. This should also be performed for the Transaction Log as shown in the below screen shot. - 2

2. Purge Database and Audit Files- Open Audit Wizard, and then go to Administration General Database Maintenance Menu. You will seethe screen below, which gives you the options to purge Audit History, Internet History and Un-Audited Assets. The Audit history accounts for every audit that has been done from the time that auditing began in your environment or since the last purge. Audit History tracks all changes that have been made since the last audit. For users that are auditing every 15-30 days, you may want to perform this purge at least quarterly (both histories). For users that audit on 0-14 days, we recommend you purge both histories monthly, as this will reduce the overhead on the database. The backup performed in the previous step can always be archived to keep a record of all information at that time. - 3

3. Truncate the logs in a SQL Query- Open Query Analyzer from within SQL Management Studio. Once the tab opens to the right, you will be able to enter the Query String. In the blank part of the Query window, type in the following commands one at a time, then execute individually by pressing F5 or pressing the Red Execute button on the tool bar: This command doesn't actually do a backup - just clears out the log but stays at it s original size: backup log Auditwizard with no_log This command reduces the physical file size down to match its contents. The "10" parameter is to tell it what rule to use for expanding it again (i.e. increase by 10% whenever it's full) This will shrink the overall database size: DBCC SHRINKDATABASE (AuditWizard, 10) - 4

If for some reason these commands do not have any major effect on the log files: D:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\AuditWizard.mdf and AuditWizard_log.LDF Then try running these commands below to shrink the files directly. To shrink file immediately: dbcc shrinkfile ('Auditwizard_log',X) Where X is size of file in megabytes dbcc shrinkfile ('AuditWizard',X) Where X is size of file in megabytes 4. Refresh SQL Server- We have seen some cases where the SQL server process may occupy a good deal of physical memory after an upgrade or upload of data, or even perhaps from other databases that may reside on the same server. We recommend starting and stopping the SQL server processes, or even a reboot of the server is also a good idea to make sure the resources are refreshed. This should ensure that there is enough memory available to the SQL server process to run the uploads or reports, as we have seen in some cases where there is a audit getting uploaded and there is not more physical memory available to perform the action, which leads to much slower performance. - 5