1 Database Migration Planner

Database Migration Planner provides a comprehensive end-to-end solution for managing database consolidation. It enables you to match managed sources you want to consolidate with new or existing destinations. Database Migration Planner supports the following combinations:

  • Consolidate source databases (single instance or RAC) to fewer destination databases, using the database to database (D2D) consolidation type (consolidation to multi-tenant). Destinations can be existing databases (both non-CDB and CDB) or new databases on new servers, which can be Oracle Exadata Database Machines, Oracle Compute Cloud shapes, or generic servers.
  • Consolidate source databases (single instance or RAC) to fewer servers where the number of databases stays the same, using the database to server (D2S) consolidation type. Destinations can be existing servers or new servers, which can be Oracle Exadata Database Machines, Oracle Compute Cloud shapes, or generic servers.
  • Migrate source databases to another server with more resources. You can perform consolidation at a later time.

Database Migration Planner uses database metrics in assessing resource requirements for database consolidation. You must have Oracle Enterprise Manager 13.5 Release 5 (13.5.0.5) Database Plug-in or later to collect the database metrics Database Migration Planner uses.

The following sections describe Database Migration Planner:

Overview of Database Migration Planner

Database Migration Planner offers flexibility for various customer scenarios:

  • Consolidate 10.2 and higher database versions.

  • Consolidate to Oracle private or public cloud or to Exadata.

  • Use high availability options to minimize downtime, subject to source and destination database platform and version.

Database Migration Planner takes the guess work out of consolidation by basing analysis on historical workload (database and host metrics). It eliminates human error by automating all phases of consolidation from planning to deployment.

Consolidation optimization advice enables you to estimate resource allocation under various consolidation scenarios, from ultra conservative, representing a peak maximum load, to aggressive, measured as the average daily usage per hour. Use optimization advice to identify conflicts based on workload characteristics and Exadata suitability. Assess the impact of compression on I/O and storage, including I/O offloading and Flash Cache technology.

As servers have become more and more powerful, with much greater workload capacity, enterprises with many small databases running on different servers find that their servers are greatly underutilized. Their aim is to consolidate these small databases onto fewer servers, thereby reducing their hardware purchasing cost and ongoing maintenance expenditures.

At the same time, database customers, in assessing their performance needs, want to evaluate resource utilization over a total specified time period to ensure meeting peak demand.

When weighing source I/O requirements to determine needed destination capacity, the key is I/O capacity of external storage units of Oracle Engineered Systems such as Exadata and Exalogic typically shared by databases.

Database Migration Planner collects detailed storage information regarding total space allocated and total space used for each source database by segment type (Table, Index, LOB, Other). It then estimates how much space can be saved by compressing the data. Depending on the segment type and database version, estimates are given for several types and levels of compression.

  • At the project level, Database Migration Planner displays data storage requirements by database and segment type, with compressed and uncompressed values.

  • At the scenario level, Database Migration Planner recommends a specific type and quantity of Exadata external storage system, based on the requirement and customer input with regard to compression and other storage options.

Database Migration Planner collects the following I/O requirements:

  • I/O requests per second (IOPS)

  • I/O bandwidth (MB/Second)

Database Migration Planner fits the requirements to external storage unit I/O capacity, using the ratio of I/O bandwidth to IOPS to characterize each source database workload as either OLTP or DSS. These findings determine whether Database Migration Planner considers IOPS, I/O bandwidth, or both when consolidating to external storage. Note, however, that users can override these recommendations.

Thus, when consolidating databases, Database Migration Planner attempts to fit CPU and memory capacity to the destination, but not database storage and I/O capacity.

Creating a Database Migration Planner Project

You create a database consolidation project for each consolidation effort, then add individual consolidation scenarios within it. You can then compare consolidation scenarios to determine which consolidation strategy makes the most sense.

After the project is defined, a Cloud Control job is submitted to collect available data for the specified targets from the Management Repository. Once the job finishes, the project becomes an active project. As long as the project is in an active state, data collection will continue.

