US20130007390A1 - Concurrent data processing using snapshot technology - Google Patents

Concurrent data processing using snapshot technology Download PDF

Info

Publication number
US20130007390A1
US20130007390A1 US13/610,577 US201213610577A US2013007390A1 US 20130007390 A1 US20130007390 A1 US 20130007390A1 US 201213610577 A US201213610577 A US 201213610577A US 2013007390 A1 US2013007390 A1 US 2013007390A1
Authority
US
United States
Prior art keywords
data
storage medium
snapshots
snapshot
secondary snapshots
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
US13/610,577
Inventor
Michael Factor
Vladimir Lipets
Paula Kim Ta-Shma
Avishay Traeger
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.)
International Business Machines Corp
Original Assignee
International Business Machines Corp
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 International Business Machines Corp filed Critical International Business Machines Corp
Priority to US13/610,577 priority Critical patent/US20130007390A1/en
Assigned to INTERNATIONAL BUSINESS MACHINES CORPORATION reassignment INTERNATIONAL BUSINESS MACHINES CORPORATION ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: LIPETS, VLADIMIR, TA-SHMA, PAULA KIM, TRAEGER, AVISHAY, FACTOR, MICHAEL
Publication of US20130007390A1 publication Critical patent/US20130007390A1/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/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • G06F16/254Extract, transform and load [ETL] procedures, e.g. ETL data flows in data warehouses
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1471Saving, restoring, recovering or retrying involving logging of persistent data for recovery
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • G06F16/258Data format conversion from or to a database
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore
    • G06F11/1451Management of the data involved in backup or backup restore by selection of backup contents
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2201/00Indexing scheme relating to error detection, to error correction, and to monitoring
    • G06F2201/84Using snapshots, i.e. a logical point-in-time copy of the data

