(19)
(11)EP 3 019 980 B1

(12)EUROPEAN PATENT SPECIFICATION

(45)Mention of the grant of the patent:
11.03.2020 Bulletin 2020/11

(21)Application number: 14745028.2

(22)Date of filing:  08.07.2014
(51)International Patent Classification (IPC): 
G06F 16/21(2019.01)
(86)International application number:
PCT/US2014/045721
(87)International publication number:
WO 2015/006308 (15.01.2015 Gazette  2015/02)

(54)

AUTOMATED DATABASE MIGRATION ARCHITECTURE

AUTOMATISIERTE DATENBANKMIGRATIONSARCHITEKTUR

ARCHITECTURE DE MIGRATION DE BASE DE DONNÉES AUTOMATIQUE


(84)Designated Contracting States:
AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MK MT NL NO PL PT RO RS SE SI SK SM TR

(30)Priority: 09.07.2013 US 201313937868

(43)Date of publication of application:
18.05.2016 Bulletin 2016/20

(73)Proprietor: Oracle International Corporation
Redwood Shores, California 94065 (US)

(72)Inventors:
  • HIGGINSON, Antony
    Widnes Cheshire WA8 4LY (GB)
  • MATERSON, John
    Co. Meath (IE)
  • FITZPATRICK, Sean
    Co. Wicklow (IE)
  • ROBERTSHAW, Peter
    London N1 3DH (GB)
  • SPIEGELBERG, Elmar
    50181 Bedburg (DE)
  • BUHNE, Stephan
    45277 Essen (DE)
  • WEICK, Michael
    68542 Heddesheim (DE)
  • BALCH, Nick
    High Wycombe Bucks HP143HQ (GB)
  • POPESCU, Florin
    R-022434 Bucharest (RO)

(74)Representative: Gill Jennings & Every LLP 
The Broadgate Tower 20 Primrose Street
London EC2A 2ES
London EC2A 2ES (GB)


(56)References cited: : 
US-A1- 2012 265 726
US-B1- 7 548 898
  
  • LEITE F L ET AL: "Migratool: Towards a Web-Based Spatial Database Migration Tool", DATABASE AND EXPERT SYSTEMS APPLICATIONS, 2005. PROCEEDINGS. SIXTEENTH INTERNATIONAL WORKSHOP ON COPENHAGEN, DENMARK 22-26 AUG. 2005, PISCATAWAY, NJ, USA,IEEE, 22 August 2005 (2005-08-22), pages 480-484, XP010835638, ISBN: 978-0-7695-2424-5
  • TAO YU ET AL: "Intelligent Database Placement in Cloud Environment", WEB SERVICES (ICWS), 2012 IEEE 19TH INTERNATIONAL CONFERENCE ON, IEEE, 24 June 2012 (2012-06-24), pages 544-551, XP032217732, DOI: 10.1109/ICWS.2012.74 ISBN: 978-1-4673-2131-0
  
Note: Within nine months from the publication of the mention of the grant of the European patent, any person may give notice to the European Patent Office of opposition to the European patent granted. Notice of opposition shall be filed in a written reasoned statement. It shall not be deemed to have been filed until the opposition fee has been paid. (Art. 99(1) European Patent Convention).


Description

CROSS-REFERENCES TO RELATED APPLICATIONS



[0001] The present application is related to the following co-pending and commonly assigned U.S. Patent Applications:
  • U.S. Patent Application No. 13/937,977 (Attorney Docket Number 88325-860490 (135800US)) filed concurrent herewith by Higginson and entitled "METHOD AND SYSTEM FOR REDUCING INSTABILITY WHEN UPGRADING SOFTWARE;"
  • U.S. Patent Application No. 13/938,061 (Attorney Docket Number 88325-870368 (137700US)) filed concurrent herewith by Davis and entitled "CONSOLIDATION PLANNING SERVICES FOR SYSTEMS MIGRATION;"
  • U.S. Patent Application No. 13/938,066 (Attorney Docket Number 88325-870369 (137800US)) filed concurrent herewith by Davis and entitled "MIGRATION SERVICES FOR SYSTEMS;"
  • U.S. Patent Application No. 13/937,885 (Attorney Docket Number 88325-870374 (137900US)) filed concurrent herewith by Higginson et al. and entitled "DATABASE MODELING AND ANALYSIS;"
  • U.S. Patent Application No. 13/937,344 (Attorney Docket Number 88325-870381 (138100US)) filed concurrent herewith by Raghunathan et al. and entitled "CLOUD SERVICES LOAD TESTING AND ANALYSIS;"
  • U.S. Patent Application No. 13/937,483 (Attorney Docket Number 88325-870383 (138200US)) filed concurrent herewith by Raghunathan et al. and entitled "CLOUD SERVICES PERFORMANCE TUNING AND BENCHMARKING;"
  • U.S. Patent Application No. 13/937,988 (Attorney Docket Number 88325-870382 (138300US)) filed concurrent herewith by Buehne et al. and entitled "SOLUTION TO GENERATE A SCRIPTSET FOR AN AUTOMATED DATABASE MIGRATION;"
  • U.S. Patent Application No. 13/937,545 (Attorney Docket Number 88325-870410 (138400US)) filed concurrent herewith by Buehne et al. and entitled "ONLINE DATABASE MIGRATION;"
  • U.S. Patent Application No. 13/937,486 (Attorney Docket Number 88325-870409 (138500US)) filed concurrent herewith by Buehne et al. and entitled "DYNAMIC MIGRATION SCRIPT MANAGEMENT;" and
  • U.S. Patent Application No. 13/937,970 (Attorney Docket Number 88325-870401 (138600US)) filed concurrent herewith by Masterson et al. and entitled "ADVANCED CUSTOMER SUPPORT SERVICES - ADVANCED SUPPORT CLOUD PORTAL,".

BACKGROUND



[0002] Data migration may generally include transferring any type of data from one storage device, format, or system to another sotrage device, format, or system. Data migration is often required when organizations or individuals upgrade computer systems, merge existing systems, replatform operating systems in which the database resides, or transfer data between locations. Generally, data must be extracted from the old system and loaded onto the new system if the existing database operating system is not compatible with a migration that is acceptable to a business. For example, it may be necessary to move data between databases when switching to a new database vendor or upgrading an existing version of a database. This may include physical data migration and may change the underlying data format.

[0003] The document D1 (US2012/265726) discloses a method for analysing, migrating, and validating data from a source environment (i.e. a RDBMS system) to a target environment (i.e. a data warehouse).

[0004] The document D2 (US7548898) discloses the migration of data from plural source tables in a source database system to a target database system.

BRIEF SUMMARY



[0005] According to aspects of the invention there is provided: a method of migrating data from one or more source databases to one or more target databases may be presented according to appended claim 1; a computer-readable memory comprising a sequence of instructions according to appended claim 10; and a system according to appended claim 11.

[0006] In one embodiment, a method of migrating data from one or more source databases to one or more target databases may be presented. The method may include generating a pre-migration analysis for a plurality of objects stored in the one or more source databases. The method may also include generating a plurality of migration scripts that transfer the plurality of objects from the one or more source databases to the one or more target databases. The method may additionally include generating a migration plan that defines an execution order for the plurality of migration scripts. The method may further include migrating the plurality of objects from the one or more source databases to one or more target databases according to the migration plan. The method may also include validating the plurality of objects on the one or more target databases.

[0007] In some embodiments, the one or more target databases may be a single target database, the one or more source databases may be a plurality of source databases, and the plurality of source databases may be migrated to the single target database. The method may also include presenting the pre-migration analysis in a portal display of a cloud service that is remotely located from the one or more source databases and the one or more target databases. The method may additionally include presenting a post-migration report in a portal display of a cloud service that is remotely located from the one or more source databases and the one or more target databases, where the post-migration report may include data resulting from the validating of the plurality of objects on the one or more target databases. The method may further include presenting a real-time migration report in the portal display of the cloud service, where the real-time migration report indicates progress while migrating the plurality of objects from the one or more source databases to one or more target databases according to the migration plan.

[0008] In some embodiments, the method may also include receiving one or more manual parameter adjustments during migration, and altering the migration plan during the migration according to the one or more manual parameter adjustments. The pre-migration analysis mat include classifying the plurality objects, identifying installed database options, and identifying complex objects that require special handling during the migration, and reconfiguring the complex objects such that a number of instances where the complex objects are unavailable is reduced. Each of the plurality of objects may be associated with a corresponding one of the plurality of migration scripts. The migration plan may further define which of the plurality of migration scripts can be executed in parallel during migration. The migration plan may further define an execution timing for the plurality of migration scripts. The pre-migration analysis may include information received from a database modeling analysis of a cloud service that is remotely located from the one or more source databases. Validating the plurality of objects on the one or more target databases may include determining a set of invalid objects in the one or more source databases, and determining whether the set of invalid objects were correctly migrated to the one or more target databases. Validating the plurality of objects on the one or more target databases may alternatively or additionally include determining whether a row count from the one or more source databases matches a row count from the one or more target databases.

[0009] In another embodiment, a computer-readable memory may be presented. The computer-readable memory may comprise a sequence of instructions which, when executed by one or more processors, causes the one or more processors to migrate data from one or more source databases to one or more target databases. The instructions may cause the processor(s) to generate a pre-migration analysis for a plurality of objects stored in the one or more source databases. The instructions may also cause the processor(s) to generate a plurality of migration scripts that transfer the plurality of objects from the one or more source databases to the one or more target databases. The instructions may additionally cause the processor(s) to generate a migration plan that defines an execution order for the plurality of migration scripts. The instructions may further cause the processor(s) to migrate the plurality of objects from the one or more source databases to one or more target databases according to the migration plan. The instructions may also cause the processor(s) to validate the plurality of objects on the one or more target databases.

[0010] In yet another embodiment, a system may be presented. The system may include one or more processors and a memory communicatively coupled with and readable by the one or more processors. The memory may comprise a sequence of instructions which, when executed by the one or more processors, cause the one or more processors to migrate data from one or more source databases to one or more target databases. The instructions may cause the processor(s) to generate a pre-migration analysis for a plurality of objects stored in the one or more source databases. The instructions may also cause the processor(s) to generate a plurality of migration scripts that transfer the plurality of objects from the one or more source databases to the one or more target databases. The instructions may additionally cause the processor(s) to generate a migration plan that defines an execution order for the plurality of migration scripts. The instructions may further cause the processor(s) to migrate the plurality of objects from the one or more source databases to one or more target databases according to the migration plan. The instructions may also cause the processor(s) to validate the plurality of objects on the one or more target databases.

BRIEF DESCRIPTION OF THE DRAWINGS



[0011] A further understanding of the nature and advantages of the present invention may be realized by reference to the remaining portions of the specification and the drawings, wherein like reference numerals are used throughout the several drawings to refer to similar components. In some instances, a sub-label is associated with a reference numeral to denote one of multiple similar components. When reference is made to a reference numeral without specification to an existing sub-label, it is intended to refer to all such multiple similar components.

FIG. 1 illustrates a block diagram of components of an exemplary operating environment in which various embodiments of the present invention may be implemented.

FIG. 2 illustrates a block diagram of an exemplary computer system in which embodiments of the present invention may be implemented.

FIG. 3 illustrates a block diagram of a cloud-based environment for providing support to a customer through a gateway, according to one embodiment.

FIG. 4 illustrates a block diagram of a gateway, according to one embodiment.

FIG. 5 illustrates a block diagram of a gateway during database migration, according to one embodiment.

FIG. 6 illustrates a block diagram of a portal provided by a cloud service for database migration, according to one embodiment.

FIG. 7 illustrates a flowchart of a method for performing a pre-migration analysis and generating a migration plan, according to one embodiment.

FIG. 8 illustrates a flowchart of a method for preparing to run a migration plan, according to one embodiment.

FIG. 9 illustrates a flowchart of a method for executing a migration plan that allows for dynamic customer tuning, according to one embodiment.

FIG. 10 illustrates a flowchart of a method for validating a database migration, according to one embodiment.

FIG. 11 illustrates a flowchart of a generalized method for migrating databases, according to one embodiment.

FIG. 12 illustrates a portal interface for selecting source and/or target databases for migration, according to one embodiment.

FIG. 13 illustrates a portal interface for viewing source and/or target databases, according to one embodiment.

FIG. 14 illustrates a portal interface for a migration manager, according to one embodiment.

FIG. 15 illustrates a portal interface for viewing the results of a database migration, according to one embodiment.

FIG. 16 illustrates a portal interface for determining if objects are missing after the migration, according to one embodiment.

FIG. 17 illustrates a portal interface for validating row counts after migration, according to one embodiment.


DETAILED DESCRIPTION



[0012] In the following description, for the purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of various embodiments of the present invention. It will be apparent, however, to one skilled in the art that embodiments of the present invention may be practiced without some of these specific details. In other instances, well-known structures and devices are shown in block diagram form.

[0013] The ensuing description provides exemplary embodiments only, and is not intended to limit the scope, applicability, or configuration of the disclosure. Rather, the ensuing description of the exemplary embodiments will provide those skilled in the art with an enabling description for implementing an exemplary embodiment. It should be understood that various changes may be made in the function and arrangement of elements without departing from the scope of the invention as set forth in the appended claims.

[0014] Specific details are given in the following description to provide a thorough understanding of the embodiments. However, it will be understood by one of ordinary skill in the art that the embodiments may be practiced without these specific details. For example, circuits, systems, networks, processes, and other components may be shown as components in block diagram form in order not to obscure the embodiments in unnecessary detail. In other instances, well-known circuits, processes, algorithms, structures, and techniques may be shown without unnecessary detail in order to avoid obscuring the embodiments.

[0015] Also, it is noted that individual embodiments may be described as a process which is depicted as a flowchart, a flow diagram, a data flow diagram, a structure diagram, or a block diagram. Although a flowchart may describe the operations as a sequential process, many of the operations can be performed in parallel or concurrently. In addition, the order of the operations may be re-arranged. A process is terminated when its operations are completed, but could have additional steps not included in a figure. A process may correspond to a method, a function, a procedure, a subroutine, a subprogram, etc. When a process corresponds to a function, its termination can correspond to a return of the function to the calling function or the main function.

[0016] The term " machine-readable medium" includes, but is not limited to portable or fixed storage devices, optical storage devices, wireless channels and various other mediums capable of storing, containing or carrying instruction(s) and/or data. A code segment or machine-executable instructions may represent a procedure, a function, a subprogram, a program, a routine, a subroutine, a module, a software package, a class, or any combination of instructions, data structures, or program statements. A code segment may be coupled to another code segment or a hardware circuit by passing and/or receiving information, data, arguments, parameters, or memory contents. Information, arguments, parameters, data, etc., may be passed, forwarded, or transmitted via any suitable means including memory sharing, message passing, token passing, network transmission, etc.

[0017] Furthermore, embodiments may be implemented by hardware, software, firmware, middleware, microcode, hardware description languages, or any combination thereof. When implemented in software, firmware, middleware or microcode, the program code or code segments to perform the necessary tasks may be stored in a machine readable medium. A processor(s) may perform the necessary tasks.

[0018] Each of the embodiments disclosed herein may be implemented in a general-purpose computer system. FIG. 1 is a block diagram illustrating components of an exemplary operating environment in which various embodiments of the present invention may be implemented. The system 100 can include one or more user computers 105, 110, which may be used to operate a client, whether a dedicated application, web browser, etc. The user computers 105, 110 can be general purpose personal computers (including, merely by way of example, personal computers and/or laptop computers running various versions of Microsoft Corp.'s Windows and/or Apple Corp.'s Macintosh operating systems) and/or workstation computers running any of a variety of commercially-available UNIX or UNIX-like operating systems (including without limitation, the variety of GNU/Linux operating systems). These user computers 105, 110 may also have any of a variety of applications, including one or more development systems, database client and/or server applications, and web browser applications. Alternatively, the user computers 105, 110 may be any other electronic device, such as a thin-client computer, Internet-enabled mobile telephone, and/or personal digital assistant, capable of communicating via a network (e.g., the network 115 described below) and/or displaying and navigating web pages or other types of electronic documents. Although the exemplary system 100 is shown with two user computers, any number of user computers may be supported.

[0019] In some embodiments, the system 100 may also include a network 115. The network may can be any type of network familiar to those skilled in the art that can support data communications using any of a variety of commercially-available protocols, including without limitation TCP/IP, SNA, IPX, AppleTalk, and the like. Merely by way of example, the network 115 may be a local area network ("LAN"), such as an Ethernet network, a Token-Ring network and/or the like; a wide-area network; a virtual network, including without limitation a virtual private network ("VPN"); the Internet; an intranet; an extranet; a public switched telephone network ("PSTN"); an infra-red network; a wireless network (e.g., a network operating under any of the IEEE 802.11 suite of protocols, the Bluetooth protocol known in the art, and/or any other wireless protocol); and/or any combination of these and/or other networks such as GSM, GPRS, EDGE, UMTS, 3G, 2.5 G, CDMA, CDMA2000, WCDMA, EVDO etc.

[0020] The system may also include one or more server computers 120, 125, 130 which can be general purpose computers and/or specialized server computers (including, merely by way of example, PC servers, UNIX servers, mid-range servers, mainframe computers rack-mounted servers, etc.). One or more of the servers (e.g., 130) may be dedicated to running applications, such as a business application, a web server, application server, etc. Such servers may be used to process requests from user computers 105, 110. The applications can also include any number of applications for controlling access to resources of the servers 120, 125, 130.

[0021] The web server can be running an operating system including any of those discussed above, as well as any commercially-available server operating systems. The web server can also run any of a variety of server applications and/or mid-tier applications, including HTTP servers, FTP servers, CGI servers, database servers, Java servers, business applications, and the like. The server(s) also may be one or more computers which can be capable of executing programs or scripts in response to the user computers 105, 110. As one example, a server may execute one or more web applications. The web application may be implemented as one or more scripts or programs written in any programming language, such as Java™, C, C# or C++, and/or any scripting language, such as Perl, Python, or TCL, as well as combinations of any programming/scripting languages. The server(s) may also include database servers, including without limitation those commercially available from Oracle®, Microsoft®, Sybase®, IBM® and the like, which can process requests from database clients running on a user computer 105, 110.

[0022] In some embodiments, an application server may create web pages dynamically for displaying on an end-user (client) system. The web pages created by the web application server may be forwarded to a user computer 105 via a web server. Similarly, the web server can receive web page requests and/or input data from a user computer and can forward the web page requests and/or input data to an application and/or a database server. Those skilled in the art will recognize that the functions described with respect to various types of servers may be performed by a single server and/or a plurality of specialized servers, depending on implementation-specific needs and parameters.

[0023] The system 100 may also include one or more databases 135. The database(s) 135 may reside in a variety of locations. By way of example, a database 135 may reside on a storage medium local to (and/or resident in) one or more of the computers 105, 110, 115, 125, 130. Alternatively, it may be remote from any or all of the computers 105, 110, 115, 125, 130, and/or in communication (e.g., via the network 120) with one or more of these. In a particular set of embodiments, the database 135 may reside in a storage-area network ("SAN") familiar to those skilled in the art. Similarly, any necessary files for performing the functions attributed to the computers 105, 110, 115, 125, 130 may be stored locally on the respective computer and/or remotely, as appropriate. In one set of embodiments, the database 135 may be a relational database, such as Oracle 9i, 10g, 11, etc., that is adapted to store, update, and retrieve data in response to SQL-formatted commands.

[0024] FIG. 2 illustrates an exemplary computer system 200, in which various embodiments of the present invention may be implemented. The system 200 may be used to implement any of the computer systems described above. The computer system 200 is shown comprising hardware elements that may be electrically coupled via a bus 255. The hardware elements may include one or more central processing units (CPUs) 205, one or more input devices 210 (e.g., a mouse, a keyboard, etc.), and one or more output devices 215 (e.g., a display device, a printer, etc.). The computer system 200 may also include one or more storage device 220. By way of example, storage device(s) 220 may be disk drives, optical storage devices, solid-state storage device such as a random access memory ("RAM") and/or a read-only memory ("ROM"), which can be programmable, flash-updateable and/or the like.

[0025] The computer system 200 may additionally include a computer-readable storage media reader 225a, a communications system 230 (e.g., a modem, a network card (wireless or wired), an infra-red communication device, etc.), and working memory 240, which may include RAM and ROM devices as described above. In some embodiments, the computer system 200 may also include a processing acceleration unit 235, which can include a DSP, a special-purpose processor and/or the like.

