×

DATABASE STORAGE RECLAIMING PROGRAM

  • US 20160314150A1
  • Filed: 07/15/2016
  • Published: 10/27/2016
  • Est. Priority Date: 04/27/2015
  • Status: Active Grant
First Claim
Patent Images

1. A method for reclaiming database storage, the method comprising:

  • retrieving, by a computer, a list of one or more data elements contained in a database;

    detecting, by the computer, utilization of a first data element on the list of one or more data elements in a static Structured Query Language (SQL) statement;

    based on detecting utilization of the first data element on the list of one or more data elements in a static SQL statement, creating, by the computer, a record associated with the first data element detailing a time at which the first data element was utilized in the static SQL statement;

    detecting, by the computer, utilization of a second data element on the list of one or more data elements in a dynamic SQL statement;

    based on detecting utilization of the second data element on the list of one or more data elements in a dynamic SQL statement, creating, by the computer, a capture file associated with the second data element detailing a time at which the second data element was utilized in the dynamic SQL statement;

    receiving, by the computer, a retroactive time period from a user;

    determining, by the computer, whether the first data element has been utilized in the static SQL statement within the retroactive time period by comparing the time detailed by the record with the retroactive time period;

    based on determining that the first data element has been utilized in a static SQL statement within the retroactive time period, removing, by the computer, the first data element from the list of one or more data elements;

    determining, by the computer, whether the second data element has been utilized in the dynamic SQL statement within the retroactive time period by comparing the time detailed by the capture file with the retroactive time period;

    based on determining that the second data element has been utilized in the dynamic SQL statement within the retroactive time period, removing, by the computer, the second data element from the list of one or more data elements;

    receiving, by the computer, a list of one or more applications from the user;

    analyzing, by the computer, application code associated with each of the one or more applications to extract one or more application code SQL statements;

    determining whether a third data element on the list of one or more data elements has been utilized in the extracted one or more application code SQL statements within the retroactive time period;

    based on determining that the third data element on the list of one or more data elements has been utilized in the one or more application code SQL statements within the retroactive time period, removing the third data element from the list of one or more data elements.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×