Creating a project involves the following steps:

Selecting the Database Migration Project Type

Complete Step 1 of the database migration project creation process as follows:

  1. From the Enterprise menu, select Consolidation, then select Database Migration Planner. This selection is also available from the Administration menu on the Databases target home page.
  2. Click the Create Project button.
  3. Enter the consolidation project name and, optionally, a description.
  4. Select the appropriate consolidation type.
    • From databases to server containers (D2S)

    • From databases to database containers (D2D).

  5. Click Next to specify source candidates.

Specifying Database Source Candidates

Complete Step 2 of the database consolidation project creation process as follows:

  1. SPECrate®2017_int_base, as the appropriate benchmark for database consolidations, is preselected. Click Select Source Databases to select the source databases to be consolidated from a list of Oracle Enterprise Manager-managed database candidates. Use the filtering criteria to refine your target search. Choose from the filtered results, then click Select.

    The sources you select appear in the table. Note that you can subsequently cull the list by removing selected source databases.

  2. Optionally edit estimated CPU capacity rates by clicking in a row and changing the value.
  3. Click Next to specify destination candidates.

Specifying Database Destination Candidates

Complete Step 3 of the database consolidation project creation process as follows:

  1. Optionally select one or more existing destinations to consolidate the sources to.
    • If you are consolidating from databases to server containers (D2S), click Add Existing Servers as Destinations to view a list of existing destination servers to consolidate the source databases to. Use the filtering criteria to refine the search. Select the servers you want to add, then click Select.

      The destinations you select appear in the table. Note that you can subsequently cull the list by removing selected destination server containers.

    • If you are consolidating from databases to database containers (D2D), click Select Destinations to search for the database containers to consolidate the source databases to. Use the filtering criteria to refine the search. Select the database containers you want to add, then click Select.

      The destinations you select appear in the table. Note that you can subsequently cull the list by removing selected destination database containers.

    Note:

    If you do not select existing destinations, the consolidation will be to new (phantom) destinations.

  2. Click Next to set up data collection.

Setting Data Collection Parameters

Specify the duration over which data used to generate database consolidation scenarios will be collected for the source databases specified in the project. This data will be used to determine the resource requirements that a destination server or database must meet.

  1. Specify the minimum number of days to collect data. The default minimum value is 21 days. To use existing historical data to run and view consolidation scenarios immediately, set the minimum number of days to 0.
  2. Specify the maximum number of days to collect data. The default maximum value is 90 days.
  3. Specify when to begin the data collection process.

    Note that once data collection begins, you can elect to suspend and resume collecting at any time from the Actions menu in the Consolidation console.

  4. Optionally select Continue Data Collection Over the Maximum Days to purge the oldest day's data when data for a new day is added.
  5. Click Next to choose a pre-configured scenario.

Choosing a Pre-configured Scenario

When creating a database consolidation project, you can optionally choose to generate pre-configured consolidation scenarios to add to the project.

These scenarios are generated using data collected for the sources defined in the consolidation project at the time the project is created. If insufficient data is available when the project is created, the pre-configured scenarios will be automatically generated once the minimum amount of data has been collected.

