Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Partition Error querying meta-data #38

Open
1 of 4 tasks
delattresylvain opened this issue Oct 26, 2024 · 2 comments
Open
1 of 4 tasks

Partition Error querying meta-data #38

delattresylvain opened this issue Oct 26, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@delattresylvain
Copy link

📝 Description

I'm trying to migrate an oracle 10gR2 with trial/standard edition.

On the Analyze step i'm having the following error, it's seem this column doesn't exist before oracle 11g.

Is it possible to disable the partition check as it's not available on cybertec migrator trial/standard ?

error querying meta-data for partition(partition):
ORA-00904: "T"."INTERVAL" : identificateur non valide
executed query on Oracle:
SELECT REPLACE(t.owner, CHR(0), '') "schemaName",
REPLACE(t.table_name, CHR(0), '') "tableName",
REPLACE(p.partition_name, CHR(0), '') "partitionName",
p.partition_position "partitionPosition",
REPLACE(c.column_name, CHR(0), '') "columnName",
c.column_position "columnPosition",
t.partitioning_type "partitionType",
CASE WHEN t.subpartitioning_type = 'NONE'
THEN NULL
ELSE t.subpartitioning_type
END "subPartitionType",
t.interval "partitionInterval",

        -- Range and List partitions
        p.high_value "highValue",

        -- Hash partitions
        t.partition_count "modulo",
        (p.partition_position - 1) "remainder"
   FROM dba_part_tables t
   JOIN dba_part_key_columns c
        ON t.owner = c.owner
        AND t.table_name = c.NAME
   JOIN dba_tab_partitions p
        ON p.table_owner = t.owner
        AND p.table_name = t.table_name
  WHERE t.owner IN ('ADABAAA')
  ORDER BY t.owner, t.table_name, c.column_position, p.partition_position

📜 Steps to reproduce

Create a migration with an Oracle 10gR2 as a source database
Go to step 4 "analyze"

🙁 Actual behavior

Unable to go to the next step

🙂 Expected behavior

Support for oracle 10gR2 dba_part_tables structure or a check box to disable partitionning feature ?

Migrator version

3.18.4

In which environment are you operating?

  • Linux
  • macOS
  • Windows
  • Other

What browser are you using

Chrome

Other

No response

@delattresylvain delattresylvain added the bug Something isn't working label Oct 26, 2024
@KieranKaelin
Copy link
Collaborator

Bonjour @delattresylvain !

Thanks for trying out our Migrator and reporting this bug. Our automated testing setup currently only covers Oracle 11 and upwards, as we never had a customer migrating from Oracle 10 before.

I've quickly tested against a local Oracle 10 XE running in docker, patching out all the incorrect system catalog queries done by the Migrator.
If you want to try it out, you can download it from our download server. To upgrade your installation, please follow the instructions of the offline upgrade.

I've taken on the ticket for proper Oracle 10 support onto our roadmap, although I can't give any time-frame its resolution, as we're currently working on other feature requests for our customers.

Cordialement,
Kieran

@delattresylvain
Copy link
Author

Hi @KieranKaelin ,

I'm still facing an error

Screenshot and migrator logs in attachments if it can help.

Regards,
Sylvain

migrator-core-2024-10-31-153612.log.gz

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants