Demo: Full transportable export/import and incremental backup

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ต.ค. 2024
  • To avoid a massive outage when using transportable tablespaces, you can combine it with incremental backups. This method can bring the outage to a minimum.
    Get the slides and watch the full recording here: dohdatabase.co...
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 17

  • @kavitayadav9322
    @kavitayadav9322 2 ปีที่แล้ว

    Awesome series, It makes concepts much simpler to understand and implement. Wonderful and detailed videos. Love watching and listening to these videos.

    • @upgradenow
      @upgradenow  2 ปีที่แล้ว

      Glad you enjoy it!

  • @MrEnrique2k
    @MrEnrique2k 2 ปีที่แล้ว +1

    Thanks Daniel for the demo , i have a quick question ? what if the objects you wanna move are on different tablespace , meaning the tablespace is not self contained ?

    • @upgradenow
      @upgradenow  2 ปีที่แล้ว +1

      Hi Samer,
      This example uses Full Transportable Export/Import which includes all tablespaces in your database (except SYSTEM and SYSAUX). So you must specify all the tablespaces (or rather data files) and it will be self-contained.
      However, if you perform a regular transportable tablespace export you can decide on individual tablespaces. If you have e.g. an index in your tablespace that references something outside of the tablespace, you will get an error. It must be self-contained.
      Regards,
      Daniel

  • @wanda9401
    @wanda9401 ปีที่แล้ว +1

    Is CUST2 table created in schema sys at source?

    • @upgradenow
      @upgradenow  ปีที่แล้ว

      Hi Wanda,
      That's a really good catch. The table CUST2 is created in SYS schema, which is a mistake. It should have been stored in the SH schema (like the source table). As you can see from the demo, the table is transported anyway. This is a feature of full transportable export/import (FTEX). Normally, SYS objects are not part of transportable tablespaces (stored in SYSTEM tablespace), but with FTEX it will include any non-default SYS objects using a regular export/import. You can find more details about FTEX in my blog post series:
      dohdatabase.com/2020/11/23/xtts/
      Regards,
      Daniel

  • @SuperAduri
    @SuperAduri ปีที่แล้ว +1

    what is that res.txt which you copied from src to trgt multiple times?

    • @upgradenow
      @upgradenow  ปีที่แล้ว

      It is a small text file which is generated by the script. It contains important information on the backup (like SCN) that is needed for the restore later on.

  • @wanda9401
    @wanda9401 ปีที่แล้ว +1

    How about temporary table? Is it can migrate too? Or should be manually import metadafa? I simulated but any object not migrated successfully (like temporary table), so I need expdp impdp metadata from source to target

    • @upgradenow
      @upgradenow  ปีที่แล้ว

      Hi Wanda,
      This demo uses Full Transportable Export/Import (FTEX) and it will include the definition of the temporary tables. However, the content of the any temporary tables are not transferred. The content of temporary tables are never persistent (either session or transaction level), so only the definition of the table is transferred. I have a blog post with details on what is transferred by FTEX: dohdatabase.com/2022/03/28/xtts-full-transportable-export-import/
      If you do a regular transportable tablespace migration, then you need to create many objects manually, including temporary tables.
      Regards,
      Daniel

  • @wanda9401
    @wanda9401 ปีที่แล้ว +1

    when imdp then raise error ORA-19722: datafile /home/app/oracle/oradata/ORCL/USER2_TBS_9.dbf is an incorrect version. why?

    • @upgradenow
      @upgradenow  ปีที่แล้ว

      Hi Wanda,
      If you are having difficulties with the procedure, I suggest that you read my blog post series on the topic. It has much more details and step-by-step instructions that you can use.
      dohdatabase.com/2020/11/23/xtts/
      Regards,
      Daniel

  • @afranutube
    @afranutube ปีที่แล้ว +1

    Can this be used to transfer data from non-cdb database to cdb

    • @upgradenow
      @upgradenow  ปีที่แล้ว

      Hi,
      Yes, you can use transportable tablespaces (including Full Transportable Export/Import) between architectures (non-CDB and directly into a PDB). It even works across versions.
      Regards,
      Daniel

    • @afranutube
      @afranutube ปีที่แล้ว

      @@upgradenow Thank you

  • @БарзуПарпишоев
    @БарзуПарпишоев ปีที่แล้ว

    Should archive log mode to be enabled in this case?

    • @upgradenow
      @upgradenow  ปีที่แล้ว +1

      Hi,
      Yes, the database must be in archivelog mode.
      Regards,
      Daniel