[0026] The computer-readable storage media reader 225a can further be connected to a computer-readable storage medium 225b, together (and, optionally, in combination with storage device(s) 220) comprehensively representing remote, local, fixed, and/or removable storage devices plus storage media for temporarily and/or more permanently containing computer-readable information. The communications system 230 may permit data to be exchanged with the network 220 and/or any other computer described above with respect to the system 200.

[0027] The computer system 200 may also comprise software elements, shown as being currently located within a working memory 240, including an operating system 245 and/or other code 250, such as an application program (which may be a client application, web browser, mid-tier application, RDBMS, etc.). It should be appreciated that alternate embodiments of a computer system 200 may have numerous variations from that described above. For example, customized hardware might also be used and/or particular elements might be implemented in hardware, software (including portable software, such as applets), or both. Further, connection to other computing devices such as network input/output devices may be employed. Software of computer system 200 may include code 250 for implementing embodiments of the present invention as described herein.

[0028] Each of the methods described herein may be implemented by a computer system, such as computer system 200 in FIG. 2. Each step of these methods may be executed automatically by the computer system, and/or may be provided with inputs/outputs involving a user. For example, a user may provide inputs for each step in a method, and each of these inputs may be in response to a specific output requesting such an input, wherein the output is generated by the computer system. Each input may be received in response to a corresponding requesting output. Furthermore, inputs may be received from a user, from another computer system as a data stream, retrieved from a memory location, retrieved over a network, requested from a web service, and/or the like. Likewise, outputs may be provided to a user, to another computer system as a data stream, saved in a memory location, sent over a network, provided to a web service, and/or the like. In short, each step of the methods described herein may be performed by a computer system, and may involve any number of inputs, outputs, and/or requests to and from the computer system which may or may not involve a user. Those steps not involving a user may be said to be performed by the computer without human intervention. Therefore, it will be understood in light of this disclosure, that each step and each method described herein may be altered to include an input and output to and from a user, or may be done automatically by a computer system. Furthermore, some embodiments of each of the methods described herein may be implemented as a set of instructions stored on a tangible, non-transitory storage medium to form a tangible software product.

[0029] As with nearly all software-based systems, database systems are often required to undergo periodic upgrades in order to take advantage of new computing technologies. During the migration process, a customer may wish to migrate one or more old database systems over to new database systems. Migration may be needed because software or hardware becomes obsolete, or because the advantages offered by newer database systems may provide cost savings or other business advantages.

[0030] A "source database" may refer to a grouping of one or more computer systems that stores and executes a database installation. The source database may fulfill retrieval, update, and other forms of database queries. A "migration" may refer to moving or copying objects in one or more source databases to one or more target databases. Therefore, prior to migration, the database installation may only be available on the source database(s). Following the migration, the database installation may be present on the target datbase(s) and, possibly, still present on the source databases. The "target databases" may refer to a grouping of one or more computer systems that stores the database installation after the migration. The target databases may execute the database installation and fulfill retrieval, update, and other forms of database queries following the migration.

[0031] A migration can involve multiple steps. First, the source databases and the target databases may be subjected to a pre-migration analysis. This analysis may be useful for categorizing objects, identifying objects that require special handling during migration, identifying invalid objects, analyzing the usage and criticality of objects, and/or the like. The source system analysis may also identify large database objects that need further configuration to achieve efficiencies and storage using existing technologies, such as partitioning and compression. The pre-migration analysis may use data collected from a cloud-based database modeling service to help the customer configure a migration plan that minimizes downtime, maximizes transfer speeds, and ensures data integrity and validation (ensuring that all of the data has been transferred). The migration plan may include a plurality of migration scripts that can be executed in parallel, reordered, scheduled , and configured as to the sources, targets, compression, partitioning, ownership, and/or location of the data. According to the migration plan and customer parameter inputs.

[0032] Second, the source databases may need to be copied from a source server system to target databases residing on the target server system. Such databases and associated data storage elements may rage from small to very large (e.g., hundreds of gigabytes or terabytes). Copying of the database objects from the source databases to the target databases may be performed while the source server system is offline, and thus not processing requests and/or updating database entries. However, in some embodiments, copying may occur while the source server system is online, and is processing requests and/or updating database entries. Some embodiments allow a customer to control the timing and online-status of the migration in order to minimize disruptions to the customer's business activities. Online database migration may also be accomplished using technologies such as Goldengate and/or DataGuard provided by Oracle®.

[0033] Next, after a database has been copied from the source server system to the target server system, one or more indexes may be generated for the database copied to the target server system. Such indexes may allow for faster and/or more efficient querying of the database at the target server system. Rather than copying previously-created index files from the source server system to the target server system, it may be more efficient to ignore the index files of the source server system and have the target server system generate its own index files. It should be noted that in some embodiments, the new database may use a completely different configuration with compressions, partitioning, and/or parallelism.

[0034] Lastly, after a database has been copied to the target server system, a customer may expect at least some level of verification to be performed on the database at the target server system to ensure the copy was performed correctly and/or fully. In some embodiments, a row count of the copied database as stored by the target server system may be compared with a row count of the database as stored by the source server system. If the row counts match, the customer can be at least assured that no records were lost during the migration. Other embodiments may compare invalid object counts. Additionally, some embodiments may also report on any database objects where the validation failed, and thus assist in the diagnosis of application errors should an application query a table that has been copied to the target system with missing data rows. In this case, a migration engineer may be able to quickly resolve the error due to missing data at the time of migration rather than discovering this error during normal operations.

[0035] Unfortunately, if customers were to manually perform a pre-migration analysis, generate a migration plan, monitor and execute the migration plan, migrate the data, and generate a post-migration report this process could take many weeks to perform and would be prone to errors and data corruption. Therefore, some embodiments presented herein are designed to migrate data from source databases to target databases using a cloud-based service. A cloud data center is able to remotely interact with a customer data center to analyze the customer systems, generate the migration plan, and provide an interactive interface that gives customers control over the migration in real-time through a cloud-based portal. The migration and data analysis may be carried out by a gateway installed as an integrated part of the customer system. The gateway may communicate with the cloud data center and the portal in order to govern and report on the migration process. Using project management terminology, this feature may provide a "quality gate" to give customers confidence in the status of the migration project through the portal reporting.

[0036] Embodiments described herein may utilize an existing Enterprise Manager to consistently and/or periodically monitor and model the customers database systems. An Enterprise Manager agent may be employed to collect and monitor modeling data associated with the customer's databases. Additionally, customer configurations such as EM plugins or custom collectors that interrogate and analyze source and/or target systems may be used. This information may be uploaded to a cloud service through a gateway that resides on a customer's Enterprise Manager system. The cloud service can then perform calculations and analysis on the data recorded by the agent in order to provide data for specific migration scenarios. Additionally, engineers may be provided with other analyses relevant to database migration, such as security considerations, data integrity considerations, data criticality considerations, and/or the like.

[0037] FIG. 3 illustrates a block diagram of a cloud-based environment for providing support to a customer through a gateway, according to one embodiment. A customer IT infrastructure 302 may house one or more source databases 304 as well as one or more target databases 308. For large enterprises, the customer IT infrastructure 302 may be geographically distributed across multiple locations. For smaller customers, the customer IT infrastructure 302 may be located in a single facility as shown in FIG. 3. In this particular embodiment, the target databases 308 may be operated by the customer. For example, the target databases 308 may reside in the same server room as the source databases 304.

[0038] In another embodiment, the target databases 308 may be located remotely. Although not shown explicitly in FIG. 3, the target databases 308 may be operated by a cloud storage facility. This type of migration may relieve the customer from the responsibility of operating and maintaining the target databases 308. In some embodiments, the target databases 308 may may be co-located with or co-operated by the same entity providing the cloud migration service described below. For example, the target databases 308 may be integrated with the remote operations center 312 of the cloud service.

[0039] In order to interface with the cloud support system and the services available thereby, the customer IT infrastructure 302 may include a gateway 306 provided by the cloud support service and operating locally on the customer systems. An Enterprise Manager may be implemented as a specialized module within the gateway 306. As used herein, the gateway 306 may refer to any module that has access to the source databases 304 and can provide statistics and information regarding the source databases 304 to a remote operations center 312 of the cloud support service. The gateway may collect information from the source databases 304, including data objects to be migrated to the target databases 308, source/target information, and OS configurations, and may transmit such information to both the target databases 308 and the remote operations center 312.

[0040] In some embodiments, the support gateway 306 may collect performance information and configuration data related to the source and/or target databases 304, 308, and the remote operations center 312 may then use that performance information to perform a pre-migration analysis, generate migration scripts, and generate a migration plan that are customized for the customer IT infrastructure 302. As will be described below, the customer may be be able to provide and/or adjust parameters that influence the migration plan in order to customize the database migration. The remote operations center 312 may provide an interface referred to herein as a "cloud portal," "support cloud portal," and/or "portal" 314. The portal 314 may present the customer with an interface to select the source/target databases 304, 308, view the migration plan and pre-migration analysis, provide parameters to adjust the migration plan, and review the final migration plan before migration begins.

[0041] In some embodiments, the remote operations center 312 may perform the pre-migration analysis, generate the migration scripts, and/or generate the migration plan in the background in a manner that is transparent to the customer. In some embodiments, the support gateway 306 may periodically transmit performance information to the remote operations center 312, which can generate preemptive migration plans and pre-migration analyses that may be accessed at any time by the customer. In other embodiments, the gateway 306 may alternatively generate the pre-migration analysis, migration scripts, and migration plan on demand in response to a customer request for data migration. These reports may act a as migration status report.

[0042] The portal 314 may include interfaces that allow a customer to begin the migration process, and constantly monitor the migration process in real time. Customers may need to adjust the migration process by altering the timing, ordering, or scheduling of the migration scripts in the migration plan according to business needs. For example, a customer may need to keep some of the source databases 304 online during certain hours, and may submit parameters that adjust the migration plan accordingly. The portal 314 may be transmitted to a customer data center 316 where a customer engineer may monitor the portal on a display device. The customer data center 316 may be co-located with the customer IT infrastructure 302, or may be remotely located from both the remote operations center 312 and/or the customer IT infrastructure 302. For example, the customer data center 316 may be outsourced to a third party. Following the conclusion of the migration process, a customer team in the customer data center 316 may use the portal 314 to view a post-migration analysis and validation of the process.

