Skip to content

Commit 732efeb

Browse files
authored
Add README md file
Instructions about the usage of the script provided for assessing the given table growth
1 parent 1d12348 commit 732efeb

File tree

1 file changed

+18
-0
lines changed
  • Server-Side Components/Background Scripts/Table Growth Analysis

1 file changed

+18
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Table Size Analysis Script
2+
3+
This script checks the number of records in selected ServiceNow tables and shows how many were created in the last 30 days.
4+
5+
## Tables Checked
6+
- `task`
7+
- `cmdb_ci`
8+
- `sc_cat_item`
9+
10+
## What It Does
11+
- Logs the start of the analysis.
12+
- Counts total records in each table.
13+
- Counts records created in the last 30 days.
14+
- Logs both counts to the system log.
15+
16+
## How to Use
17+
1. Add or remove table names in the `tablesToCheck` list.
18+
2. Run the script in a background script or scheduled job.

0 commit comments

Comments
 (0)