Hi,
Good remark Matt you're definitely right, omit the fact that the DDL is stored in the database.
Could be true only in case of any definition change on the filed structure.
Regards,
Mouhssine
------------------------------
Mouhssine SAIDI
Community Member
Delphix Community Members
------------------------------
Original Message:
Sent: 11-19-2019 06:22:19 AM
From: Matt Griffith
Subject: Masking Oracle External Tables
I think Mouhssine and I replied at the same time:) Mouhssines advice is correct apart from one small step.
"rerun the "create or replace command for the external table"" - this isn't necessary. The external table is defined once and any changes to data in the external file will be seen when you query the table. In actual fact there is no "create or replace" command.
You only need to drop and recreate (or alter) the external table if the structure of the external file changes.
------------------------------
Matt Griffith
Principal Consultant
https://thedatalobby.kuzodata.com
Kuzo Data
Original Message:
Sent: 11-19-2019 06:04:10 AM
From: Mouhssine SAIDI
Subject: Masking Oracle External Tables
Hi Suzanne ,
Per definition oracle allows read-only access to data in external tables (they don' reside in the database), so to achieve your need you will have two options :
- If the file format is supported by delphix masking :
Mask the original file on wish the external table is based and rerun the "create or replace command for the external table", notice you can automate the process using delphix Vfile and hooks
- If the file format isn't supported by delphix masking :
Create a copy of external table on database using (create as select...), mask the table with delphix masking once done export the data out to the file on which the external table is base and rerun the "create or replace command for the external table"
Regards,
Mouhssine
------------------------------
Mouhssine SAIDI
Community Member
Delphix Community Members
Original Message:
Sent: 11-18-2019 01:08:09 PM
From: Suzanne Lusardi
Subject: Masking Oracle External Tables
Has anyone tried to mask an Oracle external table ?
------------------------------
Suzanne Lusardi
IT Sr. Database Governance and Compliance Analyst
Paychex
------------------------------