[0043] It should be emphasized that traditionally database migration has been a very manual exercise. Depending on the size and complexity of the systems, this process may involve 6 to 8 weeks of complex analysis and planning by customer engineers, and may increase significantly for very complex systems or for inexperienced customers. Once the migration began, there was no way to monitor the progress and make real-time adjustments as needed. The cloud support service depicted in FIG. 3 automates this process such that the pre-migration analysis, migration, and post-migration validation can be carried out in minutes or hours instead of weeks or months. Additionally, the difficult process of generating migration scripts and managing the timing and order of their execution can be automated by the cloud service. Because these operations can be performed remote from the customer IT infrastructure 302, the entities providing the cloud support service can service many different customers from many different geographic locations from the remote operations center 312 at once. The portal 314 can provide a snapshot of a customer's data, configurations, and complexities, and allow them to customize a migration plan according to their own business needs.

[0044] FIG. 3 depicts different entities operating in different locations in a block diagram format. It will be understood that each of these entities (the remote operations center 312, the customer IT infrastructure 302, the customer data center 316, etc.) may each be remotely located from each other. As used herein, the term "remotely located" will be understood to mean geographically remote or geographically removed. Entities that are remotely located from each other will typically be located in separate facilities many miles away from each other. For example, entities that are remotely located from each other may be separated by distance of at least 5 miles, 10 miles, 15 miles, 100 miles, and/or the like.

[0045] One of the elements of the cloud support service is the gateway 306 that communicates with the remote operations center 312 through a secure connection 310. FIG. 4 illustrates a block diagram of a gateway, according to one embodiment. By being installed with the customer system, a gateway 404 may be able to access the customer IT systems 402 using one or more agent plug-ins 408. For example, the gateway 404 may collect, format, and store information that is normally collected by an enterprise manager 414.

[0046] The gateway 404 may use the customer's existing database estate as an input. For example, a customer IT system 402 may be used and may include multiple environments such as development, test, and production environments, databases, and/or the like. In many cases, databases in the customer IT system 402 may be implemented with legacy hardware that is no longer considered state-of-the-art or in a system that is no longer supported as a platform or as a currently-supported software version, thus prompting the database migration to more advanced database systems.

[0047] In some embodiments, the gateway 404 may be designed to be proactive, in that it is performed in the background during normal operations. The results of pre-migration analysis performed proactively may be used to plan the actual database migration plan. For example, the gateway 404 may analyze source databases and/or target databases systems prior to a customer request. One key benefit of this preemptive service is the ability to model and size database migration scenarios that group together similar systems based on behaviors, configurations, and/or outputs. The grouping of similar systems may be done in accordance with a set of best practices as identified by the customer. A grouping may also be based on the Recovery Time Objective (RTO) as specified by the customer. By performing this analysis in advance of the actual database migration process, this assessment phase may greatly reduce the rising costs to resolve migration problems or outages that may impact customers in financial, regualtory, or reputational ways.

[0048] In order to collect performance data, the agent 408 may be deployed on the customer IT system 402. For example, an Enterprise Manager Agent may be installed as a collector that gathers information in response to detected events, such as a database going offline. Peak events that consume resources that may impact a migration. Specific configuration data on a source/target database or OS may also impact a migration. These agents may be configured to provide performance data to an Enterprise Manager 414. The collected data may be selected so as to provide relevant database metrics for the pre-migration analysis process. For example, the agent 408 may be focused on capturing a production workload for a selection of databases such that they can be mapped to a destination environment on a newer, more efficient platform.

[0049] The agent 408 may send performance data collected from the customer IT system 402 to the gateway 404. In some embodiments, the collected data may be sent to the Enterprise Manager Cloud Control 414 that resides within the gateway. The gateway 404 may be configured to operate on a customer system as a control point for managing how internal users and/or application assets are exposed to outside systems. The gateway 404 may provide access security, data security, auditing and monitoring capabilities, and/or integration with external systems. In one embodiment, the gateway 404 may provide access to a provider data center 418 and a cloud data center 406 that are remotely located away from the customer IT system 402. The cloud data center 406 may be operated by a provider of databases and software used by the customer IT system 402.

[0050] The gateway 404 may include a type of Enterprise Manager 414 that is configured to operate in conjunction with the cloud data center 406. A cloud tooling module 412 may operate with the enterprise manager 414 to extract and/or modify data that is already being collected by the enterprise manager 414 during or type of operations. The data collected and/or modified by the cloud tooling module 412 may be selected as being relevant to analyzing database operations. These data may then be provided to the cloud data center 406 for processing. In some embodiments, the gateway 404 may operate in a manner that is transparent to the customer. Data for use in database migration may be collected in the background during normal operations and stored at the provider data center 418.

[0051] FIG. 5 illustrates a block diagram of a gateway during database migration, according to one embodiment. As described above, the gateway 504 may operate in an Enterprise Manager to record data that are relevant to database migration during normal operations. The gateway 504 may include a data store 514 that is configured to store information associated with the performance of a set of legacy systems 502. The legacy systems 502 may include a large number of source databases that are operated using a relational database management system (RDBMS). An agent installed on the legacy systems 502 may provide information to the gateway 504 that is stored in the data store 514. In some embodiments, the data store 514 may be populated continuously with data during normal operations of the legacy systems 502.

[0052] A special consolidation engine 520 may read information from various tables in the data store 514, such as management tables, garbage collection tables, read/write logs, and/or the like. Note that this allows the consolidation engine 520 to have historical performance data always on hand. Therefore, when a customer creates a migration scenario, the migration scenario can be analyzed and prepared using historical data rather than needing to collect future data in order to complete the analysis. For example, data retrieved from the "MGMT$" tables can be crunched via the consolidation engine 520, and the results may be stored in a special results table522 ready to be shipped back to the provider data center 518.

[0053] The consolidation engine 520 may extract the data from existing tables and fit the data into a new data model. In some embodiments, as the Enterprise Manager populates tables in the data store 514, the consolidation engine 520 may detect the changes and automatically use the data to populate the new data model. In some embodiments, the consolidation engine 520 may instead wait until a migration scenario is provided by a user before translating data from the old format into the new data model. The new data model may include data from many different databases within the data store 514. One having skill in the art would understand that many different types of data models may be used according to the needs of each particular implementation.

[0054] FIG. 6 illustrates a block diagram of the structure of a portal 600. The portal 600 may be based on a layered architecture. The portal may be divided into four layers: an interface layer 636, a service layer 638, a common component layer 640, and a support repositories layer 642. These layers may be responsible for the handling of service and customer information and the presentation and orchestration of services on the server side. The layers may be used to interface and communicate with the gateway residing and operating on the customer systems, enable remote administrators to interact with the gateway to deliver service, and/or enable customers to receive service via the portal to collaborate with the service provider.

[0055] The backend of the portal may include a support repositories layer 642. The support repositories layer 642 may be used to leverage various sources of data to enrich and/or deliver services. The support repositories layer 642 may include repositories or access to repositories that may include configuration, patch, SR information or data, and/or the like.

[0056] The backend of the portal may further include a common component layer 640. Elements of the layer 640 may include components that are used in support of services during and after deployment. Elements may include an account management module 616 that provides authentication, authorization, and security to the portal and to the service. Customers may be provided access to the portal, and also granted access/entitlement to one or more services. The layer 640 may further include a documents module 618 which provides the methods for managing documents using the portal. Furthermore the layer 640 includes a service request module for managing the various requests and steps used in the delivery of a service. A configuration management module 622 may be used to manage the configurations associated with a customer. A business intelligence module 624 may be used to identify high value information.

[0057] The service layer 638 of the portal 600 may include specific modules and functions required for each service. Each type of service may include defined workflow, logic, security, and/or the like. Each type of service may include a module for managing the special workflow, logic and other requirements for the service. Modules for modeling 604, migration 606, load testing 608, benchmarking 610, cloud imaging 612, and/or monitoring 614 may be implemented in the layer 638.

[0058] Finally, the interface layer 636 of the portal 600 provides a user interface (UI), such as a graphical user interface 602, that may be used by the customer, service provider, and/or administrator. The interface layer represents the presentation layer for the services. The user interface 602 of the interface layer 636 may be a responsive web design and, as such, may work on multiple devices (e.g. a desktop, a smart phone, a tablet, etc.). The UI of the portal may provide a common service interface for the services and/or content. The UI may present available, installed, active, or support cloud services in a consistent interface with a similar look and feel. Common user interface components may be used. Navigation methodology may be based on rich service summary reporting with drill-down options for more detail. Services may be tightly coupled with customer configurations. Technical data required for service delivery (analysis, verification, reporting) may be collected automatically. Analytics may be used extensively to help reduce information overload by creating "easy to consume" dashboards and reports. It should be noted that other database lifecycle services may also be offered through the portal in addition to database migration. Therefore, the data collected and analyses performed for a database migration may be shared with other database lifecycle services and vice versa. This increases data reuse and shrinks the data footprint of the cloud support service.

[0059] FIG. 7 illustrates a flowchart 700 of a method for performing a pre-migration analysis and generating a migration plan, according to one embodiment. The pre-migration analysis may be used to analyze the source databases and to identify ways in which they can be reconfigured on the target databases in order to optimize performance. In some embodiments, the method for performing pre-migration analysis may receive inputs from a cloud modeling service. This service allows users to specify target and source databases, and as a result, the modeling service provides an analysis of how the data objects on the source system can be configured to operate on the target database systems. For example, the modeling service may provide recommendations that certain databases should be combined onto a single system, such as an Exedata system from Oracle™. This may be part of a Platform-as-a-Service (PaaS) and/or a Database-as-a-Service (DaaS) product, where the cloud service can combie serveral databases into a single database on a managed platform. It will be understood that any aspect of the cloud modeling service may be used as part of the pre-migration analysis. The full details of the cloud-based modeling service are described in the co-assigned U.S. Patent Application No. 13/937,885 (Attorney Docket No. 88325-870374 (ORA130617-US-NP)) entitled "Database Modeling and Analysis for Prospective Migration" and filed concurrently with the present application on July 9, 2013.