Enterprise Manager Consolidation ships with three out-of-the-box scenarios that represent aggressive, medium, and conservative consolidation schemes.

  1. Choose whether to use a pre-configured scenario by clicking the appropriate radio button. Choosing the option displays a list of the out-of-the-box consolidation scenarios available. By default, the scenarios are designated by the method used to aggregate source target resource usage:
    • Aggressive: Aggregate data based on average daily usage per hour.

      This typically results in a high consolidation (source:destination) ratio, because more sources will “fit" into each destination. But because more sources are involved, the odds that one or more will not meet the resource requirements are higher.

    • Medium: Aggregate data based on the 80 percentile usage.

      This typically results in a source:destination ratio somewhere between Aggressive and Conservative aggregations.

    • Conservative: Aggregate data based on maximum daily usage per hour.

      This typically results in a lower source:destination ratio, because fewer sources will “fit" into each destination.

    Usage statistics are calculated based on the following criteria:

    • Resource Requirements: Source requirements, such as CPU, memory (GB) and disk capacity, that must be met by destinations.

    • Applicable Dates: The days of the week on which resource usage metrics are collected.

    • Target Server Utilization Limit: The maximum resource utilization (percentage) that can be used on destinations. The scenario method in effect determines utilization percentage.

  2. Select the pre-configured scenario you want to use.
  3. Select whether to factor new or existing destinations in the scenario. For a D2S project, the choice is either a new (phantom) or existing Exadata Database Machine. For a D2D project, you have to select the appropriate database architecture in addition to choosing a new or existing database on a new or existing Exadata Database Machine.
  4. Click Next to review the consolidation project.

The pre-configured scenarios will be generated when the project is created using data collected for the databases defined in the consolidation project.

You can also opt to create your own custom scenario once the consolidation project has been completed.

Reviewing and Saving the Database Consolidation Project

Review the specifics of the database consolidation project. Use the Back button to return to a given step to make changes. If satisfied, click Submit. A message confirms that the project has been created and the job has been submitted.

Once the project is created, it will show up in the Consolidation console. Consolidation scenarios can then be defined for this project.

Creating a Database Migration Planner Scenario

You can create custom database consolidation scenarios instead of or in addition to using the pre-configured scenarios. Multiple scenarios can be created within a project, enabling you to compare different scenarios before deciding on a solution. New consolidation scenarios are created within an existing consolidation project.

Note:

Because a scenario can include a subset of all databases, in this situation it can be considered somewhat separate from a project.

You can create consolidation scenarios for planning purposes. You also can implement the scenario, which enables you to perform the database migration on-demand.

Creating a scenario involves the following steps:

Setting Up the Scenario

Complete Step 1 of the database consolidation scenario creation process as follows:

  1. From the Enterprise menu, select Consolidation, then select Database Migration Planner. This selection is also available from the Administration menu on the Databases target home page.
  2. Click the consolidation project for which the scenario is intended.
  3. Click the Create Scenario button.
  4. Specify the scenario details, such as scenario name.
  5. Under Destination Overview, choose the destination database candidates with the following options:
    • Click Use New (Phantom) Database on New Phantom Servers if you plan to use a destination database that does not yet exist. Specify destination database requirements:
      • Is the destination to be a container database (CDB) or a single instance database?
      • Is the database to be clustered?
      • If clustered, what is the minimum number of RAC instances (at least 2)?
      • Is the server to be Exadata, Cloud, or generic?

      Adjust the memory and storage estimates as necessary.

    • Click Use Existing Databases to view a set of existing qualified destination database candidates for the project.
  6. Specify the source resources to consider. Database Migration Planner will aggregate the specified resources to determine the total requirements.
    • Resource Type: The server requirements such as CPU and memory (GB) that must be considered.
    • Scale Factor: Provide room for growth on the destination for each source. The resource requirement estimate uses the scale factor to pad the estimate for consolidation. So, for example, if the estimated requirement for a given source, based on usage data, is 2 GB of memory, which equates to a scale factor of 1, and you specify a scale factor of 1.1, 2.2 GB will be required to consolidate that source.
    • Applicable Days: The days of the week on which resource usage metrics are collected.
    • Resource Allocation: The method used to aggregate overall database source resource usage. Values are:
      • Aggressive: Aggregate data based on average daily usage per hour.

        This typically results in a high consolidation (source:destination) ratio, because more sources will “fit" into each destination. But because more sources are involved, the odds that one or more will not meet the resource requirements are higher.

      • Medium: Aggregate data based on the 80 percentile usage.

        This typically results in a source:destination ratio somewhere between Aggressive and Conservative aggregations.

      • Conservative: Aggregate data based on maximum daily usage per hour.

        This typically results in a lower source:destination ratio, because fewer sources will “fit" into each destination.

      • Ultra Conservative: Do not aggregate data by hourly usage. Instead uses the highest usage observed across the specified date range. This is the default for database consolidations.
    • The Date Ranges should define a period of time that is typical of standard resource requirements.
  7. Click Estimated Requirements to view the estimated total resource requirements. For database consolidations, it is the single value that characterizes requirements over the date range.
  8. Optionally exclude or include sources, as appropriate.
  9. Click Next to define consolidation constraints.

