×

Database storage reclaiming program

  • US 9,588,999 B2
  • Filed: 04/27/2015
  • Issued: 03/07/2017
  • Est. Priority Date: 04/27/2015
  • Status: Expired due to Fees
First Claim
Patent Images

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

  • retrieving, by a computer, a list of data elements for deletion from a database catalog, wherein the list of data elements for deletion details one or more data elements contained in a database;

    determining, by the computer, whether first data elements of the one or more data elements on the list of data elements for deletion have been active in one or more static Structured Query Language (SQL) statements, wherein the one or more static SQL statements are persistent and created before runtime;

    removing, by the computer, the first data elements of the one or more data elements from the list of data elements for deletion that have been determined to be active in the one or more static SQL statements;

    determining, by the computer, whether second data elements of the one or more data elements on the list of data elements for deletion have been active in one or more dynamic SQL statements, wherein the one or more dynamic SQL statements are non-persistent and created at runtime;

    removing, by the computer, the second data elements of the one or more data elements from the list of data elements for deletion that have been determined to be active in the one or more dynamic SQL statements;

    determining, by the computer, whether third data elements of the one or more data elements on the list of data elements for deletion are associated with one or more data elements not on the list of data elements for deletion;

    removing, by the computer, the third data elements of the one or more data elements from the list of data elements for deletion that are determined to be associated with the one or more data elements not on the list of data elements for deletion;

    determining, by the computer, whether fourth data elements of the one or more data elements on the list of data elements for deletion are used in a source code of one or more applications; and

    removing, by the computer, the fourth data elements of the one or more data elements from the list of data elements for deletion that are determined to be used in the source code of the one or more applications.

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