[0060] The pre-migration analysis may analyze and configure the database setup 704, the database layout 706, migration execution step 708, and the execution of post-migration analysis 710. In some embodiments, the pre-migration analysis may also include identification and classification of a plurality of objects stored within the source databases. For example, the pre-migration analysis may identify invalid objects in the source databases that can be verified against invalid objects in the target databases after migration has taken place. The pre-migration analysis may also identify exceptionally large database tables that may need to be subdivided into smaller units and/or compressed. The pre-migration analysis may also identify objects associated with security requirements, maximum offline requirements, data integrity requirements, redundancy requirements, and/or the like that would require special handling during the migration procedure.

[0061] The pre-migration analysis may also identify database options in the source databases and determine how to translate those options to the target databases. For example, source databases may include an automatic storage management (ASM) feature, and the options thereof may need to be configured to run on the target database system. This also allows for a source system that does not use ASM to use ASM in the target database configuration. The pre-migration analysis may also provide for compression, encryption, and/or other data transformation options that may be recommended to users or required by the target database systems. For example, the pre-migration analysis may provide space and cost savings that may be attained by implementing a particular data compression scheme.

[0062] The pre-migration analysis may result in a plurality of parameters being specified that may be used to create migration scripts 712. These parameters may include constraints on when and/or how particular data objects in the source databases may be migrated to the target databases. If the resulting migration scripts are acceptable 714, the parameter settings may be saved for a subsequent migration run 718. However, the portal may provide the results of the pre-migration analysis to a customer, who may then adjust the parameters manually 716 in order to achieve the desired migration scripts and/or plan. In some embodiments, results from previous migration runs may also be analyzed and incorporated by the customer to adjust the parameters for the current migration plan 720.

[0063] As mentioned above, the pre-migration analysis may include generating migration scripts. One advantageous method of preparing for a database migration is to "slice and dice" the source databases into small manageable chunks. In some embodiments, the source databases may be divided into individual objects, and each individual object may be associated with its own migration script. A migration script may include instructions or parameters used to migrate the associated object(s) from the source databases to the target databases. By generating migration scripts, the process of migration may be not only simplified, but it may also be more modular in its execution. Scripts can be executed in different orders, and many scripts may also be executed in parallel. By breaking a large database down into many small scripts that can be executed in parallel, large databases can be migrated in a fraction of the time that would have been required prior to this disclosure. The full details generating migration scripts are described in the co-assigned U.S. Patent Application No. 13/937,988 (Attorney Docket No. 88325-870382 (ORA130627-US-NP)) entitled "Solution to Generate a Script Set for an Automated Database Migration" and filed concurrently with the present application on July 9, 2013. _TODO: Make sure that this title is correct before filing.

[0064] FIG. 8 illustrates a flowchart 800 of a method for preparing to run a migration plan, according to one embodiment. Flowchart 800 may continue at step A from flowchart 700. After generating a plurality of migration scripts, the scripts may be ordered and/or timed according to a migration plan. The migration plan may include all the options available for customizing how the scripts are executed by bundling all of the migration scripts into a single executable data flow. Generally, the migration plan may define the execution order of the migration scripts. Additionally, the migration plan may define migration scripts that can be parallelized. The migration plan may also specify timing constraints that dictate when certain migration scripts can be executed, when certain portions of the source database may be made unavailable, and how long migration scripts will be allowed to run. In one example, a migration plan may specify that database partitioning, migration, compression, and/or encryption may all be combined into a single offline session, and thus migration scripts for each of these functions may be executed during a single script batch according to the migration plan.

[0065] Additionally, databases may generally remain online while small chunks are migrated instead of taking the entire database offline for migration. The migration plan may be configured to minimize the offline time. However, certain migration scripts may require a database to be unavailable for certain intervals. Instead of making the data unavailable, records may be kept for changes made to source database material that has already been migrated to the target databases. These records may then be used to ensure that the target databases are later updated accordingly. In some embodiments, this mechanism may be installed across multiple source databases together via an installer for the purpose of consolidating many databases into a single target database. The full details of migrating database objects while the source database remains online are described in the co-assigned U.S. Patent Application No. 13/937,545 (Attorney Docket No. 88325-870410 (ORA130628-US-NP)) entitled "Online Database Migration" and filed concurrently with the present application on July 9, 2013.

[0066] In order to properly order migration scripts, a scheduler system may be configured to manage migration script ordering. While many functions may be performed in parallel, some scripts may be dependent on others, thus requiring ordered and serial processing. For example, index generation for a database to be performed by the target database can only be performed after all of the target database information has been received. However the copying and index generation of a first database may be performed independently from the copying and index generation of a second database.

[0067] A scheduler system may be configured to identify an order of copying database objects with migration scripts. The execution order identified by the scheduler system may be based on factors such as the size of the database objects to be migrated and/or the dependencies of the database objects. The scheduler system may analyze available system resources of the source server system and/or the target server system to schedule functions (e.g., index generation and/or verifications functions). Further, the scheduler system may be able to take input from an administrator, who may provide various preferences before and during the migration. For example, the administrator may able to dynamically alter the number of migration functions permitted to perform in parallel by the source server system and the target server system during the migration via the scheduler system. Moreover, various types of functions may be scheduled by the scheduler system concurrently. For example, while a copy function between the source server system and the target server system is being performed, more available processing resources may be available at the target server system. The scheduler, if it determines that a sufficient amount of processing resources is available, may schedule execution of index generation by the target server system in parallel for a different database which has already been copied to the target server system. The full details of scheduling migration scripts during migration are described in the co-assigned U.S. Patent Application No. 13/937,486 (Attorney Docket No. 88325-870409 (ORA130629-US-NP)) entitled "Dynamic Migration Script Management" and filed concurrently with the present application on July 9, 2013.

[0068] In preparation to run the migration plan, the migration scripts may be copied to the target database system 804. In some cases, migration scripts may need to be converted to a new format to run on a migration engine. In this case, migration scripts may be converted to a migration-specific format 806. Similarly, the migration engine itself may need to be configured for the particular migration environment for the target database systems 808.

[0069] Generally, the migration process may be carried out by a migration engine. The migration engine may be configured to control the execution of the migration plan such that the migration scripts are carried out in the correct sequence. Thus, the migration engine can execute the migration scripts in sequence and in parallel as appropriate. The migration engine may also be dynamically adjustable such that it can scale the amount of parallel processing up and down during the migration run. Therefore, the migration engine may analyze system resources and scale the amount of parallel processing in order to optimize the use of system resources. For example, if the customer database system is experiencing a large amount of traffic, the migration engine may dynamically scale the parallel processing of migration scripts down such that the performance of the customer database system is not adversely affected. Similarly, if the customer database system is experiencing relatively light traffic, such as at night, the migration engine may dynamically scale up the amount of parallel processing of migration scripts in order to utilize the available system resources. This information may be reported to the customer dynamically such that they can determine in real-time how resources should be used during the migration process.

[0070] After the pre-migration analysis is complete, and after the migration plan is generated and approved by the customer through the cloud portal, the migration engine may be started 810. First, the migration engine may determine whether the target database exists on the target server system 812. If not, the database may be created and formatted on the target system prior to migration 814.

[0071] FIG. 9 illustrates a flowchart 900 of a method for executing a migration plan that allows for dynamic customer tuning, according to one embodiment. Flowchart 900 may continue from step B in flowchart 800. After the migration started 904, the migration engine may loop on the migration jobs as specified by the migration engine 906. One advantageous aspect of certain embodiments includes the ability of customer engineers to dynamically change the parameters of the migration process in real time as it is executed. For example, an engineer may dynamically adjust the amount of parallel processing by the migration engine in order to limit the amount of system resources used by the migration engine. The engineer may also change parameters that determine when certain data objects can be migrated and in what order. In some embodiments, any parameter used to generate the migration plan may be changed during execution by a customer. These parameters may also be changed automatically by the migration engine as described above. These automatic changes may be made according to business logic and other constraints provided to the migration engine by the customer or by the cloud support service.

[0072] Information associated with these parameters may be stored in a configuration file. This configuration file may be periodically checked as migration scripts are executed. If the parameters have changed 910, either by manual or automatic adjustment as described above, the migration engine may validate the new parameter settings and adjust the migration planning configuration file accordingly 912. When the parameters are current, the migration engine may execute the current job. As used herein, a "job" may include a migration script, or any other function performed by the migration engine, such as a logging or validation function.

[0073] When the current job is finished 916, the migration engine can determine whether the job was successful. For example, the migration engine may check a job return code for indications of failure or success 918 and update the migration control files accordingly 920. During or after migration, the migration engine may consult the migration control files and attempt to re-execute any jobs that were not successful. When all the jobs are complete 922, the migration engine may stop looping on migration jobs and may move to the validation and post-migration analysis phase.

[0074] In some embodiments, each job may comprise a set of PL/SQL and Unix scripting that handles the data migration and is deployed on the source and/or targets. Other embodiments may utilize Perl and other technologies, such as installers, which facilitate the distribution of these scripts. The migration process may also interact closely with technologies that reduce the RTO. This may allow the engineer to configure two technologies at the same time, further reducing the Level of Effort (LoE) required to perform a migration exercise on a source/target database. One advantageous feature in some embodiments may be that the tooling and parameterized nature of the tooling redcues the need for high expertise and reduces errors. The reporting feature of the service allows the cloud support service to make multiple runs with minimum effort that would normally be required if this exercise was executed manually.

[0075] FIG. 10 illustrates a flowchart 1000 of a method for validating a database migration, according to one embodiment. Flowchart 1000 may continue from step C of flowchart 900. After all the migration scripts have been executed, the migration engine may execute a post-migration analysis. During this analysis, the migration engine may check the log files generated during the migration process 1004, and may determine whether all of the jobs were completed successfully 1006. If some jobs were not completed successfully, the migration engine may analyze and fix the problems that were recorded in the log files 1008, and ensure that the unsuccessful jobs have been completed 1010. For example, some data transfers may have been interrupted, and the remaining data may need to be migrated in order for the data set to be completed.

[0076] Once all the jobs are completed, the migration process may end. In some embodiments, manual confirmation by an engineer may be required in order to formally end the migration process and validate the data 1012. The customer engineer may then determine whether to verify the migration and what methods may be used. The portal may present different options to the engineer that may be used to validate the data. In other embodiments, post-migration validation may be executed automatically upon completion of the migration process.

