DBA Hub

📋Steps in this guide1/10

Can Data Pump Export to ASM Storage?

Learn how to correctly export Oracle Data Pump dump files to ASM storage in 19c/21c. Understand why log files can’t be stored in ASM, how to fix ORA-39070/ORA-29283 errors, and the proper directory setup to ensure smooth Data Pump operations.

oracle configurationintermediate
by OracleDba
12 views
1

Can Oracle Data Pump export dumps directly into ASM storage?

Yes, Data Pump can write dump files to ASM But it cannot write the log file to ASM This limitation often surprises DBAs trying to fully leverage ASM for backup and export operations. Let’s walk through a working example and the right way to configure it.
2

1. Create an ASM Directory

Start in ASMCMD : This prepares a dedicated ASM directory for Data Pump dump files.
3

2. Create a Database Directory Object Pointing to ASM

This tells Oracle where Data Pump should write the dump files.
4

3. Start Data Pump Export

You may try: But this will fail with:
5

Why Does It Fail?

Because ASM storage does not support regular OS log file writes . Data Pump can create dump files inside ASM, but the log file must be placed on a traditional filesystem (EXT4, XFS, NFS, etc.). This is an internal restriction in Data Pump’s logging mechanism.
6

4. Create a Directory for the Log File

Point it to a normal filesystem, like or :
7

5. Run Data Pump Export Again (Correctly)

Now your Data Pump export writes: - Dump files → ASM Dump files → ASM - Log file → OS filesystem Log file → OS filesystem Perfectly valid and fully supported.
8

1. If You Don’t Need a Log File

If your environment (e.g., OCI Base DB System) restricts OS directories: Useful for scripted executions or when you only monitor job progress from DBA views.
9

2. Always Apply the Data Pump Bundle Patch (19c)

Oracle’s 19c Data Pump updates include 150+ bug fixes related to: - Directory handling Directory handling - Performance Performance - Parallel execution Parallel execution - Transportable tablespaces Transportable tablespaces - ASM handling ASM handling For 19c users (especially 19.20+), installing the Data Pump bundle patch is strongly recommended for stability and performance.
10

Final Thoughts

Yes, exporting Data Pump dump files directly into ASM is absolutely possible , and it works smoothly once you separate: - Dump files → ASM Dump files → ASM - Log files → Regular filesystem Log files → Regular filesystem This gives you the advantage of fast ASM performance while maintaining Data Pump compatibility. It’s a best practice for OCI, Exadata, and RAC environments. Want to see how we teach? Head over to our YouTube channel for insights, tutorials, and tech breakdowns: www.youtube.com/@learnomate To know more about our courses, offerings, and team: Visit our official website: www.learnomate.org Interested in mastering Oracle Database Administration? Check out our comprehensive Oracle DBA Training program here: https://learnomate.org/oracle-dba-training/ Want to explore more tech topics? Check out our detailed blog posts here: https://learnomate.org/blogs/ And hey, I’d love to stay connected with you personally! Let’s connect on LinkedIn: Ankush Thavali 😎 Happy Vibes! ANKUSH

Comments (0)

Please to add comments

No comments yet. Be the first to comment!