Defining Constraints for Database Consolidation

Specify business, corporate or technical constraints that must be enforced. Constraints can guide the allocation process during automatic source-to-destination mapping. For manual mappings between sources and destinations, constraints can calculate violations.

Complete Step 2 of a database consolidation scenario as follows:

  1. Select compatible database criteria.

    Databases are considered compatible if they have the same specified target properties and configurations. Use target properties and configurations to consolidate databases based on functional area or database release and version.

  2. Specify mutually exclusive source database criteria.

    Use conditions to restrict consolidation of Data Guard/standby databases.

  3. Click Preview Effect of Constraints to view a list of source databases that are not compatible based on the defined constraints.
  4. Click Next to specify destination server candidates.

Planning the Destination for a Database to Database Project

For a D2D project:

  1. Proceed according to your Destination Overview (candidate) selection in Step 1:
    • For new:
      • If you selected Oracle Exadata for server in Step 1, click the search icon to select an Exadata Database Machine configuration type.
      • If you selected Oracle Compute Cloud for server in Step 1, click the search icon to select the cloud computing configuration, or shape, to use as the destination. See About Oracle Compute Cloud Shapes, for information on shapes.
      • If you selected Generic Server for server in Step 1, provide the estimated CPU capacity if available; otherwise, click the search icon next to the CPU capacity input field, then select a server configuration that most closely matches your needs. Enter a memory capacity in gigabytes.
    • For existing: No action needed. You can only view the candidates.
  2. Configure shared storage.
    • Shared Storage Unit–Selection can be a generic storage unit (default for generic server) or one of many Exadata storage units.
      • Destination databases running on generic servers share a single storage system for usable storage space, IOPS, and I/O bandwidth. Accept the defaults or specify capacity values for the respective metrics.
      • Destination databases running on Exadata Database Machines share a single storage system at a particular rack level; that is, usable storage space, IOPS, and I/O bandwidth are shared across one rack of the database machine. Capacity values for these metrics are not editable.
    • ASM Redundancy–Specify the level of redundancy to use. You may, for example, want to set the level to high for mission critical systems, whereas, normal would be adequate for test and development systems.
  3. Specify the compression to use for various segment types. Use compression type to adjust the storage space requirement.
    • Table Compression Type–Choices include BASIC, OLTP, QUERY HIGH or LOW, ARCHIVE HIGH or LOW. For database versions earlier than 11.2, only OLTP is supported.
    • Index Compression Type–Choices include HIGH or LOW.
    • LOB Compression Type–Choices include HIGH, MEDIUM, or LOW.
  4. Accept the defaults or edit the percentages for Maximum Allowed Resource Utilization on Destination Servers. Contrast these allowances, which provide headroom on destination servers, with the scale factor, which provides headroom for individual source servers.
  5. Click Next to map the source databases to the destination database.

Planning the Destination for a Database to Server Project