[0077] In some embodiments, a row count procedure may be used to validate the migration process. Row counts in the target databases may be compared to row count in the source databases. Some embodiments may also select certain rows and compare the data therein to ensure that it was successfully migrated from the source to the target databases. The system may also report if the referential integrity of the database (e.g. primary keys, foreign keys, data modeling logic, views, synonym security, etc.) has been properly preserved during the migration.

[0078] In some embodiments, data may additionally or alternatively be verified by comparing objects 1016. For example, invalid objects that were detected in the source databases prior to migration may later be detected in the target databases and compared. If the number of invalid objects matches, then this will tend to indicate that the migration was successful. Also, this can be used to determine that invalid objects in the target database system are not the result of the migration process, but rather were carried over from the existing source databases. In some embodiments, other data validation techniques may also be used in combination with those described above. Checksums may be used, selective row validation may be used, manual inspection by an engineer may be used, and/or the like.

[0079] After the data is validated, a customer migration report may be generated 1020. The customer migration report may be presented to the customer through the portal and may summarize all of the statistics relevant to the migration. The customer migration report may describe any errors that were encountered, any corrective actions were taken in response thereto, any data errors detected during the validation process, a listing of invalid objects, a listing of row counts, timing parameters that describe how long each step in the migration process took to execute, indications of how long certain data objects were unavailable, comparative performance between the source database systems and the target database systems, comparative memory usage and latency between the source and target systems, and/or the like. The migration engine may also provide a log of all operations that took place during the migration, which may be accessed through the customer migration report of the portal.

[0080] FIG. 11 illustrates a flowchart 1100 of a generalized method for migrating databases, according to one embodiment. Flowchart 1100 represents a generalized version of the database migration process using a cloud-based service as described above. The method may include generating a pre-migration analysis of a plurality of objects stored in one or more source databases 1102. The pre-migration analysis may be displayed or presented in a portal display of a cloud service that is remotely located from the one or more source databases and the one or more target databases. The pre-migration analysis may also include classifying objects in the databases, identifying installed database options, and/or identifying complex objects that require special handling during the migration. The pre-migration analysis may also include information received from a database modeling analysis provided by the cloud service.

[0081] The method may also include generating a plurality of migration scripts that transfer the plurality of objects from the one or more source databases to one or more target databases 1104. In some embodiments, each of the plurality of objects may be associated with a corresponding one of the plurality of migration scripts.

[0082] The method may additionally include generating a migration plan that defines an execution order for the plurality of migration scripts 1106. In some embodiments, the migration plan may further define which of the plurality of scripts can be executed in parallel during migration. The migration plan may also define an execution timing for the plurality of migration scripts. In some embodiments, the report may also be provided that illustrates a breakdown of which objects will be copied using each particular method. For example, a database table that is configured using Binary Large Object (BLOB) may need to be migrated using DataPump/Export and Import technologies. Similarly, an object configured to store VARCHAR2 may need to be copied using Create Table as Select (CTAS). The report may provide a breakdown on how much data will be migrated using each particular method. This allows the customer to view complex migration issues.

[0083] In some embodiments, the migration plan might also report on how long each step will take (or has taken) so that the customer can migrate only if the timeframe is acceptable. As part of the service, a cloud engineer can further refine this aspect of the migration using various tooling features to speed up, reconfigure, and otherwise ensure that the migration succeeds. It should be noted that this cloud-based support would not be available using a manual process. This granular level of reporting and the ability to compare previous migration runs and migration plans is a unique feature of the cloud-based support service described herein.

[0084] The method may further include migrating the plurality of objects from the one or more source databases to the one or more target databases according to the migration plan 1108. In some embodiments, the migration engine may receive one or more manual parameter adjustments during migration, and alter the migration plan during the migration according to the one or more manual parameter adjustments. These parameter adjustments may be generated automatically by the migration engine or may be received from a user interface.

[0085] The method may also include validating the plurality of objects on the one or more target databases 1110. In some embodiments, the plurality of objects may include a set of invalid objects from the one or more source databases. A determination may be made as to whether the set of invalid objects were correctly migrated to the one or more target databases. Additionally, validating the plurality of objects may also include determining whether a row count from the one or more source databases matches a row count from the one or more target databases. This feature may be particularly important in order to negate customer complaint escalations. Occasionally, customers may blame the invalid objects for the migration being unsuccessful. Instead, this helps the cloud-based service provide a benchmark to determine if logical objects in the source and the target were both invalid instead of being a product of faulty migration.

[0086] It will be understood that the generalized diagram of FIG. 11 can be readily modified to include any of the other details of database migration included elsewhere in this disclosure. For example, the pre-migration analysis may be performed using a gateway operating on the customer systems and in conjunction with a remote cloud service, a portal may be used to view post-migration reports, the migration engine may dynamically adjust the order/timing/parallelism of the migration scripts to optimize system resources, and so forth. Flowchart 1100 is merely meant to provide a framework into which any of these additional details may be added according to various embodiments. Therefore, flowchart 1100 is not meant to be limiting, and may include any and all features discussed in this disclosure in various combinations without restriction.

[0087] It should be appreciated that the specific steps illustrated in FIGS. 7-11 provide particular methods of performing a database migration as a service according to various embodiments of the present invention. Other sequences of steps may also be performed according to alternative embodiments. For example, alternative embodiments of the present invention may perform the steps outlined above in a different order. Moreover, the individual steps illustrated in FIGS. 7-11 may include multiple sub-steps that may be performed in various sequences as appropriate to the individual step. Furthermore, additional steps may be added or removed depending on the particular applications. One of ordinary skill in the art would recognize many variations, modifications, and alternatives.

[0088] As described above, this migration service may be provided by a remotely located cloud support system. Customers may interact with the cloud support system through a portal. What follows is a number of example user interfaces that may describe the interactions between the customer and the cloud support system during the automated migration process as described above. It will be understood that each of these interfaces is merely exemplary, and not meant to be limiting. Many other arrangements of visual controls and data presentations may also be used by various embodiments not shown explicitly herein.

[0089] FIG. 12 illustrates a portal interface 1200 for selecting source and/or target databases for migration, according to one embodiment. The customer may enter a "My Services" section of the cloud support service portal and may select the migration service. Note that other services may also be available through the portal, such as load testing, tuning and benchmarking, advanced monitoring and resolution, and so forth.

[0090] Portal interface 1200 may provide users with a listing of all registered source database systems that may be selected for migration. A user may select one or more icons that are descriptive of databases they would like to migrate. A similar interface may also be provided to select target database systems that are available to the customer locally or through the cloud support service.

[0091] FIG. 13 illustrates a portal interface 1300 for viewing source and/or target databases, according to one embodiment. This interface shows the name, type, lifecycle, location, and associated business line for each of the source database systems and target database systems, thus providing an overview of the source database systems and target database system selected for the migration process. Note that interface 1300 also includes a status icon above the source targets that describes the current step in the migration process. For example, the user may progress through each of the three available migration runs.

[0092] FIG. 14 illustrates a portal interface 1400 for a migration manager, according to one embodiment. The pre-migration analysis may be displayed in interface 1400 to provide the customer with an overview of the migration plan along with, for example, estimations on how much of the data can be compressed and how much space can be saved in the target database systems. This overview may also indicate which data can be migrated using particular processes, such as moving tables by data pump, by separate scripting functions, import/export jobs, SQL Create Table As Select statements (CTAS), and so forth. The portal 1400 may also indicate how much data can be compressed versus how much data cannot be compressed. A control may also be provided such that a user can get a list of invalid objects currently in the database. This list of invalid objects can act as a baseline as evidence that the migration process was not responsible for invalidating objects, and as a way for verifying the correctness of the migration process. This may speed up fault diagnosis after migration.

[0093] FIG. 15 illustrates a portal interface 1500 for viewing the results of a database migration, according to one embodiment. Interface 1500 may provide many different statistics regarding the quality of the migration process. For example, the interface 1500 may indicate whether certain migration scripts were executed outside of specified time intervals, or took longer than expected. An indication of the percentage of fully migrated tables may also be provided. Most importantly, information may be provided describing migration tables that were not completed and errors that occured during the migration process.

[0094] FIG. 16 illustrates a portal interface 1600 for determining if objects are missing after the migration, according to one embodiment. Interface 1600 may provide a list of missing objects that did not get copied from the source databases to the target databases. A user may click a link on interface 1500 to view interface 1600. Missing objects may be displayed according to their source and their name for easy identification.

[0095] FIG. 17 illustrates a portal interface 1700 for validating row counts after migration, according to one embodiment. As described above, row counts can also be used as a method for validating the migration process. Interface 1700 may provide a full rundown of all the tables and their row counts for auditing purposes. In some embodiments, discrepancies may be visually or graphically hghlighted for the customer.

[0096] In the foregoing description, for the purposes of illustration, methods were described in a particular order. It should be appreciated that in alternate embodiments, the methods may be performed in a different order than that described. It should also be appreciated that the methods described above may be performed by hardware components or may be embodied in sequences of machine-executable instructions, which may be used to cause a machine, such as a general-purpose or special-purpose processor or logic circuits programmed with the instructions to perform the methods. These machine-executable instructions may be stored on one or more machine readable mediums, such as CD-ROMs or other type of optical disks, floppy diskettes, ROMs, RAMs, EPROMs, EEPROMs, magnetic or optical cards, flash memory, or other types of machine-readable mediums suitable for storing electronic instructions. Alternatively, the methods may be performed by a combination of hardware and software.


Claims

1. A method of migrating data from one or more source databases (304) to one or more target databases (308), the method comprising:

receiving, from a cloud-based database modeling service, data relating to the one or more source databases (304) and the one or more target databases (308), wherein the cloud-based database modeling service is located remotely from the source databases (304) and is configured to collect and analyze data from the source databases (304) and the target databases (308);

generating a pre-migration analysis for a plurality of objects stored in the one or more source databases (304), based on the data from the cloud-based database modeling service;

generating a plurality of migration scripts that transfer the plurality of objects from the one or more source databases (304) to the one or more target databases (308), based on the pre-migration analysis;

generating a migration plan that defines an execution order for the plurality of migration scripts;

migrating the plurality of objects from the one or more source databases (304) to one or more target databases (308) according to the migration plan;

