AuditWizard - Using AuditWizard - Administration - General - Database Maintenance

From Layton Support
(Difference between revisions)
Jump to: navigation, search
(Change Database)
m (Added link to "AuditWizard - Using AuditWizard - Administration - General - Database Maintenance - Database Purging")
 
(6 intermediate revisions by one user not shown)
Line 1: Line 1:
<p align="right">[[File:btn_back_up.png|link=AuditWizard™ - Using AuditWizard - Administration]] [[AuditWizard™ - Using AuditWizard - Administration|<u>Back to Administration</u>]]</p>
+
<p align="right">[[File:btn_back_up.png|link=AuditWizard - Using AuditWizard - Administration]] [[AuditWizard - Using AuditWizard - Administration|<u>Back to Administration</u>]]</p>
 +
<p align="right">[[File:btn_back_up.png|link=AuditWizard - Using AuditWizard - Administration - General - Email Settings]] [[AuditWizard - Using AuditWizard - Administration - General - Email Settings |<u>Previous article in this series: ''Email Settings''</u>]]</p>
 +
__FORCETOC__
 
=Overview=
 
=Overview=
This article covers the various parts of the Database Maintenance tab. For a rundown of steps to remedy database issues, refer to [[AuditWizard™ - Troubleshooting - Database Maintenance|this article on troubleshooting]].
+
This article covers the various parts of the Database Maintenance tab. For a rundown of steps to remedy database issues, refer to '''[[AuditWizard - Troubleshooting - Database Maintenance|this article on troubleshooting]]'''.
  
=Change Database=
+
='''[[AuditWizard - Using AuditWizard - Administration - General - Database Maintenance - Change Database Wizard|Change Database]]'''=
 
You can see which database you are currently connected to in this panel. ''C:\Program Files\AuditWizard v8\db\aw_db.sdf'' is the embedded SQL Compact Edition 3.5 database that all AuditWizard installations begin with.
 
You can see which database you are currently connected to in this panel. ''C:\Program Files\AuditWizard v8\db\aw_db.sdf'' is the embedded SQL Compact Edition 3.5 database that all AuditWizard installations begin with.
 
  
 
'''WARNING:''' The SQL Compact Edition database is purposed for trialing use only. Using the SQL Compact Edition database for a production AuditWizard installation is likely to become corrupted over time. Using the SQL Compact Edition database risks total data loss.
 
'''WARNING:''' The SQL Compact Edition database is purposed for trialing use only. Using the SQL Compact Edition database for a production AuditWizard installation is likely to become corrupted over time. Using the SQL Compact Edition database risks total data loss.
 
  
 
The Change Database procedure is used any time you want to change to a different SQL Server database. Usually this would be when migrating from the embedded database to SQL Server.
 
The Change Database procedure is used any time you want to change to a different SQL Server database. Usually this would be when migrating from the embedded database to SQL Server.
  
If you are migrating from the embedded database to SQL Server, [[AuditWizard™ - Using AuditWizard - Administration - General - Database Maintenance - Change Database Wizard - SQL Migration|see here for instructions]].
+
If you are migrating from the embedded database to SQL Server, '''[[AuditWizard - Using AuditWizard - Administration - General - Database Maintenance - Change Database Wizard - SQL Migration|see here for instructions]]'''.
  
If you are changing your connection from one database to another without copying data, [[AuditWizard™ - Using AuditWizard - Administration - General - Database Maintenance - Change Database Wizard - SQL Connection Change|see here for instructions]].
+
If you are changing your connection from one database to another without copying data, '''[[AuditWizard - Using AuditWizard - Administration - General - Database Maintenance - Change Database Wizard - SQL Connection Change|see here for instructions]]'''.
  
  
 
[[File:Aw_admin_gen_db01.png|center|link=]]
 
[[File:Aw_admin_gen_db01.png|center|link=]]
  
=Database Purging=
+
='''[[AuditWizard - Using AuditWizard - Administration - General - Database Maintenance - Database Purging|Database Purging]]'''=
 
Enable or disable automatic purging. Choose individual timeframes for Asset History, Internet Records and Non-Audited Assets.
 
Enable or disable automatic purging. Choose individual timeframes for Asset History, Internet Records and Non-Audited Assets.
  
Line 28: Line 28:
  
 
=Import & Export=
 