For a D2S project:

  1. Choose destination server candidates using either of the following options:
    • Click Use New (Phantom) Servers if you plan to use destination servers that have yet to be provisioned or purchased, then select one of the following options:

      • Oracle Exadata On Premise and click the search icon to select a configuration type appropriate Exadata Database Machine.

      • Oracle Exadata Cloud at Customer and click the search icon to select a configuration type appropriate Exadata Database Machine.

      • Oracle Exadata Cloud Service and click the search icon to select a configuration type appropriate Exadata Database Machine.

      • Generic Server and provide the estimated CPU capacity if available; otherwise, click the search icon next to the CPU capacity input field, then select a server configuration that most closely matches your needs.

        Adjust the memory estimate as necessary.

      • Oracle Compute Cloud and click the search icon to select the cloud computing configuration, or shape, to use as the destination. See About Oracle Compute Cloud Shapes, for information on shapes.

    • Click Use Existing Servers to specify a set of existing managed servers to use as destinations for the project.

      These are the servers you specified when defining the scope for the consolidation project. Database Migration Planner will determine the available hardware resources based on collected usage data.

      By default, the consolidation process will try to use as few destination servers as possible. If you prefer, choose to balance the source load across all destinations.

  2. Configure shared storage.
    • Shared Storage Unit–Selection can be a generic storage unit (default for generic server) or one of many Exadata storage units.

      • Destination databases running on generic servers share a single storage system for usable storage space, IOPS, and I/O bandwidth. Accept the defaults or specify capacity values for the respective metrics.

      • Destination databases running on Exadata Database Machines share a single storage system at a particular rack level; that is, usable storage space, IOPS, and I/O bandwidth are shared across one rack of the database machine. Capacity values for these metrics are not editable.

    • ASM Redundancy–Specify the level of redundancy to use. You may, for example, want to set the level to high for mission critical systems, whereas, normal would be adequate for test and development systems.

  3. Specify the compression to use for various segment types. Use compression type to adjust the storage space requirement.
    • Table Compression Type–Choices include BASIC, OLTP, QUERY HIGH or LOW, ARCHIVE HIGH or LOW. For database versions earlier than 11.2, only OLTP is supported.

    • Index Compression Type–Choices include HIGH or LOW.

    • LOB Compression Type–Choices include HIGH, MEDIUM, or LOW.

  4. Accept the defaults or edit the percentages for Maximum Allowed Resource Utilization on Destination Servers. Contrast these allowances, which provide headroom on destination servers, with the scale factor, which provides headroom for individual source servers.
  5. Click Next to map the source databases to the destination servers.

Mapping Database Sources to Destinations

Next, map the database sources to the destinations they will be consolidated to. The objective is to fit source requirements with each destination's available resources as tightly as possible.

Oracle recommends that you allow Database Migration Planner to perform this mapping automatically. This will allow the tool to maximize resource utilization of destinations based on resource capabilities and the various consolidation constraints specified. If you use manual mapping, the source will be mapped to the destination even if the destination lacks sufficient capacity. In addition, manual mapping may violate previously declared constraints.

When you have chosen existing destinations, you can optionally map each source and destination manually:

  1. Click a source in the list.
  2. Click the flashlight icon to select the destination to map to the source. Note that you can map a single source to a destination or multiple sources to a destination, but there can be only one destination

    The resulting consolidation report will show any resource and/or constraint violations due to such manual mapping.

  3. Click Next to review the consolidation scenario.

Reviewing and Saving the Database Consolidation Scenario

Finally, review the various parameters set in the new database scenario. Use the Back button if you need to make changes; otherwise, proceed as follows:

  • Optionally, you can save the scenario as a template, which can then be shared with other users. If you want to do this, click Save Scenario as a Template. In the dialog that opens, browse to a location in the local file system and save the template as an XML file.

  • Click Submit. A message appears confirming that a job has been submitted for further analysis of the scenario. Results appear at the bottom of the Consolidation home page when done.

Other Database Consolidation Scenario Creation Options

You can create a database consolidation scenario based on an existing scenario. Select an applicable scenario under a consolidation project and then select Create Like Scenario from the Actions menu. Modify the scenario as desired, provide a meaningful name, and submit for analysis as usual.