Definitions

  • the claimed subject matter relates generally to concurrent data processing systems and, more particularly, to concurrent data processing using snapshot technology.
  • An extract, transform, and load (ETL) system refers to a system that processes data by extracting the data from an external source (e.g., database), transforming the data to fit the operational needs of a target system, and loading the data onto the target system (e.g., a data warehouse).
  • An ETL system is scalable if the ETL system is able to handle varying volumes of data by proportionally allocating lesser or additional resources to handle the data either at the source or the target.
  • the present disclosure is directed to systems and corresponding methods that facilitate data processing using snapshots.
  • a method for processing data using snapshots comprises generating a primary snapshot of data stored in a first storage medium, wherein the primary snapshot is a copy of the data stored in the first storage medium at a point in time; generating one or more secondary snapshots of the primary snapshot, wherein the secondary snapshots are copies of the data stored on the first storage medium at the point in time; and extracting the data stored in the first storage medium at the point in time by accessing the data included in the secondary snapshots, wherein multiple processing units concurrently transform the extracted data and load the transformed data onto a second storage medium.
  • a system comprising one or more logic units.
  • the one or more logic units are configured to perform the functions and operations associated with the above-disclosed methods.
  • a computer program product comprising a computer useable medium having a computer readable program is provided. The computer readable program when executed on a computer causes the computer to perform the functions and operations associated with the above-disclosed methods.
  • FIG. 1 illustrates an exemplary ETL environment, in accordance with one or more embodiments.
  • FIG. 2 is a flow diagram of a method for extracting and transforming data using snapshot technology, in accordance with one embodiment.
  • FIGS. 3 and 4 are block diagrams of hardware and software environments in which a system of the present invention may operate, in accordance with one or more embodiments.
  • an exemplary data processing environment 100 comprises a data processing system 110 , a source comprising a source storage medium 120 , and a target comprising a target storage medium 130 .
  • the data processing system 110 may include a processing unit comprising one or more processors 141 , 142 , 143 , 144 for concurrently transforming data extracted from the source storage medium 120 and loading the transformed data to the target storage medium 130 .
  • the transforming stage refers to applying a series of rules or functions to the data extracted from the source system to derive the data for loading into the target system.
  • one or more of the transformation types provided below may be performed to meet the business or technical requirements of a target system:
  • the loading phase refers to the process of loading the data into the target system, such as a data warehouse (DW).
  • the transformed data may overwrite existing information stored on the target storage medium 130 with cumulative, updated data or alternatively add new data in clusters.
  • a data recovery system 150 may be provided to support copying and recovery of data stored in the source storage medium 120 .
  • the data recovery system 150 may be implemented over a software, or a hardware platform, or a combination of both to perform data copying and recovery procedures as provided in further detail below.
  • the data recovery system 150 may include snapshot capabilities such as generation of snapshots, generation of snapshots of snapshots, or simultaneous modification of snapshots.
  • a snapshot refers to a point-in-time copy of a set of files or directories, a storage volume, or other storage medium.
  • the snapshot may be implemented using a copy-on-write mechanism that copies data stored in the storage medium, just before the data is modified, to preserve a self-consistent past image of the storage medium.
  • a snapshot when the snapshot is taken, selected data that is to be modified after the particular point in time is copied. Since the unmodified data is not copied, a snapshot can be generated a lot more efficiently than an entire backup of the data at a certain point in time. In other words, the time and copying needed to create the snapshot does not increase with the size of the snapshot data set created as a result of the snapshot, whereas the same for a direct backup is proportional to the size of the entire data set that is being backed up.
  • the data recovery system 150 may generate a snapshot (i.e., primary snapshot 160 ) of the source storage medium 120 and one or more snapshots of the primary snapshot 160 (e.g., secondary snapshots 171 , 172 , 173 , 174 ).
  • a primary snapshot refers to a snapshot of a storage medium
  • a secondary snapshot refers to a snapshot of the primary snapshot.
  • the number of secondary snapshots is desirably equal or proportional to the number of processing resources (e.g., processors 141 , 142 , 143 , 144 ) available at the data processing system 110 .
  • the processing resources are implemented to transform the data extracted from the source storage medium 120 and load it to the target storage medium 130 .
  • a data management system 180 may be implemented as a part of data processing system 110 or independent from the data processing system 110 to support extracting data from the secondary snapshots created by data recovery system 150 .
  • the data management system 180 is implemented over a software, or a hardware platform, or a combination of both to extract data which is to be transformed and loaded to target storage medium 130 .
  • the functions performed by data recovery system 150 and the data management system 180 may be combined or divided into one or more operational modules that execute over a local or distributed computing environment.
  • the data management system 180 may instantiate one or more application programming interfaces (APIs) to allow the processors 141 , 142 , 143 , 144 , respectively extract data from the secondary snapshots.
  • APIs 191 , 192 , 193 , 194 may be instantiated to support and control access to data on the secondary snapshots.
  • Data processing system 110 supports and controls the parallel and proportional allocation of data extracted from the secondary snapshots 171 , 172 , 173 , 174 , to the processors 141 , 142 , 143 , 144 , respectively.
  • a multiprocessing platform may be utilized to invoke multiple processes (e.g., multiple instances of a function or software application) to transform the data retrieved from the secondary snapshots 171 , 172 , 173 , 174 by way of the APIs 191 , 192 , 193 , 194 . Accordingly, the different data chunks stored on source storage medium 120 may be processed concurrently instead of sequentially once multiple APIs and processors are implemented to extract and transform the data.
  • the data processing system 110 may be an ETL system that extracts data from the source storage medium 120 , analyzes and transforms the data, and loads the data in the target storage medium 130 . To extract the data stored in the source storage medium 120 , the data processing system 110 determines whether parallel access to the source storage medium 120 is supported (P 200 ).
  • the data recovery system 140 If parallel access is not supported, the data recovery system 140 generates a snapshot of the source storage medium 120 (i.e., primary snapshot 150 ) and one or more snapshots of the primary snapshot 160 (i.e., secondary snapshots 171 , 172 , 173 , 174 ) (P 210 ).
  • the primary snapshot is desirably generated according to a data recovery scheme that recovers the data from the source storage medium 120 as if the data is being recovered after a power failure, for example. This exemplary scheme leads to improved performance and ensures that the secondary snapshots are consistent with each other, since the secondary snapshots are generated from the primary snapshot 160 .
  • both the primary snapshot 160 and the secondary snapshots 171 , 172 , 173 , 174 are copies of the source storage medium 120 at the same point in time. Also, as provided earlier, data that is subject to a snapshot is not physically copied, unless the data is modified after the particular point in time. Thus, the snapshot may be generated virtually instantaneously (i.e., on-demand and with relatively low latency and overhead) regardless of the total amount of data stored in the source storage medium 120 .
  • the primary or the secondary snapshots are generated according to a data recovery scheme that recovers the data from the source as if the data is being recovered after a power failure.
  • the data recovery system 150 is terminated and a data management system 180 API is instantiated for each of the secondary snapshots (i.e., APIs 191 , 192 , 193 , 194 ) (P 220 ).
  • the API instances 191 , 192 , 193 and 194 support data interface between the secondary snapshots 171 , 172 , 173 , 174 and the computing processors 141 , 142 , 143 , 144 , respectively, to allow the concurrent extraction of data from the secondary snapshots (P 230 ).
  • the source data on the secondary snapshots is proportionally distributed to the processors 141 , 142 , 143 , 144 according to their processing power and other related factors. For example, if the data stored in the source storage medium 120 can be divided into 100 data chunks and the processor 141 has twice the processing power of processors 142 , 143 , 144 , then 40 chunks of the data may be allocated to processor 141 , and 20 chunks of data may be allocated to processors 142 , 143 , and 144 each.
  • a partitioning algorithm may be utilized to divide data into distinct subsets. For example, if the data represents “Call Data Records”, the data may be divided according to “Calling Region.”
  • processors 141 , 142 , 143 , 144 may concurrently analyze, transform, and load the data onto the target storage medium 130 (P 240 ). For example, processor 141 may analyze, transform, and load the first 40 chunks of the data, and processors 142 , 143 and 144 may concurrently analyze, transform, and load the other 60 chunks of the data, 20 chunks each.
  • the primary snapshot 160 and the secondary snapshots 171 , 172 , 173 , 174 may be deleted by data management system 180 (P 250 ).
  • processors 141 , 142 , 143 , 144 are configurable to concurrently extract and transform the data stored on the secondary snapshots
  • the data processing system 110 is scalable with respect to extracting, transforming, and loading the data in target storage medium 130 . It is noteworthy that the amount of time utilized to generate the primary snapshot 160 and the secondary snapshots 171 , 172 , 173 , 174 to support parallel data extraction from the source storage medium 120 is relatively insignificant because, as provided earlier, the snapshots may be generated relatively instantaneously and inexpensively due to the efficient nature of the snapshot mechanism of the data recovery system 150 .
  • snapshots to process the data ensures operational efficiency and data consistency. Operational efficiency is ensured because data stored in the source storage medium 120 may be modified without disrupting data processing since the data is extracted from the secondary snapshots 171 , 172 , 173 , 174 instead of the source storage medium 120 . Data consistency is ensured because each of the secondary snapshots 171 , 172 , 173 , 174 is a snapshot of the primary snapshot 160 , and is thus consistent with the other secondary snapshots.
  • the claimed subject matter may be implemented either entirely in the form of hardware or entirely in the form of software, or a combination of both hardware and software elements.
  • the data processing environment 100 may comprise one or more controlled computing system environments that may be presented largely in terms of hardware components and software code executed to perform processes that achieve the results contemplated by the system of the claimed subject matter.
  • a computing system environment in accordance with an exemplary embodiment is composed of a hardware environment 1110 and a software environment 1120 .
  • the hardware environment 1110 comprises the machinery and equipment that provide an execution environment for the software; and the software environment 1120 provides the execution instructions for the hardware as provided below.
  • Software environment 1120 is divided into two major classes comprising system software 1121 and application software 1122 .
  • the data processing system 110 , the data recovery system 140 , or the data management system 180 may be implemented as system software 1121 or application software 1122 executed on one or more hardware environments to facilitate data processing using snapshots.
  • System software 1121 may comprise control programs, such as the operating system (OS) and information management systems that instruct the hardware how to function and process information.
  • Application software 1122 may comprise but is not limited to program code, data structures, firmware, resident software, microcode or any other form of information or routine that may be read, analyzed or executed by a microcontroller.
  • the claimed subject matter may be implemented as computer program product accessible from a computer-usable or computer-readable medium providing program code for use by or in connection with a computer or any instruction execution system.
  • a computer-usable or computer-readable medium may be any apparatus that can contain and store the program for use by or in connection with the instruction execution system, apparatus, or device.
  • the computer-readable medium may be an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system (or apparatus or device).
  • Examples of a computer-readable medium include a semiconductor or solid-state memory, magnetic tape, a removable computer diskette, a random access memory (RAM), a read-only memory (ROM), a rigid magnetic disk, and an optical disk.
  • Current examples of optical disks include compact disk read only memory (CD-ROM), compact disk read/write (CD-R/W) and digital video disk (DVD).
  • an embodiment of the application software 1122 may be implemented as computer software in the form of computer readable code executed on a data processing system such as hardware environment 1110 that comprises a processor 1101 coupled to one or more memory elements by way of a system bus 1100 .
  • the memory elements may comprise local memory 1102 , storage media 1106 , and cache memory 1104 .
  • Processor 1101 loads executable code from storage media 1106 to local memory 1102 .
  • Cache memory 1104 provides temporary storage to reduce the number of times code is loaded from storage media 1106 for execution.
  • a user interface device 1105 e.g., keyboard, pointing device, etc.
  • a display screen 1107 can be coupled to the computing system either directly or through an intervening I/O controller 1103 , for example.
  • a communication interface unit 1108 such as a network adapter, may be also coupled to the computing system to enable the data processing system to communicate with other data processing systems or remote printers or storage devices through intervening private or public networks. Wired or wireless modems and Ethernet cards are a few of the exemplary types of network adapters.
  • hardware environment 1110 may not include all the above components, or may comprise other components for additional functionality or utility.
  • hardware environment 1110 can be a laptop computer or other portable computing device embodied in an embedded system such as a set-top box, a personal data assistant (PDA), a mobile communication unit (e.g., a wireless phone), or other similar hardware platforms that have information processing and/or data storage and communication capabilities.
  • PDA personal data assistant
  • mobile communication unit e.g., a wireless phone
  • communication interface 1108 communicates with other systems by sending and receiving electrical, electromagnetic, or optical signals that carry digital data streams representing various types of information including program code.
  • the communication may be established by way of a remote network (e.g., the Internet), or alternatively by way of transmission over a carrier wave.
  • application software 1122 may comprise one or more computer programs that are executed on top of system software 1121 after being loaded from storage media 1106 into local memory 1102 .
  • application software 1122 may comprise client software and server software.
  • client software is executed on a personal computing system (not shown) and server software is executed on a server system (not shown).
  • Software environment 1120 may also comprise browser software 1126 for accessing data available over local or remote computing networks. Further, software environment 1120 may comprise a user interface 1124 (e.g., a Graphical User Interface (GUI)) for receiving user commands and data.
  • GUI Graphical User Interface
  • logic code programs, modules, processes, methods and the order in which the respective processes of each method are performed are purely exemplary. Depending on implementation, the processes can be performed in any order or in parallel, unless indicated otherwise in the present disclosure. Further, the logic code is not related, or limited to any particular programming language, and may comprise of one or more modules that execute on one or more processors in a distributed, non-distributed or multiprocessing environment. The noted processes may be carried out repeatedly or on demand