while migrating the plurality of objects, the migration plan further defines which of the plurality of migration scripts can be executed in parallel;

while migrating the plurality of objects, dynamically adjusting the amount of parallel processing by scaling up or down the amount of parallel processing of the migration scripts based on available system resources; and

validating the plurality of objects on the one or more target databases (308).


 
2. The method of claim 1 wherein:

the one or more target databases (308) comprise a single target database;

the one or more source databases (304) comprise a plurality of source databases; and

the plurality of source databases are migrated to the single target database.


 
3. The method of claim 1 further comprising presenting the pre-migration analysis in a portal display of a cloud service (314) that is remotely located from the one or more source databases (304) and the one or more target databases (308).
 
4. The method of claim 3 further comprising presenting a post-migration report in a portal display of a cloud service (314) that is remotely located from the one or more source databases (304) and the one or more target databases (308), wherein the post-migration report comprises data resulting from the validating of the plurality of objects on the one or more target databases (308), preferably further comprising presenting a real-time migration report in the portal display of the cloud service (314), wherein the real-time migration report indicates progress while migrating the plurality of objects from the one or more source databases (304) to one or more target databases (308) according to the migration plan.
 
5. The method of claim 1 further comprising:

receiving one or more manual parameter adjustments during migration; and

altering the migration plan during the migration according to the one or more manual parameter adjustments.


 
6. The method of claim 1 wherein the pre-migration analysis comprises:

classifying the plurality objects, identifying installed database options, and identifying complex objects that require special handling during the migration; and

reconfiguring the complex objects such that a number of instances where the complex objects are unavailable is reduced.


 
7. The method of claim 1 wherein each of the plurality of objects is associated with a corresponding one of the plurality of migration scripts.
 
8. The method of claim 1 wherein the migration plan further defines an execution timing for the plurality of migration scripts.
 
9. The method of claim 1 wherein validating the plurality of objects on the one or more target databases (308) comprises:

determining a set of invalid objects in the one or more source databases (304); and

determining whether the set of invalid objects were correctly migrated to the one or more target databases (308),
or comprises

determining whether a row count from the one or more source databases (304) matches a row count from the one or more target databases (308).


 
10. A computer-readable memory comprising a sequence of instructions which, when executed by one or more processors, causes the one or more processors to migrate data from one or more source databases (304) to one or more target databases (308) by performing all of the steps of the method of any of claims 1, 3 or 4.
 
11. A system comprising:

one or more processors; and

a memory communicatively coupled with and readable by the one or more processors and comprising a sequence of instructions which, when executed by the one or more processors, cause the one or more processors to migrate data from one or more source databases (304) to one or more target databases (308) by:

receiving, from a cloud-based database modeling service, data relating to the one or more source databases (304) and the one or more target databases (308), wherein the cloud-based database modeling service is located remotely from the source databases (304) and is configured to collect and analyze data from the source databases (304) and the target databases (308);

generating a pre-migration analysis for a plurality of objects stored in the one or more source databases (304), based on the data from the cloud-based database modeling service;

generating a plurality of migration scripts that transfer the plurality of objects from the one or more source databases (304) to the one or more target databases (308), based on the pre-migration analysis;

generating a migration plan that defines an execution order for the plurality of migration scripts;

migrating the plurality of objects from the one or more source databases (304) to one or more target databases (308) according to the migration plan;

while migrating the plurality of objects, the migration plan further defines which of the plurality of migration scripts can be executed in parallel;

while migrating the plurality of objects, dynamically adjusting the amount of parallel processing by scaling up or down the amount of parallel processing of the migration scripts based on available system resources; and

validating the plurality of objects on the one or more target databases (308).


 
12. The system of claim 11 wherein the instructions further cause the one or more processors to migrate data from one or more source databases (304) to one or more target databases (308) by:

receiving one or more manual parameter adjustments during migration; and

altering the migration plan during the migration according to the one or more manual parameter adjustments.


 
13. The system of claim 11 wherein the pre-migration analysis comprises:

classifying the plurality objects, identifying installed database options, and identifying complex objects that require special handling during the migration; and

reconfiguring the complex objects such that a number of instances where the complex objects are unavailable is reduced.


 


Ansprüche

1. Verfahren zum Migrieren von Daten aus einer oder mehreren Quelldatenbanken (304) an eine oder mehrere Zieldatenbanken (308), das Verfahren Folgendes umfassend:

Empfangen von Daten, die sich auf die eine oder die mehreren Quellendatenbanken (304) und die eine oder die mehreren Zieldatenbanken (308) beziehen, von einem cloudbasierten Datenbank-Modellierungsdienst, wobei sich der cloudbasierte Datenbank-Modellierungsdienst von den Quellendatenbanken (304) entfernt befindet und ausgebildet ist, um Daten von den Quellendatenbanken (304) und den Zieldatenbanken (308) zu sammeln und zu analysieren;

Erzeugen einer Vormigrationsanalyse für mehrere Objekte, die in der einen oder den mehreren Quellendatenbanken (304) gespeichert sind, auf der Grundlage der Daten des cloudbasierten Datenbank-Modellierungsdiensts;

Erzeugen mehrerer Migrationsskripte, welche die mehreren Objekte von der einen oder den mehreren Quellendatenbanken (304) zu der einen oder den mehreren Zieldatenbanken (308) übertragen, auf der Grundlage der Vormigrationsanalyse;

Erzeugen eines Migrationsplans, der eine Ausführungsreihenfolge für die mehreren Migrationsskripte definiert;

Migrieren der mehreren Objekte von einer oder mehreren Quellendatenbanken (304) zu einer oder mehreren Zieldatenbanken (308) gemäß dem Migrationsplan;

wobei der Migrationsplan während der Migration der mehreren Objekte, ferner definiert, welches der mehreren Migrationsskripte parallel ausgeführt werden kann;

wobei während der Migration der mehreren Objekte der Umfang der Parallelverarbeitung dynamisch angepasst wird, indem der Umfang der Parallelverarbeitung der Migrationsskripte auf der Grundlage der verfügbaren Systemressourcen vergrößert oder

verkleinert wird; und Validieren der mehreren Objekte in der einen oder den mehreren Zieldatenbanken (308).


 
2. Verfahren nach Anspruch 1, wobei:

die eine oder mehreren Zieldatenbanken (308) eine einzelne Zieldatenbank umfassen;

die eine oder mehreren Quellendatenbanken (304) mehrere Quellendatenbanken umfassen; und die mehreren Quellendatenbanken in die einzelne Zieldatenbank migriert werden.


 
3. Verfahren nach Anspruch 1, ferner umfassend das Präsentieren der Vormigrationsanalyse auf einer Portalanzeige eines Cloud-Services (314), die von der einen oder den mehreren Quellendatenbanken (304) und der einen oder den mehreren Zieldatenbanken (308) entfernt angeordnet ist.
 
4. Verfahren nach Anspruch 3, ferner umfassend das Präsentieren eines Postmigrationsberichts auf einer Portalanzeige eines Cloud-Services (314), die von der einen oder den mehrere Quellendatenbanken (304) und der einen oder den mehreren Zieldatenbanken (308) entfernt angeordnet ist, wobei der Postmigrationsbericht Daten umfasst, die aus der Validierung der mehreren Objekte in der einen oder den mehreren Zieldatenbanken (308) resultieren, und vorzugsweise ferner das Präsentieren eines Echtzeitmigrations-Berichts in der Portalanzeige des Cloud-Dienstes (314) umfasst, wobei der Echtzeitmigrations-Bericht den Fortschritt während der Migration der mehreren Objekte von einer oder mehreren Quellendatenbanken (304) zu einer oder mehreren Zieldatenbanken (308) gemäß dem Migrationsplan anzeigt.
 
5. Verfahren nach Anspruch 1, ferner Folgendes umfassend:
Empfangen einer oder mehrerer manueller Parametereinstellungen während der Migration; und Ändern des Migrationsplans während der Migration gemäß der einen oder mehreren manuellen Parametereinstellungen.
 
6. Verfahren nach Anspruch 1, wobei die Vormigrationsanalyse Folgendes umfasst:
Klassifizieren der mehreren Objekte, Identifizieren installierter Datenbankoptionen und Identifizieren komplexer Objekte, die während der Migration eine besondere Behandlung erfordern; und Neukonfigurieren der komplexen Objekte, sodass eine Anzahl von Fällen, in denen die komplexen Objekte nicht verfügbar sind, reduziert wird.
 
7. Verfahren nach Anspruch 1, wobei jedes der mehreren Objekte einem entsprechenden von den mehreren Migrationsskripten zugeordnet ist.
 
8. Verfahren nach Anspruch 1, wobei der Migrationsplan ferner eine Ausführungszeitsteuerung für die mehreren Migrationsskripts definiert.
 
9. Verfahren nach Anspruch 1, wobei die Validierung der mehreren Objekte auf der einen oder den mehreren Zieldatenbanken (308) Folgendes umfasst:

Bestimmen eines Satzes ungültiger Objekte in der einen oder den mehreren Quellendatenbanken (304); und

Bestimmen, ob der Satz ungültiger Objekte korrekt in eine oder mehrere Zieldatenbanken (308) migriert wurde, oder wobei es das Bestimmen umfasst, ob eine Zeilenzahl aus der einen oder den mehreren Quellendatenbanken (304) mit einer Zeilenzahl aus der einen oder den mehreren Zieldatenbanken (308) übereinstimmt.


 
10. Computerlesbarer Speicher, umfassend eine Folge von Befehlen, die, wenn sie von einem oder mehreren Prozessoren ausgeführt werden, bewirken, dass der eine oder die mehreren Prozessoren Daten von einer oder mehreren Quelldatenbanken (304) an eine oder mehrere Zieldatenbanken (308) migrieren, in dem alle Schritte des Verfahrens nach einem der Ansprüche 1, 3 oder 4 ausgeführt werden.
 
11. System, Folgendes umfassend:

einen oder mehrere Prozessoren; und

einen Speicher, der kommunikativ mit dem einen oder den mehreren Prozessoren gekoppelt ist und von diesen gelesen werden kann, und umfassend eine Folge von Befehlen, die, wenn sie von dem einen oder den mehreren Prozessoren ausgeführt werden, bewirken, dass der eine oder die mehreren Prozessoren Daten von einer oder mehreren Quellendatenbanken (304) auf eine oder mehrere Zieldatenbanken (308) durch Folgendes migrieren:

