---
title: "Table Compare"
canonical: "https://docs.perspectium.com/space/Krypton/721371/Table+Compare"
format: markdown
---
> Macro (html-bobswift)


> Macro (anchor)



**<span style="color: #000000">Table Compare</span>**<span style="color: #000000"> (found under </span>**<span style="color: #000000">DataSync </span>****<span style="color: #000000">></span>**<span style="color: #000000"> </span>**<span style="color: #000000">Tools</span>**<span style="color: #000000">)</span><span style="color: #000000"> allows you to compare tables between two ServiceNow instances, or one ServiceNow instance and another integrated database. This is useful because you can see each table's record count, as well as a list of record discrepancies by </span>**<span style="color: #000000">sys_id </span>**<span style="color: #000000">between the two tables you're comparing—in other words, you can see which records exist in one table but not the other. </span>

<span style="color: #000000">Explore the various contexts and instructions for using this feature. </span>

> Macro (panel)
> 
> > Macro (toc)

> ℹ️ **NOTES:**
> ℹ️ 
> ℹ️ - <span style="color: #000000">Table compare checks for the </span>**<span style="color: #000000">most recent update of the record</span>**<span style="color: #000000">. If the most recent record is not found, the record will be re-shared.</span>
> ℹ️ - <span style="color: #000000">The table compare messages have a </span>**<span style="color: #000000">300s </span>**<span style="color: #000000">delay by default. We suggest that you configure </span><span style="color: #000000">this property for cases where the compare messages come before all shared messages are received, causing discrepancies. To modify the delay length, go to </span>**<span style="color: #000000">u_psp_properties.list</span>**<span style="color: #000000"> in the filter navigator, search </span>**<span style="color: #000000">com.perspectium.table_compare.message_delay</span>**<span style="color: #000000"> in the </span>**<span style="color: #000000">Name</span>**<span style="color: #000000"> field.</span>
> ℹ️ - <span style="color: #000000">When executing a table compare, the .ack messages that are sent in by the DataSync Agent or a meshlet will first be saved to the u_psp_data table and linked to the Table Compare Execution record (u_psp_table_compares) so as to avoid race conditions with multiple .ack messages coming in and updating the same Table Compare Execution record at the same time. The </span>**<span style="color: #000000">Perspectium Table Compare Monitor</span>**<span style="color: #000000"> scheduled job (default set to run every 15 minutes) will go through to evaluate these ack messages in u_psp_data to properly update the Received Count field in the Table Compare Execution record. Because this scheduled job by default runs every 15 minutes, the refreshing to validate all records are received by the Table Compare Execution may be slightly delayed.</span>


<span style="color: #263238">Below are instructions for setting up table compare in different situations:</span>


---


# <span style="color: #263238">ServiceNow to ServiceNow table compare</span>

<span style="color: #263238">There are two options when it comes to comparing tables between two instances of ServiceNow:</span>

- <span style="color: #263238">**Audit**</span>**<span style="color: #263238"> Shares</span>**<span style="color: #263238"> looks at the records that have been bulk shared and compare them to the records in another instance. This is useful for ensuring that bulk shares are captured in the subscribing instance properly. </span>
- <span style="color: #263238">**Compare Records by Table**</span><span style="color: #263238"> looks at records that satisfy specified conditions and compares them with the same records in another instance. This is useful if you have multiple dynamic/bulk shares on the same table and want to verify that the cumulative sharing of records is captured properly in the database.</span>

