Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) February 2010 Americas Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 USA http://www.cisco.com Tel: 408 526-4000 800 553-NETS (6387) Fax: 408 527-0833 THE SPECIFICATIONS AND INFORMATION REGARDING THE PRODUCTS IN THIS MANUAL ARE SUBJECT TO CHANGE WITHOUT NOTICE. ALL STATEMENTS, INFORMATION, AND RECOMMENDATIONS IN THIS MANUAL ARE BELIEVED TO BE ACCURATE BUT ARE PRESENTED WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. USERS MUST TAKE FULL RESPONSIBILITY FOR THEIR APPLICATION OF ANY PRODUCTS. THE SOFTWARE LICENSE AND LIMITED WARRANTY FOR THE ACCOMPANYING PRODUCT ARE SET FORTH IN THE INFORMATION PACKET THAT SHIPPED WITH THE PRODUCT AND ARE INCORPORATED HEREIN BY THIS REFERENCE. IF YOU ARE UNABLE TO LOCATE THE SOFTWARE LICENSE OR LIMITED WARRANTY, CONTACT YOUR CISCO REPRESENTATIVE FOR A COPY. The Cisco implementation of TCP header compression is an adaptation of a program developed by the University of California, Berkeley (UCB) as part of UCBs public domain version of the UNIX operating system. All rights reserved. Copyright 1981, Regents of the University of California. NOTWITHSTANDING ANY OTHER WARRANTY HEREIN, ALL DOCUMENT FILES AND SOFTWARE OF THESE SUPPLIERS ARE PROVIDED "AS IS" WITH ALL FAULTS. CISCO AND THE ABOVE-NAMED SUPPLIERS DISCLAIM ALL WARRANTIES, EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, THOSE OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OR ARISING FROM A COURSE OF DEALING, USAGE, OR TRADE PRACTICE. IN NO EVENT SHALL CISCO OR ITS SUPPLIERS BE LIABLE FOR ANY INDIRECT, SPECIAL, CONSEQUENTIAL, OR INCIDENTAL DAMAGES, INCLUDING, WITHOUT LIMITATION, LOST PROFITS OR LOSS OR DAMAGE TO DATA ARISING OUT OF THE USE OR INABILITY TO USE THIS MANUAL, EVEN IF CISCO OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. CCDE, CCENT, CCSI, Cisco Eos, Cisco HealthPresence, Cisco IronPort, the Cisco logo, Cisco Nurse Connect, Cisco Pulse, Cisco SensorBase, Cisco StackPower, Cisco StadiumVision, Cisco TelePresence, Cisco Unified Computing System, Cisco WebEx, DCE, Flip Channels, Flip for Good, Flip Mino, Flipshare (Design), Flip Ultra, Flip Video, Flip Video (Design), Instant Broadband, and Welcome to the Human Network are trademarks; Changing the Way We Work, Live, Play, and Learn, Cisco Capital, Cisco Capital (Design), Cisco:Financed (Stylized), Cisco Store, Flip Gift Card, and One Million Acts of Green are service marks; and Access Registrar, Aironet, AllTouch, AsyncOS, Bringing the Meeting To You, Catalyst, CCDA, CCDP, CCIE, CCIP, CCNA, CCNP, CCSP, CCVP, Cisco, the Cisco Certified Internetwork Expert logo, Cisco IOS, Cisco Lumin, Cisco Nexus, Cisco Press, Cisco Systems, Cisco Systems Capital, the Cisco Systems logo, Cisco Unity, Collaboration Without Limitation, Continuum, EtherFast, EtherSwitch, Event Center, Explorer, Follow Me Browsing, GainMaker, iLYNX, IOS, iPhone, IronPort, the IronPort logo, Laser Link, LightStream, Linksys, MeetingPlace, MeetingPlace Chime Sound, MGX, Networkers, Networking Academy, PCNow, PIX, PowerKEY, PowerPanels, PowerTV, PowerTV (Design), PowerVu, Prisma, ProConnect, ROSA, SenderBase, SMARTnet, Spectrum Expert, StackWise, WebEx, and the WebEx logo are registered trademarks of Cisco Systems, Inc. and/or its affiliates in the United States and certain other countries. All other trademarks mentioned in this document or website are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company. (0910R) Any Internet Protocol (IP) addresses used in this document are not intended to be actual addresses. Any examples, command display output, and figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses in illustrative content is unintentional and coincidental. Copyright 2010 Cisco Systems, Inc. All rights reserved. Table of Contents Preface ...........................................................................................................................................................1 Purpose .....................................................................................................................................................1 Audience ....................................................................................................................................................1 Organization ..............................................................................................................................................1 Related Documentation .............................................................................................................................2 Conventions................................................................................................................................................2 Obtaining Documentation and Submitting a Service Request...................................................................3 Documentation Feedback...........................................................................................................................3 1. Product Overview........................................................................................................................................5 About Cisco Unified Intelligence Suite........................................................................................................5 About the Archiver......................................................................................................................................6 2. Managing the Archiver................................................................................................................................9 Installing and Configuring the Archiver.......................................................................................................9 Archiver Checklist.......................................................................................................................................9 Internal Users for Database Access.........................................................................................................10 Linked Server Connections......................................................................................................................11 SQL Server Agent Jobs............................................................................................................................12 Archiver Reporting Data Model................................................................................................................13 Archiver Call Type Daily All Fields Report............................................................................................13 Archiver Reports and Unified IC Reports............................................................................................13 Unified ICM Data in Archiver Tables, Archiver_Data Tables, and Views...................................................14 Checking AWE Memory...........................................................................................................................15 Initial Load................................................................................................................................................16 Daily Load................................................................................................................................................17 Data Retention and Purge........................................................................................................................18 Daily Purge..........................................................................................................................................19 Setting Retention Days........................................................................................................................19 Emergency Purge................................................................................................................................19 Database Security....................................................................................................................................20 Security Hardening..............................................................................................................................20 Security and Data Access....................................................................................................................20 Encryption............................................................................................................................................21 Synching with the Time Server............................................................................................................22 Database Backups...................................................................................................................................22 Using Archiver with Unified ICM 7.2.........................................................................................................22 Removing Unused Columns................................................................................................................23 Working with Custom Connectors............................................................................................................23 Best Practices for Custom Connectors................................................................................................24 3. Troubleshooting.........................................................................................................................................27 Archiver Troubleshooting..........................................................................................................................27 Archiver Memory Space......................................................................................................................27 Data Retrieval......................................................................................................................................27 Emergency Purge................................................................................................................................28 Error Message on Load Job................................................................................................................28 ICM 7.2................................................................................................................................................30 NOLOCK Syntax..................................................................................................................................30 Orphans in the Archiver Environment..................................................................................................31 Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) i Reporting on Interval Data...................................................................................................................31 Run Time.............................................................................................................................................31 4. The Archiver Schema................................................................................................................................33 Archiver Database PDM...........................................................................................................................34 Archiver_Data PDM..................................................................................................................................35 Archiver Database: Management Tables..................................................................................................35 archiver.t_Connection..........................................................................................................................36 archiver.t_ConnectionJob....................................................................................................................37 archiver.t_Lock.....................................................................................................................................40 archiver.t_Log......................................................................................................................................41 archiver.t_Metadata.............................................................................................................................42 archiver.t_Parameter............................................................................................................................43 archiver.t_SourceType.........................................................................................................................43 archiver.t_TimeZone............................................................................................................................44 archiver.t_Version................................................................................................................................45 Archiver Database: Common (Parent) Tables for Unified ICM Data.........................................................46 archiver.t_Agent...................................................................................................................................46 archiver.t_AgentInterval.......................................................................................................................46 archiver.t_AgentSkillGroupInterval......................................................................................................47 archiver.t_AgentTeam..........................................................................................................................48 archiver.t_AgentTeamMember.............................................................................................................48 archiver.t_AgentTeamSupervisor.........................................................................................................49 archiver.t_BucketInterval......................................................................................................................49 archiver.t_BusinessEntity.....................................................................................................................49 archiver.t_CallType...............................................................................................................................50 archiver.t_CallTypeInterval...................................................................................................................50 archiver.t_Campaign............................................................................................................................51 archiver.t_CampaignQueryRule...........................................................................................................52 archiver.t_CampaignSkillGroup...........................................................................................................52 archiver.t_Dialer...................................................................................................................................53 archiver.t_DialerPortMap.....................................................................................................................53 archiver.t_EnterpriseService................................................................................................................54 archiver.t_EnterpriseServiceMember..................................................................................................54 archiver.t_EnterpriseSkillGroup...........................................................................................................55 archiver.t_EnterpriseSkillGroupMember..............................................................................................55 archiver.t_ExpandedCallVariable.........................................................................................................56 archiver.t_ICRGlobal............................................................................................................................56 archiver.t_LogicalInterfaceController...................................................................................................57 archiver.t_MediaClass.........................................................................................................................57 archiver.t_MediaRoutingDomain..........................................................................................................58 archiver.t_Person.................................................................................................................................58 archiver.t_QueryRule...........................................................................................................................59 archiver.t_ReasonCode.......................................................................................................................59 archiver.t_Route...................................................................................................................................60 archiver.t_RoutingClient.......................................................................................................................60 archiver.t_Service................................................................................................................................61 archiver.t_ServiceInterval....................................................................................................................61 archiver.t_ServiceLevelThreshold........................................................................................................62 archiver.t_ServiceMember...................................................................................................................62 archiver.t_Site......................................................................................................................................63 archiver.t_SkillGroup............................................................................................................................63 Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) ii archiver.t_SkillGroupInterval................................................................................................................64 archiver.t_SkillGroupMember..............................................................................................................64 archiver.t_Trunk...................................................................................................................................65 archiver.t_TrunkGroup.........................................................................................................................65 archiver.t_TrunkGroupInterval..............................................................................................................66 The Archiver_Data Database: Child Tables For Unified ICM Extended Data...........................................67 archiver_data.t_Agent_ICM.................................................................................................................67 archiver_data.t_AgentInterval_ICM.....................................................................................................67 archiver_data.t_AgentSkillGroupInterval_ICM.....................................................................................68 archiver_data.t_AgentTeam_ICM........................................................................................................71 archiver_data.t_AgentTeamMember_ICM...........................................................................................72 archiver_data.t_AgentTeamSupervisor_ICM.......................................................................................72 archiver_data.t_BucketInterval_ICM....................................................................................................72 archiver_data.t_BusinessEntity_ICM...................................................................................................73 archiver_data.t_CallType_ICM.............................................................................................................73 archiver_data.t_CallTypeInterval_ICM.................................................................................................74 archiver_data.t_Campaign_ICM..........................................................................................................76 archiver_data.t_CampaignQueryRule_ICM.........................................................................................78 archiver_data.t_CampaignSkillGroup_ICM..........................................................................................79 archiver_data.t_Dialer_ICM.................................................................................................................80 archiver_data.t_DialerPortMap_ICM....................................................................................................81 archiver_data.t_EnterpriseService_ICM..............................................................................................82 archiver_data.t_EnterpriseServiceMember_ICM.................................................................................82 archiver_data.t_EnterpriseSkillGroup_ICM.........................................................................................83 archiver_data.t_EnterpriseSkillGroupMember_ICM............................................................................83 archiver_data.t_ExpandedCallVariable_ICM.......................................................................................83 archiver_data.t_ICRGlobal_ICM..........................................................................................................84 archiver_data.t_LogicalInterfaceController_ICM..................................................................................85 archiver_data.t_MediaClass_ICM........................................................................................................86 archiver_data.t_MediaRoutingDomain_ICM........................................................................................86 archiver_data.t_Person_ICM...............................................................................................................87 archiver_data.t_QueryRule_ICM.........................................................................................................87 archiver_data.t_ReasonCode_ICM.....................................................................................................88 archiver_data.t_Route_ICM.................................................................................................................88 archiver_data.t_RoutingClient_ICM.....................................................................................................89 archiver_data.t_Service_ICM..............................................................................................................89 archiver_data.t_ServiceInterval_ICM...................................................................................................90 archiver_data.t_ServiceLevelThreshold_ICM......................................................................................92 archiver_data.t_ServiceMember_ICM.................................................................................................93 archiver_data.t_Site_ICM....................................................................................................................93 archiver_data.t_SkillGroup_ICM..........................................................................................................94 archiver_data.t_SkillGroupInterval_ICM..............................................................................................95 archiver_data.t_SkillGroupMember_ICM.............................................................................................98 archiver_data.t_Trunk_ICM..................................................................................................................98 archiver_data.t_TrunkGroup_ICM........................................................................................................99 archiver_data.t_TrunkGroupInterval_ICM............................................................................................99 Archiver_Data Database Views..............................................................................................................100 The Archiver_Custom Database............................................................................................................102 Index ...........................................................................................................................................................103 Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) iii List of Figures Figure 1: Configuring the Linked Server.........................................................................................................................11 Figure 2: SQL Server Agent Job......................................................................................................................................12 Figure 3: Archiver t_CallType Table................................................................................................................................14 Figure 4: Archiver_data t_CallType_ICM Table.............................................................................................................14 Figure 5: Archiver_data Views.........................................................................................................................................15 Figure 6: Checking AWE Memory..................................................................................................................................16 Figure 7: Archiver Load Schedule...................................................................................................................................17 Figure 8: Job Schedule Properties...................................................................................................................................18 Figure 9: User Information Window................................................................................................................................21 Figure 10: Removing Columns 1 of 2.............................................................................................................................23 Figure 11: Removing Columns 2 of 2.............................................................................................................................23 Figure 12: Connectors: SourceTypes...............................................................................................................................24 Figure 13: Connector: SourceType and TimeZone..........................................................................................................24 Figure 14: Window Event Log Error ..............................................................................................................................28 Figure 15: Troubleshooting an Error 1 of 3.....................................................................................................................29 Figure 16: Troubleshooting an Error 2 of 3.....................................................................................................................29 Figure 17: Troubleshooting an Error 3 of 4.....................................................................................................................29 Figure 18: Archiver Database PDM.................................................................................................................................34 Figure 19: Archiver_Data Database PDM.......................................................................................................................35 Figure 20: Archiver_custom database............................................................................................................................102 Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) iv Preface Purpose This guide explains Cisco Unified Intelligence Suite (Unified IS) Archiver. The Archiver is the data store for Unified IS reporting. Audience This guide is intended for partners, system administrators, and report designers who deploy the Archiver with their Unified Intelligence Suite. It is prepared with the understanding that readers are familiar with MS SQL Server and does not document MS SQM Server procedures. Organization In addition to this Preface, this guide is organized in four chapters and contains an Index. • Chapter 1: Product Overview (page 5), explains the Archiver in the context of the Cisco Unified Intelligence Suite. • Chapter 2: Managing the Archiver (page 9), has sections relevant to overall operations such as Initial Load, Data Retention and Purge, and Database Best Practices. • Chapter 3: Troubleshooting (page 27), offers tips and workarounds. • Chapter 4: The Archiver Schema (page 33), describes the three Archiver databases. Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 1 Preface Related Documentation Related Documentation The following documentation supplements and complements this guide: • The Unified IC online help (available from the Unified IC web application interface) • The Cisco Unified Intelligence Suite Intelligence Center User Guide • The Cisco Unified Intelligence Suite 7.5(x) Bill of Materials • The Hardware & System Software Specification (Bill of Materials) for Unified ICM/CCE (http://www.cisco.com/en/US/products/sw/custcosw/ps1001/products_user_guide_list.html) • The Contact Center Enterprise Solution Reference Network Design (SRND) (http:// www.cisco.com/en/US/products/sw/custcosw/ps1844/ products_implementation_design_guides_list.html) • The Unified ICM/CCE Database Schema Handbook (http://www.cisco.com/en/US/ products/sw/custcosw/ps1001/prod_technical_reference_list.html)Unified • The Security Best Practices Guide for Unified ICM and CCE Enterprise & Hosted Editions • The Reporting Guides for Unified ICM and Unified CCE (http://www.cisco.com/en/US/ products/sw/custcosw/ps4145/products_user_guide_list.html) • The customer-facing Achiver Troubleshooting tips, available to anyone with a Cisco User Name and Password: Troubleshooting Tips for Unified IS 7.5 (http://docwiki.cisco.com/ wiki/Troubleshooting_Tips_for_Unified_IS_7.5) Conventions This manual uses the following conventions: Convention Description boldface font Boldface font is used to indicate commands, such as user entries, keys, buttons, and folder and submenu names. For example: • Choose Edit > Find. • Click Finish. italic font Italic font is used to indicate the following: • To introduce a new term. Example: A skill group is a collection of agents who share similar skills. Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 2 Preface Obtaining Documentation and Submitting a Service Request Convention Description • For emphasis. Example: Do not use the numerical naming convention. • A syntax value that the user must replace. Example: IF (condition, true-value, false-value) • A book title. Example: See the Cisco CRS Installation Guide. window font Window font, such as Courier, is used for the following: • Text as it appears in code or that the window displays. Example: <html><title>Cisco Systems,Inc. </ title></html> < > Angle brackets are used to indicate the following: • For arguments where the context does not allow italic, such as ASCII output. • A character string that the user enters but that does not appear on the window such as a password. Obtaining Documentation and Submitting a Service Request For information on obtaining documentation, submitting a service request, and gathering additional information, see the monthly What's New in Cisco Product Documentation, which also lists all new and revised Cisco technical documentation, at: http://www.cisco.com/en/US/docs/general/whatsnew/whatsnew.html Subscribe to the What's New in Cisco Product Documentation as a Really Simple Syndication (RSS) feed and set content to be delivered directly to your desktop using a reader application. The RSS feeds are a free service and Cisco currently supports RSS version 2.0. Documentation Feedback You can provide comments about this document by sending email to the following address: mailto:ccbu_docfeedback@cisco.com We appreciate your comments. Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 3 Preface Documentation Feedback Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 4 Chapter 1 Product Overview About Cisco Unified Intelligence Suite Cisco Unified Intelligence Suite (Unified IS) is a web-based reporting platform for the Cisco Unified Communication products. Currently, Unified IS can be deployed as an alternative to the WebView application. In future releases, it will replace WebView1. Unified IS consists of two components: the Unified Intelligence Center (Unified IC) and the Archiver. Each component requires a separate and dedicated server. • Unified Intelligence Center (Unified IC) is the user interface for reporting. Unified IC is installed with stock Cisco report templates and with tools for modifying and customizing those reports. Unified IC is also the interface for creating and maintaining users and user groups. Unified IC is configured with a Unified IC database that stores metadata and configuration settings. Unified IC is documented in the Cisco Unified Intelligence Center User Guide. • The Archiver is an MS SQL Server data repository. It contains a normalized data schema and a set of stored procedures that pull data from defined data sources for use in reporting. The Archiver is configured to pull data from the Unified ICM AW/HDS into the archiver and archiver_data database tables . You can optionally create custom connectors to other databases. You have the option to deploy Unified IS without the Archiver and to retrieve reporting data directly from the Unified AW/HDS. 1) Webview is the legacy reporting application that is currently provided with each installation of Cisco Unified Intelligence Contact Management and Cisco Unified Contact Center. Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 5 Chapter 1: Product Overview About the Archiver Your Cisco Support Provider supports the archiver and archiver_data database tables populated from Unified ICM AW/HDS and the Cisco stock templates. About the Archiver The Archiver is a schema and set of stored procedures that pull data from customer-defined data sources and aggregate them into local structures. All populated tables are listed in a centralized location as are the tables/data source from which to pull data, how many days worth of data to pull at a time, how to aggregate that data, and how long to retain the data. Metadata structures keep track of what has been pulled from source systems according to a date/time that data was last pulled. Archiver uses a date inserted or date updated column in the source systems to pull only data that has been insesrted or modified recently. For the Unified ICM/CCE tables, Archiver uses the dbdatetime column. Once a load is complete, the date and time of the most recent data is recorded in Archiver structures and the next data pull will use that as the earliest date time from which to pull data. Conceptually Archiver data pulls can be governed by manipulating the most recent pull date. Other controls include filters that can be placed on the pulling SQL to restrict the values of data pulled from the source system. Most archiver features are controlled by metadata and attention should be paid to the metadata structures that govern Archiver behavior. Many Archiver parameters, such as Interval, Throttle Interval, CleanupOrphans, and RetentionDays are controlled at three hierarchical levels: 1. By LoadArchiver, which controls them at the Run level. 2. By the t_ConnectionJob table, which controls them at the Step level. 3. By the t_Parameter table, which controls them at the System level Archiver resides on a SQL Server 2005 database and uses SQLServer Linked Servers to perform connections to external data sources. When Unified IS is installed and the Archiver is configured, the Archiver can extract data from the awdb and hds databases on one, dedicated Unified ICM Admin Workstation. Report queries are then run against the data in the Archiver and not directly against the HDS. This removes some performance load from the HDS and provides an environment for reporting on historical and aggregated data. In this release, data from the Archiver populates one Cisco stock template: the Call Type Daily All Fields report template. The Unified IC installation places this template in this path: %CUIS_HOME%\Cisco\CUIS\CuisWeb\ArchiverReports. Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 6 Chapter 1: Product Overview About the Archiver By adding the Archiver as a Data Source in the Unified IC web application and by working with the Report Wizard functionality in the Unified IC interface, you can clone ("save as") the Call Type Daily All Fields report template and create other reporting templates that use the Archiver as their data source. Note: Your Cisco Support Provider can assist you with stock templates only. Customers and partners can extend the Archiver to support additional data sources other than the Unified AW/HDS. If they chose to do so, they are responsible for supporting their extensions and for any associated performance issues. The Archiver is comprised of three primary components: • Linked Server Connection (page 11) - Used to connect to a target database and to extract data. A Linked Server connection to the Unified ICM AW/HDS is created during the Archiver Configuration. • SQL Server Agent Job (page 12) - Used to launch and manage the data collection and aggregation. • Three databases (page 33) Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 7 Chapter 1: Product Overview About the Archiver Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 8 Chapter 2 Managing the Archiver Installing and Configuring the Archiver The installation for the Archiver is identical to the installation for Unified Intelligence Center (Unified IC). For Unified IS, the installation simply lays down install files. The configuration tool completes the setup and installs the databases. What distinguishes the server on which you perform the installation as an Archiver (and not a Unified IC) server are: • The configuration tool that you run • The server hardware requirements The installation requirement and procedure, as well as the process, configuration are documented in Part 2 of the Cisco Unified Intelligence Suite Intelligence Center User Guide. Archiver Checklist The checklist below contains an overview of the tasks necessary to provision the Archiver in your Unified IS deployment. For complete installation and configuration details, see Part 2 of the Unified Intelligence Server User Guide. The table lists the required software but not the current versions and service packs. For current versions and updates, refer to the Hardware & System Software Specification (Bill of Materials) for Unified ICM/CCE and the The Cisco Unified Intelligence Suite 7.5(x) Bill of Materials. Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 9 Chapter 2: Managing the Archiver Internal Users for Database Access Task Required for: Ensure access to a Unified ICM/CCE Admin Workstation with an AW/HDS. Data source for reports Ensure the Archiver server meets Cisco hardware requirements. Installation Install the Microsoft Windows operating system on the Archiver Server. Installation Install the Microsoft .NET Framework on the Archiver Server. Configuration tool Install Unified IC on the Archiver server. Configuration Install Microsoft SQL Server Database Engine and Workstation Components. Hosting the database Select Latin1_General collation designator and binary sort order. Verify that TCP/IP connectivity is enabled. Ensure that the Windows domain or local internal users (page 10) are added and have the appropriate database access. Data access There must be: • A Windows domain user or local user for the Unified IC User on the Archiver server. Use SQL Server Administration to add the Windows domain Unified IC User as a new security login and set with db_datareader access to all three Archiver databases. • A Windows domain user or local user for the Archiver User on the Archiver server. • A Windows domain user or local user for the Archiver User the Unified ICM AW/HDS machine. On the Unified ICM AW/HDS machine, use SQL Server Administration to add the Windows local Archiver User as a new security login and set with db_datareader access to the AW and HDS databases. Configure the Archiver on the Archiver server. Creating the Archiver databases Check the AWE Memory (page 15) Ensuring full use of memory Run Initial Load (page 16) Populating Archiver databases Internal Users for Database Access The person who installs Unified IS and who configures the Archiver is responsible for creating a local or domain Archiver User and a local or domain Unified IC User. These are service accounts with special privileges. Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 10 Chapter 2: Managing the Archiver Linked Server Connections Do not use the user names and passwords of these internal users to run the Configuration Tool or to log in to Unified IC and run reports. The Unified ICM DBA is responsible for adding the Archiver User and Unified IC User on the Unified ICM AW/HDS machine, for giving those users a SQL Server security login, and for adding user mapping for the awdb and hds databases with db_datareader privileges. The Archiver User accesses the historical data in the HDS on the Unified ICM/CCE Admin Workstation. The Unified IC User: • Runs the reporting Scheduler service. • Runs the Unified IC web server. • Accesses the Unified IC database and the real time data in the AW database on the Unified ICM/CCE Admin Workstation. • Accesses the Archiver databases and must be added as a new SQL Server security login and set with db_datareader access to all three Archiver databases. Linked Server Connections The linked server connection to the Unified ICM AW database (awdb) is created during the Archiver configuration on the Archiver - Linked Server window: Figure 1: Configuring the Linked Server Customers who create custom connections to databases other than the Unified ICM AW/HDS are responsible for ensuring that the linked servers to the source database(s) are administered from within SQL and are configured and available. Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 11 Chapter 2: Managing the Archiver SQL Server Agent Jobs Additional linked servers are created manually through SQL administration and not by rerunning the Unified IC Configuration Tool. SQL Server Agent Jobs The SQL Server Agent service is responsible for ensuring that scheduled jobs are run at a specified time. The Archiver uses a SQL Server Agent Job named LoadArchiver to launch and manage data collection and aggregation from the Unified ICM AW/HDS. You can view and modify this Agent Job from the Microsoft SQL Server Management Studio, which is installed with SQL Server 2005. • To view and edit the job steps, schedules, alerts, and so forth, navigate to SQL Server Agent. Then right-click the LoadArchiver job and select Properties. • To view the history of a job, including runtime, right-click the LoadArchiver job and select View History. Note: The archiver.t_Log table (page 41) in the Archiver database stores detailed data about extraction runs. Figure 2: SQL Server Agent Job Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 12 Chapter 2: Managing the Archiver Archiver Reporting Data Model Archiver Reporting Data Model The Archiver was designed to integrate data from multiple vendors. The tables are typically created using a pattern of generic parent object and vendor specific child object. In preparation for the initial load of Unified ICM data from the HDS, the Archiver configuration creates databases as follows: • The archiver database to hold the Archiver management objects and also the common tables, which are the parent tables for the Unified ICM data. • The archiver_data database, which stores the child tables for ICM extended data. • The archiver_custom database. This database is a shell and is initially blank. When customers and partners extend the Archiver, they add new tables with additional data to the archiver_custom database. Archiver Call Type Daily All Fields Report The installation creates an ArchiverReports folder in %CUIS_HOME%\Cisco\CUIS\CuisWeb. It contains the Call Type Daily All Fields report template. This template is identical to the Call Type Historical All Fields report template. This template populates with report data from the Archiver database, if you have deployed it. You need to import this template as follows: 1. Select Report Admin > Import Reports to open the Import Reports dialog box. 2. At the Import Reports dialog box, click Browse, and navigate to %CUIS_HOME\Cisco\CUIS\CuisWeb\ArchiverReports. 3. Select CallType_AllFields_Daily.xml and click Open to return to the Import Reports dialog box. 4. Click Continue to display the Data Source dialog box. 5. For Data Source, select the source that was added for the Archiver. Archiver Reports and Unified IC Reports Historical reports using the data source Unified AW (HDS) are half-hour reports. Archiver rolls up the half-hour data and creates daily reports showing aggregated data. Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 13 Chapter 2: Managing the Archiver Unified ICM Data in Archiver Tables, Archiver_Data Tables, and Views Unified ICM Data in Archiver Tables, Archiver_Data Tables, and Views From the Unified ICM database, the Archiver pulls both configuration data and Interval (historical) data and stores that data in two Archiver databases. For each Unified ICM database table that Archiver pulls, it places some data into a common (parent) table in the archiver database. It places other data into a corresponding child table in the archiver_data database. For example, when the Archiver retrieves Call Type data from the Unified ICM Call_Type table, it populates the t_CallType table in the archiver database. This is the parent table for the CallType data. It contains columns for the cross SourceType generic IDs and Names and Foreign Key relationships for CallTypes. Figure 3: Archiver t_CallType Table It also populates the t_CallType_ICM table in the archiver_data database. This is the child table for the CallType data. It contains columns for the application-specific extended data from the Unified ICM Call_Type table, such as CallTypeID, EnterpriseName, and ServiceLevelType. Figure 4: Archiver_data t_CallType_ICM Table Those two tables are joined to create a CallType view in the archiver_data database. The View is used to populate Call Type reports. Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 14 Chapter 2: Managing the Archiver Unified ICM Data in Archiver Tables, Archiver_Data Tables, and Views Figure 5: Archiver_data Views Interval table names are appended with Interval_ICM . For example, in the archiver_data database, the Unified ICM Call_Type table, a configuration table, is named t_CallType_ICM. The Unified ICM Call_Type_Half_Hour table is named t_CallTypeInterval_ICM. All table names appended with Interval_ICM contain an ArchiverIntervalID column. For example, the t_Agent_Interval_ICM table has a column named AgentIntervalArchiverID. The t_Trunk_GroupInterval_ICM table has a column named TrunkGroupIntervalArchiverID. The Interval ID column describes the interval, with 30 for half hour and d for daily. Only a daily level of aggregation has been qualified with the 7.5(1) release. Higher levels of aggregation will be qualified in Release 8.0. Note: The Interval ID field is for Cisco use only. The Archiver uses the DBDateTime field in Unified ICM tables to extract historical data. This field is populated with the current datetime when the record arrives on the HDS. Using this field gives the Archiver the ability extract new data multiple times per day and eliminates the possibility of data holes. Checking AWE Memory Address Windowing Extensions (AWE) allow 32-bit operating systems to access large amounts of memory. In this exercise, you check the AWE settings to make sure that Archiver has full use of memory. Step 1 In SQL Server Management Studio, right-click the instance and select Properties. Step 2 Click Memory to open the AWE settings. Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 15 Chapter 2: Managing the Archiver Initial Load Figure 6: Checking AWE Memory Step 3 Set the minimum and maximum as shown below. The Min and Max values depend on what is installed. As a rule, set the Min to 2GB. Set the Max to Total Memory minus 2BG. Initial Load Initial Load is the process by which the Archiver populates its databases with Unified ICM data from the HDS for the first time. It takes place after Archiver Configuration is complete. Initial Load is "expensive" for the HDS and needs to take place at a time that will not disrupt normal operations. Initial Load Schedule After configuration, the LoadArchiver job is enabled; however, both of its schedules (the 30-minute Schedule and the Daily Job) are disabled. This is to give you time to configure the initial load for Archiver. For Initial Load, you need to keep the disabled status for the Daily Job and enable the 30-minute Schedule. This divides the load jobs and runs the job at 30-minute intervals until all the data is loaded. The 30-minute schedule will execute at 30-minute intervals, provided it is not already running, and will pull some interval of data from the AW/HDS into the Archiver. The amount of data that is pulled in each run can be governed with Initial Load ConnectionJob settings (see below). Once the Initial Load is complete, the 30-Minute Schedule is automatically disabled, and you can enable the daily job. Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 16 Chapter 2: Managing the Archiver Daily Load Figure 7: Archiver Load Schedule Note: The Archiver does not support having both schedules enabled. Initial Load ConnectionJob settings The amount of data gathered during initial load and how far back to load data are controlled by the t_ConnectionJob table (page 37) in the archiver database. To reduce the load on the Unified ICM AW/HDS, edit these variables in the t_ConnectionJob table • EarliestDate: Controls how far back to start collecting data from the HDS. This value is used for Initial Load only; therefore it is relevant only if the LastDBDateTime is null. For example, to collect data only greater or equal to August 1, 2008, update t_ConnectionJob to set EarliestDate = '2008-08-01 00:00:00. • ThrottleInterval: Controls how much data to extract. Day = dd. Week = ww. Month = mm. • ThrottleAmount: Controls the amount of ThrottleIntervals to gather. By default, the Archiver is set to load one week's worth of data at one run time. (ThrottleAmount = 1 and ThrottleInterval=ww.) Errors with the SQLAgent load job are written to the Windows Application Event log. See Error Message on Load Job (page 28). Daily Load The Archiver is designed to gather information once per day. During that load time, the system devotes all resources to loading data. Cisco does not support running reports during the daily load. Schedule the daily load at time when users are not running reports, when scheduled reports are not generated, and when the target system is not running data purge or other resource-intensive tasks. Errors with the SQLAgent load job are written to the Windows Application Event log. Periodically check this log to ensure that the jobs are completing without error. See Error Message on Load Job (page 28). Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 17 Chapter 2: Managing the Archiver Data Retention and Purge To configure the time for the Daily Load, go to SQL Server Agent > Jobs > LoadArchiver. Make and save (OK) your changes on the Job Schedule Properties dialog box. Figure 8: Job Schedule Properties Data Retention and Purge Although Archiver is an historical database, it has physical size limitations, and data must periodically be aged off. If data is not periodically purged, the performance of the Archiver database will degrade over time. If the Archiver database runs out of disk space, all processes will stop and no new data will be written to the database until space is available. The purge deletes rows data from each Interval table in the archiver_data database and corresponding interval data from the archiver database. Configuration tables are not purged. The Archiver offers two ways to control data growth in the archiver and archiver_data databases: Daily Purge and Emergency Purge. Note: Customers must manage data growth of the archiver_custom database. Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 18 Chapter 2: Managing the Archiver Data Retention and Purge Daily Purge Daily purge (retention processing) deletes data from the Interval tables in the archiver_data database and corresponding interval data from the archiver database if that data is older than a user-specified number of days. The daily purge process runs at the end of the scheduled job. It occurs after the loads in two individual steps: Half Hour Interval Retention and Daily Interval Retention processing. Cisco does not support running reports during the daily load. Schedule the daily purge at time when users are not running reports, when scheduled reports are not generated, and when the target system is not running data purge or other resource-intensive tasks. Setting Retention Days Retention days for Archiver Interval data can be set in the t_ConnectionJob table by setting a number in the RetentionDays column. While this is true, the best practice is to leave the t_ConnectionJob.RetentionDays value NULL and to run a job step for retention. Doing this ensures that data is not deleted until the end of the job. The default job ships with retention steps for the '30' min and 'D' data. The following examples show the default system settings. Notice that the fifth Argument must be 'Retention', the sixth argument defines the interval, and the last argument defines the number of days retained. EXEC xp_LoadArchiver NULL, NULL, NULL, NULL, 'Retention', '30', NULL, NULL, NULL, NULL, NULL, 2 EXEC xp_LoadArchiver NULL, NULL, NULL, NULL, 'Retention', 'D', NULL, NULL, NULL, NULL, NULL, 365 Emergency Purge Emergency purge is the first step in the LoadArchiver Job. The system determines if the database is n% full and then removes n intervals until it is below n%. n is set in the t_Parameter table and by default is 80 percent. By default, therefore, emergency purge is launched when the archiver_data and databases exceeds 80 percent capacity. Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 19 Chapter 2: Managing the Archiver Database Security The emergency purge deletes rows data from each Interval table in the archiver_data database and corresponding Interval data from the archiver database until the databases are within the acceptable percentage. Configuration tables in the archiver_data database are not purged. The t_Parameter table retains a system level emergency purge level. An emergency purge writes an event to the t_Log table. The default emergency purge settings are, to purge one day of interval data. The default t_Parameter settings are: • ForcePurgeAmount = 1 • ForcePurgeInterval = 'dd' • ForcePurgePercent = 80 Database Security Unified IS implements security measures as documented in the Unified ICM/CCE Security Best Practices Guide. This chapter elaborates on security hardening, data access, and encryption. Security Hardening During Archiver Configuration, security hardening is applied to SQL Server. The following unnecessary services are disabled, if they were installed: MSSQLServerADHelper, SQLWriter, and SQLBrowser. Hardening can be rolled back, by running cuissqlsecurity.pl ROLLBACK. Security and Data Access Successful database access is critical to the Unified IS. The configurations for Unified IC database, Unified IC server, and the Archiver all require you to specify a User name and password on a User Verification window, similar to this: Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 20 Chapter 2: Managing the Archiver Database Security Figure 9: User Information Window These user credentials must be set up to access the Unified IC database, the Archiver database, and the AW/HDS databases on the Unified ICM Admin Workstation. To comply with Cisco security baseline guidelines and to work consistently with Unified ICM/CCE, the Windows integration authentication is the default authentication method used by both Unified IC and Archiver. For downward compatibility reasons, Unified IC and Archiver is also able to connect to the Release 7.2 version of Unified ICM/CCE databases. For this reason, using SQL authentication to access remote SQL databases is also supported. You specify the type of authentication when you configure the remote database connections. See also Using Archiver with Unified ICM 7.2 (page 22). Encryption Unified IS servers encrypt recoverable database credentials using the Advanced Encryption Standard (AES) algorithm. AES, also known as Rijndael, is a block cipher used as an encryption standard by the US government. All the recoverable passwords stored use the same key and initial vector string for encryption and decryption. The key phrase and initial vector string are provided by users during the Unified IC Web Server configuration and are themselves encrypted and stored in the web configuration file as special connection strings. The key used to encrypt and decrypt the user provided key phrase and initial vector is a unique machine GUID created by Microsoft and stored in the Windows registry. The initial vector is a predefined byte array. In addition, the web configuration file itself acts as the security key store for Unified applications is protected by .NET security mechanism so that the connection string section is encrypted. The IV (initial vector) string and the Key string are not auto-generated. Cisco suggests that you record and save them. That way, in the event of an emergency, your support provider can contact Cisco to have all passwords in the configuration file decrypted. Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 21 Chapter 2: Managing the Archiver Database Backups Synching with the Time Server It is a security best practice to synchronize server time with an external time source. Common time sources can be domain services or a dedicated Windows time server. Unified IS databases reside on a Microsoft Windows platform and should follow the time server practices of the enterprise. Database Backups The Cisco processes do not perform database backups. It is the responsibility of the customer to maintain the health of the databases and to ensure that proper backup and recovery processes are in place. It is highly recommended that you schedule regular backups of the Unified IC (Unified IC) and Archiver databases using the Microsoft SQL Server backup tools or other 3rd party product. Do not store backups on the United IC or the Archiver servers. Backups should be scheduled so that they do not interfere with the table load processes and should use external backup devices (tape or network drive). Cisco assumes no responsibility for data loss resulting from issues with backups. Data loss might occur if the backing up of files is not managed appropriately. Using Archiver with Unified ICM 7.2 The Unified IS product is written to accommodate Unified ICM/CCE Version 7.5(1) and has also been certified for Unified ICM/CCE Version 7.2. In the event that you need to load historical data from a Unified ICM AW/HDS server that is at Version 7.2, you can downgrade the Archiver databases by nulling the columnname value in the t_Metadata table for columns that were not available on the HDS for the Archiver table you are loading. Cisco generally puts all new columns associated with a release at the end of the tables. By referring to the Unified ICM/CCE Database Schema Handbooks for Release 7.2 and Release 7.5(1) or to the Release Notes for Release 7.5(1), you can determine which tables received new columns in Release 7.5(1). The person who modifies these stored procedures must be proficient in SQL Server and have intimate knowledge of the Unified ICM/CCE schema they are downgrading to. See also ICM 7.2 (page 30). Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 22 Chapter 2: Managing the Archiver Working with Custom Connectors Removing Unused Columns This example shows modifying entries in the t_Metadata table for the t_AgentInterval_ICM table. Step 1 Access the t_Metadata table for the t_Agent_Interval_ICM table. Step 2 Locate the ColumnNames you want to remove. In this example, we are removing the five Reserved columns: Figure 10: Removing Columns 1 of 2 Step 3 Change the ColumnNames to NULL. Figure 11: Removing Columns 2 of 2 The stored procedure (xp_LoadAgentInterval_ICM) will no longer generate SQL statements that will include the five Reserved ColumnNames in the Select or Insert statements. Note: You can also use this process of nulling ColumnNames to reduce the amount of data that is kept in the Archiver. Working with Custom Connectors A connector consists of a SourceType, a SQL Server connected database or an ODBC Linked Server, and a source table. A SourceType is a data source on a given connection. A single SourceType can exist on several connections. The SourceType needs to be defined in the archiver.dbo.t_SourceType table if it does not already exist. Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 23 Chapter 2: Managing the Archiver Working with Custom Connectors Figure 12: Connectors: SourceTypes The SQL Server connected database or an ODBC Linked Server is referenced by a row in the archiver.t_Connection table (page 36) which has a foreign key relationship to the associated SourceType in the archiver.t_SourceType table (page 43). The t_Connection table also has a foreign key relationship to the desired TimeZone in the archiver.t_TimeZone (page 44) table. This will be the default TimeZone for all sites that are children of this connection. Figure 13: Connector: SourceType and TimeZone Custom connectors are created in Microsoft SQL Server. There is no Unified IS interface for creating a custom connector. Your DBA can follow SQL Server practices and use an ODBC connector to populate tables in the archiver_custom database with a database of your choice. You can also contact Cisco Advanced Services for guidance. Your Cisco Support Provider cannot resolve issues pertaining to SQL Server, to databases other than the Unified AW/HDS, or to custom reports. Best Practices for Custom Connectors If you use the LoadArchiver mechanism, begin Stored Procedures with the following code: [USE archiver_custom] GO Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 24 Chapter 2: Managing the Archiver Working with Custom Connectors SET ANSI_NULLS ON SET QUOTED_IDENTIFIER ON GO CREATE PROCEDURE [dbo].[xp_Procedure[“Interval”]_Suffix] (@JobArchiverID uniqueidentifier ,@UseExisting bit = 0) Procedure is the family of data (such as Agent or Service) and will ultimately be the value in the Procedure column for this load in the archiver.t_ConnectionJob table (page 37). Interval is the word “Interval” if it is an Interval load; otherwise no value. This will be the value in the Type column for this load in the archiver.t_ConnectionJob table (page 37). Please note it assumes Parent if not Interval. Suffix is the value of the archiver.dbo.t_SourceType.TableSuffix column for the referenced SourceType of the referenced Connection. If TableSuffix is null, the value should be the Vendor + ‘-‘ + Version (for example, Cisco_7.5). Case: The database is case-sensitive. Remember this when entering code. LoadArchiver and t_ConnectionJob: To use the LoadArchiver mechanism to load your new Connector, you need to create rows in the archiver.t_ConnectionJob table. The DataBaseName column must have the value archiver_custom, which is the database where your new stored procedure must reside. This tells the LoadArchiver mechanism where to look for the stored procedure whose name is dynamically derived from the values in this row. This also ensures that LoadArchiver can be run in its original Cisco-configured state by de-activating (Active = 0) all rows whose DataBaseName does not = archiver. To reset the LoadArchiver mechanism to only run Cisco supplied stored procedures: UPDATE archiver.dbo.t_ConnectionJob SET Active = 0 WHERE DataBaseName <> 'archiver' Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 25 Chapter 2: Managing the Archiver Working with Custom Connectors Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 26 Chapter 3 Troubleshooting Archiver Troubleshooting Archiver Memory Space Per the Hardware and System Software Specification (Bill of Materials) for Cisco Unified Intelligence Suite Release 7.5(x),: • The Archiver is installed on a server that has 12GB of memory. • The SQL Server memory setting is changed from the default (which is dynamic) to a Minimum of 2 GB and a maximum of 10 GB. • The Archiver Configuration Tool automatically sets switches for /3GB and /PAE. These specifications have been qualified by Cisco Systems, Inc. to afford optimal Archiver performance. In the event that you encounter Out of Memory errors, please contact your Support Provider for guidance on changing the memory space. Be aware that changing settings will affect the performance of your Archiver. If the settings are altered to a non-qualified value, Cisco Systems cannot support the altered environment. Data Retrieval If you are having issues retrieving data, test your Linked Server connection using Microsoft SQL Server Management Studio. Linked Servers can be found under Server Objects. Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 27 Chapter 3: Troubleshooting Archiver Troubleshooting Right click on the linked server connection to test the connection. Emergency Purge Manage the amount of free space and the retention times in your database to ensure that there is no need for an emergency purge. Periodically query the t_Log table to ensure that there are not emergency purge messages. Error Message on Load Job If your Job History lists an error, check the Windows Application Event log. Note: You can choose other notification methods by editing the Notification tab in the Job Properties page. To investigate an error in the Event Viewer: 1. Right-click My Computer and select Manage. Then click Application. 2. Locate the latest warning where the source is “SQLSERVERAGENT” and double-click it. You will see a general failure message generated by SQL Agent. Figure 14: Window Event Log Error Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 28 Chapter 3: Troubleshooting Archiver Troubleshooting The message in the Event Viewer can give you sufficient information to investigate further. To investigate the example above: 1. Open a query window and select from the dbo.Log table with the following query statement. Figure 15: Troubleshooting an Error 1 of 3 2. After the query completes, scroll down to the last row. In this example, the job failed in the “CallTypeInterval” load. Figure 16: Troubleshooting an Error 2 of 3 3. For this example, you can run the LoadArchiver for CallTypeIntervals and look for the error message: Figure 17: Troubleshooting an Error 3 of 4 The error in this example shows that the Archiver_FGIndex filegroup is too small. 4. To resolve this, increase the “Archiver_FGIndex” filegroup size for the “archiver” database: – Right-click the “archiver” database and select Properties. Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 29 Chapter 3: Troubleshooting Archiver Troubleshooting – Scroll down to the “Files” selection and double-click to view the current filegroup sizes – Locate the two Archiver_FGIndex filegroups and change their sizes. Then click OK. – Exit and reopen to make sure the changes took effect. If the ALTER times out, you might need to change each file individually. – Re-run LoadArchiver for the CallTypeIntervals to make sure the problem has been remedied. ICM 7.2 To run the Archiver with Unified ICM/CCE/CCH Version 7.2: 1. Run the Installation on the Archiver server. 2. Run the config tool on the Archiver server. 3. Navigate to %CUIS_HOME%\Cisco\CUIS\CuisSqlScripts\Archiver\ICM\Archiver_ICM_v75.sql. 4. Open this file in a text editor. 5. Locate this section of the file: USE [archiver] GO DECLARE @SQL nvarchar(max), @Version nvarchar(4) SET @Version = '7.5' 6. Change SET @Version = '7.5' to SET @Version = '7.2' 7. Save and close. 8. Run Archiver Initial Load. NOLOCK Syntax Use this syntax to correct the rows (to add NOLOCK syntax) in the archiver.dbo.t_ConnectionJob table: update SET from where t SourceTableName = SourceTableName + ' (NOLOCK)' archiver.dbo.t_ConnectionJob t RIGHT(SourceTableName,1) = ']' update SET from where t SourceTableName = REPLACE(SourceTableName, '] a', '] (NOLOCK) a') archiver.dbo.t_ConnectionJob t CHARINDEX('] a',SourceTableName) > 0 Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 30 Chapter 3: Troubleshooting Archiver Troubleshooting update SET from where t SourceTableName = REPLACE(SourceTableName, ']) b', '] (NOLOCK)) b') archiver.dbo.t_ConnectionJob t CHARINDEX(']) b',SourceTableName) > 0 To remove the NOLOCK syntax: update SET from where t SourceTableName = REPLACE(SourceTableName, ' (NOLOCK)','') archiver.dbo.t_ConnectionJob t CHARINDEX(' (NOLOCK)',SourceTableName) > 0 Orphans in the Archiver Environment Orphans may occur if the jobs fails during load between the insertion into the parent interval table and the child interval table. Typically, if the LastDbDateTime is not updated, the job will repull the same data in the next pull and will insert to the parent interval table. If for some reason it is unable to update the LastDbDateTime, there could be rows in the parent interval table with no corresponding rows in the child interval table. In this situation the best thing to do is to NULL the LastDbDateTime with or without the Orphan removals. The orphans should be cleaned up the next time the job runs. Reporting on Interval Data When reporting off of interval data in the Archiver database, remember to include IntervalID = 'D', in your WHERE clause, to report only on daily records. Note: The Interval ID field is for Cisco use only. Run Time To determine how long runs are taking, check the SQL Server Job history. For more detailed information about the run time of the steps involved in the job, query the t_Log table in the Archiver database. Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 31 Chapter 3: Troubleshooting Archiver Troubleshooting Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 32 Chapter 4 The Archiver Schema There are three Archiver databases. • The Archiver database, which holds two kinds of tables. (These tables are not distinguished in SQL Server but are documented in this guide as two categories, as they store two different kinds of data.) They are: – The Archiver Management Tables (page 35), which store tables that manage the behavior of the Archiver, such as t_ConnectionJob, t_Log, t_TimeZone, and t_Version. – The Archiver Common Tables (page 46), which are parent tables for the Unified ICM data. • The Archiver_data database. The Archiver_Data database stores: – The Archiver_Data tables of ICM extended data (page 67). These are child tables for the ICM data. – Views (page 100) There is a View for the join of each Archiver Common (parent) table with its corresponding Archiver_Data database (child) ICM extended table. The Views are used to populate the Unified IC reports. • The Archiver_Custom database. The Archiver_Custom database (page 102), an initially empty database that can store data from an external data source. This chapter contains the following topics: Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 33 Chapter 4: The Archiver Schema Archiver Database PDM • • • • • • • Archiver Database PDM, page 34 Archiver_Data PDM, page 35 Archiver Database: Management Tables, page 35 Archiver Database: Common (Parent) Tables for Unified ICM Data, page 46 The Archiver_Data Database: Child Tables For Unified ICM Extended Data, page 67 Archiver_Data Database Views, page 100 The Archiver_Custom Database, page 102 Archiver Database PDM Figure 18: Archiver Database PDM Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 34 Chapter 4: The Archiver Schema Archiver_Data PDM Archiver_Data PDM Figure 19: Archiver_Data Database PDM Archiver Database: Management Tables The Archiver Management Tables store generic configuration and base data. Management Tables are: • t_Connection (page 36) • t_ConnectionJob (page 37) • t_Lock (page 40) • t_Log (page 41) Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 35 Chapter 4: The Archiver Schema Archiver Database: Management Tables • t_Metadata (page 42) • t_Parameter (page 43) • t_SourceType (page 43) • t_TimeZone (page 44) • t_Version (page 45) archiver.t_Connection This table contains information about a specific connection, which may contain several SourceTypes. If it is a Linked Server, please note that the ServerName column must match an existing Linked Server if the connection requires the use of an OpenQuery statement during SQL generation (UseOpenQuery=True on the ConnectionJob table). Table 1: archiver.t_Connection Table Column Size Null Indexes Description Active bit False ArchiverID uniqueidentifier False ChangeStamp datetime False DateTime of row's last modification. Deleted nchar(2) False Soft deletion flag (Y/N). ID tinyint False The state (Active Flag) of the connection: True | False. PK_Connection UI_Connection_ID Primary Key to table. Unique identifier (numeric). UI_Connection IP nvarchar(64) True The IP address of the connection (informational only). Location nvarchar(64) True The location of the connection (informational only). Logon nvarchar(64) True The logon to the linked server referenced by the connection (informational only). Name nvarchar(128) False Password nvarchar(64) True Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 36 UI_Connection_Name Description (informational only). The password to the linked server referenced by the connection (informational only). Chapter 4: The Archiver Schema Archiver Database: Management Tables Column Size Null ServerName nvarchar(64) True SourceTypeArchiverID uniqueidentifier False Indexes Description The linked server name that will be used in the dynamic sql generation. XI_Connection_SourceType Foreign key to the SourceType table. UI_Connection TimeZoneArchiverID uniqueidentifier False XI_Connection_TimeZone Foreign key to the TimeZone table. archiver.t_ConnectionJob This table contains information about each process that is to occur and the order in which it is to be executed. This table is the heart of the ETL control data and Job Management for the Archiver. Each row contains data that dynamically creates the stored procedure name to be called to dynamically create blocks of SQL to perform the ETL or summarization processes on the referenced source table. See also NOLOCK Syntax (page 30). Table 2: archiver.t_ConnectionJob Table Column Size Null Indexes Description Active bit False ArchiverID uniqueidentifier False ChangeStamp datetime False DateTime of row's last modification. CleanupOrphans bit True Flag to override the t_Parameter CleanupOrphans setting. ConnectionArchiverID uniqueidentifier False Foreign key to the Connection table. DataBaseName nvarchar(510) True Database to run the stored procedure from via xp_LoadArchiver execution. DateFormat nvarchar(30) True Date format of the connection (chrdat=SQL [yyyymmdd hh:mm:ss],oradat=Oracle date processing, intdat=Informix date processing) Deleted nchar(2) False Soft deletion flag (Y/N). Description nvarchar(510) True Description of Job referenced by this row. Active Flag (True/False). True = this job should be run. PK_ConnectionJob Primary Key to table. Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 37 Chapter 4: The Archiver Schema Archiver Database: Management Tables Column Size Null Destination ConnectionArchiverID uniqueidentifier True Foreign key to the Connection table. DestinationTableName nvarchar(510) True Name of table that temporarily stores the data pulled from the source system. EarliestDate smalldatetime True Earliest date to start pull of date from, only valid when LastDbDateTime column is NULL. Interval nvarchar(8) True LastDataDateTime datetime True Last time data was received from the HDS. LastDbDateTime datetime True Last DateTime processed from source system. LastRun datetime True Last DateTime the job was executed. LockWaitAmount smallint True Amount of LockWaitIntervals to wait before checking status of the Lock table. LockWaitInterval nvarchar(8) True Interval (mi=minute,hh=hour,dd=day, etc) used to determine how long to wait before checking status of the Lock table. LockWaitMax int True Max amount of LockWaitIntervals to wait before expiring the Lock. LockWaitSkip bit True Flag to determine whether to skip job (True) or process (False) job after Lock has expired. LookBackAmount smallint True Amount of LookBackIntervals to use when determining the left outer range of the next pull from the source system. LookBackInterval nvarchar(8) True Interval (mi=minute,hh=hour,dd=day, etc) used to determine how many intervals to look back when determining the left outer Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 38 Indexes UI_ConnectionJob Description ID of the Interval (30=half hour, D=Daily, NULL=Parent/Config) to pull, used in dynamic generation of SQL during xp_LoadArchiver execution. Chapter 4: The Archiver Schema Archiver Database: Management Tables Column Size Null Indexes Description range of the next pull from the source system. Order tinyint True Order of the execution of the rows in the table via xp_LoadArchiver execution. Procedure nvarchar(128) False RetentionDays smallint True SourceTableName nvarchar(4000) False Name of table on the source system to pull data from, used in dynamic SQL generation during xp_LoadArchiver execution. Statement nvarchar(510) True Optional SQL statement to override dynamic SQL generation for pull of data from source system. ThrottleAmount smallint True Amount of ThrottleIntervals to use when determining the right outer range of the next pull from the source system. ThrottleInterval nvarchar(8) True Interval (mi=minute,hh=hour,dd=day, etc) used to determine howmany intervals of data to pull for the right outer range of the next pull from the source system. Type nvarchar(128) False UseOpenQuery nvarchar(10) True WhereClause nvarchar(1000) True UI_ConnectionJob Root name of stored procedure (Agent, Service, SkillGroup, etc) used during dynamic SQL generation via xp_LoadArchiver execution. Amount of days to keep by interval and table referenced by this row. UI_ConnectionJob Type of stored procedure (Interval, Parent, Custom) used during dynamic SQL generation via xp_LoadArchiver execution. Flag (True/False) to determine whether OPENQUERY syntax needs to be used duringdynamic SQL generation via xp_LoadArchiver execution. Where clause used in the dynamic SQL generation via xp_LoadArchiver execution. Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 39 Chapter 4: The Archiver Schema Archiver Database: Management Tables archiver.t_Lock This table contains information about the job and its lock properties that is executing on a specific thread. During xp_LoadArchiver execution, this table is checked just prior to the execution of a stored procedure to see if another process has launched a similar ETL process against the same tables. If so, the job will wait the LockWaitMax intervals before proceeding. If the LockWaitSkip = True, it will bypass the execution of the stored procedure; if False, it will execute it. Table 3: archiver.t_Lock Table Column Size Null Indexes Description ArchiverID uniqueidentifier False PK_Lock Primary Key to table. JobInterval nvarchar(8) True Interval of the job that is being locked loaded during xp_LoadArchiver execution. JobProcedure nvarchar(128) False Root name of the of the job that is being locked loaded during xp_LoadArchiver execution. JobType nvarchar(128) True Type of the of the job that is being locked loaded during xp_LoadArchiver execution. LockDateTime datetime False DateTime when the lock row was written. LockJobID uniqueidentifier True Uniqueidentifier of the Job from sysjobs which is being referenced by this lock. LockLogin datetime True DateTime from sysprocesses when the job logged in. LockStepID smallint True StepID of the Job from sysjobs which is being referenced by this lock. WaitAmount smallint False Amount of WaitIntervals to wait before checking status of the Lock table loaded during xp_LoadArchiver execution net of overrides. WaitInterval nvarchar(8) False Interval (mi=minute,hh=hour,dd=day, etc) used to determine how long to wait before checking status of the Lock table loaded during xp_LoadArchiver execution net of overrides. WaitMax int False Max amount of WaitIntervals to wait before expiring the Lock loaded during xp_LoadArchiver execution net of overrides. Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 40 Chapter 4: The Archiver Schema Archiver Database: Management Tables Column Size Null WaitSkip bit False Indexes Description Flag to determine whether to skip job (True) or process (False) job after Lock has expired loaded during xp_LoadArchiver execution net of overrides. archiver.t_Log This table contains information by event for each job that is run, such as how many rows were loaded and how long the job steps took to execute. These log entries may give insight to specific problems in case of a failure or to areas of improvement for the processing windows. It is a good idea to review the log periodically to ensure efficiencies. Table 4: archiver.t_Log Table Column Size Null Indexes Description ArchiverID uniqueidentifier False PK_Log Primary Key to table. ConnectionJobArchiverID uniqueidentifier True Foreign key to the ConnectionJob table. LogDateTime datetime False DateTime when log row was written. LogID bigint True ID of job pulled from sysjobhistory table (used for grouping of rows) first run will be NULL. LogJobID uniqueidentifier True Uniqueidentifier of the Job from sysjobs which is being referenced by this log event. LogLogin datetime True DateTime from sysprocesses when the job logged in. LogRecordCount bigint True Records affected by the eferenced log event. LogSeconds bigint True Seconds took by the referenced log event. LogStepID smallint True StepID of the Job from sysjobs which is being referenced by this log event. LogTableName nvarchar(510) True Table being accessed during this log event. LogText nvarchar(510) True Description of log event. Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 41 Chapter 4: The Archiver Schema Archiver Database: Management Tables archiver.t_Metadata All configuration, column selection and properties for dynamic SQL generation is done through the t_Metadata table. This table contains information about each ETL-ed table, column-by-column. It maps the source columns to the archiver target table columns. This table controls the xp_LoadArchiver dynamic SQL generation and should not be modified unless you are confident the updates will not adversely affect the process. The most benign modification to make is to the True/False setting of the Non-Zero column. This will create a qualification during loading that will test the columns (logical OR condition) for a non-zero value to exclude unwanted rows. The second most benign modification to existing Metadata rows is the NULL-ing of the SourceColumnName value. This will exclude the column from processing. If you remove (or null) the columnname in the t_Metadata table, then it is imperative that the referenced column in the referenced table is NULLABLE or removed, otherwise during loading you will get a SQL error that the column requires a value. Table 5: archiver.t_Metadata Table Column Size Null AggregationVerb nvarchar(20) True ArchiverColumnID tinyint False Indexes Description Aggregation (if any SUM,MAX,AVG, etc.) to be used on this column during the summarization of the table being referenced by this Metadata row. PK_Metadata Positional order of the column in the table being referenced by this Metadata row. ArchiverColumnName nvarchar(510) False ArchiverTableName nvarchar(510) False KeyColumn bit True Flag (True/False) to determine whether column is part of the unique key. NonZero bit True Flag (True/False) to determine whether column should participate in the non-zero qualification for row exclusion. SourceColumnName nvarchar(510) True Name of the column in the source table being cross-referenced by this Metadata row. Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 42 Name of the column being referenced by this Metadata row. PK_Metadata Name of the table being referenced by this Metadata row. Chapter 4: The Archiver Schema Archiver Database: Management Tables Column Size Null SourceTableName nvarchar(510) True SourceTypeArchiverID uniqueidentifier False Indexes Description Name of the source table being cross-referenced by this Metadata row. PK_Metadata Foreign key to the SourceType table. archiver.t_Parameter This table contains system settings for certain parameters that are used during processing. They can be overridden by values in the ConnectionJob table, or overridden at run-time on the xp_LoadArchiver execution statement. Table 6: archiver.t_ParameterTable Column Size Null Indexes Description BooleanValue bit True Item nvarchar(100) False NumericValue float True Numeric value assigned to the Parameter item (where applicable). TextValue nvarchar(-1) True Text value assigned to the Parameter item (where applicable). Flag (True/False) value assigned to the Parameter item. PK_Parameter Item referencing a system parameter used in xp_LoadArchiver processing. archiver.t_SourceType This table contains information about the schema that is in use on the Linked Server. The TableSuffix column (or if NULL the concatenation of the Vendor and Version columns) are necessary for the xp_LoadArchiver SQL generation to determine which stored procedures to run, and what Archiver tables to ultimately load into. The Archiver also stores the SourceType value in the Archiver Config and Parent Interval tables, so you can easily know which rows came from which SourceType. Table 7: archiver.t_SourceType Table Column Size Null Indexes Description ArchiverID uniqueidentifier False PK_SourceType Primary Key to table. ChangeStamp datetime False DateTime of row's last modification. Deleted nchar(2) False Soft deletion flag (Y/N). ID tinyint False UI_SourceType_ID Unique identifier (numeric). Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 43 Chapter 4: The Archiver Schema Archiver Database: Management Tables Column Size Null Indexes Description Name nvarchar(128) False UI_SourceType_Name Description Product nvarchar(64) True Name of the product being referenced by the SourceType row. TableSuffix nvarchar(64) True Suffix of the product being referenced by the SourceType row for dynamic SQL generation during xp_LoadArchiver processing. Vendor nvarchar(64) False Vendor of the product being referenced by the SourceType row for dynamic SQL generation (when Suffix is NULL) during xp_LoadArchiver processing. Version nvarchar(64) True Version of the product being referenced by the SourceType row for dynamic SQL generation (when Suffix is NULL) during xp_LoadArchiver processing. archiver.t_TimeZone This table contains the TimeZone mapping loaded from Windows (WMI). When a timezone's properties change, this table must be updated as to the month, week, day and time in order to ensure proper UTC translation. Table 8: archiver.t_TimeZone Table Column Size Null Indexes Description ArchiverID uniqueidentifier False PK_TimeZone Primary Key to table. ChangeStamp datetime False DateTime of row's last modification. DaylightBiasOffset smallint False Daylight Savings Time Offset (minutes from GMT) pulled from Windows WMI. DaylightDateDay smallint False Day Daylight Savings Time starts - pulled from Windows WMI. DaylightDateDayOfWeek smallint False Week Daylight Savings Time starts - pulled from Windows WMI. Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 44 Chapter 4: The Archiver Schema Archiver Database: Management Tables Column Size Null Indexes Description DaylightDateHour smallint False Hour of the day Daylight Savings Time starts - pulled from Windows WMI. DaylightDateMinute smallint False Minute of the day Daylight Savings Time starts - pulled from Windows WMI. DaylightDateMonth smallint False Month of the year Daylight Savings Time starts - pulled from Windows WMI. DaylightZoneName nvarchar(510) True Name of Daylight Savings Timezone - pulled from Windows WMI. Deleted nchar(2) False Soft deletion flag (Y/N). GMTOffset smallint False Offset (minutes from GMT) pulled from Windows WMI. ID tinyint False UI_TimeZone_ID Unique identifier (numeric). Name nvarchar(128) False UI_TimeZone_Name Description StandardBiasOffset smallint False Standard Time Offset (minutes from GMT) pulled from Windows WMI. StandardDateDay smallint False Day Standard Time starts pulled from Windows WMI. StandardDateDayOfWeek smallint False Week Standard Time starts pulled from Windows WMI. StandardDateHour smallint False Hour of the day Standard Time starts - pulled from Windows WMI. StandardDateMinute smallint False Minute of the day Standard Time starts - pulled from Windows WMI. StandardDateMonth smallint False Month of the year Standard Time starts - pulled from Windows WMI. StandardZoneName nvarchar(510) True Name of Standard Timezone - pulled from Windows WMI. archiver.t_Version This table contains information about the version of Archiver that is currently installed. Table 9: archiver.t_Version Table Column Size Null Indexes Description ArchiverID uniqueidentifier False PK_Version Primary Key to table. Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 45 Chapter 4: The Archiver Schema Archiver Database: Common (Parent) Tables for Unified ICM Data Column Size Null Indexes Description MajorVersionNumber nvarchar(64) False Major Version number of the Archiver product. MinorVersionNumber nvarchar(64) False Minor Version number of the Archiver product. Product nvarchar(510) False Name of the Archiver product. UpdateDateTime datetime False DateTime Archiver product was loaded. Archiver Database: Common (Parent) Tables for Unified ICM Data archiver.t_Agent This table contains the cross-SourceType generic IDs and Names and Archiver foreign key relationships for the agents in the Archiver_data.t_icmAgent (page 67) table. Table 10: archiver.t_Agent Table Column Size Null Indexes Description ArchiverID uniqueidentifier False PK_Agent Primary Key to table. ChangeStamp datetime False DateTime of row's last modification. Deleted nchar(2) False Soft deletion flag (Y/N). ID int False Name nvarchar(128) True Description Number nvarchar(32) False Unique identifier (char). SiteArchiverID uniqueidentifier False UI_Agent XI_Agent_Site Unique identifier (numeric). Foreign key to the Site table. UI_Agent archiver.t_AgentInterval This table contains the cross-SourceType generic IDs and Names and Archiver foreign key relationships for Archiver_data.t_icmAgentIntervals (page 67) table. Table 11: archiver.t_AgentInterval Table Column Size Null Indexes Description AgentArchiverID uniqueidentifier False UI_AgentInterval Foreign key to the Agent table. Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 46 Chapter 4: The Archiver Schema Archiver Database: Common (Parent) Tables for Unified ICM Data Column Size Null Indexes Description ArchiverID uniqueidentifier False PK_AgentInterval Primary Key to table. ChangeStamp datetime False DateTime of row's last modification. Deleted nchar(2) False Soft deletion flag (Y/N). IntervalID nvarchar(8) False XI_AgentInterval_IntervalID UI_AgentInterval RowDateTime datetime SourceTypeArchiverID uniqueidentifier ID of the Interval (30=half hour, D=Daily, etc). False XI_AgentInterval_RowDateTime DateTime of the Interval. UI_AgentInterval False XI_AgentInterval_SourceType Foreign key to the SourceType table. UI_AgentInterval archiver.t_AgentSkillGroupInterval Contains the cross-SourceType generic IDs and Names and Archiver foreign key relationships for archiver_data.t_AgentSkillGroupInterval_ICM (page 68) table. Table 12: archiver.t_AgentSkillGroupInterval Table Column Size Null Indexes Description AgentArchiverID uniqueidentifier False UI_AgentSkillGroupInterval Foreign key to the Agent table. ArchiverID uniqueidentifier False PK_AgentSkillGroupInterval Primary Key to table. ChangeStamp datetime False DateTime of row's last modification. Deleted nchar(2) False Soft deletion flag (Y/N). IntervalID nvarchar(8) False XI_AgentSkillGroupInterval_IntervalID ID of the Interval (30=half hour, UI_AgentSkillGroupInterval D=Daily, etc). RowDateTime datetime False XI_AgentSkillGroupInterval _RowDateTime DateTime of the Interval. UI_AgentSkillGroupInterval SkillGroupArchiverID uniqueidentifier False UI_AgentSkillGroupInterval Foreign key to the SkillGroup table. SourceTypeArchiverID uniqueidentifier False XI_AgentSkillGroupInterval_SourceType Foreign key to the SourceType table. UI_AgentSkillGroupInterval Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 47 Chapter 4: The Archiver Schema Archiver Database: Common (Parent) Tables for Unified ICM Data archiver.t_AgentTeam Contains the cross-SourceType generic IDs and Names and Archiver foreign key relationships for the archiver_data.t_AgentTeam_ICM (page 71) table. Table 13: archiver.t_AgentTeam Table Column Size Null Indexes Description ArchiverID uniqueidentifier False PK_AgentTeam Primary Key to table. ChangeStamp datetime False DateTime of row's last modification. Deleted nchar(2) False Soft deletion flag (Y/N). ID int False Name nvarchar(128) True Description Number nvarchar(20) False Unique identifier (char). SiteArchiverID uniqueidentifier False UI_AgentTeam XI_AgentTeam_Site Unique identifier (numeric). Foreign key to the Site table. UI_AgentTeam archiver.t_AgentTeamMember Contains the cross-SourceType generic IDs and Names and Archiver foreign key relationships for team members in the archiver_data.t_AgentTeamMember_ICM (page 72) table. Table 14: archiver.t_AgentTeamMember Table Column Size Null Indexes Description AgentArchiverID uniqueidentifier False XI_AgentTeamMember_Agent Foreign key to the Agent table. UI_AgentTeamMember AgentTeamArchiverID uniqueidentifier False XI_AgentTeamMember_AgentTeam Foreign key to the AgentTeam table. UI_AgentTeamMember ArchiverID uniqueidentifier False PK_AgentTeamMember ChangeStamp datetime False DateTime of row's last modification. Deleted nchar(2) False Soft deletion flag (Y/N). Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 48 Primary Key to table. Chapter 4: The Archiver Schema Archiver Database: Common (Parent) Tables for Unified ICM Data archiver.t_AgentTeamSupervisor Contains the cross-SourceType generic IDs and Names and Archiver foreign key relationships for AgentTeamSupervisors in the archiver_data.t_AgentTeamSupervisor_ICM (page 72) table. Table 15: archiver.t_AgentTeamSupervisor Table Column Size Null Indexes Description AgentArchiverID uniqueidentifier False Foreign key to the Agent table. AgentTeamArchiverID uniqueidentifier False Foreign key to the AgentTeam table. ArchiverID uniqueidentifier False ChangeStamp datetime False DateTime of row's last modification. Deleted nchar(2) False Soft deletion flag (Y/N). PK_AgentTeamSupervisor Primary Key to table. archiver.t_BucketInterval Contains the cross-SourceType generic IDs and Names and Archiver foreign key relationships for BucketIntervals. This table is joined with t_BucketInterval_ICM (page 72) to create a view. Table 16: archiver.t_BucketInterval Table Column Size Null Indexes Description ArchiverID uniqueidentifier False PK_BucketInterval Primary Key to table. ChangeStamp datetime False DateTime of row's last modification. ConnectionArchiverID uniqueidentifier False XI_BucketInterval_Connection Foreign key to the Connection table. UI_BucketInterval Deleted nchar(2) False ID int False Name nvarchar(128) True Description Number nvarchar(20) False Unique identifier (char). Soft deletion flag (Y/N). UI_BucketInterval Unique identifier (numeric). archiver.t_BusinessEntity Contains the cross-SourceType generic IDs and Names and Archiver foreign key relationships for BusinessEntitys. This table is joined t_BusinessEntity_ICM (page 73) to create a view. Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 49 Chapter 4: The Archiver Schema Archiver Database: Common (Parent) Tables for Unified ICM Data Table 17: archiver.t_BusinessEntity Table Column Size Null Indexes Description ArchiverID uniqueidentifier False PK_BusinessEntity Primary Key to table. ChangeStamp datetime False DateTime of row's last modification. ConnectionArchiverID uniqueidentifier False XI_BusinessEntity_Connection Foreign key to the Connection table. UI_BusinessEntity Deleted nchar(2) False ID int False Name nvarchar(128) True Description Number nvarchar(20) False Unique identifier (char). Soft deletion flag (Y/N). UI_BusinessEntity Unique identifier (numeric). archiver.t_CallType Contains the cross-SourceType generic IDs and Names and Archiver foreign key relationships for CallTypes. This table is joined t_CallType_ICM (page 73) to create a view. Table 18: archiver.t_CallType Table Column Size Null Indexes Description ArchiverID uniqueidentifier False PK_CallType Primary Key to table. ChangeStamp datetime False ConnectionArchiverID uniqueidentifier False DateTime of row's last modification. XI_CallType_Connection Foreign key to the Connection table. UI_CallType Deleted nchar(2) False Soft deletion flag (Y/N). ID int False Name nvarchar(128) True Description Number nvarchar(20) False Unique identifier (char). UI_CallType Unique identifier (numeric). archiver.t_CallTypeInterval Contains the cross-SourceType generic IDs and Names and Archiver foreign key relationships for CallTypeIntervals. This table is joined with t_CallTypeInterval_ICM (page 74) to create a view. Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 50 Chapter 4: The Archiver Schema Archiver Database: Common (Parent) Tables for Unified ICM Data Table 19: archiver.t_CallTypeInterval Table Column Size Null Indexes Description ArchiverID uniqueidentifier False PK_CallTypeInterval Primary Key to table. CallTypeArchiverID uniqueidentifier False UI_CallTypeInterval Foreign key to the CallType table. ChangeStamp datetime False DateTime of row's last modification. Deleted nchar(2) False Soft deletion flag (Y/N). IntervalID nvarchar(8) False XI_CallTypeInterval_IntervalID ID of the Interval (30=half hour, UI_CallTypeInterval D=Daily, etc). RowDateTime datetime False XI_CallTypeInterval_RowDateTime DateTime of the Interval. UI_CallTypeInterval False XI_CallTypeInterval_SourceType Foreign key to the SourceType table. UI_CallTypeInterval SourceTypeArchiverID uniqueidentifier archiver.t_Campaign Contains the cross-SourceType generic IDs and Names and Archiver foreign key relationships for Campaigns. This table is joined with t_Campaign_ICM (page 76) to create a view. Table 20: archiver.t_Campaign Table Column Size Null Indexes Description ArchiverID uniqueidentifier False PK_Campaign Primary Key to table. ChangeStamp datetime False ConnectionArchiverID uniqueidentifier False DateTime of row's last modification. XI_Campaign_Connection Foreign key to the Connection table. UI_Campaign Deleted nchar(2) False Soft deletion flag (Y/N). ID int False Name nvarchar(128) True Description Number nvarchar(20) False Unique identifier (char). UI_Campaign Unique identifier (numeric). Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 51 Chapter 4: The Archiver Schema Archiver Database: Common (Parent) Tables for Unified ICM Data archiver.t_CampaignQueryRule Contains the cross-SourceType generic IDs and Names and Archiver foreign key relationships for CampaignQueryRules. This table is joined with t_CampaignQueryRule_ICM (page 78) to create a view. Table 21: archiver.t_CampaignQueryRule Table Column Size Null Indexes Description ArchiverID uniqueidentifier False PK_CampaignQueryRule Primary Key to table. CampaignArchiverID uniqueidentifier False XI_CampaignQueryRule_Campaign Foreign key to the Campaign table. UI_CampaignQueryRule ChangeStamp datetime False DateTime of row's last modification. Deleted nchar(2) False Soft deletion flag (Y/N). ID int False Name nvarchar(128) True Description Number nvarchar(20) False Unique identifier (char). UI_CampaignQueryRule Unique identifier (numeric). archiver.t_CampaignSkillGroup Contains the cross-SourceType generic IDs and Names and Archiver foreign key relationships for CampaignSkillGroups. This table is joined with t_CampaignSkillGroup_ICM (page 79) to create a view. Table 22: archiver.t_CampaignSkillGroup Table Column Size Null Indexes Description ArchiverID uniqueidentifier False PK_CampaignSkillGroup Primary Key to table. CampaignArchiverID uniqueidentifier False Foreign key to the Campaign table. ChangeStamp datetime False DateTime of row's last modification. Deleted nchar(2) False Soft deletion flag (Y/N). False Foreign key to the SkillGroup table. SkillGroupArchiverID uniqueidentifier Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 52 Chapter 4: The Archiver Schema Archiver Database: Common (Parent) Tables for Unified ICM Data archiver.t_Dialer Contains the cross-SourceType generic IDs and Names and Archiver foreign key relationships for Dialers. This table is joined with t_Dialer_ICM (page 80) to create a view. Table 23: archiver.t_Dialer Table Column Size Null Indexes Description ArchiverID uniqueidentifier False PK_Dialer Primary Key to table. ChangeStamp datetime False ConnectionArchiverID uniqueidentifier False DateTime of row's last modification. XI_Dialer_Connection Foreign key to the Connection table. UI_Dialer Deleted nchar(2) False Soft deletion flag (Y/N). ID int False Name nvarchar(128) True Description Number nvarchar(20) False Unique identifier (char). UI_Dialer Unique identifier (numeric). archiver.t_DialerPortMap Contains the cross-SourceType generic IDs and Names and Archiver foreign key relationships for DialerPortMaps. This table is joined with t_DialerPortMap_ICM (page 81) to create a view. Table 24: archiver.t_DialerPortMap Table Column Size Null Indexes Description ArchiverID uniqueidentifier False PK_DialerPortMap Primary Key to table. ChangeStamp datetime False DateTime of row's last modification. Deleted nchar(2) False Soft deletion flag (Y/N). DialerArchiverID uniqueidentifier False XI_DialerPortMap_Dialer Foreign key to the Dialer table. UI_DialerPortMap ID int False UI_DialerPortMap Unique identifier (numeric). Name nvarchar(128) True Description Number nvarchar(20) False Unique identifier (char). Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 53 Chapter 4: The Archiver Schema Archiver Database: Common (Parent) Tables for Unified ICM Data archiver.t_EnterpriseService Contains the cross-SourceType generic IDs and Names and Archiver foreign key relationships for EnterpriseServices. This table is joined with t_EnterpriseService_ICM (page 82) to create a view. Table 25: archiver.t_EnterpriseService Table Column Size Null Indexes Description ArchiverID uniqueidentifier False PK_EnterpriseService Primary Key to table. BusinessEntityArchiverID uniqueidentifier False XI_EnterpriseService _BusinessEntity Foreign key to the BusinessEntity table. UI_EnterpriseService ChangeStamp datetime False DateTime of row's last modification. Deleted nchar(2) False Soft deletion flag (Y/N). ID int False Name nvarchar(128) True Description Number nvarchar(20) False Unique identifier (char). UI_EnterpriseService Unique identifier (numeric). archiver.t_EnterpriseServiceMember Contains the cross-SourceType generic IDs and Names and Archiver foreign key relationships for EnterpriseServiceMembers. This table is joined with t_EnterpriseServiceMember_ICM (page 82) to create a view. Table 26: archiver.t_EnterpriseServiceMember Table Column Size Null Indexes Description ArchiverID uniqueidentifier False PK_EnterpriseServiceMember Primary Key to table. ChangeStamp datetime False DateTime of row's last modification. Deleted nchar(2) False Soft deletion flag (Y/N). EnterpriseServiceArchiverID uniqueidentifier False Foreign key to the EnterpriseService table. ServiceArchiverID False Foreign key to the Service table. uniqueidentifier Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 54 Chapter 4: The Archiver Schema Archiver Database: Common (Parent) Tables for Unified ICM Data archiver.t_EnterpriseSkillGroup Contains the cross-SourceType generic IDs and Names and Archiver foreign key relationships for EnterpriseSkillGroups. This table is joined with t_EnterpriseSkillGroup_ICM (page 83) to create a view. Table 27: archiver.t_EnterpriseSkillGroup Table Column Size Null Indexes Description ArchiverID uniqueidentifier False PK_EnterpriseSkillGroup Primary Key to table. BusinessEntityArchiverID uniqueidentifier False XI_EnterpriseSkillGroup _BusinessEntity Foreign key to the BusinessEntity table. UI_EnterpriseSkillGroup ChangeStamp datetime False DateTime of row's last modification. Deleted nchar(2) False Soft deletion flag (Y/N). ID int False Name nvarchar(128) True Description Number nvarchar(20) False Unique identifier (char). UI_EnterpriseSkillGroup Unique identifier (numeric). archiver.t_EnterpriseSkillGroupMember Contains the cross-SourceType generic IDs and Names and Archiver foreign key relationships for EnterpriseSkillGroupMembers. This table is joined with t_EnterpriseSkillGroupMember _ICM (page 83) to create a view. Table 28: archiver.t_EnterpriseSkillGroupMember Table Column Size Null Indexes Description ArchiverID uniqueidentifier False ChangeStamp datetime False DateTime of row's last modification. Deleted nchar(2) False Soft deletion flag (Y/N). PK_EnterpriseSkillGroupMember Primary Key to table. EnterpriseSkillGroupArchiverID uniqueidentifier False Foreign key to the EnterpriseSkillGroup table. SkillGroupArchiverID Foreign key to the SkillGroup table. uniqueidentifier False Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 55 Chapter 4: The Archiver Schema Archiver Database: Common (Parent) Tables for Unified ICM Data archiver.t_ExpandedCallVariable Contains the cross-SourceType generic IDs and Names and Archiver foreign key relationships for ExpandedCallVariables. This table is joined with t_ExpandedCallVariable_ICM (page 83) to create a view. Table 29: archiver.t_ExpandedCallVariable Table Column Size Null Indexes Description ArchiverID uniqueidentifier False PK_ExpandedCallVariable Primary Key to table. ChangeStamp datetime False ConnectionArchiverID uniqueidentifier False DateTime of row's last modification. XI_ExpandedCallVariable _Connection Foreign key to the Connection table. UI_ExpandedCallVariable Deleted nchar(2) False Soft deletion flag (Y/N). ID int False Name nvarchar(128) True Description Number nvarchar(20) False Unique identifier (char). UI_ExpandedCallVariable Unique identifier (numeric). archiver.t_ICRGlobal Contains the cross-SourceType generic IDs and Names and Archiver foreign key relationships for ICRGlobals. This table is joined with t_ICRGlobal_ICM (page 84) to create a view. Table 30: archiver.t_ICRGlobal Table Column Size Null Indexes Description ArchiverID uniqueidentifier False PK_ICRGlobal Primary Key to table. ChangeStamp datetime False DateTime of row's last modification. ConnectionArchiverID uniqueidentifier False Foreign key to the Connection table. Deleted nchar(2) False Soft deletion flag (Y/N). ID int False Unique identifier (numeric). Name nvarchar(128) True Description Number nvarchar(20) False Unique identifier (char). Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 56 Chapter 4: The Archiver Schema Archiver Database: Common (Parent) Tables for Unified ICM Data archiver.t_LogicalInterfaceController Contains the cross-SourceType generic IDs and Names and Archiver foreign key relationships for LogicalInterfaceControllers. This table is joined with t_LogicalInterfaceController_ICM (page 85) to create a view. Table 31: archiver.t_LogicalInterfaceController Table Column Size Null Indexes Description ArchiverID uniqueidentifier False PK_LogicalInterfaceController Primary Key to table. ChangeStamp datetime False ConnectionArchiverID uniqueidentifier False DateTime of row's last modification. XI_LogicalInterface Controller_Connection Foreign key to the Connection table. UI_LogicalInterfaceController Deleted nchar(2) False Soft deletion flag (Y/N). ID int False Name nvarchar(128) True Description Number nvarchar(20) False Unique identifier (char). UI_LogicalInterfaceController Unique identifier (numeric). archiver.t_MediaClass Contains the cross-SourceType generic IDs and Names and Archiver foreign key relationships for MediaClasss. This table is joined with t_MediaClass_ICM (page 86) to create a view. Table 32: archiver.t_MediaClass Table Column Size Null Indexes Description ArchiverID uniqueidentifier False PK_MediaClass Primary Key to table. ChangeStamp datetime False ConnectionArchiverID uniqueidentifier False DateTime of row's last modification. XI_MediaClass_Connection Foreign key to the Connection table. UI_MediaClass Deleted nchar(2) False Soft deletion flag (Y/N). ID int False Name nvarchar(128) True Description Number nvarchar(20) False Unique identifier (char). UI_MediaClass Unique identifier (numeric). Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 57 Chapter 4: The Archiver Schema Archiver Database: Common (Parent) Tables for Unified ICM Data archiver.t_MediaRoutingDomain Contains the cross-SourceType generic IDs and Names and Archiver foreign key relationships for MediaRoutingDomains. This table is joined with t_MediaRoutingDomain_ICM (page 86) to create a view. Table 33: archiver.t_MediaRoutingDomain Table Column Size Null Indexes Description ArchiverID uniqueidentifier False PK_MediaRoutingDomain Primary Key to table. ChangeStamp datetime False ConnectionArchiverID uniqueidentifier False DateTime of row's last modification. XI_MediaRoutingDomain Foreign key to the Connection table. _Connection UI_MediaRoutingDomain Deleted nchar(2) False Soft deletion flag (Y/N). ID int False Name nvarchar(128) True Description Number nvarchar(20) False Unique identifier (char). UI_MediaRoutingDomain Unique identifier (numeric). archiver.t_Person Contains the cross-SourceType generic IDs and Names and Archiver foreign key relationships for Persons. This table is joined with t.Person_ICM (page 87) to create a view. Table 34: archiver.t_Person Table Column Size Null Indexes Description ArchiverID uniqueidentifier False PK_Person Primary Key to table. ChangeStamp datetime False ConnectionArchiverID uniqueidentifier False DateTime of row's last modification. XI_Person_Connection Foreign key to the Connection table. UI_Person Deleted nchar(2) False ID int False Name nvarchar(128) True Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 58 Soft deletion flag (Y/N). UI_Person Unique identifier (numeric). Description Chapter 4: The Archiver Schema Archiver Database: Common (Parent) Tables for Unified ICM Data Column Size Null Number nvarchar(20) False Indexes Description Unique identifier (char). archiver.t_QueryRule Contains the cross-SourceType generic IDs and Names and Archiver foreign key relationships for QueryRules. This table is joined with t_QueryRule_ICM (page 87) to create a view. Table 35: archiver.t_QueryRule Table Column Size Null Indexes Description ArchiverID uniqueidentifier False PK_QueryRule Primary Key to table. ChangeStamp datetime False ConnectionArchiverID uniqueidentifier False DateTime of row's last modification. XI_QueryRule_Connection Foreign key to the Connection table. UI_QueryRule Deleted nchar(2) False Soft deletion flag (Y/N). ID int False Name nvarchar(128) True Description Number nvarchar(20) False Unique identifier (char). UI_QueryRule Unique identifier (numeric). archiver.t_ReasonCode Contains the cross-SourceType generic IDs and Names and Archiver foreign key relationships for ReasonCodes. This table is joined with t_ReasonCode_ICM (page 88) to create a view. Table 36: archiver.t_ReasonCode Table Column Size Null Indexes Description ArchiverID uniqueidentifier False PK_ReasonCode Primary Key to table. ChangeStamp datetime False ConnectionArchiverID uniqueidentifier False DateTime of row's last modification. XI_ReasonCode_Connection Foreign key to the Connection table. UI_ReasonCode Deleted nchar(2) False ID int False Name nvarchar(128) True Soft deletion flag (Y/N). UI_ReasonCode Unique identifier (numeric). Description Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 59 Chapter 4: The Archiver Schema Archiver Database: Common (Parent) Tables for Unified ICM Data Column Size Null Number nvarchar(20) False Indexes Description Unique identifier (char). archiver.t_Route Contains the cross-SourceType generic IDs and Names and Archiver foreign key relationships for Routes. This table is joined with t_Route_ICM (page 88) to create a view. Table 37: archiver.t_Route Table Column Size Null Indexes Description ArchiverID uniqueidentifier False PK_Route Primary Key to table. ChangeStamp datetime False ConnectionArchiverID uniqueidentifier False DateTime of row's last modification. XI_Route_Connection Foreign key to the Connection table. UI_Route Deleted nchar(2) False Soft deletion flag (Y/N). ID int False Name nvarchar(128) True Description Number nvarchar(20) False Unique identifier (char). UI_Route Unique identifier (numeric). archiver.t_RoutingClient Contains the cross-SourceType generic IDs and Names and Archiver foreign key relationships for RoutingClients. This table is joined with t_RoutingClient_ICM (page 89) to create a view. Table 38: archiver.t_RoutingClient Table Column Size Null Indexes Description ArchiverID uniqueidentifier False PK_RoutingClient Primary Key to table. ChangeStamp datetime False DateTime of row's last modification. Deleted nchar(2) False Soft deletion flag (Y/N). ID int False UI_RoutingClient Unique identifier (numeric). LogicalInterface ControllerArchiverID uniqueidentifier False XI_RoutingClient_ LogicalInterfaceController Foreign key to the LogicalInterfaceController table. UI_RoutingClient Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 60 Chapter 4: The Archiver Schema Archiver Database: Common (Parent) Tables for Unified ICM Data Column Size Null Indexes Description Name nvarchar(128) True Description Number nvarchar(20) False Unique identifier (char). archiver.t_Service Contains the cross-SourceType generic IDs and Names and Archiver foreign key relationships for Services. This table is joined with t_Service_ICM (page 89) to create a view. Table 39: archiver.t_Service Table Column Size Null Indexes Description ArchiverID uniqueidentifier False PK_Service Primary Key to table. ChangeStamp datetime False DateTime of row's last modification. Deleted nchar(2) False Soft deletion flag (Y/N). ID int False Name nvarchar(128) False Description Number nvarchar(20) False Unique identifier (char). SiteArchiverID uniqueidentifier False UI_Service UI_Service, Unique identifier (numeric). Foreign key to the Site table. IX_Service_Site archiver.t_ServiceInterval Contains the cross-SourceType generic IDs and Names and Archiver foreign key relationships for ServiceIntervals. This table is joined with t_ServiceInterval_ICM (page 90) to create a view. Table 40: archiver.t_ServiceInterval Table Column Size Null Indexes Description ArchiverID uniqueidentifier False PK_ServiceInterval Primary Key to table. ChangeStamp datetime False DateTime of row's last modification. Deleted nchar(2) False Soft deletion flag (Y/N). IntervalID nvarchar(8) False XI_ServiceInterval_IntervalID ID of the Interval (30=half hour, UI_ServiceInterval D=Daily, etc). RowDateTime datetime False XI_ServiceInterval _RowDateTime, DateTime of the Interval. Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 61 Chapter 4: The Archiver Schema Archiver Database: Common (Parent) Tables for Unified ICM Data Column Size Null Indexes Description UI_ServiceInterval ServiceArchiverID uniqueidentifier False UI_ServiceInterval Foreign key to the Service table. SourceTypeArchiverID uniqueidentifier False XI_ServiceInterval_SourceType Foreign key to the SourceType table. UI_ServiceInterval archiver.t_ServiceLevelThreshold Contains the cross-SourceType generic IDs and Names and Archiver foreign key relationships for ServiceLevelThresholds. This table is joined with t_ServiceLevelThreshold_ICM (page 92) to create a view. Table 41: archiver.t_ServiceLevelThreshold Table Column Size Null Indexes Description ArchiverID uniqueidentifier False PK_ServiceLevelThreshold Primary Key to table. ChangeStamp datetime False DateTime of row's last modification. Deleted nchar(2) False Soft deletion flag (Y/N). ID int False Name nvarchar(128) True Description Number nvarchar(20) False Unique identifier (char). SiteArchiverID uniqueidentifier False UI_ServiceLevelThreshold Unique identifier (numeric). XI_ServiceLevelThreshold_Site Foreign key to the Site table. UI_ServiceLevelThreshold archiver.t_ServiceMember Contains the cross-SourceType generic IDs and Names and Archiver foreign key relationships for ServiceMembers. This table is joined with t_ServiceMember_ICM (page 93) to create a view. Table 42: archiver.t_ServiceMember Table Column Size Null Indexes Description ArchiverID uniqueidentifier False PK_ServiceMember Primary Key to table. ChangeStamp datetime False DateTime of row's last modification. Deleted nchar(2) False Soft deletion flag (Y/N). Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 62 Chapter 4: The Archiver Schema Archiver Database: Common (Parent) Tables for Unified ICM Data Column Size Null Indexes Description ServiceArchiverID uniqueidentifier False XI_ServiceMember_Service Foreign key to the Service table. UI_ServiceMember SkillGroupArchiverID uniqueidentifier False XI_ServiceMember_SkillGroup Foreign key to the SkillGroup table. UI_ServiceMember archiver.t_Site Contains the cross-SourceType generic IDs and Names and Archiver foreign key relationships for Sites. This table is joined with t_Site.ICM (page 93) to create a view. Table 43: archiver.t_Site Table Column Size Null Indexes Description ArchiverID uniqueidentifier False PK_Site Primary Key to table. ChangeStamp datetime False ConnectionArchiverID uniqueidentifier False DateTime of row's last modification. XI_Site_Connection Foreign key to the Connection table. UI_Site Deleted nchar(2) False ID int False Name nvarchar(128) False Description Number nvarchar(20) False Unique identifier (char). TimeZoneArchiverID uniqueidentifier False Soft deletion flag (Y/N). UI_Site Unique identifier (numeric). XI_Site_TimeZone Foreign key to the TimeZone table. archiver.t_SkillGroup Contains the cross-SourceType generic IDs and Names and Archiver foreign key relationships for SkillGroups. This table is joined with t_SkillGroup_ICM (page 94) to create a view. Table 44: archiver.t_SkillGroup Table Column Size Null Indexes Description ArchiverID uniqueidentifier False PK_SkillGroup Primary Key to table. ChangeStamp datetime False DateTime of row's last modification. Deleted nchar(2) False Soft deletion flag (Y/N). Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 63 Chapter 4: The Archiver Schema Archiver Database: Common (Parent) Tables for Unified ICM Data Column Size Null Indexes Description ID int False UI_SkillGroup Unique identifier (numeric). Name nvarchar(128) False Description Number nvarchar(20) False Unique identifier (char). SiteArchiverID uniqueidentifier False UI_SkillGroup, Foreign key to the Site table. IX_SkillGroup_Site archiver.t_SkillGroupInterval Contains the cross-SourceType generic IDs and Names and Archiver foreign key relationships for SkillGroupIntervals. This table is joined with t_SkillGroupInterval_ICM (page 95) to create a view. Table 45: archiver.t_SkillGroupInterval Table Column Size Null Indexes Description ArchiverID uniqueidentifier False PK_SkillGroupInterval Primary Key to table. ChangeStamp datetime False DateTime of row's last modification. Deleted nchar(2) False Soft deletion flag (Y/N). IntervalID nvarchar(8) False XI_SkillGroupInterval_IntervalID ID of the Interval (30=half hour, UI_SkillGroupInterval D=Daily, etc). RowDateTime datetime False XI_SkillGroupInterval_RowDateTime DateTime of the Interval. UI_SkillGroupInterval SkillGroupArchiverID uniqueidentifier False UI_SkillGroupInterval SourceTypeArchiverID uniqueidentifier False XI_SkillGroupInterval_SourceType Foreign key to the SourceType table. UI_SkillGroupInterval Foreign key to the SkillGroup table. archiver.t_SkillGroupMember Contains the cross-SourceType generic IDs and Names and Archiver foreign key relationships for SkillGroupMembers. This table is joined with t_SkillGroupMember_ICM (page 98) to create a view. Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 64 Chapter 4: The Archiver Schema Archiver Database: Common (Parent) Tables for Unified ICM Data Table 46: archiver.t_SkillGroupMember Table Column Size Null Indexes Description AgentArchiverID uniqueidentifier False XI_SkillGroupMember_Agent Foreign key to the Agent table. UI_SkillGroupMember ArchiverID uniqueidentifier False ChangeStamp datetime False DateTime of row's last modification. Deleted nchar(2) False Soft deletion flag (Y/N). SkillGroupArchiverID uniqueidentifier False PK_SkillGroupMember Primary Key to table. XI_SkillGroupMember_SkillGroup Foreign key to the SkillGroup table. UI_SkillGroupMember archiver.t_Trunk Contains the cross-SourceType generic IDs and Names and Archiver foreign key relationships for Trunks. This table is joined with t_Trunk_ICM (page 98) to create a view. Table 47: archiver.t_Trunk Table Column Size Null Indexes Description ArchiverID uniqueidentifier False PK_Trunk Primary Key to table. ChangeStamp datetime False DateTime of row's last modification. Deleted nchar(2) False Soft deletion flag (Y/N). ID int False Name nvarchar(128) True Description Number nvarchar(20) False Unique identifier (char). TrunkGroupArchiverID uniqueidentifier False UI_Trunk UI_Trunk Unique identifier (numeric). Foreign key to the TrunkGroup table. archiver.t_TrunkGroup Contains the cross-SourceType generic IDs and Names and Archiver foreign key relationships for TrunkGroups. This table is joined with t_TrunkGroup_ICM (page 99) to create a view. Table 48: archiver.t_TrunkGroup Table Column Size Null Indexes Description ArchiverID uniqueidentifier False PK_TrunkGroup Primary Key to table. Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 65 Chapter 4: The Archiver Schema Archiver Database: Common (Parent) Tables for Unified ICM Data Column Size Null Indexes ChangeStamp datetime False DateTime of row's last modification. Deleted nchar(2) False Soft deletion flag (Y/N). ID int False Name nvarchar(128) False Description Number nvarchar(20) False Unique identifier (char). SiteArchiverID uniqueidentifier False UI_TrunkGroup XI_TrunkGroup_Site Description Unique identifier (numeric). Foreign key to the Site table. UI_TrunkGroup archiver.t_TrunkGroupInterval Contains the cross-SourceType generic IDs and Names and Archiver foreign key relationships for TrunkGroupIntervals. This table is joined with t_TrunkGroupInterval_ICM (page 99) to create a view. Table 49: archiver.t_TrunkGroupInterval Table Column Size Null Indexes Description ArchiverID uniqueidentifier False PK_TrunkGroupInterval Primary Key to table. ChangeStamp datetime False DateTime of row's last modification. Deleted nchar(2) False Soft deletion flag (Y/N). IntervalID nvarchar(8) False XI_TrunkGroupInterval_IntervalID ID of the Interval (30=half hour, UI_TrunkGroupInterval D=Daily, etc). RowDateTime datetime False XI_TrunkGroup Interval_RowDateTime DateTime of the Interval. UI_TrunkGroup Interval SourceTypeArchiverID uniqueidentifier False XI_TrunkGroupInterval_ SourceType Foreign key to the SourceType table. UI_TrunkGroupInterval TrunkGroupArchiverID uniqueidentifier False Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 66 UI_TrunkGroupInterval Foreign key to the TrunkGroup table. Chapter 4: The Archiver Schema The Archiver_Data Database: Child Tables For Unified ICM Extended Data The Archiver_Data Database: Child Tables For Unified ICM Extended Data archiver_data.t_Agent_ICM This table is joined with the archiver.t_Agent Table (page 46) to create a view. Table 50: archiver_data.t_Agent_ICM Table Column Size Null Indexes AgentArchiverID uniqueidentifier False PK_Agent_ICM AgentChangeStamp datetime False PK_Agent_ICM AgentDeskSettingsID int True AgentStateTrace nchar(2) False ChangeStamp int False ConfigParam nvarchar(510) True Deleted nchar(2) False Description nvarchar(510) True EnterpriseName nvarchar(64) False PeripheralID smallint False PeripheralName nvarchar(64) True PeripheralNumber nvarchar(64) False PersonID int False ScheduleID int True SkillTargetID int False SupervisorAgent nchar(2) False TemporaryAgent nchar(2) False UserDeletable nchar(2) False archiver_data.t_AgentInterval_ICM This table is built from the Unified ICM Agent_Half_Hour table. It is joined with the archiver.t_AgentInterval Table (page 46) to create a view. Table 51: archiver_data.t_AgentInterval_ICM Table Column Size Null Indexes AgentIntervalArchiverID uniqueidentifier False XI_AgentInterval_ICM, PK_AgentInterval_ICM ArchiverID uniqueidentifier False Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 67 Chapter 4: The Archiver Schema The Archiver_Data Database: Child Tables For Unified ICM Extended Data Column Size Null AvailableInMRDTime float True AvailTime float True DateTime smalldatetime False PK_AgentInterval_ICM DbDateTime datetime True XI_AgentInterval_ICM_DbDateTime LoggedOnTime float True MediaRouting DomainArchiv uniqueidentifier erID False MRDomainID int False NotReadyTime float True RecoveryKey float False Reserved1 float True Reserved2 float True Reserved3 float True Reserved4 float True Reserved5 real True RoutableInMRDTime float True RouterCallsAband float True RouterCallsAbandQ float True RouterCallsAnswered float True RouterCallsDequeued float True RouterCallsHandled float True RouterCallsOffered float True RouterCallsRedirected float True RouterError float True RouterQueueCalls float True SkillTargetID int False TalkOtherTime float True TimeZone int False UTCDateTime datetime False Indexes PK_AgentInterval_ICM archiver_data.t_AgentSkillGroupInterval_ICM This table is built from the Unified ICM AgentSkill_Group__Half_Hour table. It is joined with the archiver.t_AgentSkillGroupInterval table (page 47) to create a view. Table 52: archiver_data.t_AgentSkillGroupInterval_ICMTable Column Size Null AbandonHoldCalls float True Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 68 Indexes Chapter 4: The Archiver Schema The Archiver_Data Database: Child Tables For Unified ICM Extended Data Column Size Null AbandonHoldOutCalls float True AbandonRingCalls float True AbandonRingTime float True AgentOutCalls float True AgentOutCallsOnHold float True AgentOutCalls OnHoldTime float True AgentOutCallsTalkTime float True AgentOutCallsTime float True AgentSkillGroup IntervalArchiverID uniqueidentifier False Indexes XI_AgentSkillGroupInterval_ICM, PK_AgentSkillGroupInterval_ICM AgentTerminatedCalls float True AnswerWaitTime float True ArchiverID uniqueidentifier False AutoOutCalls float True AutoOutCallsOnHold float True AutoOutCallsOnHoldTime float True AutoOutCallsTalkTime float True AutoOutCallsTime float True AvailTime float True BargeInCalls float True BusyOtherTime float True CallbackMessages float True CallbackMessagesTime float True CallsAnswered float True CallsHandled float True ConferencedInCalls float True ConferencedInCallsTime float True ConferencedOutCalls float True ConferencedOutCallsTime float True ConsultativeCalls float True ConsultativeCallsTime float True DateTime smalldatetime False PK_AgentSkillGroupInterval_ICM DbDateTime datetime True XI_AgentSkillGroupInterval_ICM_DbDateTime EmergencyAssists float True HandledCallsTalkTime float True HandledCallsTime float True HoldTime float True Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 69 Chapter 4: The Archiver Schema The Archiver_Data Database: Child Tables For Unified ICM Extended Data Column Size Null IncomingCallsOnHold float True IncomingCallsOnHoldTime float True InterceptCalls float True InternalCalls float True InternalCallsOnHold float True InternalCallsOnHoldTime float True InternalCallsRcvd float True InternalCallsRcvdTime float True InternalCallsTime float True InterruptedTime float True LoggedOnTime float True MonitorCalls float True NetConferencedOutCalls float True NetConfOutCallsTime float True NetConsultativeCalls float True NetConsultativeCallsTime float True NetTransferredOutCalls float True NotReadyTime float True PreviewCalls float True PreviewCallsOnHold float True PreviewCallsOnHoldTime float True PreviewCallsTalkTime float True PreviewCallsTime float True RecoveryKey float False RedirectNoAnsCalls float True RedirectNoAnsCallsTime float True ReserveCalls float True ReserveCallsOnHold float True ReserveCallsOnHoldTime float True ReserveCallsTalkTime float True ReserveCallsTime float True Reserved1 float True Reserved2 float True Reserved3 float True Reserved4 float True Reserved5 real True ReservedStateTime float True Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 70 Indexes Chapter 4: The Archiver Schema The Archiver_Data Database: Child Tables For Unified ICM Extended Data Column Size Null ShortCalls float True SkillGroupSkillTargetID int False SkillTargetID int False SupervAssistCalls float True SupervAssistCallsTime float True TalkAutoOutTime float True TalkInTime float True TalkOtherTime float True TalkOutTime float True TalkPreviewTime float True TalkReserveTime float True TimeZone int False TransferredInCalls float True TransferredInCallsTime float True TransferredOutCalls float True UTCDateTime datetime False WhisperCalls float True WorkNotReadyTime float True WorkReadyTime float True Indexes archiver_data.t_AgentTeam_ICM This table is joined with the archiver.t_AgentTeam (page 48) table to create a view. Table 53: archiver_data.t_AgentTeam_ICM Table Column Size Null Indexes AgentTeamArchiverID uniqueidentifier False PK_AgentTeam_ICM AgentTeamChangeStamp datetime False PK_AgentTeam_ICM AgentTeamID int False ChangeStamp int False Deleted nchar(2) True Description nvarchar(510) True DialedNumberID int True EnterpriseName nvarchar(64) False PeripheralID smallint False PriSupervisorSkillTargetID int True Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 71 Chapter 4: The Archiver Schema The Archiver_Data Database: Child Tables For Unified ICM Extended Data archiver_data.t_AgentTeamMember_ICM This table is joined with the archiver.t_AgentTeamMember table (page 48) to create a view. Table 54: archiver_data.t_AgentTeamMember_ICM Table Column Size Null Indexes AgentTeamID int False AgentTeamMember ArchiverID uniqueidentifier False PK_AgentTeamMember_ICM AgentTeamMember ChangeStamp datetime False PK_AgentTeamMember_ICM Deleted nchar(2) True SkillTargetID int False archiver_data.t_AgentTeamSupervisor_ICM This table is joined with the archiver.t_AgentTeamSupervisor (page 49) table to create a view. Table 55: archiver_data.t_AgentTeamSupervisor_ICMTable Column Size Null Indexes AgentTeamID int False AgentTeamSupervisor ArchiverID uniqueidentifier False PK_t_AgentTeamSupervisor_ICM AgentTeamSupervisor ChangeStamp datetime False PK_t_AgentTeamSupervisor_ICM Deleted nchar(2) True SupervisorSkillTargetID int False archiver_data.t_BucketInterval_ICM This table is joined with t_BucketInterval (page 49) to create a view. Table 56: archiver_data.t_BucketInterval_ICMTable Column Size Null Indexes BucketInterval ArchiverID uniqueidentifier False PK_BucketInterval_ICM BucketInterval ChangeStamp datetime False PK_BucketInterval_ICM BucketIntervalID int False ChangeStamp int False Deleted nchar(2) False Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 72 Chapter 4: The Archiver Schema The Archiver_Data Database: Child Tables For Unified ICM Extended Data Column Size Null EnterpriseName nvarchar(64) False IntervalUpperBound1 int True IntervalUpperBound2 int True IntervalUpperBound3 int True IntervalUpperBound4 int True IntervalUpperBound5 int True IntervalUpperBound6 int True IntervalUpperBound7 int True IntervalUpperBound8 int True IntervalUpperBound9 int True Indexes archiver_data.t_BusinessEntity_ICM This table is joined with t_BusinessEntity (page 49) to create a view. Table 57: archiver_data.t_BusinessEntity_ICMTable Column Size Null Indexes BusinessEntityArchiverID uniqueidentifier False PK_BusinessEntity_ICM BusinessEntityChangeStamp datetime False PK_BusinessEntity_ICM ChangeStamp int False Deleted nchar(2) True Description nvarchar(510) True EntityID int False EntityName nvarchar(60) False archiver_data.t_CallType_ICM This table is joined with t_CallType (page 50) to create a view. Table 58: archiver_data.t_CallType_ICMTable Column Size Null Indexes BucketIntervalID int True CallTypeArchiverID uniqueidentifier False PK_CallType_ICM CallTypeChangeStamp datetime False PK_CallType_ICM CallTypeID int False ChangeStamp int False CustomerDefinitionID int True Deleted nchar(2) False Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 73 Chapter 4: The Archiver Schema The Archiver_Data Database: Child Tables For Unified ICM Extended Data Column Size Null Description nvarchar(510) True EnterpriseName nvarchar(64) False ServiceLevelThreshold int True ServiceLevelType smallint True Indexes archiver_data.t_CallTypeInterval_ICM This table is joined with t_CallTypeInterval (page 50) to create a view. Table 59: archiver_data.t_CallTypeInterval_ICMTable Column Size Null AbandInterval1 float True AbandInterval10 float True AbandInterval2 float True AbandInterval3 float True AbandInterval4 float True AbandInterval5 float True AbandInterval6 float True AbandInterval7 float True AbandInterval8 float True AbandInterval9 float True AgentErrorCount float True AnsInterval1 float True AnsInterval10 float True AnsInterval2 float True AnsInterval3 float True AnsInterval4 float True AnsInterval5 float True AnsInterval6 float True AnsInterval7 float True AnsInterval8 float True AnsInterval9 float True AnswerWaitTime float True ArchiverID uniqueidentifier False AvgRouterDelayQ float True BucketIntervalArchiverID uniqueidentifier False BucketIntervalID float True Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 74 Indexes PK_CallTypeInterval_ICM Chapter 4: The Archiver Schema The Archiver_Data Database: Child Tables For Unified ICM Extended Data Column Size Null CallDelayAbandTime float True CallsAnswered float True CallsHandled float True CallsOffered float True CallsQHandled float True CallsRequeried float True CallsRONA float True CallsRouted float True CallsRoutedNonAgent float True CallTypeID int False CallTypeIntervalArchiverID uniqueidentifier False Indexes XI_CallTypeInterval_ICM, PK_CallTypeInterval_ICM CTDelayAbandTime float True CTVRUTime float True DateTime smalldatetime False PK_CallTypeInterval_ICM DbDateTime datetime True XI_CallTypeInterval_ICM_DbDateTime DelayAgentAbandTime float True DelayQAbandTime float True ErrorCount float True HandleTime float True HoldTime float True ICRDefaultRouted float True IncompleteCalls float True NetworkAnnouncement float True NetworkDefaultRouted float True OverflowOut float True RecoveryKey float False Reserved1 float True Reserved2 float True Reserved3 float True Reserved4 float True Reserved5 real True ReturnBusy float True ReturnRelease float True ReturnRing float True RouterCallsAbandQ float True RouterCallsAbandToAgent float True Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 75 Chapter 4: The Archiver Schema The Archiver_Data Database: Child Tables For Unified ICM Extended Data Column Size Null RouterQueueCalls float True RouterQueueCallTypeLimit float True RouterQueueGlobalLimit float True RouterQueueWaitTime float True ServiceLevel real True ServiceLevelAband float True ServiceLevelCalls float True ServiceLevelCallsOffered float True ServiceLevelError float True ServiceLevelRONA float True ServiceLevelType float True ShortCalls float True TalkTime float True TimeZone int False TotalCallsAband float True UTCDateTime datetime False VruAssistedCalls float True VruForcedXferredCalls float True VruHandledCalls float True VruOptOutUnhandledCalls float True VruOtherCalls float True VruScriptedXferredCalls float True VRUTime float True VruUnhandledCalls float True Indexes archiver_data.t_Campaign_ICM This table is joined with t_Campaign (page 51) create a view. Table 60: archiver_data.t_Campaign_ICMTable Column Size Null AbandonCustomer Callback int True AbandonedDialer Callback int True AbandonEnabled nchar(2) False AbandonPercent int False AMDTreatmentMode int False AnswerDetectEnabled nchar(2) False Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 76 Indexes Chapter 4: The Archiver Schema The Archiver_Data Database: Child Tables For Unified ICM Extended Data Column Size Null Indexes AnsweringMachineCallback int True BusyCallback int False BusyRetryEnabled nchar(2) False CallbackTimeLimit smallint False CampaignArchiverID uniqueidentifier False PK_Campaign_ICM CampaignChangeStamp datetime False PK_Campaign_ICM CampaignID int False CampaignName nvarchar(64) False CampaignPurposeType int False CancelledCallRetryTime int True CancelRinging int True ChangeStamp int False CloseAbandonedToIVR nchar(2) True ConfigParam nvarchar(510) True CPAAnalysisPeriod int True CPAMaxTerm ToneAnalysis int True CustomerNot HomeCallback int True Deleted nchar(2) False Description nvarchar(510) True DisableCPA nchar(2) False DSTLocation int False EdgeDetectEnabled nchar(2) False Enabled nchar(2) False ExhaustedCallsEnabled nchar(2) False FutureUseFloat1 float True FutureUseFloat2 float True FutureUseFloat3 float True FutureUseInt1 int True FutureUseInt2 int True FutureUseInt3 int True FutureUseInt4 int True FutureUseInt5 int True FutureUseVarchar1 nvarchar(128) True FutureUseVarchar2 nvarchar(128) True FutureUseVarchar3 nvarchar(128) True HomeEnabled nchar(2) False HomeEndHours int False Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 77 Chapter 4: The Archiver Schema The Archiver_Data Database: Child Tables For Unified ICM Extended Data Column Size Null HomeEndMinutes int False HomeStartHours int False HomeStartMinutes int False IPAMDEnabled nchar(2) False IPTerminatingBeepDetect nchar(2) False LeaveMessageEnabled nchar(2) False LinesPerAgent float False MaxAttempts int False MaxBusyAttempts smallint False MaximumLineAgent float False MinimumCallDuration smallint False NoAnswerCallback int False NoAnswerRingLimit int False PersonalizedCallbackEnabled nchar(2) False PredictiveCorrectionPace int True PredictiveGain float True PredictiveHistoricGain float True PredictiveLowAbandonGain float True PrefixDigits nvarchar(10) True QuickDetectEnabled nchar(2) False ReleaseCallbackEnabled nchar(2) False RescheduleCallbackMode smallint False SPClosedRecordCount smallint False SPClosedRecordEnabled nchar(2) False UseGMTFrom RegionPrefix nchar(2) False WaitForBusyRetry nchar(2) False WorkEnabled nchar(2) False WorkEndHours int False WorkEndMinutes int False WorkStartHours int False WorkStartMinutes int False Indexes archiver_data.t_CampaignQueryRule_ICM This table is joined with t_CampaignQueryRule (page 52) to create a view. Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 78 Chapter 4: The Archiver Schema The Archiver_Data Database: Child Tables For Unified ICM Extended Data Table 61: archiver_data.t_CampaignQueryRule_ICM Table Column Size Null Indexes CampaignID int False CampaignQuery RuleArchiverID uniqueidentifier False PK_CampaignQueryRule_ICM CampaignQuery RuleChangeStamp datetime False PK_CampaignQueryRule_ICM Duration int False DurationEnabled nchar(2) False EndHours int False EndMinutes int False FutureUseInt1 int True FutureUseInt2 int True FutureUseInt3 int True FutureUseInt4 int True FutureUseInt5 int True FutureUseVarchar1 nvarchar(128) True FutureUseVarchar2 nvarchar(128) True FutureUseVarchar3 nvarchar(128) True HitRate int False HitRateEnabled nchar(2) False ListOrder int False Penetration int False PenetrationEnabled nchar(2) False QueryRuleEnabled nchar(2) False QueryRuleID int False StartHours int False StartMinutes int False archiver_data.t_CampaignSkillGroup_ICM This table is joined with t_CampaignSkillGroup (page 52) to create a view. Table 62: archiver_data.t_CampaignSkillGroup_ICM Table Column Size Null AbandonedRoutePoint nvarchar(100) True AutoAnswerReservationCall int True CampaignID False int Indexes Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 79 Chapter 4: The Archiver Schema The Archiver_Data Database: Child Tables For Unified ICM Extended Data Column Size Null Indexes CampaignSkillGroup ArchiverID uniqueidentifier False PK_CampaignSkillGroup_ICM CampaignSkillGroup ChangeStamp datetime False PK_CampaignSkillGroup_ICM ConfigParam nvarchar(510) True DialedNumber nvarchar(64) True FutureUseInt1 int True FutureUseInt2 int True FutureUseInt3 int True FutureUseInt4 int True FutureUseInt5 int True FutureUseVarchar1 nvarchar(128) True FutureUseVarchar2 nvarchar(128) True FutureUseVarchar3 nvarchar(128) True IVRPorts int False IVRRoutePoint nvarchar(100) True OverflowAgents int False RecordsToCache int False ReservationPercentage int True SkillTargetID int False archiver_data.t_Dialer_ICM This table is joined with t_Dialer (page 53) to create a view. Table 63: archiver_data.t_Dialer_ICMTable Column Size Null ChangeStamp int False ComputerName nvarchar(128) False ConfigParam nvarchar(510) True CPAAnalysisPeriod int True CPAJitterBufferDelay int True CPAMaxTermTone Analysis int True CPAMaxTimeAnalysis int True CPAMinimumValid SpeechTime int True CPAMinSilencePeriod int True CPARecordWaveFile int True Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 80 Indexes Chapter 4: The Archiver Schema The Archiver_Data Database: Child Tables For Unified ICM Extended Data Column Size Null Indexes Deleted nchar(2) False Description nvarchar(510) True DialerArchiverID uniqueidentifier False PK_Dialer_ICM DialerChangeStamp datetime False PK_Dialer_ICM DialerID int False DialerName nvarchar(64) False DialToneDetectEnabled nchar(2) False Enabled nchar(2) False FutureUseInt1 int True FutureUseInt2 int True FutureUseInt3 int True FutureUseInt4 int True FutureUseInt5 int True FutureUseVarchar1 nvarchar(128) True FutureUseVarchar2 nvarchar(128) True FutureUseVarchar3 nvarchar(128) True HangupTime int False IPBridgingEnabled nchar(2) False LocalAreaCode nvarchar(200) True LongDistancePrefix nvarchar(64) True PeripheralID smallint False PortThrottle float True PredictiveCorrectionPace int True PredictiveGain float True PredictiveHistoricGain float True PredictiveLow AbandonGain float True PrefixDigits nvarchar(64) True TenDigitDialEnabled nchar(2) False archiver_data.t_DialerPortMap_ICM This table is joined with t_DialerPortMap (page 53) to create a view. Table 64: archiver_data.t_DialerPortMap_ICMTable Column Size Null DialerID int False DialerPortMapArchiverID uniqueidentifier False Indexes PK_DialerPortMap_ICM Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 81 Chapter 4: The Archiver Schema The Archiver_Data Database: Child Tables For Unified ICM Extended Data Column Size Null Indexes DialerPortMapChangeStamp datetime False PK_DialerPortMap_ICM FutureUseInt1 int True FutureUseInt2 int True FutureUseInt3 int True FutureUseInt4 int True FutureUseInt5 int True FutureUseVarchar1 nvarchar(128) True FutureUseVarchar2 nvarchar(128) True FutureUseVarchar3 nvarchar(128) True PortNumber int False Station nvarchar(64) True archiver_data.t_EnterpriseService_ICM This table is joined with t_EnterpriseService (page 54) to create a view. Table 65: archiver_data.t_EnterpriseService_ICMTable Column Size Null ChangeStamp int False Deleted nchar(2) True Description nvarchar(510) True EnterpriseName nvarchar(64) False Indexes EnterpriseService ArchiverID uniqueidentifier False PK_EnterpriseService_ICM EnterpriseService ChangeStamp datetime False PK_EnterpriseService_ICM EnterpriseServiceID int False EntityID int False archiver_data.t_EnterpriseServiceMember_ICM This table is joined with t_EnterpriseServiceMember (page 54) to create a view. Table 66: archiver_data.t_EnterpriseServiceMember_ICMTable Column Size Null Deleted nchar(2) True EnterpriseServiceID int False EnterpriseServiceMember ArchiverID uniqueidentifier False Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 82 Indexes PK_EnterpriseServiceMember_ICM Chapter 4: The Archiver Schema The Archiver_Data Database: Child Tables For Unified ICM Extended Data Column Size Null Indexes EnterpriseServiceMember ChangeStamp datetime False PK_EnterpriseServiceMember_ICM SkillTargetID int False archiver_data.t_EnterpriseSkillGroup_ICM This table is joined with t_EnterpriseSkillGroup (page 55) to create a view. Table 67: archiver_data.t_EnterpriseSkillGroup_ICMTable Column Size Null Indexes ChangeStamp int False Deleted nchar(2) True Description nvarchar(510) True EnterpriseName nvarchar(64) False EnterpriseSkillGroupArchiverID uniqueidentifier False PK_EnterpriseSkillGroup_ICM EnterpriseSkillGroup ChangeStamp datetime False PK_EnterpriseSkillGroup_ICM EnterpriseSkillGroupID int False EntityID int False archiver_data.t_EnterpriseSkillGroupMember_ICM This table is joined with t_EnterpriseSkillGroupMember (page 55) to create a view. Table 68: archiver_data.t_EnterpriseSkillGroupMember_ICMTable Column Size Null Indexes Deleted nchar(2) True EnterpriseSkillGroupID int False EnterpriseSkillGroup MemberArchiverID uniqueidentifier False PK_EnterpriseSkillGroupMember_ICM EnterpriseSkillGroup MemberChangeStamp datetime False PK_EnterpriseSkillGroupMember_ICM SkillTargetID int False archiver_data.t_ExpandedCallVariable_ICM This table is joined with t_ExpandedCallVariable (page 56) to create a view. Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 83 Chapter 4: The Archiver Schema The Archiver_Data Database: Child Tables For Unified ICM Extended Data Table 69: archiver_data.t_ExpandedCallVariable_ICMTable Column Size Null ChangeStamp int False Deleted nchar(2) False Description nvarchar(510) True ECCArray nchar(2) False Enabled nchar(2) False EnterpriseName nvarchar(64) False Indexes ExpandedCallVariable ArchiverID uniqueidentifier False PK_ExpandedCallVariable_ICM ExpandedCallVariable ChangeStamp datetime False PK_ExpandedCallVariable_ICM ExpandedCallVariableID smallint False GeoTelProvided nchar(2) False MaximumArraySize int True MaximumLength int False Persistent nchar(2) False archiver_data.t_ICRGlobal_ICM This table is joined with t_ICRGlobal (page 56) to create a view. Table 70: archiver_data.t_ICRGlobal_ICMTable Column Size Null BucketIntervalID int False CallTypeAbandonCall WaitTime smallint True CallTypeServiceLevel Threshold int True CallTypeServiceLevelType smallint True CCDomainName nvarchar(128) False ChangeStamp int False CLIDMaskingDigits ToMask int True CLIDMaskingEnable False nchar(2) CLIDMaskingMask Character nvarchar(2) True CLIDMasking RemoveDigits nchar(2) True CompanyName True nvarchar(64) CompatibleECC PayloadRules nchar(2) True DefaultCallTypeID int True DefaultNetworkTargetID int True Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 84 Indexes Chapter 4: The Archiver Schema The Archiver_Data Database: Child Tables For Unified ICM Extended Data Column Size Null Indexes Deleted nchar(2) True EnableExpanded CallContext nchar(2) False EnableHHThrottle nchar(2) True ExternalAuthentication nchar(2) False ExternalScriptValidation nvarchar(510) True ICRGlobalArchiverID uniqueidentifier False PK_ICRGlobal_ICM ICRGlobalChangeStamp datetime False PK_ICRGlobal_ICM ICRType int False IPCCDeploymentState int False IPCCDeploymentType int True KeepNScriptVersions smallint False LoginCaseUnique nchar(2) False MaxCorrelationNumber int True MaxPartitions int MinCorrelationNumber int False True MinPasswordLength int False MinScriptSchedTime int False PartitioningIndicator nchar(2) True PasswordType smallint True archiver_data.t_LogicalInterfaceController_ICM This table is joined with t_LogicalInterfaceController (page 57) to create a view. Table 71: archiver_data.t_LogicalInterfaceController_ICMTable Column Size Null ChangeStamp int False ClientType smallint False ConfigParam nvarchar(510) True Deleted nchar(2) False Description nvarchar(510) True EnterpriseName nvarchar(64) False LogicalControllerID smallint False LogicalControllerType smallint False LogicalInterfaceController ArchiverID uniqueidentifier False Indexes PK_LogicalInterfaceController_ICM Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 85 Chapter 4: The Archiver Schema The Archiver_Data Database: Child Tables For Unified ICM Extended Data Column Size Null Indexes LogicalInterfaceController ChangeStamp datetime False PK_LogicalInterfaceController_ICM PrimaryCtiAddress nvarchar(64) True SecondaryCtiAddress nvarchar(64) True archiver_data.t_MediaClass_ICM This table is joined with t_MediaClass (page 57) to create a view. Table 72: archiver_data.t_MediaClass_ICMTable Column Size Null Indexes ChangeStamp int False Description nvarchar(510) True EnterpriseName nvarchar(64) False MaxTaskDuration int False MediaClassArchiverID uniqueidentifier False PK_MediaClass_ICM MediaClassChange Stamp datetime False PK_MediaClass_ICM MediaClassID int False TaskLife int False TaskStartTimeout int False archiver_data.t_MediaRoutingDomain_ICM This table is joined with t_MediaRoutingDomain (page 58) to create a view. Table 73: archiver_data.t_MediaRoutingDomain_ICMTable Column Size Null ChangeStamp int False Deleted nchar(2) True Description nvarchar(510) True EnterpriseName nvarchar(64) False Interruptible nchar(2) False MaxCallsInQueue int True MaxCallsInQueuePer CallType int True MaxTaskDuration int True MaxTimeInQueue int True MediaClassID int False MediaRoutingDomain ArchiverID uniqueidentifier Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 86 False Indexes PK_MediaRoutingDomain_ICM Chapter 4: The Archiver Schema The Archiver_Data Database: Child Tables For Unified ICM Extended Data Column Size Null Indexes MediaRoutingDomain ChangeStamp datetime False PK_MediaRoutingDomain_ICM MRDomainID int False ServiceLevelThreshold int False ServiceLevelType smallint False TaskLife int True TaskStartTimeout int True archiver_data.t_Person_ICM This table is joined with t_Person (page 58) to create a view. Table 74: archiver_data.t_Person_ICMTable Column Size Null Indexes ChangeStamp int False Deleted nchar(2) False Description nvarchar(510) True FirstName nvarchar(64) False LastName nvarchar(64) False LoginEnabled nchar(2) False LoginName nvarchar(64) False LoginNameShadow nvarchar(64) False Password nvarchar(64) True PasswordChangeRequired smallint True PasswordLast ChangedTime datetime True PersonArchiverID uniqueidentifier False PK_Person_ICM PersonChangeStamp datetime False PK_Person_ICM PersonID int False archiver_data.t_QueryRule_ICM This table is joined with t_QueryRule (page 59) to create a view. Table 75: archiver_data.t_QueryRule_ICMTable Column Size Null ChangeStamp int False Deleted nchar(2) False Description nvarchar(510) True Indexes Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 87 Chapter 4: The Archiver Schema The Archiver_Data Database: Child Tables For Unified ICM Extended Data Column Size Null Indexes Enabled nchar(2) False FutureUseInt1 int True FutureUseInt2 int True FutureUseInt3 int True FutureUseInt4 int True FutureUseInt5 int True FutureUseVarchar1 nvarchar(128) True FutureUseVarchar2 nvarchar(128) True FutureUseVarchar3 nvarchar(128) True ImportRuleID int False QueryRuleArchiverID uniqueidentifier False PK_QueryRule_ICM QueryRuleChangeStamp datetime False PK_QueryRule_ICM QueryRuleID int False QueryRuleName nvarchar(64) False archiver_data.t_ReasonCode_ICM This table is joined with t_ReasonCode (page 59) to create a view. Table 76: archiver_data.t_ReasonCode_ICMTable Column Size Null Indexes ChangeStamp int False Deleted nchar(2) True Description nvarchar(510) True ReasonCode int False ReasonCodeArchiverID uniqueidentifier False PK_ReasonCode_ICM ReasonCodeChangeStamp datetime False PK_ReasonCode_ICM ReasonCodeID int False ReasonText nvarchar(80) False archiver_data.t_Route_ICM This table is joined with t_Route (page 60) to create a view. Table 77: archiver_data.t_Route_ICMTable Column Size Null ChangeStamp int False Deleted nchar(2) False Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 88 Indexes Chapter 4: The Archiver Schema The Archiver_Data Database: Child Tables For Unified ICM Extended Data Column Size Null Indexes Description nvarchar(510) True EnterpriseName nvarchar(64) False RouteArchiverID uniqueidentifier False PK_t_Route_ICM RouteChangeStamp datetime False PK_t_Route_ICM RouteID int False ServiceSkillTargetID int True SkillTargetID int True archiver_data.t_RoutingClient_ICM This table is joined with t_RoutingClient (page 60) to create a view. Table 78: archiver_data.t_RoutingClient_ICMTable Column Size Null Indexes ChangeStamp int False ClientType smallint False ConfigParam nvarchar(510) True DefaultMRDomainID int True Deleted nchar(2) False Description nvarchar(510) True DialedNumberLabel MapPresent smallint True EnterpriseName nvarchar(64) False LateThreshold smallint False LogicalControllerID smallint False NetworkRoutingClient nvarchar(64) True NetworkTransferPreferred nchar(2) False PeripheralID smallint True RoutingClientArchiverID uniqueidentifier False PK_RoutingClient_ICM RoutingClientChangeStamp datetime False PK_RoutingClient_ICM RoutingClientID smallint False TimeoutLimit smallint False TimeoutThreshold smallint False archiver_data.t_Service_ICM This table is joined with t_Service (page 61) to create a view. Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 89 Chapter 4: The Archiver Schema The Archiver_Data Database: Child Tables For Unified ICM Extended Data Table 79: archiver_data.t_Service_ICMTable Column Size Null ChangeStamp int False ConfigParam nvarchar(510) True Deleted nchar(2) False Description nvarchar(510) True EnterpriseName nvarchar(64) False Extension nvarchar(20) True MRDomainID int False PeripheralID smallint False PeripheralName nvarchar(64) False PeripheralNumber int False Indexes PeripheralService LevelType smallint False ScheduleID int True ServiceArchiverID uniqueidentifier False PK_Service_ICM ServiceChangeStamp datetime False PK_Service_ICM ServiceLevelThreshold int False ServiceLevelType smallint False SkillTargetID int False UserDeletable nchar(2) False archiver_data.t_ServiceInterval_ICM This table is joined with t_ServiceInterval (page 61) to create a view. Table 80: archiver_data.t_ServiceInterval_ICMTable Column Size Null AnswerWaitTime float True ArchiverID uniqueidentifier False AutoOutCalls float True AutoOutCallsOnHold float True AutoOutCallsOn HoldTime float True AutoOutCallsTalkTime float True AutoOutCallsTime float True AvgDelayQ float True AvgDelayQAband float True AvgHandleTime float True AvgSpeedAnswer float True Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 90 Indexes Chapter 4: The Archiver Schema The Archiver_Data Database: Child Tables For Unified ICM Extended Data Column Size Null Indexes AvgTalkTime float True BlindTransfersOut float True CallsAbandQ float True CallsAnswered float True CallsHandled float True CallsIncoming float True CallsOffered float True CallsOut float True CallsQ float True CallsRouted float True CallsTerminatedOther float True DateTime smalldatetime False PK_ServiceInterval_ICM DbDateTime datetime True XI_ServiceInterval_ICM_DbDateTime DelayQAbandTime float True DelayQTime float True ForcedClosedCalls float True HandleTime float True HoldTime float True LongestCallAbandTime float True LongestCallDelayQTime float True NumMissingTasks float True OverflowIn float True OverflowOut float True PeriphServiceLevel real True PeriphServiceLevelCalls float True PeriphServiceLevelOffer float True PreviewCalls float True PreviewCallsOnHold float True PreviewCallsOn HoldTime float True PreviewCallsTalkTime float True PreviewCallsTime float True RecoveryDay float False RecoveryKey float False RedirectNoAnsCalls float True ReserveCalls float True ReserveCallsOnHold float True ReserveCallsOnHoldTime float True Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 91 Chapter 4: The Archiver Schema The Archiver_Data Database: Child Tables For Unified ICM Extended Data Column Size Null ReserveCallsTalkTime float True ReserveCallsTime float True Reserved1 float True Reserved2 float True Reserved3 float True Reserved4 float True Reserved5 real True ServiceInterval ArchiverID uniqueidentifier Indexes False XI_ServiceInterval_ICM, PK_ServiceInterval_ICM ServiceLevel real True ServiceLevelAband float True ServiceLevelCalls float True ServiceLevelCallsOffered float True ServiceLevelType float True ShortCalls float True ShortCallsTime float True SkillTargetID int False TalkTime float True TimeZone int False TransferInCalls float True TransferOutCalls float True UTCDateTime datetime False archiver_data.t_ServiceLevelThreshold_ICM This table is joined with t_ServiceLevelThreshold (page 62) to create a view. Table 81: archiver_data.t_ServiceLevelThreshold_ICMTable Column Size Null Indexes MediaRoutingDomainArchiverID uniqueidentifier False PK_ServiceLevelThreshold_ICM MRDomainID int False PeripheralID smallint False ServiceLevelThreshold int False ServiceLevelThreshold ArchiverID uniqueidentifier False PK_ServiceLevelThreshold_ICM ServiceLevelThreshold ChangeStamp datetime False PK_ServiceLevelThreshold_ICM ServiceLevelType smallint False Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 92 Chapter 4: The Archiver Schema The Archiver_Data Database: Child Tables For Unified ICM Extended Data archiver_data.t_ServiceMember_ICM This table is joined with t_ServiceMember (page 62) to create a view. Table 82: archiver_data.t_ServiceMember_ICMTable Column Size Null Deleted nchar(2) True Priority smallint False Indexes ServiceMember ArchiverID uniqueidentifier False PK_ServiceMember_ICM ServiceMember ChangeStamp datetime False PK_ServiceMember_ICM ServiceSkillTargetID int False SkillGroupSkillTargetID int False archiver_data.t_Site_ICM This table is joined with t_Site (page 63) to create a view. Table 83: archiver_data.t_Site_ICMTable Column Size Null AbandonedCallWaitTime smallint False AgentAutoConfig nchar(2) False AgentDeskSettingsID int True AgentEventDetail nchar(2) False AgentReporting nchar(2) False AgentTargetingMethod int False AnsweredShort CallsThreshold int True AvailableHoldoffDelay smallint False CallControlVariableMap nvarchar(256) True ChangeStamp int False ClientType smallint False ConfigParam nvarchar(510) True Deleted nchar(2) False Description nvarchar(510) True EnterpriseName nvarchar(64) False InternalIPTAOnly nchar(2) False Location nvarchar(64) True Indexes Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 93 Chapter 4: The Archiver Schema The Archiver_Data Database: Child Tables For Unified ICM Extended Data Column Size Null LogicalControllerID smallint False NetworkTargetID int True PeripheralAutoConfig nchar(2) False PeripheralID smallint False PeripheralName nvarchar(64) False Indexes PeripheralService LevelType smallint False SiteArchiverID uniqueidentifier False PK_Site_ICM SiteChangeStamp datetime False PK_Site_ICM SubSkillGroupMask nvarchar(128) True archiver_data.t_SkillGroup_ICM This table is joined with t_SkillGroup (page 63) to create a view. Table 84: archiver_data.t_SkillGroup_ICMTable Column Size Null AvailableHoldoffDelay smallint False BaseSkillTargetID int True ChangeStamp int False ConfigParam nvarchar(510) True DefaultEntry int False Deleted nchar(2) False Description nvarchar(510) True EnterpriseName nvarchar(64) False Extension nvarchar(20) True IPTA nchar(2) False MRDomainID int False PeripheralID smallint False PeripheralName nvarchar(64) False PeripheralNumber int False Priority smallint False ScheduleID int True ServiceLevelThreshold int False ServiceLevelType smallint False SkillGroupArchiverID uniqueidentifier False PK_SkillGroup_ICM SkillGroupChangeStamp datetime False PK_SkillGroup_ICM SkillTargetID int False Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 94 Indexes Chapter 4: The Archiver Schema The Archiver_Data Database: Child Tables For Unified ICM Extended Data Column Size Null SubGroupMaskType smallint False SubSkillGroupMask nvarchar(128) True UserDeletable nchar(2) False Indexes archiver_data.t_SkillGroupInterval_ICM This table is joined with t_SkillGroupInterval (page 64) to create a view. Table 85: archiver_data.t_SkillGroupInterval_ICMTable Column Size Null AbandonHoldCalls float True AbandonHoldCallsOut float True AbandonRingCalls float True AbandonRingTime float True AgentOutCalls float True AgentOutCallsOnHold float True AgentOutCallsOn HoldTime float True AgentOutCallsTalkTime float True AgentOutCallsTime float True AgentTerminatedCalls float True AnswerWaitTime float True ArchiverID uniqueidentifier False AutoOutCalls float True AutoOutCallsOnHold float True AutoOutCalls OnHoldTime float True AutoOutCallsTalkTime float True AutoOutCallsTime float True AvailTime float True AvgHandledCallsTalkTime float True AvgHandledCallsTime float True BargeInCalls float True BusyOtherTime float True CallbackMessages float True CallbackMessagesTime float True CallsAnswered float True CallsHandled float True CallsOffered float True Indexes Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 95 Chapter 4: The Archiver Schema The Archiver_Data Database: Child Tables For Unified ICM Extended Data Column Size Null CallsQueued float True CampaignID int True ConferencedInCalls float True ConferencedInCallsTime float True ConferencedOutCalls float True ConferencedOut CallsTime float True ConsultativeCalls float True ConsultativeCallsTime float True DateTime datetime False PK_SkillGroupInterval_ICM DbDateTime datetime True XI_SkillGroupInterval _ICM_DbDateTime EmergencyAssists float True HandledCallsTalkTime float True HandledCallsTime float True HoldTime float True IncomingCallsOnHold float True IncomingCalls OnHoldTime float True InterceptCalls float True InternalCalls float True InternalCallsOnHold float True InternalCalls OnHoldTime float True InternalCallsRcvd float True InternalCallsRcvdTime float True InternalCallsTime float True InterruptedTime float True LoggedOnTime float True MonitorCalls float True NetConferenced OutCalls float True NetConfOutCallsTime float True NetConsultativeCalls float True NetConsultative CallsTime float True NetTransferOutCalls float True NotReadyTime float True PercentUtilization real True PreviewCalls float True PreviewCallsOnHold float True PreviewCalls OnHoldTime float True Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 96 Indexes Chapter 4: The Archiver Schema The Archiver_Data Database: Child Tables For Unified ICM Extended Data Column Size Null PreviewCallsTalkTime float True PreviewCallsTime float True RecoveryDay float False RecoveryKey float False RedirectNoAnsCalls float True RedirectNoAnsCallsTime float True ReserveCalls float True ReserveCallsOnHold float True ReserveCalls OnHoldTime float True ReserveCallsTalkTime float True ReserveCallsTime float True Reserved1 float True Reserved2 float True Reserved3 float True Reserved4 float True Reserved5 real True ReservedStateTime float True RouterCallsAbandQ float True RouterCalls AbandToAgent float True RouterCallsDequeued float True RouterCallsOffered float True RouterError float True RouterQueueCalls float True ServiceLevel real True ServiceLevelCalls float True ServiceLevelCallsAband float True ServiceLevelCallsDequeue float True ServiceLevelCalls Offered float True ServiceLevelError float True ServiceLevelRONA float True ShortCalls float True SkillGroupInterval ArchiverID uniqueidentifier False Indexes XI_SkillGroupInterval_ICM, PK_SkillGroupInterval_ICM SkillTargetID int False SupervAssistCalls float True SupervAssistCallsTime float True TalkAutoOutTime float True Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 97 Chapter 4: The Archiver Schema The Archiver_Data Database: Child Tables For Unified ICM Extended Data Column Size Null TalkInTime float True TalkOtherTime float True TalkOutTime float True TalkPreviewTime float True TalkReserveTime float True TalkTime float True TimeZone int False TransferInCalls float True TransferInCallsTime float True TransferOutCalls float True UTCDateTime datetime False WhisperCalls float True WorkNotReadyTime float True WorkReadyTime float True Indexes archiver_data.t_SkillGroupMember_ICM This table is joined with t_SkillGroupMember (page 64) to create a view. Table 86: archiver_data.t_SkillGroupMember_ICMTable Column Size Null AgentSkillTargetID int False Deleted nchar(2) True Indexes SkillGroupMember ArchiverID uniqueidentifier False PK_SkillGroupMember_ICM SkillGroupMember ChangeStamp datetime False PK_SkillGroupMember_ICM SkillGroupSkillTargetID int False archiver_data.t_Trunk_ICM This table is joined with t_Trunk (page 65) to create a view. Table 87: archiver_data.t_Trunk_ICMTable Column Size Null ChangeStamp int False CircuitProvider nvarchar(64) True TrunkArchiverID uniqueidentifier False PK_Trunk_ICM TrunkChangeStamp datetime False PK_Trunk_ICM Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 98 Indexes Chapter 4: The Archiver Schema The Archiver_Data Database: Child Tables For Unified ICM Extended Data Column Size Null TrunkGroupID int False TrunkID int False TrunkNumber int False TrunkType smallint False Indexes archiver_data.t_TrunkGroup_ICM This table is joined with t_TrunkGroup (page 65) to create a view. Table 88: archiver_data.t_TrunkGroup_ICMTable Column Size Null Indexes ChangeStamp int False ConfigParam nvarchar(510) True Deleted nchar(2) False Description nvarchar(510) True EnterpriseName nvarchar(64) False Extension nvarchar(20) True NetworkTrunkGroupID int True PeripheralID smallint False PeripheralName nvarchar(64) False PeripheralNumber int False TrunkCount int False TrunkGroupArchiverID uniqueidentifier False PK_TrunkGroup_ICM TrunkGroupChangeStamp datetime False PK_TrunkGroup_ICM TrunkGroupID int False archiver_data.t_TrunkGroupInterval_ICM This table is joined with t_TrunkGroupInterval (page 66) to create a view. Table 89: archiver_data.t_TrunkGroupInterval_ICMTable Column Size Null AllTrunksBusy float True ArchiverID uniqueidentifier False CallsAbandoned float True CallsIn float True CallsOut float True DateTime datetime False Indexes PK_TrunkGroupInterval_ICM Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 99 Chapter 4: The Archiver Schema Archiver_Data Database Views Column Size Null Indexes DbDateTime datetime True XI_TrunkGroupInterval_ICM_DbDateTime InServiceTime float True InUseInboundTime float True InUseOutboundTime float True RecoveryDay float False RecoveryKey float False TimeZone float False TrunkGroupID int False TrunkGroupInterval ArchiverID uniqueidentifier False TrunksIdle float True TrunksInService float True UTCDateTime datetime False XI_TrunkGroupInterval_ICMP , K_TrunkGroupInterval_ICM Archiver_Data Database Views The Archiver_Data Database Views contains a view for each Unified ICM data object. Each view is combined by joining the parent t_IcmEntity in the archiver database with its corresponding child t_ICMEntity_ICM in the archiver_data database. The Views are: • Agent • Agent_Interval • Agent_Skill_Group_Interval • Agent_Team • Agent_Team_Member • Agent_Team_Supervisor • Bucket_Intervals • Business Entity • Call_Type • Call_Type_Interval • Campaign Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 100 Chapter 4: The Archiver Schema Archiver_Data Database Views • Campaign_Query_Rule • Campaign_Skill_Group • Dialer • Dialer_Port_Map • Enterprise_Service • Enterprise_Service_Member • Enterprise_Skill_Group • Enterprise_Skill_Group_Member • Extended_Call_Variable • ICR_Globals • Logical_Interface_Controller • Media_Class • Media_Routing_Domain • Peripheral • Person • Query_Rule • Reason_Code • Route • Routing_Client • Service • Service_Interval • Service_Level_Threshold • Skill_Group • Skill_Group_Interval • Skill_Group_Member • Trunk • Trunk_Group Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 101 Chapter 4: The Archiver Schema The Archiver_Custom Database • Trunk_Group_Interval The Archiver_Custom Database The Archiver can be extended to support additional data sources. Customers are responsible for supporting their extensions and for any associated performance issues. This database is created by the Archiver configuration and contains blank tables. Figure 20: Archiver_custom database Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) 102 Index archiver_data.t_ReasonCode_ICM....88 Index archiver_data.t_Route_ICM....88 archiver_data.t_RoutingClient_ICM....89 30-minute schedule....16 archiver_data.t_Service_ICM....89 Archiver....6, 13 archiver_data.t_ServiceInterval_ICM....90 Archiver_Custom Database....13, 102 archiver_data.t_ServiceLevelThreshold_ICM....92 Archiver_Data Database....13, 14 archiver_data.t_ServiceMember_ICM....93 and daily purge....19 Archiver_Data Database tables archiver_data.t_Site_ICM....93 archiver_data.t_SkillGroup_ICM....94 archiver_data.t_Agent_ICM....67 archiver_data.t_SkillGroupInterval_ICM....95 archiver_data.t_AgentInterval_ICM....67 archiver_data.t_SkillGroupMember_ICM....98 archiver_data.t_AgentSkillGroupInterval_ICM....68 archiver_data.t_Trunk_ICM....98 archiver_data.t_AgentTeam_ICM....71 archiver_data.t_TrunkGroupInterval_ICM....99 archiver_data.t_AgentTeamMember_ICM....72 archiver_data.t_AgentTeamSupervisor_ICM....72 archiver_data.t_BucketInterval_ICM....72 Archiver Database....13, 14 and daily purge....19 Archiver Database Common tables archiver_data.t_BusinessEntity_ICM....73 archiver.t_Agent....46 archiver_data.t_CallType_ICM....73 archiver.t_AgentInterval....46 archiver_data.t_CallTypeInterval_ICM....74 archiver.t_AgentSkillGroupInterval....47 archiver_data.t_Campaign_ICM....76 archiver.t_AgentTeam....48 archiver_data.t_CampaignQueryRule_ICM....78 archiver.t_AgentTeamMember....48 archiver_data.t_CampaignSkillGroup_ICM....79 archiver.t_AgentTeamSupervisor....49 archiver_data.t_Dialer_ICM....80 archiver.t_BucketInterval....49 archiver_data.t_DialerPortMap_ICM....81 archiver.t_BusinessEntity....49 archiver_data.t_EnterpriseService_ICM....82 archiver.t_CallType....50 archiver_data.t_EnterpriseServiceMember_ICM....82 archiver.t_CallTypeInterval....50 archiver_data.t_EnterpriseSkillGroup_ICM....83 archiver.t_Campaign....51 archiver_data.t_EnterpriseSkillGroupMember_ICM.83 archiver.t_CampaignQueryRule....52 archiver_data.t_ExpandedCallVariable_ICM....83 archiver.t_CampaignSkillGroup....52 archiver_data.t_ICRGlobal_ICM....84 archiver.t_Dialer....53 archiver_data.t_LogicalInterfaceController_ICM....85 archiver.t_DialerPortMap....53 archiver_data.t_MediaClass_ICM....86 archiver.t_EnterpriseService....54 archiver_data.t_MediaRoutingDomain_ICM....86 archiver.t_EnterpriseServiceMember....54 archiver_data.t_Person_ICM....87 archiver.t_EnterpriseSkillGroup....55 archiver_data.t_QueryRule_ICM....87 archiver.t_EnterpriseSkillGroupMember....55 Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) Index 103 Index archiver.t_ExpandedCallVariable....56 Cisco Unified Intelligence Center....5 archiver.t_ICRGlobal....56 Cisco Unified Intelligence Suite....5 archiver.t_LogicalInterfaceController....57 configuration....9 archiver.t_MediaClass....57 configuration data....14 archiver.t_MediaRoutingDomain....58 connectors....23 archiver.t_Person....58 custom conectors....5, 11, 24 archiver.t_QueryRule....59 custom connectors....23 archiver.t_ReasonCode....59 custom databases....7 archiver.t_Route....60 daily job....16 archiver.t_RoutingClient....60 daily load....17 archiver.t_Service....61 daily purge....19 archiver.t_ServiceInterval....61 databases archiver.t_ServiceLevelThreshold....62 access....20 archiver.t_ServiceMember....62 Archiver....13, 14 archiver.t_Site....63 Archiver_data....13 archiver.t_SkillGroup....63 Archiver_Data....14 archiver.t_SkillGroupInterval....64 backups....22 archiver.t_SkillGroupMember....64 child tables....14 archiver.t_Trunk....65 parent tables....14 archiver.t_TrunkGroup....65 retention and purge....18 archiver.t_TrunkGroupInterval....66 security....20 Archiver Database Management tables archiver.t_Connection....36 data load....28 data purge....18 archiver.t_ConnectionJob....17, 19, 37 daily purge....19 archiver.t_Lock....40 emergency purge....19, 28 archiver.t_Log....31, 41 data retention....18, 19 archiver.t_Metadata....42 data retrieval....27 archiver.t_Parameter....43 dbdatetime....6, 15 archiver.t_SourceType....43 downgrading....22 archiver.t_TimeZone....44 emergency purge....19, 28 archiver.t_Version....45 encryption....21 Archiver User....10 initial load....13, 16 Call Type Daily All Fields Report....7 installation....9 Call Type Daily All Fields Template....13 internal users....10, 20 child tables....13, 14 interval data....14, 31 Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) Index 104 Index interval tables....14, 15, 18, 19, 20 linked server....7, 11, 23, 27 LoadArchiver....6, 12, 16, 18, 19, 24 memory space....27 orphans....31 parent tables....13, 14 report templates....5, 6 run time....31 security hardening....20 sourcetypes....23 SQL Server....10 agent jobs....12 security hardening....20 time server....22 troubleshooting data load....28 data retention....19 data retrieval....27 emergency purge....28 interval data....31 memory space....27 orphans....31 run time....31 Unified ICM AW/HDS....6 configuration data....14 data download....16, 17 interval data....14 Unified ICM Version 7.2....22 Unified IC User....10 Cisco Unified Intelligence Suite Archiver User and Schema Guide 7.5(4) Index 105