1. Registry
  2. Packages
  3. Oracle Cloud Infrastructure
  4. API Docs
  5. DatabaseMigration
  6. getMigrationDataVerificationTableRowCounts
Viewing docs for Oracle Cloud Infrastructure v5.6.0
published on Thursday, Nov 5, 2026 by Pulumi
oci logo oci logo
Viewing docs for Oracle Cloud Infrastructure v5.6.0
published on Thursday, Nov 5, 2026 by Pulumi

    This data source provides the list of Migration Data Verification Table Row Counts in Oracle Cloud Infrastructure Database Migration service.

    Lists table row count comparison results for a migration.

    The migration must already have Data Verification results.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testMigrationDataVerificationTableRowCounts = oci.databasemigration.getMigrationDataVerificationTableRowCounts({
        compartmentId: compartmentId,
        migrationId: migrationId,
        migrationDataVerificationTableRowCountFilter: null,
        minAbsDeltaPercent: null,
        owner: null,
        tableName: null,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_migration_data_verification_table_row_counts = oci.databasemigration.get_migration_data_verification_table_row_counts(compartment_id=compartment_id,
        migration_id=migration_id,
        migration_data_verification_table_row_count_filter=None,
        min_abs_delta_percent=None,
        owner=None,
        table_name=None)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v5/go/oci/databasemigration"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := databasemigration.GetMigrationDataVerificationTableRowCounts(ctx, &databasemigration.GetMigrationDataVerificationTableRowCountsArgs{
    			CompartmentId: compartmentId,
    			MigrationId:   migrationId,
    			MigrationDataVerificationTableRowCountFilter: pulumi.StringRef(nil),
    			MinAbsDeltaPercent:                           pulumi.Float64Ref(nil),
    			Owner:                                        pulumi.StringRef(nil),
    			TableName:                                    pulumi.StringRef(nil),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testMigrationDataVerificationTableRowCounts = Oci.DatabaseMigration.GetMigrationDataVerificationTableRowCounts.Invoke(new()
        {
            CompartmentId = compartmentId,
            MigrationId = migrationId,
            MigrationDataVerificationTableRowCountFilter = null,
            MinAbsDeltaPercent = null,
            Owner = null,
            TableName = null,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.DatabaseMigration.DatabaseMigrationFunctions;
    import com.pulumi.oci.DatabaseMigration.inputs.GetMigrationDataVerificationTableRowCountsArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var testMigrationDataVerificationTableRowCounts = DatabaseMigrationFunctions.getMigrationDataVerificationTableRowCounts(GetMigrationDataVerificationTableRowCountsArgs.builder()
                .compartmentId(compartmentId)
                .migrationId(migrationId)
                .migrationDataVerificationTableRowCountFilter(null)
                .minAbsDeltaPercent(null)
                .owner(null)
                .tableName(null)
                .build());
    
        }
    }
    
    variables:
      testMigrationDataVerificationTableRowCounts:
        fn::invoke:
          function: oci:DatabaseMigration:getMigrationDataVerificationTableRowCounts
          arguments:
            compartmentId: ${compartmentId}
            migrationId: ${migrationId}
            migrationDataVerificationTableRowCountFilter: null
            minAbsDeltaPercent: null
            owner: null
            tableName: null
    
    terraform {
      required_providers {
        oci = {
          source = "pulumi/oci"
        }
      }
    }
    
    data "oci_database_migration_migration_data_verification_table_row_counts" "testMigrationDataVerificationTableRowCounts" {
      compartment_id                                     = compartmentId
      migration_id                                       = migrationId
      migration_data_verification_table_row_count_filter = null
      min_abs_delta_percent                              = null
      owner                                              = null
      table_name                                         = null
    }
    

    Using getMigrationDataVerificationTableRowCounts

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getMigrationDataVerificationTableRowCounts(args: GetMigrationDataVerificationTableRowCountsArgs, opts?: InvokeOptions): Promise<GetMigrationDataVerificationTableRowCountsResult>
    function getMigrationDataVerificationTableRowCountsOutput(args: GetMigrationDataVerificationTableRowCountsOutputArgs, opts?: InvokeOutputOptions): Output<GetMigrationDataVerificationTableRowCountsResult>
    def get_migration_data_verification_table_row_counts(compartment_id: Optional[str] = None,
                                                         filters: Optional[Sequence[GetMigrationDataVerificationTableRowCountsFilter]] = None,
                                                         migration_data_verification_table_row_count_filter: Optional[str] = None,
                                                         migration_id: Optional[str] = None,
                                                         min_abs_delta_percent: Optional[float] = None,
                                                         owner: Optional[str] = None,
                                                         table_name: Optional[str] = None,
                                                         opts: Optional[InvokeOptions] = None) -> GetMigrationDataVerificationTableRowCountsResult
    def get_migration_data_verification_table_row_counts_output(compartment_id: pulumi.Input[Optional[str]] = None,
                                                         filters: pulumi.Input[Optional[Sequence[pulumi.Input[GetMigrationDataVerificationTableRowCountsFilterArgs]]]] = None,
                                                         migration_data_verification_table_row_count_filter: pulumi.Input[Optional[str]] = None,
                                                         migration_id: pulumi.Input[Optional[str]] = None,
                                                         min_abs_delta_percent: pulumi.Input[Optional[float]] = None,
                                                         owner: pulumi.Input[Optional[str]] = None,
                                                         table_name: pulumi.Input[Optional[str]] = None,
                                                         opts: Optional[InvokeOutputOptions] = None) -> Output[GetMigrationDataVerificationTableRowCountsResult]
    func GetMigrationDataVerificationTableRowCounts(ctx *Context, args *GetMigrationDataVerificationTableRowCountsArgs, opts ...InvokeOption) (*GetMigrationDataVerificationTableRowCountsResult, error)
    func GetMigrationDataVerificationTableRowCountsOutput(ctx *Context, args *GetMigrationDataVerificationTableRowCountsOutputArgs, opts ...InvokeOption) GetMigrationDataVerificationTableRowCountsResultOutput

    > Note: This function is named GetMigrationDataVerificationTableRowCounts in the Go SDK.

    public static class GetMigrationDataVerificationTableRowCounts 
    {
        public static Task<GetMigrationDataVerificationTableRowCountsResult> InvokeAsync(GetMigrationDataVerificationTableRowCountsArgs args, InvokeOptions? opts = null)
        public static Output<GetMigrationDataVerificationTableRowCountsResult> Invoke(GetMigrationDataVerificationTableRowCountsInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetMigrationDataVerificationTableRowCountsResult> Invoke(GetMigrationDataVerificationTableRowCountsInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetMigrationDataVerificationTableRowCountsResult> getMigrationDataVerificationTableRowCounts(GetMigrationDataVerificationTableRowCountsArgs args, InvokeOptions options)
    public static Output<GetMigrationDataVerificationTableRowCountsResult> getMigrationDataVerificationTableRowCounts(GetMigrationDataVerificationTableRowCountsArgs args, InvokeOptions options)
    public static Output<GetMigrationDataVerificationTableRowCountsResult> getMigrationDataVerificationTableRowCounts(GetMigrationDataVerificationTableRowCountsArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: oci:DatabaseMigration/getMigrationDataVerificationTableRowCounts:getMigrationDataVerificationTableRowCounts
      arguments:
        # arguments dictionary
    data "oci_database_migration_get_migration_data_verification_table_row_counts" "name" {
        # arguments
    }

    The following arguments are supported:

    CompartmentId string
    The ID of the compartment in which to list resources.
    MigrationId string
    The OCID of the migration
    Filters List<GetMigrationDataVerificationTableRowCountsFilter>
    MigrationDataVerificationTableRowCountFilter string
    Free-text filter applied by the service to relevant fields for the report.
    MinAbsDeltaPercent double

    Minimum absolute deltaPercent threshold (magnitude) to return. The service filters results where abs(deltaPercent) >= minAbsDeltaPercent. Must be non-negative.

    Note: This filter applies to the object type counts report, which uses deltaPercent. Table row count reports use variancePercent instead.

    Owner string
    A filter to return only results for a specific owner.
    TableName string
    A filter to return only results for a specific table.
    CompartmentId string
    The ID of the compartment in which to list resources.
    MigrationId string
    The OCID of the migration
    Filters []GetMigrationDataVerificationTableRowCountsFilter
    MigrationDataVerificationTableRowCountFilter string
    Free-text filter applied by the service to relevant fields for the report.
    MinAbsDeltaPercent float64

    Minimum absolute deltaPercent threshold (magnitude) to return. The service filters results where abs(deltaPercent) >= minAbsDeltaPercent. Must be non-negative.

    Note: This filter applies to the object type counts report, which uses deltaPercent. Table row count reports use variancePercent instead.

    Owner string
    A filter to return only results for a specific owner.
    TableName string
    A filter to return only results for a specific table.
    compartment_id string
    The ID of the compartment in which to list resources.
    migration_id string
    The OCID of the migration
    filters list(object)
    migration_data_verification_table_row_count_filter string
    Free-text filter applied by the service to relevant fields for the report.
    min_abs_delta_percent number

    Minimum absolute deltaPercent threshold (magnitude) to return. The service filters results where abs(deltaPercent) >= minAbsDeltaPercent. Must be non-negative.

    Note: This filter applies to the object type counts report, which uses deltaPercent. Table row count reports use variancePercent instead.

    owner string
    A filter to return only results for a specific owner.
    table_name string
    A filter to return only results for a specific table.
    compartmentId String
    The ID of the compartment in which to list resources.
    migrationId String
    The OCID of the migration
    filters List<GetMigrationDataVerificationTableRowCountsFilter>
    migrationDataVerificationTableRowCountFilter String
    Free-text filter applied by the service to relevant fields for the report.
    minAbsDeltaPercent Double

    Minimum absolute deltaPercent threshold (magnitude) to return. The service filters results where abs(deltaPercent) >= minAbsDeltaPercent. Must be non-negative.

    Note: This filter applies to the object type counts report, which uses deltaPercent. Table row count reports use variancePercent instead.

    owner String
    A filter to return only results for a specific owner.
    tableName String
    A filter to return only results for a specific table.
    compartmentId string
    The ID of the compartment in which to list resources.
    migrationId string
    The OCID of the migration
    filters GetMigrationDataVerificationTableRowCountsFilter[]
    migrationDataVerificationTableRowCountFilter string
    Free-text filter applied by the service to relevant fields for the report.
    minAbsDeltaPercent number

    Minimum absolute deltaPercent threshold (magnitude) to return. The service filters results where abs(deltaPercent) >= minAbsDeltaPercent. Must be non-negative.

    Note: This filter applies to the object type counts report, which uses deltaPercent. Table row count reports use variancePercent instead.

    owner string
    A filter to return only results for a specific owner.
    tableName string
    A filter to return only results for a specific table.
    compartment_id str
    The ID of the compartment in which to list resources.
    migration_id str
    The OCID of the migration
    filters Sequence[GetMigrationDataVerificationTableRowCountsFilter]
    migration_data_verification_table_row_count_filter str
    Free-text filter applied by the service to relevant fields for the report.
    min_abs_delta_percent float

    Minimum absolute deltaPercent threshold (magnitude) to return. The service filters results where abs(deltaPercent) >= minAbsDeltaPercent. Must be non-negative.

    Note: This filter applies to the object type counts report, which uses deltaPercent. Table row count reports use variancePercent instead.

    owner str
    A filter to return only results for a specific owner.
    table_name str
    A filter to return only results for a specific table.
    compartmentId String
    The ID of the compartment in which to list resources.
    migrationId String
    The OCID of the migration
    filters List<Property Map>
    migrationDataVerificationTableRowCountFilter String
    Free-text filter applied by the service to relevant fields for the report.
    minAbsDeltaPercent Number

    Minimum absolute deltaPercent threshold (magnitude) to return. The service filters results where abs(deltaPercent) >= minAbsDeltaPercent. Must be non-negative.

    Note: This filter applies to the object type counts report, which uses deltaPercent. Table row count reports use variancePercent instead.

    owner String
    A filter to return only results for a specific owner.
    tableName String
    A filter to return only results for a specific table.

    getMigrationDataVerificationTableRowCounts Result

    The following output properties are available:

    CompartmentId string
    DataVerificationTableRowCountCollections List<GetMigrationDataVerificationTableRowCountsDataVerificationTableRowCountCollection>
    The list of data_verification_table_row_count_collection.
    Id string
    The provider-assigned unique ID for this managed resource.
    MigrationId string
    Filters List<GetMigrationDataVerificationTableRowCountsFilter>
    MigrationDataVerificationTableRowCountFilter string
    MinAbsDeltaPercent double
    Owner string
    Schema/owner name.
    TableName string
    Table name.
    CompartmentId string
    DataVerificationTableRowCountCollections []GetMigrationDataVerificationTableRowCountsDataVerificationTableRowCountCollection
    The list of data_verification_table_row_count_collection.
    Id string
    The provider-assigned unique ID for this managed resource.
    MigrationId string
    Filters []GetMigrationDataVerificationTableRowCountsFilter
    MigrationDataVerificationTableRowCountFilter string
    MinAbsDeltaPercent float64
    Owner string
    Schema/owner name.
    TableName string
    Table name.
    compartment_id string
    data_verification_table_row_count_collections list(object)
    The list of data_verification_table_row_count_collection.
    id string
    The provider-assigned unique ID for this managed resource.
    migration_id string
    filters list(object)
    migration_data_verification_table_row_count_filter string
    min_abs_delta_percent number
    owner string
    Schema/owner name.
    table_name string
    Table name.
    compartmentId String
    dataVerificationTableRowCountCollections List<GetMigrationDataVerificationTableRowCountsDataVerificationTableRowCountCollection>
    The list of data_verification_table_row_count_collection.
    id String
    The provider-assigned unique ID for this managed resource.
    migrationId String
    filters List<GetMigrationDataVerificationTableRowCountsFilter>
    migrationDataVerificationTableRowCountFilter String
    minAbsDeltaPercent Double
    owner String
    Schema/owner name.
    tableName String
    Table name.
    compartmentId string
    dataVerificationTableRowCountCollections GetMigrationDataVerificationTableRowCountsDataVerificationTableRowCountCollection[]
    The list of data_verification_table_row_count_collection.
    id string
    The provider-assigned unique ID for this managed resource.
    migrationId string
    filters GetMigrationDataVerificationTableRowCountsFilter[]
    migrationDataVerificationTableRowCountFilter string
    minAbsDeltaPercent number
    owner string
    Schema/owner name.
    tableName string
    Table name.
    compartmentId String
    dataVerificationTableRowCountCollections List<Property Map>
    The list of data_verification_table_row_count_collection.
    id String
    The provider-assigned unique ID for this managed resource.
    migrationId String
    filters List<Property Map>
    migrationDataVerificationTableRowCountFilter String
    minAbsDeltaPercent Number
    owner String
    Schema/owner name.
    tableName String
    Table name.

    Supporting Types

    GetMigrationDataVerificationTableRowCountsDataVerificationTableRowCountCollection

    Items []GetMigrationDataVerificationTableRowCountsDataVerificationTableRowCountCollectionItem
    Items in collection.
    TotalItems int
    Total number of items matching the request.
    items list(object)
    Items in collection.
    total_items number
    Total number of items matching the request.
    items List<GetMigrationDataVerificationTableRowCountsDataVerificationTableRowCountCollectionItem>
    Items in collection.
    totalItems Integer
    Total number of items matching the request.
    items GetMigrationDataVerificationTableRowCountsDataVerificationTableRowCountCollectionItem[]
    Items in collection.
    totalItems number
    Total number of items matching the request.
    items List<Property Map>
    Items in collection.
    totalItems Number
    Total number of items matching the request.

    GetMigrationDataVerificationTableRowCountsDataVerificationTableRowCountCollectionItem

    DatabaseCombination string
    The combination of source and target databases participating in a migration. Example: ORACLE means the migration is meant for migrating Oracle source and target databases.
    Owner string
    A filter to return only results for a specific owner.
    SourceRowCount int
    Row count in source.
    TableName string
    A filter to return only results for a specific table.
    TargetRowCount int
    Row count in target.
    TimeLastSourceStatisticsCollection string
    Time of last statistics collection in the source used for the dictionary-based row count estimate. This value is reported per row because statistics can be collected at different times per object. This timestamp is stored in UTC.
    TimeLastTargetStatisticsCollection string
    Time of last statistics collection in the target used for the dictionary-based row count estimate. This value is reported per row because statistics can be collected at different times per object. This timestamp is stored in UTC.
    VariancePercent double
    Percentage variance between source and target row counts. This value is expected to be non-negative.
    DatabaseCombination string
    The combination of source and target databases participating in a migration. Example: ORACLE means the migration is meant for migrating Oracle source and target databases.
    Owner string
    A filter to return only results for a specific owner.
    SourceRowCount int
    Row count in source.
    TableName string
    A filter to return only results for a specific table.
    TargetRowCount int
    Row count in target.
    TimeLastSourceStatisticsCollection string
    Time of last statistics collection in the source used for the dictionary-based row count estimate. This value is reported per row because statistics can be collected at different times per object. This timestamp is stored in UTC.
    TimeLastTargetStatisticsCollection string
    Time of last statistics collection in the target used for the dictionary-based row count estimate. This value is reported per row because statistics can be collected at different times per object. This timestamp is stored in UTC.
    VariancePercent float64
    Percentage variance between source and target row counts. This value is expected to be non-negative.
    database_combination string
    The combination of source and target databases participating in a migration. Example: ORACLE means the migration is meant for migrating Oracle source and target databases.
    owner string
    A filter to return only results for a specific owner.
    source_row_count number
    Row count in source.
    table_name string
    A filter to return only results for a specific table.
    target_row_count number
    Row count in target.
    time_last_source_statistics_collection string
    Time of last statistics collection in the source used for the dictionary-based row count estimate. This value is reported per row because statistics can be collected at different times per object. This timestamp is stored in UTC.
    time_last_target_statistics_collection string
    Time of last statistics collection in the target used for the dictionary-based row count estimate. This value is reported per row because statistics can be collected at different times per object. This timestamp is stored in UTC.
    variance_percent number
    Percentage variance between source and target row counts. This value is expected to be non-negative.
    databaseCombination String
    The combination of source and target databases participating in a migration. Example: ORACLE means the migration is meant for migrating Oracle source and target databases.
    owner String
    A filter to return only results for a specific owner.
    sourceRowCount Integer
    Row count in source.
    tableName String
    A filter to return only results for a specific table.
    targetRowCount Integer
    Row count in target.
    timeLastSourceStatisticsCollection String
    Time of last statistics collection in the source used for the dictionary-based row count estimate. This value is reported per row because statistics can be collected at different times per object. This timestamp is stored in UTC.
    timeLastTargetStatisticsCollection String
    Time of last statistics collection in the target used for the dictionary-based row count estimate. This value is reported per row because statistics can be collected at different times per object. This timestamp is stored in UTC.
    variancePercent Double
    Percentage variance between source and target row counts. This value is expected to be non-negative.
    databaseCombination string
    The combination of source and target databases participating in a migration. Example: ORACLE means the migration is meant for migrating Oracle source and target databases.
    owner string
    A filter to return only results for a specific owner.
    sourceRowCount number
    Row count in source.
    tableName string
    A filter to return only results for a specific table.
    targetRowCount number
    Row count in target.
    timeLastSourceStatisticsCollection string
    Time of last statistics collection in the source used for the dictionary-based row count estimate. This value is reported per row because statistics can be collected at different times per object. This timestamp is stored in UTC.
    timeLastTargetStatisticsCollection string
    Time of last statistics collection in the target used for the dictionary-based row count estimate. This value is reported per row because statistics can be collected at different times per object. This timestamp is stored in UTC.
    variancePercent number
    Percentage variance between source and target row counts. This value is expected to be non-negative.
    database_combination str
    The combination of source and target databases participating in a migration. Example: ORACLE means the migration is meant for migrating Oracle source and target databases.
    owner str
    A filter to return only results for a specific owner.
    source_row_count int
    Row count in source.
    table_name str
    A filter to return only results for a specific table.
    target_row_count int
    Row count in target.
    time_last_source_statistics_collection str
    Time of last statistics collection in the source used for the dictionary-based row count estimate. This value is reported per row because statistics can be collected at different times per object. This timestamp is stored in UTC.
    time_last_target_statistics_collection str
    Time of last statistics collection in the target used for the dictionary-based row count estimate. This value is reported per row because statistics can be collected at different times per object. This timestamp is stored in UTC.
    variance_percent float
    Percentage variance between source and target row counts. This value is expected to be non-negative.
    databaseCombination String
    The combination of source and target databases participating in a migration. Example: ORACLE means the migration is meant for migrating Oracle source and target databases.
    owner String
    A filter to return only results for a specific owner.
    sourceRowCount Number
    Row count in source.
    tableName String
    A filter to return only results for a specific table.
    targetRowCount Number
    Row count in target.
    timeLastSourceStatisticsCollection String
    Time of last statistics collection in the source used for the dictionary-based row count estimate. This value is reported per row because statistics can be collected at different times per object. This timestamp is stored in UTC.
    timeLastTargetStatisticsCollection String
    Time of last statistics collection in the target used for the dictionary-based row count estimate. This value is reported per row because statistics can be collected at different times per object. This timestamp is stored in UTC.
    variancePercent Number
    Percentage variance between source and target row counts. This value is expected to be non-negative.

    GetMigrationDataVerificationTableRowCountsFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name string
    values list(string)
    regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo oci logo
    Viewing docs for Oracle Cloud Infrastructure v5.6.0
    published on Thursday, Nov 5, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial