US20180373726A1 - File and Move Data to Shrink Datafiles - Google Patents

File and Move Data to Shrink Datafiles Download PDF

Info

Publication number
US20180373726A1
US20180373726A1 US16/121,420 US201816121420A US2018373726A1 US 20180373726 A1 US20180373726 A1 US 20180373726A1 US 201816121420 A US201816121420 A US 201816121420A US 2018373726 A1 US2018373726 A1 US 2018373726A1
Authority
US
United States
Prior art keywords
datafile
segments
computer
extents
information handling
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Abandoned
Application number
US16/121,420
Inventor
Daniel T. Wood
Jacques R. Kilchoer
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Quest Software Inc
Original Assignee
Quest Software Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Quest Software Inc filed Critical Quest Software Inc
Priority to US16/121,420 priority Critical patent/US20180373726A1/en
Publication of US20180373726A1 publication Critical patent/US20180373726A1/en
Abandoned legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/1724Details of de-fragmentation performed by the file system
    • G06F17/30135
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0608Saving storage space on storage systems

Definitions

  • the present invention relates to information handling systems. More specifically, embodiments of the invention relate to operations to shrink datafiles.
  • An information handling system generally processes, compiles, stores, and/or communicates information or data for business, personal, or other purposes thereby allowing users to take advantage of the value of the information.
  • information handling systems may also vary regarding what information is handled, how the information is handled, how much information is processed, stored, or communicated, and how quickly and efficiently the information may be processed, stored, or communicated.
  • the variations in information handling systems allow for information handling systems to be general or configured for a specific user or specific use such as financial transaction processing, airline reservations, enterprise data storage, or global communications.
  • information handling systems may include a variety of hardware and software components that may be configured to process, store, and communicate information and may include one or more computer systems, data storage systems, and networking systems.
  • FIG. 1A shows a block diagram of an example of a datafile.
  • the datafile includes a datafile header portion 110 , datafile used area portions 120 , datafile unused (but previously used) area portions 130 and a datafile formatted (but never used portion) 140
  • logical data structures such as tables and indexes
  • Datafiles can contain areas that are currently used, areas previously used and currently unused and areas that were never used. The never used area of a datafile is usually found at the end of the datafile.
  • the database application will often use space starting from the beginning of the file and moving towards the end.
  • the logical data structures (tables, indexes, LOBs, etc.) are stored in data blocks. Contiguous data blocks (i.e., segments) associated to the same data structure form an extent. All extents allocated for a database object form what is called the segment. Each segment can contain multiple extents that are spread out in non-contiguous areas of one or more datafiles.
  • FIG. 1B shows a block diagram of an example of the result of such a size reduction operation.
  • a system, method, and computer-readable medium are disclosed for consolidating all the currently used areas to the beginning of the datafile by performing a datafile reorganization operation.
  • This consolidation more space can be recovered from the datafile. More specifically, with the consolidation, because each used area can contain extents related to several different segments, locating all the segments that have extents in a used area and relocate these segments to lower addresses in the datafile can be challenging. Additionally, all the extents in the used area are moved while the logical object (table, index) is being used, without affecting the applications using these objects.
  • the datafile reorganization operation identifies segments that own all the extents at higher addresses in the datafile via both direct and indirect inspection. These are the extents that will be moved during the datafile reorganization. Once the segments are identified, the segments are copied by the datafile reorganization operation. Copying the segments causes new extents with the same data to be created at lower addresses in the datafile. Once the copying is complete, the original segments are deleted. This releases the original extents at higher addresses in the datafile. The net outcome is a datafile with all of the data consolidated at lower addresses. Once the original extents are released, the datafile reorganization operation proceeds with a shrink operation. Performing such a datafile reorganization operation reduces the datafile to a size smaller than what was previously thought possible.
  • FIGS. 1A and 1B labeled Prior Art, show a block diagram of an example of a datafile and a block diagram of an example of the result of a size reduction operation, respectively.
  • FIG. 2 shows a general illustration of components of an information handling system as implemented in the system and method of the present invention.
  • FIG. 3 shows a block diagram of an example of the result of a size reduction operation using a datafile reorganization operation.
  • FIG. 4 a flow chart of the operation of a datafile reorganization operation is shown.
  • an information handling system may include any instrumentality or aggregate of instrumentalities operable to compute, classify, process, transmit, receive, retrieve, originate, switch, store, display, manifest, detect, record, reproduce, handle, or utilize any form of information, intelligence, or data for business, scientific, control, or other purposes.
  • an information handling system may be a personal computer, a network storage device, or any other suitable device and may vary in size, shape, performance, functionality, and price.
  • the information handling system may include random access memory (RAM), one or more processing resources such as a central processing unit (CPU) or hardware or software control logic, ROM, and/or other types of nonvolatile memory.
  • Additional components of the information handling system may include one or more disk drives, one or more network ports for communicating with external devices as well as various input and output (I/O) devices, such as a keyboard, a mouse, and a video display.
  • the information handling system may also include one or more buses operable to transmit communications between the various hardware components.
  • FIG. 2 is a generalized illustration of an information handling system 200 that can be used to implement the system and method of the present invention.
  • the information handling system 200 may correspond to a server type information handling system as well as a database server type information handling system.
  • the information handling system 200 includes a processor (e.g., central processor unit or “CPU”) 202 , input/output (I/O) devices 204 , such as a display, a keyboard, a mouse, and associated controllers, a hard drive or disk storage 206 , and various other subsystems 208 .
  • the information handling system 200 also includes network port 210 operable to connect to a network 240 , which is likewise accessible by a service provider server 242 .
  • the information handling system 200 likewise includes system memory 212 , which is interconnected to the foregoing via one or more buses 214 .
  • System memory 212 further comprises operating system (OS) 216 and in various embodiments may also comprise a datafile reorganization module 218 .
  • OS operating system
  • the subsystems 208 may comprise a database management system 230 .
  • the datafile reorganization module 218 may be stored within the database management system 230 .
  • the datafile reorganization module 218 consolidates all the currently used areas to the beginning of the datafile by performing a datafile reorganization operation. With this consolidation, more space can be recovered from the datafile.
  • each used area can contain extents related to several different segments
  • locating all the segments that have extents in a used area and relocating these segments to lower addresses in the datafile can be challenging.
  • all the extents in the used area need to be moved while the logical object (table, index) is being used, without affecting the applications using these objects.
  • This also presents a challenge.
  • a datafile reorganization is accomplished by means of a series of segment reorganizations. Segment reorganizations are executed in three phases. The first phase is to create a complete copy of the original segment. However during the time it takes to create the copy additional changes may be applied by user or application processes.
  • FIG. 3 a block diagram of an example illustrating the result of a size reduction operation using a datafile reorganization operation is shown. More specifically, the datafile reorganization operation begins by identifying a location of the last used extent, as indicated by line 150 in the datafile shown in FIG. 1B . After identifying the location of the last used extent, the datafile reorganization operation identifies segments that own all the extents that are located after line 310 in FIG. 1B (i.e., the location after all used extents are consolidated) and any of their dependent segments.
  • the segments are copied by the datafile reorganization operation. Copying the segments causes new extents with the same data to be created at lower addresses in the datafile. Once the copying is complete, the original segments are deleted. This releases the original extents at higher addresses in the datafile.
  • the net outcome is a datafile with all of the used areas 120 consolidated at lower addresses as indicated via line 310 . Performing such a datafile reorganization operation reduces the datafile to a size smaller than line 150 , which was previously the smallest size to which a datafile could be reduced.
  • FIG. 4 a flow chart of the operation of a datafile reorganization operation 400 is shown.
  • the datafile reorganization operation 400 is performed by the datafile reorganization module 218 .
  • the datafile reorganization operation 400 begins by identifying a location of a last used extent as indicated by line 150 in the datafile shown in FIG. 1B , at step 410 . This is accomplished by querying the data storage system.
  • the datafile reorganization operation identifies segments that own all the extents that are located after line 310 in FIG. 1B (i.e., the location after all used extents are consolidated) at step 420 . Locating these extents is accomplished by finding and generating a list of all the extents that need to be moved by querying the storage system. This list contains information that correlates each extent back to the segment to which it belongs. Since each segment can have many extents, the extent to segment correlation is many to one. In most cases segments have dependencies with other segments that may not be the subject of interest. These dependent segments may have 0, 1, or many extents in the datafile being resized. The dependent segments must also be moved even in the case where they have 0 extents in the datafile being resized.
  • each segment is moved by means of segment reorganization as previously defined. Reorganizing the segments causes new extents with the same data to be created at lower addresses in the datafile. Once the copying is complete, the original segments are deleted at step 440 . This releases the original extents at higher addresses in the datafile.
  • the present invention may be embodied as a method, system, or computer program product. Accordingly, embodiments of the invention may be implemented entirely in hardware, entirely in software (including firmware, resident software, micro-code, etc.) or in an embodiment combining software and hardware. These various embodiments may all generally be referred to herein as a “circuit,” “module,” or “system.” Furthermore, the present invention may take the form of a computer program product on a computer-usable storage medium having computer-usable program code embodied in the medium.
  • the computer-usable or computer-readable medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), a portable compact disc read-only memory (CD-ROM), an optical storage device, or a magnetic storage device.
  • a computer-usable or computer-readable medium may be any medium that can contain, store, communicate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
  • Computer program code for carrying out operations of the present invention may be written in an object oriented programming language such as Java, Smalltalk, C++ or the like. However, the computer program code for carrying out operations of the present invention may also be written in conventional procedural programming languages, such as the “C” programming language or similar programming languages.
  • the program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server.
  • the remote computer may be connected to the user's computer through a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider).
  • LAN local area network
  • WAN wide area network
  • Internet Service Provider for example, AT&T, MCI, Sprint, EarthLink, MSN, GTE, etc.
  • Embodiments of the invention are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
  • These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function/act specified in the flowchart and/or block diagram block or blocks.
  • the computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.