Abstract

A method for processing data using snapshots is provided. The method comprises generating a primary snapshot of data stored in a first storage medium, wherein the primary snapshot is a copy of the data stored in the first storage medium at a point in time; generating one or more secondary snapshots of the primary snapshot, wherein the secondary snapshots are copies of the data stored on the first storage medium at the point in time; and extracting the data stored in the first storage medium at the point in time by accessing the data included in the secondary snapshots, wherein multiple processing units concurrently transform the extracted data and load the transformed data onto a second storage medium.

Description

    CROSS-REFERENCE TO RELATED APPLICATION
  • This application is a continuation application of U.S. patent application Ser. No. 12/623,418 entitled, “CONCURRENT DATA PROCESSING USING SNAPSHOT TECHNOLOGY”, filed on Nov. 22, 2009 and is assigned to the same assignee in the present application, contents of which are incorporated by reference herein in its entirety.
  • COPYRIGHT & TRADEMARK NOTICES
  • A portion of the disclosure of this patent document contains material, which is subject to copyright protection. The owner has no objection to the facsimile reproduction by any one of the patent document or the patent disclosure, as it appears in the Patent and Trademark Office patent file or records, but otherwise reserves all copyrights whatsoever.
  • Certain marks referenced herein may be common law or registered trademarks of third parties affiliated or unaffiliated with the applicant or the assignee. Use of these marks is for providing an enabling disclosure by way of example and shall not be construed to limit the scope of the claimed subject matter to material associated with such marks.
  • TECHNICAL FIELD
  • The claimed subject matter relates generally to concurrent data processing systems and, more particularly, to concurrent data processing using snapshot technology.
  • BACKGROUND
  • An extract, transform, and load (ETL) system refers to a system that processes data by extracting the data from an external source (e.g., database), transforming the data to fit the operational needs of a target system, and loading the data onto the target system (e.g., a data warehouse). An ETL system is scalable if the ETL system is able to handle varying volumes of data by proportionally allocating lesser or additional resources to handle the data either at the source or the target.
  • In most ETL systems, concurrent extraction of data from a source and further management of the data for concurrent transformation and loading is not supported. The above results in a bottleneck effect which leads to inefficient management of the data across the entire system.
  • SUMMARY
  • The present disclosure is directed to systems and corresponding methods that facilitate data processing using snapshots.
  • For purposes of summarizing, certain aspects, advantages, and novel features have been described herein. It is to be understood that not all such advantages may be achieved in accordance with any one particular embodiment. Thus, the claimed subject matter may be embodied or carried out in a manner that achieves or optimizes one advantage or group of advantages without achieving all advantages as may be taught or suggested herein.
  • In accordance with one embodiment, a method for processing data using snapshots is provided. The method comprises generating a primary snapshot of data stored in a first storage medium, wherein the primary snapshot is a copy of the data stored in the first storage medium at a point in time; generating one or more secondary snapshots of the primary snapshot, wherein the secondary snapshots are copies of the data stored on the first storage medium at the point in time; and extracting the data stored in the first storage medium at the point in time by accessing the data included in the secondary snapshots, wherein multiple processing units concurrently transform the extracted data and load the transformed data onto a second storage medium.
  • In accordance with another embodiment, a system comprising one or more logic units is provided. The one or more logic units are configured to perform the functions and operations associated with the above-disclosed methods. In accordance with yet another embodiment, a computer program product comprising a computer useable medium having a computer readable program is provided. The computer readable program when executed on a computer causes the computer to perform the functions and operations associated with the above-disclosed methods.
  • One or more of the above-disclosed embodiments in addition to certain alternatives are provided in further detail below with reference to the attached figures. The claimed subject matter is not, however, limited to any particular embodiment disclosed.
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • Embodiments of the claimed subject matter are understood by referring to the figures in the attached drawings, as provided below.
  • FIG. 1 illustrates an exemplary ETL environment, in accordance with one or more embodiments.
  • FIG. 2 is a flow diagram of a method for extracting and transforming data using snapshot technology, in accordance with one embodiment.
  • FIGS. 3 and 4 are block diagrams of hardware and software environments in which a system of the present invention may operate, in accordance with one or more embodiments.
  • Features, elements, and aspects that are referenced by the same numerals in different figures represent the same, equivalent, or similar features, elements, or aspects, in accordance with one or more embodiments.
  • DETAILED DESCRIPTION OF EXEMPLARY EMBODIMENTS
  • In the following, numerous specific details are set forth to provide a thorough description of various embodiments of the claimed subject matter. Certain embodiments may be practiced without these specific details or with some variations in detail. In some instances, certain features are described in less detail so as not to obscure other aspects of the disclosed embodiments. The level of detail associated with each of the elements or features should not be construed to qualify the novelty or importance of one feature over the others.
  • Referring to FIG. 1, in accordance with one or more embodiments, an exemplary data processing environment 100 comprises a data processing system 110, a source comprising a source storage medium 120, and a target comprising a target storage medium 130. The data processing system 110 may include a processing unit comprising one or more processors 141, 142, 143, 144 for concurrently transforming data extracted from the source storage medium 120 and loading the transformed data to the target storage medium 130.
  • The transforming stage refers to applying a series of rules or functions to the data extracted from the source system to derive the data for loading into the target system. Depending on implementation, one or more of the transformation types provided below may be performed to meet the business or technical requirements of a target system:
      • Filtering
      • Sorting
      • Aggregation
      • Generating surrogate-key values
      • Joining data from multiple sources (e.g., lookup, merge)
      • Applying any form of simple or complex data validation.
      • Deriving a new calculated value (e.g., sale_amount=qty*unit_price)
      • Selecting certain columns to load or selecting null columns not to load
      • Encoding free-form values (e.g., mapping “Male” to “1” and “Mr” to M)
      • Transposing or pivoting (turning multiple columns into multiple rows or vice versa)
      • Splitting a column into multiple columns (e.g., putting a comma-separated list specified as a string in one column as individual values in different columns)
      • Disaggregation of repeating columns into a separate detail table (e.g., moving a series of addresses in one record into single addresses in a set of records in a linked address table)
      • Translating coded values (e.g., if the source system stores 1 for male and 2 for female, but the warehouse stores M for male and F for female), this calls for automated data cleansing;
  • The loading phase refers to the process of loading the data into the target system, such as a data warehouse (DW). In some implementations, the transformed data may overwrite existing information stored on the target storage medium 130 with cumulative, updated data or alternatively add new data in clusters.
  • In one embodiment, a data recovery system 150 may be provided to support copying and recovery of data stored in the source storage medium 120. Depending on implementation, the data recovery system 150 may be implemented over a software, or a hardware platform, or a combination of both to perform data copying and recovery procedures as provided in further detail below.
  • The data recovery system 150 may include snapshot capabilities such as generation of snapshots, generation of snapshots of snapshots, or simultaneous modification of snapshots. A snapshot refers to a point-in-time copy of a set of files or directories, a storage volume, or other storage medium. The snapshot may be implemented using a copy-on-write mechanism that copies data stored in the storage medium, just before the data is modified, to preserve a self-consistent past image of the storage medium.
  • In certain embodiments, advantageously, when the snapshot is taken, selected data that is to be modified after the particular point in time is copied. Since the unmodified data is not copied, a snapshot can be generated a lot more efficiently than an entire backup of the data at a certain point in time. In other words, the time and copying needed to create the snapshot does not increase with the size of the snapshot data set created as a result of the snapshot, whereas the same for a direct backup is proportional to the size of the entire data set that is being backed up.
  • Referring back to FIG. 1, the data recovery system 150 may generate a snapshot (i.e., primary snapshot 160) of the source storage medium 120 and one or more snapshots of the primary snapshot 160 (e.g., secondary snapshots 171, 172, 173, 174). As used herein, a primary snapshot refers to a snapshot of a storage medium, and a secondary snapshot refers to a snapshot of the primary snapshot. The number of secondary snapshots is desirably equal or proportional to the number of processing resources (e.g., processors 141, 142, 143, 144) available at the data processing system 110. The processing resources are implemented to transform the data extracted from the source storage medium 120 and load it to the target storage medium 130.
  • In one embodiment, a data management system 180 may be implemented as a part of data processing system 110 or independent from the data processing system 110 to support extracting data from the secondary snapshots created by data recovery system 150. In one embodiment, the data management system 180 is implemented over a software, or a hardware platform, or a combination of both to extract data which is to be transformed and loaded to target storage medium 130. In certain implementations, the functions performed by data recovery system 150 and the data management system 180 may be combined or divided into one or more operational modules that execute over a local or distributed computing environment.
  • The data management system 180 may instantiate one or more application programming interfaces (APIs) to allow the processors 141, 142, 143, 144, respectively extract data from the secondary snapshots. For example, APIs 191, 192, 193, 194 may be instantiated to support and control access to data on the secondary snapshots. Data processing system 110, in some embodiments, supports and controls the parallel and proportional allocation of data extracted from the secondary snapshots 171, 172, 173, 174, to the processors 141, 142, 143, 144, respectively.
  • In alternative embodiments, instead or in addition to utilizing processors 141, 142, 143, 144, a multiprocessing platform may be utilized to invoke multiple processes (e.g., multiple instances of a function or software application) to transform the data retrieved from the secondary snapshots 171, 172, 173, 174 by way of the APIs 191, 192, 193, 194. Accordingly, the different data chunks stored on source storage medium 120 may be processed concurrently instead of sequentially once multiple APIs and processors are implemented to extract and transform the data.
  • Referring to FIGS. 1 and 2, in accordance with one embodiment, the data processing system 110 may be an ETL system that extracts data from the source storage medium 120, analyzes and transforms the data, and loads the data in the target storage medium 130. To extract the data stored in the source storage medium 120, the data processing system 110 determines whether parallel access to the source storage medium 120 is supported (P200).
  • If parallel access is not supported, the data recovery system 140 generates a snapshot of the source storage medium 120 (i.e., primary snapshot 150) and one or more snapshots of the primary snapshot 160 (i.e., secondary snapshots 171, 172, 173, 174) (P210). The primary snapshot is desirably generated according to a data recovery scheme that recovers the data from the source storage medium 120 as if the data is being recovered after a power failure, for example. This exemplary scheme leads to improved performance and ensures that the secondary snapshots are consistent with each other, since the secondary snapshots are generated from the primary snapshot 160.
  • It is noteworthy that both the primary snapshot 160 and the secondary snapshots 171, 172, 173, 174 are copies of the source storage medium 120 at the same point in time. Also, as provided earlier, data that is subject to a snapshot is not physically copied, unless the data is modified after the particular point in time. Thus, the snapshot may be generated virtually instantaneously (i.e., on-demand and with relatively low latency and overhead) regardless of the total amount of data stored in the source storage medium 120.
  • In one embodiment, the primary or the secondary snapshots are generated according to a data recovery scheme that recovers the data from the source as if the data is being recovered after a power failure. In some implementations, once the primary and secondary snapshots are generated, the data recovery system 150 is terminated and a data management system 180 API is instantiated for each of the secondary snapshots (i.e., APIs 191, 192, 193, 194) (P220). The API instances 191, 192, 193 and 194 support data interface between the secondary snapshots 171, 172, 173, 174 and the computing processors 141, 142, 143, 144, respectively, to allow the concurrent extraction of data from the secondary snapshots (P230).
  • In one embodiment, the source data on the secondary snapshots is proportionally distributed to the processors 141, 142, 143, 144 according to their processing power and other related factors. For example, if the data stored in the source storage medium 120 can be divided into 100 data chunks and the processor 141 has twice the processing power of processors 142, 143, 144, then 40 chunks of the data may be allocated to processor 141, and 20 chunks of data may be allocated to processors 142, 143, and 144 each. In one example, a partitioning algorithm may be utilized to divide data into distinct subsets. For example, if the data represents “Call Data Records”, the data may be divided according to “Calling Region.”
  • Upon receiving the data by way of the API 191, 192, 193, 194, the processors 141, 142, 143, 144 may concurrently analyze, transform, and load the data onto the target storage medium 130 (P240). For example, processor 141 may analyze, transform, and load the first 40 chunks of the data, and processors 142, 143 and 144 may concurrently analyze, transform, and load the other 60 chunks of the data, 20 chunks each.
  • To accomplish the above, parallel access to the target storage medium 130 is supported in one or more embodiments. Once the data is processed (i.e., extracted, transformed, and loaded), the primary snapshot 160 and the secondary snapshots 171, 172, 173, 174 may be deleted by data management system 180 (P250).
  • Since processors 141, 142, 143, 144 are configurable to concurrently extract and transform the data stored on the secondary snapshots, the data processing system 110 is scalable with respect to extracting, transforming, and loading the data in target storage medium 130. It is noteworthy that the amount of time utilized to generate the primary snapshot 160 and the secondary snapshots 171, 172, 173, 174 to support parallel data extraction from the source storage medium 120 is relatively insignificant because, as provided earlier, the snapshots may be generated relatively instantaneously and inexpensively due to the efficient nature of the snapshot mechanism of the data recovery system 150.
  • Further, using snapshots to process the data ensures operational efficiency and data consistency. Operational efficiency is ensured because data stored in the source storage medium 120 may be modified without disrupting data processing since the data is extracted from the secondary snapshots 171, 172, 173, 174 instead of the source storage medium 120. Data consistency is ensured because each of the secondary snapshots 171, 172, 173, 174 is a snapshot of the primary snapshot 160, and is thus consistent with the other secondary snapshots.
  • In different embodiments, the claimed subject matter may be implemented either entirely in the form of hardware or entirely in the form of software, or a combination of both hardware and software elements. For example, the data processing environment 100 may comprise one or more controlled computing system environments that may be presented largely in terms of hardware components and software code executed to perform processes that achieve the results contemplated by the system of the claimed subject matter.
  • Referring to FIGS. 3 and 4, a computing system environment in accordance with an exemplary embodiment is composed of a hardware environment 1110 and a software environment 1120. The hardware environment 1110 comprises the machinery and equipment that provide an execution environment for the software; and the software environment 1120 provides the execution instructions for the hardware as provided below.
  • As provided here, software elements that are executed on the illustrated hardware elements are described in terms of specific logical/functional relationships. It should be noted, however, that the respective methods implemented in software may be also implemented in hardware by way of configured and programmed processors, ASICs (application specific integrated circuits), FPGAs (Field Programmable Gate Arrays) and DSPs (digital signal processors), for example.
  • Software environment 1120 is divided into two major classes comprising system software 1121 and application software 1122. In one embodiment, the data processing system 110, the data recovery system 140, or the data management system 180 may be implemented as system software 1121 or application software 1122 executed on one or more hardware environments to facilitate data processing using snapshots.
  • System software 1121 may comprise control programs, such as the operating system (OS) and information management systems that instruct the hardware how to function and process information. Application software 1122 may comprise but is not limited to program code, data structures, firmware, resident software, microcode or any other form of information or routine that may be read, analyzed or executed by a microcontroller.
  • In an alternative embodiment, the claimed subject matter may be implemented as computer program product accessible from a computer-usable or computer-readable medium providing program code for use by or in connection with a computer or any instruction execution system. For the purposes of this description, a computer-usable or computer-readable medium may be any apparatus that can contain and store the program for use by or in connection with the instruction execution system, apparatus, or device.
  • The computer-readable medium may be an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system (or apparatus or device). Examples of a computer-readable medium include a semiconductor or solid-state memory, magnetic tape, a removable computer diskette, a random access memory (RAM), a read-only memory (ROM), a rigid magnetic disk, and an optical disk. Current examples of optical disks include compact disk read only memory (CD-ROM), compact disk read/write (CD-R/W) and digital video disk (DVD).
  • Referring to FIG. 3, an embodiment of the application software 1122 may be implemented as computer software in the form of computer readable code executed on a data processing system such as hardware environment 1110 that comprises a processor 1101 coupled to one or more memory elements by way of a system bus 1100. The memory elements, for example, may comprise local memory 1102, storage media 1106, and cache memory 1104. Processor 1101 loads executable code from storage media 1106 to local memory 1102. Cache memory 1104 provides temporary storage to reduce the number of times code is loaded from storage media 1106 for execution.
  • A user interface device 1105 (e.g., keyboard, pointing device, etc.) and a display screen 1107 can be coupled to the computing system either directly or through an intervening I/O controller 1103, for example. A communication interface unit 1108, such as a network adapter, may be also coupled to the computing system to enable the data processing system to communicate with other data processing systems or remote printers or storage devices through intervening private or public networks. Wired or wireless modems and Ethernet cards are a few of the exemplary types of network adapters.
  • In one or more embodiments, hardware environment 1110 may not include all the above components, or may comprise other components for additional functionality or utility. For example, hardware environment 1110 can be a laptop computer or other portable computing device embodied in an embedded system such as a set-top box, a personal data assistant (PDA), a mobile communication unit (e.g., a wireless phone), or other similar hardware platforms that have information processing and/or data storage and communication capabilities.
  • In some embodiments of the system, communication interface 1108 communicates with other systems by sending and receiving electrical, electromagnetic, or optical signals that carry digital data streams representing various types of information including program code. The communication may be established by way of a remote network (e.g., the Internet), or alternatively by way of transmission over a carrier wave.
  • Referring to FIG. 4, application software 1122 may comprise one or more computer programs that are executed on top of system software 1121 after being loaded from storage media 1106 into local memory 1102. In a client-server architecture, application software 1122 may comprise client software and server software. For example, in one embodiment, client software is executed on a personal computing system (not shown) and server software is executed on a server system (not shown).
  • Software environment 1120 may also comprise browser software 1126 for accessing data available over local or remote computing networks. Further, software environment 1120 may comprise a user interface 1124 (e.g., a Graphical User Interface (GUI)) for receiving user commands and data. Please note that the hardware and software architectures and environments described above are for purposes of example, and one or more embodiments of the invention may be implemented over any type of system architecture or processing environment.
  • It should also be understood that the logic code, programs, modules, processes, methods and the order in which the respective processes of each method are performed are purely exemplary. Depending on implementation, the processes can be performed in any order or in parallel, unless indicated otherwise in the present disclosure. Further, the logic code is not related, or limited to any particular programming language, and may comprise of one or more modules that execute on one or more processors in a distributed, non-distributed or multiprocessing environment. The noted processes may be carried out repeatedly or on demand
  • The claimed subject matter has been described above with reference to one or more features or embodiments. Those skilled in the art will recognize, however, that changes and modifications may be made to these embodiments without departing from the scope of the claimed subject matter. These and various other adaptations and combinations of the embodiments disclosed are within the scope of the claimed subject matter as defined by the claims and their full scope of equivalents.