If you saved a scenario as a template, you can subsequently import the scenario into another environment.

  1. On the Database Migration Planner home page, select Create Scenario from Template from the Actions menu.
  2. Browse to a saved template XML file in the local file system. Click Open.
  3. Indicate the extent to which you want to replicate the saved template; that is, in terms of the resources, constraints, and destinations planning represented by the template. Click Update if you make any changes.
  4. Click OK to import the saved template.

    The imported scenario opens in the wizard where you can edit and save it in Database Migration Planner.

Evaluating Database Consolidation Scenarios

You can view details for your consolidation scenarios using the Consolidation console. After evaluating the consolidation scenario results, you can define different scenarios as well as rerun existing scenarios to re-evaluate them based on the previously specified conditions with the latest available data. The results of the previous analysis will be over-written. You can also create a new scenario based on an existing scenario, where you tweak certain values to customize the new scenario. This iterative process helps you obtain the optimized consolidation scenario which is generated by compromising various factors and weighing different trade-offs.

Compare the consolidation scenarios you create to determine which consolidation strategy best meets your requirements.

Your objective is to:

  • Match source resource requirements with destinations best able to meet those requirements.

  • Ensure that the destination's available capacity can accommodate the combined calculated workloads of all source databases.

  • Provide room for growth on destinations by allowing for headroom as a factor of resource requirements.

  • Optionally balance the source workload across all available destinations.

  1. From the Enterprise menu, select Consolidation, then select Database Migration Planner. This selection is also available from the Administration menu on the Databases target home page.
  2. First, examine the project containing the scenario you want to view.
    • The Status column indicates the status of data collection, based on the minimum and maximum collection days specified for the project.

    • The General tab summarizes the project in terms of type, collection details, number of sources, and so forth.

    • Click the Source Candidates tab to view various usage data collected for the sources defined in the project. Data can include utilization rates for CPU, memory, storage, and disk and network I/O, depending on the project type.

      Data might include the estimated compression ratio. As noted on the page, if listed as not available, you can gather compression estimates prior to creating scenarios. Click the Deploy Database Migration Planner Packages link in the on-screen text above the details to submit a compression advice job.

    • Click the Source Workload tab to view source resource usage data collected. The default display is a line graph. Alternatively, you can view the same data as a heat map, a grid of 24 hours by 30 days, showing the workload for a given hour as a color indicating the load relative to 100% of capacity, and a number showing the actual percentage. You can filter either view by source, resource type, and month.

    • Click the Destination Candidates tab to view a breakdown of hardware details and projected resource utilization by destination candidate, based on the sources to be consolidated.

    • Click the Advisor Findings tab to view the results of checks run on database performance data. Findings reveal potential performance bottlenecks and recommend ways of reducing or eliminating them.

      Severity may be informational, a warning, or critical in nature. Mouse over the rule for a description of what the rule checks for and suggestions for a resolution. The finding may be truncated. Mouse over it to see the complete description.

    • Click the Report button above the table when the project is selected to view summarized information and more details.

  3. Next, view the data for a specific scenario. The General tab summarizes the scenario in terms of resource type and allocation, constraints, destination types, and so forth. For a completed analysis, click any metric in the row to view details on the respective tab, as follows:
    • Sources: The list of sources to consolidate, including their projected CPU and memory capacities and requirements.

    • Destinations: The list of destinations to which the sources will be consolidated. Resource configuration and calculated utilization are shown for each destination.

      For consolidations to the cloud, resources of consequence are CPU capacity and memory.

    • Ratio: The ratio of sources to destinations. By default, Database Migration Planner will try to “fit" sources into as few destinations as possible.

    • Mapping: The destinations to which specific sources will be mapped. The analysis includes estimated CPU and memory requirements and utilization, enhanced by suggested CPU and memory allocation figures to consider. These suggestions represent a reasonable compromise between requirements and destination server capacity. See Figure 1-1 for a screen capture of a representative consolidation mapping.

    • Storage: Summary of storage requirements and compression estimates for each source database. In calculating storage estimates, Database Migration Planner ignores local storage on Exadata compute nodes (local disks that contain system software), and focuses on data storage contained in Exadata storage units. The system recommends the number of such units needed, based on the source storage requirements and the compression specifications in the scenario.

      Drill down for detailed information. For example, numbers in the Space (GB) (Estimated) column are links. Click the link for a source database to open a compression estimates pop-up. The highlighted row represents the table compression type selected when creating the scenario.

      Similarly, click the links in the IOPS and IO Bandwidth columns to see a breakdown of IOPS and IO bandwidth into read and write components, and in some cases, into small and large I/O subcomponents. You can also see the impact of Exadata Simulation on a source database, in the event of a SQL Performance Analyzer simulation.

      When the destination is an existing server or database that uses Automatic Storage Management (ASM), the system checks and reports the storage space capacity, projected utilization (%), projected space usage (GB), and additional storage capacity (GB) required, if any, on each ASM destination.

    • Confidence: The percentage of the data collected for sources that meet the source usage requirements defined in the scenario. This value is aggregated for all sources defined with the project.

    • Violations: The number of violations of technical or business constraints defined in the scenario. This metric is applicable only if the scenario uses auto-mapping of sources to destinations.

    • Exclusions: The number of sources that do not have a qualified mapping to a destination. These are sources that exceed the capacity of available destinations. An exclusion can occur simply because there is not enough of a resource to accommodate a source.

      A different set of constraints may result in a different optimal scenario. Modify the constraints to come up with different scenario results.

    • Schema Conflicts: Lists schemas that exist in more than one source database or that also exist in the destination database. This is specific to D2D scenarios where you chose a non-CDB (single instance) database architecture in the Destinations Planning step of scenario creation. Schema conflicts do not involve Oracle-supplied system schemas.

    • Advisor Findings: Potential performance bottlenecks and recommended ways of reducing or eliminating them. Also indicates possible problems that can arise based on the consolidation specification.

      Severity may be informational, a warning, or critical in nature. Mouse over the rule for a description of what the rule checks for and suggestions for a resolution. The finding may be truncated. Mouse over it to see the complete description.