Abstract

A system, method, and computer-readable medium for consolidating all the currently used areas to the beginning of the datafile by performing a datafile reorganization operation. With this consolidation, more space can be recovered from the datafile. More specifically, with the consolidation, because each used area can contain extents related to several different segments, locating all the segments that have extents in a used area and relocate these segments to lower addresses in the datafile can be challenging.

Description

    CROSS REFERENCE TO RELATED APPLICATION
  • This patent application is a continuation application that claims the benefit of the filing date of U.S. patent application Ser. No. 14/629,583, filed Feb. 24, 2015, and entitled “FILE AND MOVE DATA TO SHRINK DATAFILES” which is incorporated herein by reference in its entirety.
  • BACKGROUND OF THE INVENTION Field of the Invention
  • The present invention relates to information handling systems. More specifically, embodiments of the invention relate to operations to shrink datafiles.
  • Description of the Related Art
  • As the value and use of information continues to increase, individuals and businesses seek additional ways to process and store information. One option available to users is information handling systems. An information handling system generally processes, compiles, stores, and/or communicates information or data for business, personal, or other purposes thereby allowing users to take advantage of the value of the information. Because technology and information handling needs and requirements vary between different users or applications, information handling systems may also vary regarding what information is handled, how the information is handled, how much information is processed, stored, or communicated, and how quickly and efficiently the information may be processed, stored, or communicated. The variations in information handling systems allow for information handling systems to be general or configured for a specific user or specific use such as financial transaction processing, airline reservations, enterprise data storage, or global communications. In addition, information handling systems may include a variety of hardware and software components that may be configured to process, store, and communicate information and may include one or more computer systems, data storage systems, and networking systems.
  • It is known to provide information handling systems with operating systems. It is also known to provide an operating system with a datafile file structure that is used by a software application. These file structures may contain unused areas that can consume unnecessary space. Over time, a datafile can contain unused areas mixed in with used areas. FIG. 1A, labeled Prior Art, shows a block diagram of an example of a datafile. The datafile includes a datafile header portion 110, datafile used area portions 120, datafile unused (but previously used) area portions 130 and a datafile formatted (but never used portion) 140
  • One type of application which uses datafiles is a database application. In a database application, logical data structures (named datafiles), such as tables and indexes, are stored in physical files on disk. Datafiles can contain areas that are currently used, areas previously used and currently unused and areas that were never used. The never used area of a datafile is usually found at the end of the datafile. The database application will often use space starting from the beginning of the file and moving towards the end. Inside these datafiles, the logical data structures (tables, indexes, LOBs, etc.) are stored in data blocks. Contiguous data blocks (i.e., segments) associated to the same data structure form an extent. All extents allocated for a database object form what is called the segment. Each segment can contain multiple extents that are spread out in non-contiguous areas of one or more datafiles.
  • It is known to resize a datafile to allocate more space to it, or to reduce the amount of space the file can take on disk. Increasing the size of a datafile requires more disk space at the operating system level but is a relatively simple operation. Most database applications allow reducing the size of a datafile as long as the reducing operation does not attempt to remove areas that are currently used. To do this, knowledge of the physical location of the last used area in the datafile is needed. When the location of the last used extent is identified, (e.g., via line 150) the datafile can be resized to that point. FIG. 1B, labeled Prior Art, shows a block diagram of an example of the result of such a size reduction operation.
  • SUMMARY OF THE INVENTION
  • In accordance with the present invention, a system, method, and computer-readable medium are disclosed for consolidating all the currently used areas to the beginning of the datafile by performing a datafile reorganization operation. With this consolidation, more space can be recovered from the datafile. More specifically, with the consolidation, because each used area can contain extents related to several different segments, locating all the segments that have extents in a used area and relocate these segments to lower addresses in the datafile can be challenging. Additionally, all the extents in the used area are moved while the logical object (table, index) is being used, without affecting the applications using these objects.
  • More specifically, the datafile reorganization operation identifies segments that own all the extents at higher addresses in the datafile via both direct and indirect inspection. These are the extents that will be moved during the datafile reorganization. Once the segments are identified, the segments are copied by the datafile reorganization operation. Copying the segments causes new extents with the same data to be created at lower addresses in the datafile. Once the copying is complete, the original segments are deleted. This releases the original extents at higher addresses in the datafile. The net outcome is a datafile with all of the data consolidated at lower addresses. Once the original extents are released, the datafile reorganization operation proceeds with a shrink operation. Performing such a datafile reorganization operation reduces the datafile to a size smaller than what was previously thought possible.
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • The present invention may be better understood, and its numerous objects, features and advantages made apparent to those skilled in the art by referencing the accompanying drawings. The use of the same reference number throughout the several figures designates a like or similar element.
  • FIGS. 1A and 1B, labeled Prior Art, show a block diagram of an example of a datafile and a block diagram of an example of the result of a size reduction operation, respectively.
  • FIG. 2 shows a general illustration of components of an information handling system as implemented in the system and method of the present invention.
  • FIG. 3 shows a block diagram of an example of the result of a size reduction operation using a datafile reorganization operation.
  • FIG. 4, a flow chart of the operation of a datafile reorganization operation is shown.
  • DETAILED DESCRIPTION
  • For purposes of this disclosure, an information handling system may include any instrumentality or aggregate of instrumentalities operable to compute, classify, process, transmit, receive, retrieve, originate, switch, store, display, manifest, detect, record, reproduce, handle, or utilize any form of information, intelligence, or data for business, scientific, control, or other purposes. For example, an information handling system may be a personal computer, a network storage device, or any other suitable device and may vary in size, shape, performance, functionality, and price. The information handling system may include random access memory (RAM), one or more processing resources such as a central processing unit (CPU) or hardware or software control logic, ROM, and/or other types of nonvolatile memory. Additional components of the information handling system may include one or more disk drives, one or more network ports for communicating with external devices as well as various input and output (I/O) devices, such as a keyboard, a mouse, and a video display. The information handling system may also include one or more buses operable to transmit communications between the various hardware components.
  • FIG. 2 is a generalized illustration of an information handling system 200 that can be used to implement the system and method of the present invention. In various embodiments, the information handling system 200 may correspond to a server type information handling system as well as a database server type information handling system.
  • The information handling system 200 includes a processor (e.g., central processor unit or “CPU”) 202, input/output (I/O) devices 204, such as a display, a keyboard, a mouse, and associated controllers, a hard drive or disk storage 206, and various other subsystems 208. In various embodiments, the information handling system 200 also includes network port 210 operable to connect to a network 240, which is likewise accessible by a service provider server 242. The information handling system 200 likewise includes system memory 212, which is interconnected to the foregoing via one or more buses 214.
  • System memory 212 further comprises operating system (OS) 216 and in various embodiments may also comprise a datafile reorganization module 218. Additionally, in certain embodiments, the subsystems 208 may comprise a database management system 230. Also, in certain embodiments, the datafile reorganization module 218 may be stored within the database management system 230.
  • The datafile reorganization module 218 consolidates all the currently used areas to the beginning of the datafile by performing a datafile reorganization operation. With this consolidation, more space can be recovered from the datafile.
  • More specifically, with the consolidation, because each used area can contain extents related to several different segments, locating all the segments that have extents in a used area and relocating these segments to lower addresses in the datafile can be challenging. Additionally, all the extents in the used area need to be moved while the logical object (table, index) is being used, without affecting the applications using these objects. This also presents a challenge. To overcome this challenge, a datafile reorganization is accomplished by means of a series of segment reorganizations. Segment reorganizations are executed in three phases. The first phase is to create a complete copy of the original segment. However during the time it takes to create the copy additional changes may be applied by user or application processes. While the copy is executing, a list of all the records that were modified (added, deleted, or changed) is saved in the original segment. In the second phase, to preserve the fidelity of the copied segment the stored changes are applied to the new segment. This step is repeated until the original and copied segments are perfectly synchronized. Once synchronization is complete, the two segments are swapped in a third and final phase.
  • Referring to FIG. 3 a block diagram of an example illustrating the result of a size reduction operation using a datafile reorganization operation is shown. More specifically, the datafile reorganization operation begins by identifying a location of the last used extent, as indicated by line 150 in the datafile shown in FIG. 1B. After identifying the location of the last used extent, the datafile reorganization operation identifies segments that own all the extents that are located after line 310 in FIG. 1B (i.e., the location after all used extents are consolidated) and any of their dependent segments.
  • Once the segments are identified, the segments are copied by the datafile reorganization operation. Copying the segments causes new extents with the same data to be created at lower addresses in the datafile. Once the copying is complete, the original segments are deleted. This releases the original extents at higher addresses in the datafile. The net outcome is a datafile with all of the used areas 120 consolidated at lower addresses as indicated via line 310. Performing such a datafile reorganization operation reduces the datafile to a size smaller than line 150, which was previously the smallest size to which a datafile could be reduced.
  • Referring to FIG. 4, a flow chart of the operation of a datafile reorganization operation 400 is shown. In certain embodiments, the datafile reorganization operation 400 is performed by the datafile reorganization module 218.
  • More specifically, the datafile reorganization operation 400 begins by identifying a location of a last used extent as indicated by line 150 in the datafile shown in FIG. 1B, at step 410. This is accomplished by querying the data storage system.
  • Next, after identifying the location of the last used extent, the datafile reorganization operation identifies segments that own all the extents that are located after line 310 in FIG. 1B (i.e., the location after all used extents are consolidated) at step 420. Locating these extents is accomplished by finding and generating a list of all the extents that need to be moved by querying the storage system. This list contains information that correlates each extent back to the segment to which it belongs. Since each segment can have many extents, the extent to segment correlation is many to one. In most cases segments have dependencies with other segments that may not be the subject of interest. These dependent segments may have 0, 1, or many extents in the datafile being resized. The dependent segments must also be moved even in the case where they have 0 extents in the datafile being resized.
  • Once the segments are identified, the datafile resize process proceeds to step 430 wherein each segment is moved by means of segment reorganization as previously defined. Reorganizing the segments causes new extents with the same data to be created at lower addresses in the datafile. Once the copying is complete, the original segments are deleted at step 440. This releases the original extents at higher addresses in the datafile.
  • As will be appreciated by one skilled in the art, the present invention may be embodied as a method, system, or computer program product. Accordingly, embodiments of the invention may be implemented entirely in hardware, entirely in software (including firmware, resident software, micro-code, etc.) or in an embodiment combining software and hardware. These various embodiments may all generally be referred to herein as a “circuit,” “module,” or “system.” Furthermore, the present invention may take the form of a computer program product on a computer-usable storage medium having computer-usable program code embodied in the medium.
  • Any suitable computer usable or computer readable medium may be utilized. The computer-usable or computer-readable medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), a portable compact disc read-only memory (CD-ROM), an optical storage device, or a magnetic storage device. In the context of this document, a computer-usable or computer-readable medium may be any medium that can contain, store, communicate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
  • Computer program code for carrying out operations of the present invention may be written in an object oriented programming language such as Java, Smalltalk, C++ or the like. However, the computer program code for carrying out operations of the present invention may also be written in conventional procedural programming languages, such as the “C” programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider).
  • Embodiments of the invention are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
  • These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function/act specified in the flowchart and/or block diagram block or blocks.
  • The computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
  • The present invention is well adapted to attain the advantages mentioned as well as others inherent therein. While the present invention has been depicted, described, and is defined by reference to particular embodiments of the invention, such references do not imply a limitation on the invention, and no such limitation is to be inferred. The invention is capable of considerable modification, alteration, and equivalents in form and function, as will occur to those ordinarily skilled in the pertinent arts. The depicted and described embodiments are examples only, and are not exhaustive of the scope of the invention.
  • Consequently, the invention is intended to be limited only by the spirit and scope of the appended claims, giving full cognizance to equivalents in all respects.