Claims (10)

1. A method for processing data using snapshots, the method comprising:
generating a primary snapshot of data stored in a first storage medium, wherein the primary snapshot is a copy of the data stored in the first storage medium at a point in time;
generating one or more secondary snapshots of the primary snapshot, wherein the secondary snapshots are copies of the data stored on the first storage medium at the point in time; and
extracting the data stored in the first storage medium at the point in time by accessing the data included in the secondary snapshots, wherein multiple processing units concurrently transform the extracted data and load the transformed data onto a second storage medium.
2. The method of claim 1, wherein the data stored in the first storage medium is modified after the point in time without disrupting processing of the data.
3. The method of claim 1, wherein the primary snapshot is generated by way of a data recovery scheme.
4. The method of claim 3, wherein the secondary snapshots are generated according to a data recovery scheme that recovers the data from the primary snapshot as if the data is being recovered after a power failure.
5. The method of claim 1, wherein the multiple processing units extract the data from the secondary snapshots in parallel.
6. The method of claim 1, wherein the multiple processing units transform the data in parallel.
7. The method of claim 1, wherein the multiple processing units load the data in a second storage medium in parallel.
8. The method of claim 1, further comprising deleting the primary and secondary snapshots after processing the data.
9. The method of claim 1, wherein a data management system supports parallel access to the secondary snapshots.
10. The method of claim 1, wherein the data management system communicates with an application programming interface (API) for each of the secondary snapshots to allow the data processing units extract data from the secondary snapshots in parallel, wherein the data management system distribute to each API a proportional distribution of the data that is to be processed by a processing unit corresponding to each API.
US13/610,577 2009-11-22 2012-09-11 Concurrent data processing using snapshot technology Abandoned US20130007390A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US13/610,577 US20130007390A1 (en) 2009-11-22 2012-09-11 Concurrent data processing using snapshot technology

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US12/623,418 US8909882B2 (en) 2009-11-22 2009-11-22 Concurrent data processing using snapshot technology
US13/610,577 US20130007390A1 (en) 2009-11-22 2012-09-11 Concurrent data processing using snapshot technology

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
US12/623,418 Continuation US8909882B2 (en) 2009-11-22 2009-11-22 Concurrent data processing using snapshot technology

Publications (1)

Publication Number Publication Date
US20130007390A1 true US20130007390A1 (en) 2013-01-03

Family

ID=44062942

Family Applications (2)

Application Number Title Priority Date Filing Date
US12/623,418 Expired - Fee Related US8909882B2 (en) 2009-11-22 2009-11-22 Concurrent data processing using snapshot technology
US13/610,577 Abandoned US20130007390A1 (en) 2009-11-22 2012-09-11 Concurrent data processing using snapshot technology

Family Applications Before (1)

Application Number Title Priority Date Filing Date
US12/623,418 Expired - Fee Related US8909882B2 (en) 2009-11-22 2009-11-22 Concurrent data processing using snapshot technology

Country Status (1)

Country Link
US (2) US8909882B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180025054A1 (en) * 2016-07-25 2018-01-25 Minghua Xu Event-driven architecture using rolling aggregates

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104536852B (en) * 2014-12-31 2017-01-25 华为技术有限公司 Data recovery method and device
CN112214454B (en) * 2020-12-02 2021-02-26 长沙树根互联技术有限公司 Data processing method, ETL system, server and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7546431B2 (en) * 2005-03-21 2009-06-09 Emc Corporation Distributed open writable snapshot copy facility using file migration policies

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020161778A1 (en) 2001-02-24 2002-10-31 Core Integration Partners, Inc. Method and system of data warehousing and building business intelligence using a data storage model
US20040139125A1 (en) 2001-06-05 2004-07-15 Roger Strassburg Snapshot copy of data volume during data access
US7761573B2 (en) 2005-12-07 2010-07-20 Avaya Inc. Seamless live migration of virtual machines across optical networks
NO326041B1 (en) 2007-02-08 2008-09-01 Fast Search & Transfer As Procedure for managing data storage in a system for searching and retrieving information

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7546431B2 (en) * 2005-03-21 2009-06-09 Emc Corporation Distributed open writable snapshot copy facility using file migration policies

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180025054A1 (en) * 2016-07-25 2018-01-25 Minghua Xu Event-driven architecture using rolling aggregates
US11182384B2 (en) * 2016-07-25 2021-11-23 Visa International Service Association Event-driven architecture using rolling aggregates

