V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
huage
V2EX  ›  Oracle

Oracle 使用 impdp 导入时如何指定数据和索引的表空间?

  •  
  •   huage · Nov 8, 2018 · 3903 views
    This topic created in 2726 days ago, the information mentioned may be changed or developed.

    例如原来的表空间是:nnc_data01,nnc_index01,用户是 nc65,备份导出的数据库文件是 bak_dump 现在新的表空间是:test_data01,test_index01,用户是 testuser

    请问在使用 impdp 导入原数据库时如何将旧的数据转换到新的表空间中呢?我是想把数据文件、索引都导致到指定的表空间中。

    使用 drop user username cascade 删除用户和数据,但是相应表空间的体积并没有减少,导致数据库容量越来越大,所以现在想直接给用户指定数据文件和索引表空间,到时不用了,就直接删除用户和它对应的数据文件。

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1259 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 23:57 · PVG 07:57 · LAX 16:57 · JFK 19:57
    ♥ Do have faith in what you're doing.