Claims (1)

What is claimed is:
1. A computer-implementable method for performing a datafile reorganization operation, comprising:
locating all segments that have extents in a used area of the datafile; and
relocating the segments that have extents in a used area to lower addresses in the datafile, the relocating the segments consolidating all unused extents within the datafile.
US16/121,420 2015-02-24 2018-09-04 File and Move Data to Shrink Datafiles Abandoned US20180373726A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US16/121,420 US20180373726A1 (en) 2015-02-24 2018-09-04 File and Move Data to Shrink Datafiles

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US14/629,583 US10067945B2 (en) 2015-02-24 2015-02-24 File and move data to shrink datafiles
US16/121,420 US20180373726A1 (en) 2015-02-24 2018-09-04 File and Move Data to Shrink Datafiles

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
US14/629,583 Continuation US10067945B2 (en) 2015-02-24 2015-02-24 File and move data to shrink datafiles

Publications (1)

Publication Number Publication Date
US20180373726A1 true US20180373726A1 (en) 2018-12-27

Family

ID=56690436

Family Applications (2)

Application Number Title Priority Date Filing Date
US14/629,583 Active 2035-12-25 US10067945B2 (en) 2015-02-24 2015-02-24 File and move data to shrink datafiles
US16/121,420 Abandoned US20180373726A1 (en) 2015-02-24 2018-09-04 File and Move Data to Shrink Datafiles

Family Applications Before (1)

Application Number Title Priority Date Filing Date
US14/629,583 Active 2035-12-25 US10067945B2 (en) 2015-02-24 2015-02-24 File and move data to shrink datafiles

Country Status (1)

Country Link
US (2) US10067945B2 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070016721A1 (en) * 2005-07-18 2007-01-18 Wyse Technology Inc. Flash file system power-up by using sequential sector allocation
US20070043924A1 (en) * 2004-06-21 2007-02-22 Takafumi Ito Method for controlling memory card and method for controlling nonvolatile semiconductor memory
US20070143563A1 (en) * 2005-12-16 2007-06-21 Microsoft Corporation Online storage volume shrink
US20110153972A1 (en) * 2009-12-23 2011-06-23 Quantum Corporation Free space defragmention in extent based file system
US20130041927A1 (en) * 2011-08-10 2013-02-14 Alibaba Group Holding Limited Shrinking Virtual Hard Disk Image
US8904137B1 (en) * 2011-05-12 2014-12-02 Symantec Corporation Deduplication system space recycling through inode manipulation

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6249792B1 (en) * 1998-12-16 2001-06-19 Microsoft Corporation On-line dynamic file shrink facility

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070043924A1 (en) * 2004-06-21 2007-02-22 Takafumi Ito Method for controlling memory card and method for controlling nonvolatile semiconductor memory
US20070016721A1 (en) * 2005-07-18 2007-01-18 Wyse Technology Inc. Flash file system power-up by using sequential sector allocation
US20070143563A1 (en) * 2005-12-16 2007-06-21 Microsoft Corporation Online storage volume shrink
US20110153972A1 (en) * 2009-12-23 2011-06-23 Quantum Corporation Free space defragmention in extent based file system
US8904137B1 (en) * 2011-05-12 2014-12-02 Symantec Corporation Deduplication system space recycling through inode manipulation
US20130041927A1 (en) * 2011-08-10 2013-02-14 Alibaba Group Holding Limited Shrinking Virtual Hard Disk Image