Also Published As

Publication number Publication date
US20110125978A1 (en) 2011-05-26
US8909882B2 (en) 2014-12-09

Similar Documents

Publication Publication Date Title
US8176272B2 (en) Incremental backup using snapshot delta views
US20230244516A1 (en) Dynamic image composition for container deployment
US20210374016A1 (en) Synchronization of a database by restoring copies of changed database objects
US8683156B2 (en) Format-preserving deduplication of data
US8738883B2 (en) Snapshot creation from block lists
US8489799B2 (en) Efficient loading of data into memory of a computing system
US20170116088A1 (en) Virtual machine data protection
US11321190B2 (en) Distributed framework for task splitting and task assignments in a content indexing system
US8185496B2 (en) Separating file data streams to enhance progressive incremental processing
US11221992B2 (en) Storing data files in a file system
US11010401B2 (en) Efficient snapshot generation of data tables
US20200401320A1 (en) Efficient Non-Uniform Object Processing
US11263088B2 (en) Distributed architecture for tracking content indexing
US20130282676A1 (en) Garbage collection-driven block thinning
US20190087286A1 (en) Distributed architecture for content indexing using restored secondary copies
US11645169B2 (en) Dynamic resizing and re-distribution of destination data storage resources for bare metal restore operations in a data storage management system
US8140485B2 (en) Data recovery using a minimum number of recovery streams
US20130007390A1 (en) Concurrent data processing using snapshot technology
US9678972B2 (en) Packing deduplicated data in a self-contained deduplicated repository
US9594635B2 (en) Systems and methods for sequential resilvering
US20200409570A1 (en) Snapshots for any point in time replication
US20230134314A1 (en) Change block tracking in cloud orchestration systems
US20230131765A1 (en) Backup and restore of arbitrary data
US11500896B2 (en) Method and system for selectively separating organization data according to business division
CN111435299A (en) Application processing method and device

Legal Events

Date Code Title Description
AS Assignment

Owner name: INTERNATIONAL BUSINESS MACHINES CORPORATION, NEW Y

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:FACTOR, MICHAEL;LIPETS, VLADIMIR;TA-SHMA, PAULA KIM;AND OTHERS;SIGNING DATES FROM 20091115 TO 20091117;REEL/FRAME:029509/0264

STCB Information on status: application discontinuation

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