Figure 1-1shows the mapping for a simple database-to-database consolidation using the default phantom destination (clustered CDB/PDB). The figure illustrates the key points of mapping as explained in Table 1-1.

Figure 1-1 Database Consolidation Mapping


Mapping tab with annotated descriptions

Table 1-1 explains the key points of mapping as annotated in Figure 1-1.

Table 1-1 Legend for Figure 1-1

Reference Point Explanation

1

Name of rack, compute node, and consolidated database instance

2

Number of databases consolidated to this instance

3

CPU capacity of compute node

4

Total CPU utilization (%) for this compute node, including CPU utilization for existing destinations when applicable

5

Total CPU usage for this compute node

6

Memory capacity of the compute node

7

Total memory utilization (%) for this compute node, including utilization for existing destinations when applicable

8

Total memory usage for this compute node

9

Name of the pluggable database

10

Name of source database consolidated to this PDB

11

Percentage of compute node's CPU consumed by this source database

12

CPU usage for this source database on the compute node

13

Percentage of compute node's memory consumed by this source database

14

Memory usage for this source database on the compute node

About the Advisor Feature of Database Migration Planner

The Advisor gathers database performance data from the Automatic Workload Repository (AWR) and uses the data as input to rules. The rules are evaluated to determine if performance bottlenecks exist in the source or destination databases, and provide advice on how to relieve the problem. At the scenario level, the rules also look at source databases in combination as well as at destination specifications to determine if the consolidation might experience performance problems.

Advisor findings are viewable for both projects and scenarios, as a column on the Database Migration Planner home page, and as a tab in the respective project and scenario details region.

About Compression Advisor

The Compression Advisor estimates how much space compression savings each source database can potentially benefit from for different types of supported compression types, and calculates how much space the uncompressed data would require. The results appear on the Storage tab of a database consolidation scenario. You can also specify how to compress data in the destination, so that reductions can be applied when determining how much storage will be needed. To enable the estimation of compression, you have to deploy a job to each source database and run compression advice to make the results available to Database Migration Planner.