Also Published As

Publication number Publication date
US10067945B2 (en) 2018-09-04
US20160246808A1 (en) 2016-08-25

Similar Documents

Publication Publication Date Title
EP3535668B1 (en) Storage isolation for containers
US11288267B2 (en) Pluggable storage system for distributed file systems
US8086810B2 (en) Rapid defragmentation of storage volumes
US9852145B2 (en) Creation of synthetic backups within deduplication storage system by a backup application
US9239841B2 (en) Hash-based snapshots
US10430281B2 (en) Space efficient cascading point in time copying
US10409777B2 (en) Storing data in a file system
US20130282676A1 (en) Garbage collection-driven block thinning
US10725966B1 (en) Block level incremental backup for QCOW2 virtual disks
US11507474B2 (en) System and method for a backup and recovery of application using containerized backups comprising application data and application dependency information
US9183243B2 (en) Building a metadata index from source metadata records when creating a target volume for subsequent metadata access from the target volume
US20180101539A1 (en) Reducing read operations and branches in file system policy checks
US10503717B1 (en) Method for locating data on a deduplicated storage system using a SSD cache index
US11836050B2 (en) Methods and systems for differential based backups
US10387268B2 (en) Fast copy using file system block mappings
US10324807B1 (en) Fast native file system creation for backup files on deduplication systems
US20150378836A1 (en) Data Backup Recovery
US20180373726A1 (en) File and Move Data to Shrink Datafiles
US20160140132A1 (en) Online redistribution
US8909882B2 (en) Concurrent data processing using snapshot technology
US10691557B1 (en) Backup file recovery from multiple data sources
US10140051B1 (en) Backup files to a disk image
US20200333973A1 (en) Allocating snapshot group identifiers
CN111488242B (en) Method and system for tagging and routing striped backups to single deduplication instances on a deduplication device
US10289307B1 (en) Method for handling block errors on a deduplicated storage system

Legal Events

Date Code Title Description
STPP Information on status: patent application and granting procedure in general

Free format text: APPLICATION DISPATCHED FROM PREEXAM, NOT YET DOCKETED

STPP Information on status: patent application and granting procedure in general

Free format text: DOCKETED NEW CASE - READY FOR EXAMINATION

STPP Information on status: patent application and granting procedure in general

Free format text: FINAL REJECTION MAILED

STCB Information on status: application discontinuation

Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION