Information around table schema level changesDescription<!-- div.margin{ padding: 10px 40px 40px 30px; } table.tocTable{ border: 1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); padding-top: .6em; padding-bottom: .6em; padding-left: .9em; padding-right: .6em; } table.noteTable{ border:1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); width: 100%; border-spacing:2; } table.internaltable { white-space:nowrap; text-align:left; border-width: 1px; border-collapse: collapse; font-size:14px; width: 85%; } table.internaltable th { border-width: 1px; padding: 5px; border-style: solid; border-color: rgb(245, 245, 245); background-color: rgb(245, 245, 245); } table.internaltable td { border-width: 1px; padding: 5px; border-style: solid; border-color: #E0E0E0; color: #000000; } table tr td { padding: 15px; } .title { color: #D1232B; font-weight:normal; font-size:28px; } h1{ color: #D1232B; font-weight:normal; font-size:21px; margin-bottom:-5px } h2{ color: #646464; font-weight:bold; font-size:18px; } h3{ color: #000000; font-weight:BOLD; font-size:16px; text-decoration:underline; } h4{ color: #646464; font-weight:BOLD; font-size:15px; text-decoration:; } h5{ color: #000000; font-weight:BOLD; font-size:13px; text-decoration:; } h6{ color: #000000; font-weight:BOLD; font-size:14px; text-decoration:; } hr{ border-top-width: 1px; border-top-style: solid; border-top-color: #cccccc; } ul { list-style: disc outside none; margin-left: 0; } li { padding-left: 1em; } --> Overview This KB revolves around schema level changes that can result in table alters. The focus here will mainly be TASK and CMDB tables as they are the largest tables in the system. A table alter causes schema changes in the database. The execution time of an alter will depend on various factors like the number of impacted records, database constraints etc. It may not always be simple to estimate whether an action will cause any schema level changes in the database or not but one of the ways it can be found is by looking at the sys_schema_change table. The changes are recorded in this table. There are many actions that can trigger table alters and can result in situations like temporary performance degradation for some forms or reports, some fields not being visible on the form for a while and so on. The following section encompasses a comprehensive list of such actions. Example Changes that can/may result in a table alter #Adding, removing or modifying an index of a table directly from the database (This operation can only be performed by support) #Modifying the datatype of a column in a table #Adding new column/columns to a table #Removing an existing column from a table #Drop a table from a the database #Checking the 'unique' checkbox from the dictionary record of a field To confirm that an 'Alter' happened, the sys_schema_change table should be checked. For example, a new column called 'u_kind' was added to the Task table in the out of box instance. The screenshot below shows the record which was created in the sys_schema_change as a result of this action. This also indicates that an ALTER was performed on the task table. Changes that will not result in a table alter #Adding a dictionary attribute #Changing the label of a field from the dictionary #Checking or unchecking the 'active' or 'read-only' check boxes from a dictionary entry #Adding an index from the UI of an instance