Empfangen von Daten, die sich auf die eine oder die mehreren Quellendatenbanken (304) und die eine oder die mehreren Zieldatenbanken (308) beziehen, von einem cloudbasierten Datenbank-Modellierungsdienst, wobei sich der cloudbasierte Datenbank-Modellierungsdienst von den Quellendatenbanken (304) entfernt befindet und ausgebildet ist, um Daten von den Quellendatenbanken (304) und den Zieldatenbanken (308) zu sammeln und zu analysieren;

Erzeugen einer Vormigrationsanalyse für mehrere Objekte, die in der einen oder den mehreren Quellendatenbanken (304) gespeichert sind, auf der Grundlage der Daten des cloudbasierten Datenbank-Modellierungsdiensts;

Erzeugen mehrerer Migrationsskripte, welche die mehreren Objekte von der einen oder den mehreren Quellendatenbanken (304) zu der einen oder den mehreren Zieldatenbanken (308) übertragen, auf der Grundlage der Vormigrationsanalyse;

Erzeugen eines Migrationsplans, der eine Ausführungsreihenfolge für die mehreren Migrationsskripte definiert;

Migrieren der mehreren Objekte von einer oder mehreren Quellendatenbanken (304) zu einer oder mehreren Zieldatenbanken (308) gemäß dem Migrationsplan;

wobei der Migrationsplan während der Migration der mehreren Objekte, ferner definiert, welches der mehreren Migrationsskripte parallel ausgeführt werden kann;

wobei während der Migration der mehreren Objekte der Umfang der Parallelverarbeitung dynamisch angepasst wird, indem der Umfang der Parallelverarbeitung der Migrationsskripte auf der Grundlage der verfügbaren Systemressourcen vergrößert oder verkleinert wird; und

Validieren der mehreren Objekte in der einen oder den mehreren Zieldatenbanken (308).


 
12. System nach Anspruch 11, wobei die Befehle ferner bewirken, dass der eine oder die mehreren Prozessoren Daten von einer oder mehreren Quelldatenbanken (304) an eine oder mehrere Zieldatenbanken (308) durch Folgendes migrieren:

Empfangen einer oder mehrerer manueller Parametereinstellungen während der Migration; und

Ändern des Migrationsplans während der Migration gemäß der einen oder mehreren manuellen Parametereinstellungen.


 
13. System nach Anspruch 11, wobei die Vormigrationsanalyse Folgendes umfasst:

Klassifizieren der mehreren Objekte, Identifizieren installierter Datenbankoptionen und Identifizieren komplexer Objekte, die während der Migration eine besondere Behandlung erfordern; und

Neukonfigurieren der komplexen Objekte, sodass eine Anzahl von Fällen, in denen die komplexen Objekte nicht verfügbar sind, reduziert wird.


 


Revendications

1. Procédé de migration de données d'une ou plusieurs bases de données sources (304) vers une ou plusieurs bases de données cibles (308), le procédé comprenant :

la réception, à partir d'un service de modélisation de base de données en nuage, des données concernant la ou les bases de données sources (304) et la ou les bases de données cibles (308), le service de modélisation de base de données en nuage étant situé à distance des bases de données sources (304) et étant configuré pour collecter et analyser des données à partir des bases de données sources (304) et des bases de données cibles (308) ;

la production d'une analyse de prémigration pour une pluralité d'objets stockés dans la ou les bases de données sources (304), sur la base des données du service de modélisation de base de données en nuage ;

la production d'une pluralité d'écritures de migration qui transfèrent la pluralité d'objets de la ou des bases de données sources (304) à la ou aux bases de données cibles (308), sur la base de l'analyse de prémigration ;

la production d'un plan de migration qui définit un ordre d'exécution pour la pluralité d'écritures de migration ;

la migration de la pluralité d'objets de la ou des bases de données sources (304) vers une ou plusieurs bases de données cibles (308) selon le plan de migration ;

lors de la migration de la pluralité d'objets, le plan de migration définissant en outre laquelle de la pluralité d'écritures de migration peut être exécuté en parallèle ;

lors de la migration de la pluralité d'objets, l'ajustement dynamique de la quantité de traitement parallèle en augmentant ou diminuant la quantité de traitement parallèle des écritures de migration sur la base des ressources de système disponibles ; et

la validation de la pluralité d'objets sur la ou les bases de données cibles (308).


 
2. Procédé selon la revendication 1, dans lequel :

la ou les bases de données cibles (308) comprennent une base de données cible unique ;

la ou les bases de données sources (304) comprennent une pluralité de bases de données sources ; et

la pluralité de bases de données sources sont migrées vers la base de données cible unique.


 
3. Procédé selon la revendication 1, comprenant en outre la présentation de l'analyse de prémigration dans un affichage de portail d'un service en nuage (314) qui est situé à distance d'une ou plusieurs bases de données sources (304) et d'une ou plusieurs bases de données cibles (308).
 
4. Procédé selon la revendication 3, comprenant en outre la présentation d'un rapport d'après-migration dans un affichage de portail d'un service en nuage (314) qui est situé à distance d'une ou plusieurs bases de données sources (304) et d'une ou plusieurs bases de données cibles (308), le rapport d'après-migration comprenant des données résultant de la validation de la pluralité d'objets sur la ou les bases de données cibles (308), comprenant de préférence en outre la présentation d'un rapport de migration en temps réel dans l'affichage du portail du service en nuage (314), le rapport de migration en temps réel indiquant la progression lors de la migration de la pluralité d'objets d'une ou plusieurs bases de données sources (304) vers une ou plusieurs bases de données cibles (308) selon le plan de migration.
 
5. Procédé selon la revendication 1, comprenant en outre :

la réception d'un ou plusieurs ajustements manuels des paramètres lors de la migration ; et

la modification du plan de migration lors de la migration selon l'un ou plusieurs ajustements manuels des paramètres.


 
6. Procédé selon la revendication 1, l'analyse de prémigration comprenant :

le classement de la pluralité d'objets, l'identification des options de base de données installées, et l'identification des objets complexes qui nécessitent une manipulation spéciale lors de la migration ; et

la reconfiguration des objets complexes de manière à réduire le nombre d'instances où les objets complexes ne sont pas disponibles.


 
7. Procédé selon la revendication 1, chaque objet de la pluralité d'objets étant associé à une écriture correspondante de la pluralité d'écritures de migration.
 
8. Procédé selon la revendication 1, le plan de migration définissant en outre un temps d'exécution pour la pluralité d'écritures de migration.
 
9. Procédé selon la revendication 1, la validation de la pluralité d'objets sur la ou les bases de données cibles (308) comprenant :

la détermination d'un ensemble d'objets invalides dans la ou les bases de données sources (304) ; et

la détermination de si oui ou non l'ensemble d'objets non valides a été correctement migré vers la ou les bases de données cibles (308), ou comprenant la détermination de si oui ou non un nombre de lignes de la ou des bases de données sources (304) correspond à un nombre de lignes de la ou des bases de données cibles (308).


 
10. Mémoire lisible par ordinateur comprenant une séquence d'instructions qui, lorsqu'elle est exécutée par un ou plusieurs processeurs, fait migrer le ou les processeurs de données d'une ou plusieurs bases de données sources (304) vers une ou plusieurs bases de données cibles (308) en exécutant toutes les étapes du procédé selon l'une quelconque des revendications 1, 3 ou 4.
 
11. Système comprenant :

un ou plusieurs processeurs ; et

une mémoire couplée en communication avec et lisible par le ou les processeurs et comprenant une séquence d'instructions qui, lorsqu'elle est exécutée par le ou les processeurs, fait migrer le ou les processeurs de données d'une ou plusieurs bases de données sources (304) vers une ou plusieurs bases de données cibles (308) par :

la réception, à partir d'un service de modélisation de base de données en nuage, des données concernant la ou les bases de données sources (304) et la ou les bases de données cibles (308), le service de modélisation de base de données en nuage étant situé à distance des bases de données sources (304) et étant configuré pour collecter et analyser des données à partir des bases de données sources (304) et des bases de données cibles (308) ;

la production d'une analyse de prémigration pour une pluralité d'objets stockés dans la ou les bases de données sources (304), sur la base des données du service de modélisation de base de données en nuage ;

la production d'une pluralité d'écritures de migration qui transfèrent la pluralité d'objets de la ou des bases de données sources (304) à la ou aux bases de données cibles (308), sur la base de l'analyse de prémigration ;

la production d'un plan de migration qui définit un ordre d'exécution pour la pluralité d'écritures de migration ;

la migration de la pluralité d'objets de la ou des bases de données sources (304) vers une ou plusieurs bases de données cibles (308) selon le plan de migration ;

lors de la migration de la pluralité d'objets, le plan de migration définissant en outre laquelle de la pluralité d'écritures de migration peut être exécuté en parallèle ;

lors de la migration de la pluralité d'objets, l'ajustement dynamique de la quantité de traitement parallèle en augmentant ou diminuant la quantité de traitement parallèle des écritures de migration sur la base des ressources de système disponibles ; et

la validation de la pluralité d'objets sur la ou les bases de données cibles (308).


 
12. Système selon la revendication 11, les instructions amenant en outre le ou les processeurs à migrer les données d'une ou plusieurs bases de données sources (304) vers une ou plusieurs bases de données cibles (308) par :

la réception d'un ou plusieurs ajustements manuels des paramètres lors de la migration ; et

la modification du plan de migration lors de la migration selon l'un ou plusieurs ajustements manuels des paramètres.


 
13. Système selon la revendication 11, l'analyse de prémigration comprenant :

le classement de la pluralité d'objets, l'identification des options de base de données installées, et l'identification des objets complexes qui nécessitent une manipulation spéciale lors de la migration ; et

la reconfiguration des objets complexes de manière à réduire le nombre d'instances où les objets complexes ne sont pas disponibles.


 




Drawing
























































Cited references

REFERENCES CITED IN THE DESCRIPTION



This list of references cited by the applicant is for the reader's convenience only. It does not form part of the European patent document. Even though great care has been taken in compiling the references, errors or omissions cannot be excluded and the EPO disclaims all liability in this regard.

Patent documents cited in the description