=Import & Export=
The import feature allows you to import data from a flat CSV file into the AuditWizard database. This interface was originally designed to import text files that were exported from AuditWizard v7, but most of the options may also be used to quickly create the location structure, user-defined data, and asset data. It can be useful when migrating from another application, or when a spreadsheet of data must be quickly added to AuditWizard. There are four different data import options:
+
See '''[[AuditWizard - Using AuditWizard - Administration - General - Database Maintenance - Import & Export|Import & Export]]'''.
 
+
 
+
[[File:Aw_admin_gen_db03.png|center|link=]]
+
 
+
==Assets and Locations==
+
Use this option to import Assets and the Location structure. An example CSV has been loaded below.
+
 
+
 
+
[[File:Database maintenance import assets locations.png|center|link=]]
+
 
+
==Picklists and Items==
+
This import option allows for the import of Picklists and Picklist Items. If the Picklist already exists, then the Items will be imported into it. If the Picklist does not yet exist, then it will be automatically created.
+
 
+
 
+
[[File:Database maintenance import picklists items.png|center|link=]]
+
 
+
==User Defined Data Fields==
+
Use this import feature to import user-defined data values. If the fields have already been configured in '''[[AuditWizard™ - Using AuditWizard - Administration - Data Setup - User Defined Data|User Defined Data]]''', then the values will be imported into them as defined. If the fields do not yet exist, then they will be automatically created. An example CSV file has been loaded below.
+
 
+
 
+
[[File:Database maintenance import userdefined data.png|center|link=]]
+
 
+
==Asset History Data==
+
This is used to import asset history data that was exported from AuditWizard v7.
+
  
 
=Database Maintenance=
 
=Database Maintenance=
Line 67: Line 43:
  
 
If Support has supplied you with a .sql file, click the ''Load SQL'' button, locate the file and load it. This will populate the SQL statement field. If you have been given a query in plain text via email, copy and paste it into the SQL statement field. Click the ''Run SQL'' button to run the query.
 
If Support has supplied you with a .sql file, click the ''Load SQL'' button, locate the file and load it. This will populate the SQL statement field. If you have been given a query in plain text via email, copy and paste it into the SQL statement field. Click the ''Run SQL'' button to run the query.
<p align="right">[[File:btn_back_up.png|link=AuditWizard™ - Using AuditWizard - Administration]] [[AuditWizard™ - Using AuditWizard - Administration|<u>Back to Administration</u>]]</p>
+
<p align="right">[[File:btn_back_up.png|link=AuditWizard - Using AuditWizard - Administration]] [[AuditWizard - Using AuditWizard - Administration|<u>Back to Administration</u>]]</p>

Latest revision as of 22:09, 9 March 2017

Btn back up.png Back to Administration

Btn back up.png Previous article in this series: Email Settings

Contents

[edit] Overview

This article covers the various parts of the Database Maintenance tab. For a rundown of steps to remedy database issues, refer to this article on troubleshooting.

[edit] Change Database

You can see which database you are currently connected to in this panel. C:\Program Files\AuditWizard v8\db\aw_db.sdf is the embedded SQL Compact Edition 3.5 database that all AuditWizard installations begin with.

WARNING: The SQL Compact Edition database is purposed for trialing use only. Using the SQL Compact Edition database for a production AuditWizard installation is likely to become corrupted over time. Using the SQL Compact Edition database risks total data loss.

The Change Database procedure is used any time you want to change to a different SQL Server database. Usually this would be when migrating from the embedded database to SQL Server.

If you are migrating from the embedded database to SQL Server, see here for instructions.

If you are changing your connection from one database to another without copying data, see here for instructions.


Aw admin gen db01.png

[edit] Database Purging

Enable or disable automatic purging. Choose individual timeframes for Asset History, Internet Records and Non-Audited Assets.

You can force a purge immediately by clicking the Purge Now button.


Aw admin gen db02.png

[edit] Import & Export

See Import & Export.

[edit] Database Maintenance

Support may issue a query to repair or maintain your database. This interface is provided for convenience so that you don't have to leave AuditWizard to run the query in Management Studio. The query will be intended for one-time use.


Aw admin gen db04.png

Click the button to open the AuditWizard Database Maintenance dialog:


Use the AuditWizard Database Maintenance dialog to run custom SQL queries.


If Support has supplied you with a .sql file, click the Load SQL button, locate the file and load it. This will populate the SQL statement field. If you have been given a query in plain text via email, copy and paste it into the SQL statement field. Click the Run SQL button to run the query.

Btn back up.png Back to Administration

Personal tools
Namespaces

Variants
Actions
Main Page
Online User Guides
General Support
Release Notes
Toolbox