![image](media://c92f13b1-bc0e-4a10-b11f-eadf87d827c2)


[<span style="color: #000000"><u>↑ Go to top of page</u></span>](#TableCompare-TOP)


---


## <span style="color: #263238">Audit shares</span>

<span style="color: #263238">The </span>**<span style="color: #263238">Audit Shares </span>**<span style="color: #263238">option compares the records shared by bulk shares with the records in another ServiceNow instance. This is useful for ensuring that bulk shares are captured in the database properly.</span>

1. <span style="color: #172b4d">Follow the steps to </span>[<span style="color: #172b4d">create a bulk share</span>](https://docs-perspectium.atlassian.net/wiki/display/iodine/Bulk+Share)<span style="color: #172b4d"> or go to a bulk share that you want to compare at </span>**<span style="color: #172b4d">Perspectium </span>**<span style="color: #172b4d">></span>**<span style="color: #172b4d"> Perspectium Core </span>**<span style="color: #172b4d">></span>**<span style="color: #172b4d"> Shares </span>**<span style="color: #172b4d">> </span>**<span style="color: #172b4d">Bulk Share</span>**<span style="color: #000000">.</span>
2. On the bulk share page, switch to the **Standard view.**
3. In the **Advanced **<span style="color: #000000">tab, in the </span>**Runtime Settings **<span style="color: #000000">section, check the </span>**Enable confirmation **<span style="color: #000000">box. </span>
4. Click **Update**<span style="color: #000000">, and the table compare will automatically occur once the the bulk share has been executed. Now that the bulk share is ready, you can go back into the Tools module.</span>
5. <span style="color: #172b4d">G</span><span style="color: #172b4d">o to</span><span style="color: #172b4d"> </span>**<span style="color: #263238">Perspectium</span>**<span style="color: #172b4d"> </span><span style="color: #172b4d">></span><span style="color: #172b4d"> </span>**<span style="color: #263238">Perspectium Core </span>**<span style="color: #172b4d">></span><span style="color: #172b4d"> </span>**<span style="color: #263238">Tools</span>**<span style="color: #172b4d">, and click </span>**<span style="color: #263238">Table Compare: ServiceNow to ServiceNow</span>**<span style="color: #263238">, and then</span><span style="color: #172b4d"> </span>**<span style="color: #172b4d">Audit Shares</span>**<span style="color: #172b4d">.</span>
6. <span style="color: #172b4d">In the resulting list of all your bulk shares, select the ones that you want to use in the table compare. Make use of the </span>**<span style="color: #172b4d">Select All </span>**<span style="color: #172b4d">and </span>**<span style="color: #172b4d">Deselect All </span>**<span style="color: #172b4d">options to easily select or deselect many bulk shares at once. </span>
7. <span style="color: #172b4d">Click</span><span style="color: #172b4d"> </span>**<span style="color: #172b4d">Run Table Compare</span>**<span style="color: #172b4d"> </span><span style="color: #172b4d">to start executing the table compare. Or, click</span><span style="color: #172b4d"> </span>**<span style="color: #172b4d">Schedule Table Compare</span>**<span style="color: #172b4d"> </span><span style="color: #172b4d">to have the table compare configuration run on a scheduled basis.</span>


[<span style="color: #000000"><u>↑ Go to top of page</u></span>](#TableCompare-TOP)


---


## <span style="color: #172b4d">Compare records by table</span>

<span style="color: #172b4d">The </span>**<span style="color: #172b4d">Compare Records by Table </span>**<span style="color: #172b4d">option compares the records that satisfy specified conditions with the same records in your database. This is useful if you have multiple dynamic/bulk shares on the same table and want to verify that the cumulative sharing of records is captured properly in the database. </span>

1. <span style="color: #172b4d">Go to </span>**<span style="color: #172b4d">Perspectium </span>**<span style="color: #172b4d">></span>**<span style="color: #172b4d"> </span>****<span style="color: #172b4d">Perspectium Core</span>****<span style="color: #172b4d"> </span>**<span style="color: #172b4d">></span>**<span style="color: #172b4d"> Tools </span>**<span style="color: #172b4d">></span><span style="color: #172b4d"> </span>**<span style="color: #172b4d">Table Compare: ServiceNow to ServiceNow </span>**<span style="color: #172b4d">></span><span style="color: #172b4d"> </span>**<span style="color: #172b4d">Compare Records by Table</span>**<span style="color: #172b4d">. </span>
2. On the resulting page, select a table from the **Choose Table **dropdown.
3. Use the **Comparing Setup **dropdown to select the records that you want to compare. This is where you can specify whether you want to compare the base table records only, or include the child records of that table as well. You can find information on child tables and the general table hierarchy [here](https://docs-perspectium.atlassian.net/wiki/display/FAQS/Replicating+ServiceNow%27s+Parent+Child+Hierarchy/).
4. In the **Bulk share **field, select a bulk share that will mimic the configurations for re-sharing missing records.
5. (Optional) Create a condition with the condition builder or leave it blank to select all records from the chosen table. If the bulk share selected contains conditions, the condition builder will be pre-filled with the same conditions.
6. Click **Add** <span style="color: #172b4d">to add the table and condition to the active table compare configuration.</span>
7. <span style="color: #172b4d">Click </span>**<span style="color: #172b4d">Run Table Compare</span>**<span style="color: #172b4d"> to start executing the table compare. </span><span style="color: #172b4d">Or, click </span>**<span style="color: #172b4d">Schedule Table Compare</span>**<span style="color: #172b4d"> to have the table compare configuration run on a scheduled basis.</span>


[<span style="color: #000000"><u>↑ Go to top of page</u></span>](#TableCompare-TOP)


---


# ServiceNow to database table compare

This module allows you to compare records shared via bulk or dynamic shares with tables in another database. <span style="color: #172b4d">With bulk shares, a list of</span><span style="color: #172b4d"> </span>**<span style="color: #172b4d">sys_ids</span>**<span style="color: #172b4d"> </span><span style="color: #172b4d">will be sent from ServiceNow to the</span><span style="color: #172b4d"> </span>**<span style="color: #172b4d">DataSync Agent </span>**<span style="color: #172b4d">for the Agent to </span><span style="color: #172b4d">check if the records with the corresponding</span><span style="color: #172b4d"> </span>**<span style="color: #172b4d">sys_ids</span>**<span style="color: #172b4d"> </span><span style="color: #172b4d">exist. If there are discrepancies, a message will be sent back to ServiceNow and the missing records will be re-shared to the Agent. This process will repeat until all records have made it to the target database.</span>

<span style="color: #172b4d">Table Compare can also compare deleted records that dynamic shares share out to delete in the database. The Agent will check to make sure that the sys ids in the list do not exist in the database. The records that should have been removed but was not previously removed will be deleted immediately.</span>

Here are the **supported databases** for table compare:

| **Database** | <span style="color: #000000">**Version***</span> |
| --- | --- |
| <span style="color: #000000">SQL Server (MSSQL)</span> | 2017, 2019 |
| <span style="color: #000000">MySQL</span> | <span style="color: #000000">5.X.X, 8.X.X</span> |
| <span style="color: #000000">Oracle</span> | <span style="color: #000000">11g - 12c (12.2.0.1.0), 19c</span> |
| PostgreSQL | 13 |
| SAP Hana | 2.0 |

*These versions of the associated databases have been tested at this time but in general these databases will work with Table Compare.  Testing is ongoing to support more databases.

> ℹ️ If using a [table map](https://docs-perspectium.atlassian.net/wiki/spaces/Krypton/pages/720946) with your bulk share, you will need to do the following for reshared records (records the Table Compare feature finds as missing and is resharing to the Agent to update in the database) to work properly:
> ℹ️ 
> ℹ️ 1. The **sys_id** column must be a field that exists in your table map
> ℹ️ 2. The **Generate schema**** **option must be selected on your table map
> ℹ️ 3. In your DataSync Agent's **databases.xml **configuration file located in the Agent's **conf**, folder you must update the **<most_recent_record_query> **for your database so it only queries for **sys_id**. For example, if your target database is MySQL, under the MySQL section, you would change
> ℹ️ 
> ℹ️ ```xml
> ℹ️ <most_recent_record_query>SELECT sys_id FROM %s WHERE sys_id = "%s" AND %s = "%s"</most_recent_record_query>
> ℹ️ ```
> ℹ️ 
> ℹ️ to
> ℹ️ 
> ℹ️ ```xml
> ℹ️ <most_recent_record_query>SELECT sys_id FROM %s WHERE sys_id = "%s"</most_recent_record_query>
> ℹ️ ```
> ℹ️ 
> ℹ️ If you do not have a databases.xml configuration file (and this configuration file is only needed if you have advanced Agent configurations like the above), you can acquire it from [Perspectium Support](mailto:support@perspectium.com). Once you have the file and made the above change, move **databases.xml** into the Agent's **conf** folder i.e. <Perspectium_DataSync_Agent_Installed_Directory>/conf

<span style="color: #263238">There are three options when it comes to comparing tables between a ServiceNow instance and another database:</span>

- <span style="color: #263238">**Audit**</span>**<span style="color: #263238"> Shares</span>**<span style="color: #263238"> looks at the records that have been bulk shared and compare them to the records in the database. This is useful for ensuring that bulk shares are captured in the subscribing instance properly. </span>
- <span style="color: #263238">**Compare Records by Table**</span><span style="color: #263238"> looks at records that satisfy specified conditions and compares them with the same records in the database. This is useful if you have multiple dynamic/bulk shares on the same table and want to verify that the cumulative sharing of records is captured properly in the database.</span>
- <span style="color: #263238">**Synchronize Delete Records**</span><span style="color: #263238"> looks at records that no longer exist in your instance and remove them from your database.</span>

![image](media://83672100-0c54-46a8-8474-b2fd9ce780cf)

> ℹ️ **NOTES:**
> ℹ️ 
> ℹ️ - Records that no longer exist in ServiceNow from the initial list will be disregarded in subsequent comparisons.
> ℹ️ - Comparing records with **Fanout exchange**** **enabled is currently not supported.
> ℹ️ - Records will be compared by **sys_id** and **sys_mod_count **to verify they exist (content is not compared to match or to compare if the table has the latest record.
> ℹ️ - Database views are **NOT** supported with table compare.

[<span style="color: #000000"><u>↑ Go to top of page</u></span>](#TableCompare-TOP)


---


## Audit shares

<span style="color: #263238">The </span>**<span style="color: #263238">Audit Shares </span>**<span style="color: #263238">option compares the records bulk shared by a ServiceNow instance with the records in your database. This is useful for ensuring that bulk shares are captured in the database properly.</span>

1. <span style="color: #000000">Follow the steps to </span>[<span style="color: #000000">create a bulk share</span>](https://docs-perspectium.atlassian.net/wiki/display/iodine/Bulk+Share)<span style="color: #000000"> or go to a bulk share that you want to compare at </span>**<span style="color: #000000">Perspectium </span>**<span style="color: #000000">></span>**<span style="color: #000000"> Perspectium Core </span>**<span style="color: #000000">></span>**<span style="color: #000000"> Shares </span>**<span style="color: #000000">> </span>**<span style="color: #000000">Bulk Share</span>**<span style="color: #000000">.</span>
2. <span style="color: #000000">On the bulk share page, switch to the </span>**<span style="color: #000000">Standard view</span>**<span style="color: #000000">. </span>
3. <span style="color: #000000">In the </span>**<span style="color: #000000">Advanced </span>**<span style="color: #000000">tab, in the </span>**<span style="color: #000000">Runtime Settings </span>**<span style="color: #000000">section, check the </span>**<span style="color: #000000">Enable confirmation </span>**<span style="color: #000000">box. </span>
4. <span style="color: #000000">Click </span>**<span style="color: #000000">Update</span>**<span style="color: #000000">, and the table compare will automatically occur once the the bulk share has been executed. Now that the bulk share is ready, you can go back into the Tools module.</span>
5. <span style="color: #000000">Go to </span>**<span style="color: #000000">Perspectium</span>**<span style="color: #000000"> > </span>**<span style="color: #000000">Perspectium Core </span>**<span style="color: #000000">> </span>**<span style="color: #000000">Tools</span>**<span style="color: #000000">, and click </span>**<span style="color: #000000">Table Compare: ServiceNow to Database</span>**<span style="color: #000000">, and then </span>**<span style="color: #000000">Audit Shares</span>**<span style="color: #000000">.</span>
6. <span style="color: #000000">In the resulting list of all your bulk shares, select the ones that you want to use in the table compare. Make use of the </span>**<span style="color: #000000">Select All </span>**<span style="color: #000000">and </span>**<span style="color: #000000">Deselect All </span>**<span style="color: #000000">options to easily select or deselect many bulk shares at once. </span>
7. <span style="color: #000000">Click</span><span style="color: #000000"> </span>**<span style="color: #000000">Run Table Compare</span>**<span style="color: #000000"> </span><span style="color: #000000">to start executing the table compare. Or, click</span><span style="color: #000000"> </span>**<span style="color: #000000">Schedule Table Compare</span>**<span style="color: #000000"> </span><span style="color: #000000">to have the table compare configuration run on a scheduled basis. When choosing the </span>**<span style="color: #000000">Schedule Table Compare</span>**<span style="color: #000000"> option, a scheduled job will be created with the name </span>**<span style="color: #000000">Perspectium Scheduled Table Compare</span>**<span style="color: #000000"> and you can go to Perspectium > Control and Configuration > All Scheduled Jobs to view and modify this job. Each time you select the Schedule Table Compare option, it will create a new scheduled job with the </span>**<span style="color: #000000">Perspectium Scheduled Table Compare</span>**<span style="color: #000000"> name.</span>


[<span style="color: #000000"><u>↑ Go to top of page</u></span>](#TableCompare-TOP)


---


## <span style="color: #172b4d">Compare records by table</span>

> Macro (anchor)



> ℹ️ If using [Table Maps](https://docs-perspectium.atlassian.net/wiki/spaces/Krypton/pages/720946) or [Conditional Shares](https://docs-perspectium.atlassian.net/wiki/spaces/Krypton/pages/721361), the **Comparing Setup** will be set to **Compare the table records only** as otherwise you may end up with duplicate records being compared.

<span style="color: #172b4d">The </span>**<span style="color: #172b4d">Compare Records by Table </span>**<span style="color: #172b4d">option compares the records that satisfy specified conditions with the same records in your database. This is useful if you have multiple dynamic/bulk shares on the same table and want to verify that the cumulative sharing of records is captured properly in the database. </span>

1. <span style="color: #172b4d">Go to </span>**<span style="color: #172b4d">Perspectium </span>**<span style="color: #172b4d">></span>**<span style="color: #172b4d"> </span>****<span style="color: #172b4d">Perspectium Core</span>****<span style="color: #172b4d"> </span>**<span style="color: #172b4d">></span>**<span style="color: #172b4d"> Tools </span>**<span style="color: #172b4d">></span><span style="color: #172b4d"> </span>**<span style="color: #172b4d">Table Compare: ServiceNow to Database </span>**<span style="color: #172b4d">></span><span style="color: #172b4d"> </span>**<span style="color: #172b4d">Compare Records by Table</span>**<span style="color: #172b4d">. </span>
2. On the resulting page, select a table from the **Choose Table **dropdown.
3. Use the **Comparing Setup **dropdown to select the records that you want to compare. This is where you can specify whether you want to compare the base table records only, or include the child records of that table as well. You can find information on child tables and the general table hierarchy [here](https://docs-perspectium.atlassian.net/wiki/display/FAQS/Replicating+ServiceNow%27s+Parent+Child+Hierarchy/).
4. In the **Bulk share **field, select a bulk share that will mimic the configurations for re-sharing missing records.
5. (Optional) Create a condition with the condition builder or leave it blank to select all records from the chosen table. If the bulk share selected contains conditions, the condition builder will be pre-filled with the same conditions.
6. Click **Add** <span style="color: #172b4d">to add the table and condition to the active table compare configuration.</span>
7. (Optional) A table will appear for you to edit or remove the table you just added. In this table, check the **Sync Deletes** checkbox to remove records that no longer exist in your instance from your agent database.
8. <span style="color: #172b4d">Click </span>**<span style="color: #172b4d">Run Table Compare</span>**<span style="color: #172b4d"> to start executing the table compare. </span><span style="color: #172b4d">Or, click </span>**<span style="color: #172b4d">Schedule Table Compare</span>**<span style="color: #172b4d"> to have the table compare configuration run on a scheduled basis. When choosing the </span>**<span style="color: #172b4d">Schedule Table Compare</span>**<span style="color: #172b4d"> option, a scheduled job will be created with the name </span>**<span style="color: #172b4d">Perspectium Scheduled Table Compare</span>**<span style="color: #172b4d"> and you can go to Perspectium > Control and Configuration > All Scheduled Jobs to view and modify this job. Each time you select the Schedule Table Compare option, it will create a new scheduled job with the </span>**<span style="color: #172b4d">Perspectium Scheduled Table Compare</span>**<span style="color: #172b4d"> name.</span>

:info:** ****NOTE: **Table compare results will be shown in the **Previous Table Compare Executions **table at the bottom. You can filter the results displayed in this table by the target type (Agent, Meshlet, ServiceNow, etc.). However, the target type isn't populated until the target responds back to ServiceNow with results. Prior to the results returning, the table compare result will show as **Pending Response **to indicate we're pending a response from the target and you can filter the results for those **Pending Response** as well. Further details on **Previous Table Compare Executions **can be found in the **View and report table compare results **section below.


[<span style="color: #000000"><u>↑ Go to top of page</u></span>](#TableCompare-TOP)


---


## Synchronize deleted records

<span style="color: #172b4d">Enabling this feature will send a message to your agent database to start comparing which records were deleted. Once the deleted records are detected, a series of delete messages will be sent. </span>

<span style="color: #172b4d">Here's how:</span>

1. <span style="color: #172b4d">Go to </span>**<span style="color: #172b4d">Perspectium </span>**<span style="color: #172b4d">></span>**<span style="color: #172b4d"> </span>****<span style="color: #172b4d">Perspectium Core</span>****<span style="color: #172b4d"> </span>**<span style="color: #172b4d">></span>**<span style="color: #172b4d"> Tools </span>**<span style="color: #172b4d">></span><span style="color: #172b4d"> </span>**<span style="color: #172b4d">Table Compare: ServiceNow to Database </span>**<span style="color: #172b4d">></span><span style="color: #172b4d"> </span>**<span style="color: #172b4d">Synchronize Deleted Records</span>**<span style="color: #172b4d">. </span>
2. <span style="color: #172b4d">On the resulting page, use the </span>**<span style="color: #172b4d">Choose Table </span>**<span style="color: #172b4d">dropdown to select the table that you want to use.</span>
3. <span style="color: #172b4d">Use the </span>**<span style="color: #172b4d">Bulk Share </span>**<span style="color: #172b4d">field (and the magnifying glass) to select the bulk share that your Synchronize Delete can mimic for configurations. </span>
4. <span style="color: #172b4d">Click </span>**<span style="color: #172b4d">Add</span>**<span style="color: #172b4d">.</span>
5. <span style="color: #172b4d">Click</span><span style="color: #172b4d"> </span>**<span style="color: #172b4d">Run Table Compare</span>**<span style="color: #172b4d"> </span><span style="color: #172b4d">to start executing the table compare. </span>

:info:** ****NOTE: **Since the deleted records will not be able to be queried once they've been deleted from the database, the **Previous Table Compare Executions **table for deleted records will show a state of **Completed** once the Perspectium application in ServiceNow has received the list of records in the database back from the Agent/Meshlet and processed this comparison and sent out any delete messages. 

[<span style="color: #000000"><u>↑ Go to top of page</u></span>](#)


---


# View and report table compare results

After running a ServiceNow to Database table compare, you can view your results, including the total records compared, records not found in the target database that were shared by the ServiceNow instance or the records not deleted in the target database that were shared out as deleted. A quick summary of previous table compares that have run will also be available with the table provided in the **Previous Table Compare Executions** section. 

Additionally, you can run a report with your table compare results. 

Here's how to view your results:

1. <span style="color: #172b4d">Go to</span><span style="color: #172b4d"> </span>**Perspectium **>** Perspectium Core **>** Tools**<span style="color: #172b4d">. Click</span><span style="color: #172b4d"> </span>**Table Compare: ServiceNow to Database**.
2. Then, click the table compare that you want to view (either **Audit Shares**, **Compare Records by Table**, or **Synchronize Deleted Records**).
3. Scroll to the **Previous Table Compare Executions **table. This table will provide you with a quick summary of previous table compare executions. Click the timestamp in one of the entries to view more information about that specific table compare execution such as the bulk shares or dynamic shares involved, the table and conditions use, the time frame, and the individual discrepancies in the target database.
  When looking at the results, numbers (such as the **Records Reshared to Target** to indicate discrepancies between ServiceNow and the database that had to be reshared) will have a background color to indicate as follows:
  A Status of **Reshared** and a Target Discrepancy Type of **Not Found** indicates the record was not found in the target database and has been reshared. Once the Agent has processed both the reshared message and the **compare** message to validate the record is in the database, this will update in here to **Synced in Database**. Note, for each time a record is not found and reshared (even if the same record has to be reshared multiple times because it can't process successfully), a new row will be created in the results with a Status of **Reshared** and a Target Discrepancy Type of **Not Found.**
4. (Optional!) If you want to export the results as a .csv or .pdf file, click the available buttons at the bottom of the table. Want to run your own reporting? You can do so by going to the Table Compares (**u_psp_table_compares**) table. Then, click into the record you want to view.
5. In **Krypton 8.2.0**, the **table** the compare results are for along with the ability to delete the table compare results record (deleting it from the **u_psp_table_compares** table) was added. Note the **table** etnry will show as blank if it's not able to find the table the table compare was configured against, such as when the bulk share related to it is deleted.

![image](media://6df4c43c-017f-4384-936a-3e5c556ec854)

<span style="color: #000000">As of </span>**<span style="color: #000000">Krypton 8.4.2</span>**<span style="color: #000000">, previous table compare executions that were run more than 60 days ago will be deleted to improve performance and minimize size on the u_psp_table_compares table.</span>



[<span style="color: #000000"><u>↑ Go to top of page</u></span>](#TableCompare-TOP)


---


# Performance Statistics 

<span style="color: #172b4d">To give you an idea of the table compare performance, tests were ran on a ServiceNow instance with two nodes, bulk sharing incidents with </span>**<span style="color: #172b4d">4 MultiOutput processors</span>**<span style="color: #172b4d"> jobs and records that averaged </span>**<span style="color: #172b4d">5 KB</span>**<span style="color: #172b4d"> in size. The total time for table compare to complete from ServiceNow to a database was as follows: </span>

| **Number of incident records** | **Total Duration** |
| --- | --- |
| 500,000 | 1:13:16 |
| 750,000 | 1:57:12 |

[<span style="color: #000000"><u>↑ Go to top of page</u></span>](#TableCompare-TOP)


---


### [Click to explore the rest of the features available in the Tools module.](https://docs-perspectium.atlassian.net/wiki/display/iodine/Tools)

> Macro (__confluenceADFMigrationUnsupportedContentInternalExtension__)