Estimating Compressed Storage Requirements

If you want to factor in compression ratios on source databases as part of a database consolidation, you have to submit a Deploy Database Migration Planner Packages job to gather compression advice on each source. You can do this beforehand or following project creation.

  1. From the Enterprise menu, select Job, then select Activity.
  2. On the Jobs page, click the Create Job button.
  3. Locate Deploy Database Migration Planner Packages in the Job Type list and click Select.

    This takes you to the job creation page, where you also land when you click the Deploy Database Migration Planner Packages link on the Source Candidates tab within a database consolidation project that has already been created.

  4. Enter a name for the compression advice job.
  5. Add database targets that are source candidates to a consolidation. You can multiselect, but the target type (single instance or cluster), must be the same. Select in the table the target instances you want to include in the job.
  6. On the Parameters tab, set Run Compression Advice to Yes.
  7. Complete the rest of the job creation process and submit the job. Note that the job needs to run with SYSDBA credentials on the target databases.

The result of these actions makes estimated compression ratios available to Database Migration Planner. Note that it may take up to 24 hours after compression advice is run for the metrics to collect the data into Enterprise Manager for scenario analysis.

Database Migration and Encrypted Tablespace

If a source database uses encrypted tablespace, you will not be able to access data in these tables on the destination following the migration until you copy the wallet from the source location to a location on the destination. You can find the wallet location in the sqlnet.ora file. The default location of the file is based on the TNS Admin or ORACLE_HOME/network/admin location.

After you copy the wallet to the destination, update the sqlnet.ora file on the destination with the location where you copied the wallet. For example:

ENCRYPTION_WALLET_LOCATION = 
     (SOURCE = 
     (METHOD = FILE) 
     (METHOD_DATA = 
     (DIRECTORY = /scratch/jdoe/app/jdoe/admin/dben/wallet) 
     ) 
   ) 

After updating the file, you have to open the wallet before you can access data in the encrypted tablespace.

  1. From the Targets menu, select Databases, then search for the destination database.
  2. On the destination database home page, select Transparent Data Encryption from the Security menu.
  3. Open the wallet by providing the requisite password.

You can now access data in the encrypted tablespace.

For detailed information on encryption, wallets, and other security-related issues, see the Oracle Database Advanced Security Guide.

Assessing the Performance Impact of Database Migration on SQL Workload

System changes such as migrating a database may cause changes to execution plans of SQL statements, resulting in a significant impact on SQL performance. You can analyze performance impact of database migration on SQL workload using SQL Performance Analyzer to identify the SQL statements that have improved, remained unchanged, or regressed after the system change.

The typical flow to assess the performance impact on SQL workload using SQL Performance Analyzer is as follows:

  1. Capture the SQL workload that you intend to analyze and store it in a SQL tuning set.
  2. Pre-system change, create a SQL Performance Analyzer task.
  3. Build the pre-change SQL trial by test executing or generating execution plans for the SQL statements stored in the SQL tuning set.
  4. Perform the system change.
  5. Build the post-change SQL trial by re-executing the SQL statements in the SQL tuning set on the post-change system.
  6. Generate a report to identify the impact of change on the SQL statements.
  7. View the SQL Performance Analyzer report to compare pre- and post-change SQL performance. You can access the report from the destination database home page by selecting SQL then SQL Performance Analyzer Home from the Performance menu.

As noted, this is the typical flow to use SQL Performance Analyzer. In the case of a database migration, you only need to perform the first and last steps listed above—create the SQL tuning set and view the report. The migration job does the rest:

  • Creates the SQL Performance Analyzer task.

  • Builds the pre-change SQL trial.

  • Performs the database migration.

  • Builds the post-change SQL trial.

  • Generates the report.

For detailed information on using the feature, see "Part I SQL Performance Analyzer" in the Oracle Database Testing Guide.