avatar

DBAtlas

SELECT idea tip FROM db

  • Oracle
  • PostgreSQL
  • MySQL
  • Misc
  • About
Home Use impdp with non-SYS user
文章

Use impdp with non-SYS user

Posted 13 days ago Updated 10 days ago
By Jonas 已删除用户
3~3 min read

Running impdp with dba is convinient, but can be risky. create a dedicated user for specific impdp tasks would be more secure.

About DATA_PUMP_DIR

it is a directory object in oracle database, created during database initialization by oracle. To show all directories in an oracle database:

select directory_name, directory_path from dba_directories;

if no directory is specified with datapump, then the default directory will be used instead. Make sure the user is able to read or write to this directory.

Running datapump as sysdba without password

There is a bug in 19c specifically 19.3 directly after installation without patching. This bug prevents expdp or impdp to use as sysdba but still asks for password even OS auth is enabled. Bug ID is 29926041. The workaroud for this bug is feed something dummy to the stdin like the following

echo yes | expdp \"/ as sysdba\" dumpfile=foo.dmp schemas=FOO

if no LOGFILE is provided on the command line, the default export.log file is created and overwritten. But if the dumpfile will not be overwritten if an existing dumpfile name is provided.

Oracle
DataPump
License:  CC BY 4.0
Share

Further Reading

Aug 31, 2025

Create and analyze Oracle AWR

Oracle AWR (Automatic Workload Repository) provides an insight of a running Oracle database by periodically, e.g. every 15 min, collecting different s

Aug 30, 2025

Rotate oracle alert logs

Using adrci is a good solution to rotate the oracle alert logs.

Aug 28, 2025

Use impdp with non-SYS user

Running impdp with dba is convinient, but can be risky. create a dedicated user for specific impdp tasks would be more secure. About DATA_PUMP_DIR it

OLDER

Oracle 19c ARM64 silent installation with VirtualBox on MacOS Apple Silicon M1 MacBook Pro

NEWER

Rotate oracle alert logs

Recently Updated

  • Virtualbox turtle in Win11 24H2
  • Configure TLS for Oracle 19c
  • WindTerm - open source SSH and terminal manager
  • Create and analyze Oracle AWR
  • Rotate oracle alert logs

Trending Tags

DataPump AWR ARM64 DataGuard Alert Log RAC Virtualbox

Contents

©2025 DBAtlas. Some rights reserved.

Using the Halo theme Chirpy