Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • myfile Oracle
  • before_trunc.sql Before Truncate table needs to execute following: Oracle
  • Optimizer SORT Operations Oracle
  • Remove duplicate rows from table Oracle
  • cp_filesystem.sql Oracle
  • Good Site for Oracle Internals Oracle
  • Drop all SPM baselines for SQL handle Oracle
  • USER_TABLES.Freelists Oracle
  • Implementing Listener Security Oracle
  • Query to Generate aggregate on every 30 mins. Oracle
  • Some OS level threshold for performance. Linux/Unix
  • Passing from Unix to PLSQL using bind variables Linux/Unix
  • Find sort details from Db find_sort.sql Oracle
  • 10g oem configuration Oracle
  • EXTPROC Oracle

export import with parameter file.

Posted on 15-Mar-2007 By Admin No Comments on export import with parameter file.

Export with parameter file and import with same.

===============================================

Task : I am exporting some tables from CS and importing thsoe tables into BASKET schema.

/**************************************************** FILE NAME: exp_wo_data.par *******************/

userid=cs

file=exp_bskt_15MAR07.dmp

compress=N

grants=N

log=bskt_exp_15MAR07.log

ROWS=N

triggers=N

statistics=NONE

tables=(BSKT_AGENT_BASKET_CALL_DETAIL

, BSKT_AGENT_ORDER_NOTE

, BSKT_BASKET_ITEM_TYPE

, BSKT_DISCOUNT_APPLY_TYPE

, BSKT_DISCOUNT_REASON

, BSKT_ITEM_CALC_PRICING

, BSKT_ITEM_PRICING_XREF

, BSKT_ITEM_SUB_PRODUCT

, BSKT_PAYMENT_DETAIL

, BSKT_PAYMENT_METHOD_TYPE

, BSKT_PERSONALIZATION

, BSKT_PERSONALIZATION_STYLE

, BSKT_PRICE_ELEM_MSG_TYPE

, BSKT_PRICING_ELEMENT

, BSKT_PRICING_ELEMENT_MSG

, BSKT_PRICING_GROUP_TYPE

, BSKT_PRICING_TYPE

, BSKT_PRICING_VALUE_TYPE

, BSKT_PRIC_TYP_PRIC_GRP_XREF

, BSKT_RECIPIENT

, BSKT_RECIPIENT_MESSAGE

, BSKT_SESSION

, BSKT_SESSION_ATTRIBUTE_TYPE

, BSKT_SHOPPING_BASKET

, BSKT_SHOPPING_BASKET_ITEM

, BSKT_SHOPPING_BASKET_STATUS

, BASKET_ITEM_INVENTORY_XREF,

, AGENT_BASKETS

)

/*************************** Export command ********************************/

exp parfile=exp_wo_data.par

/***************************************** Import with parameter file, file name : imp_wo_data.par *******/

userid=basket

file=exp_bskt_15MAR07_wo_data.dmp

grants=N

log=imp_bskt_15MAR07_wo_data.log

ROWS=N

statistics=NONE

fromuser=CS

touser=basket

/************************************** Import command *******************/

imp parfile=imp_wo_data.par

Oracle, SQL scripts

Post navigation

Previous Post: chk_space_SID.ksh
Next Post: How to Use DBMS_STATS to Move Statistics to a Different Database

Related Posts

  • oracle Dba site Oracle
  • get_ratio.sql get the ratio of users from v$session and this uses CASE-WHEN-THEN clause Oracle
  • Flowers Resize datafiles Oracle
  • How to specify 2 arch location to avoid any kind of DB hanging. Oracle
  • configUOCIOTTO.ora Oracle
  • True Session Wait Activity in Oracle 10g Verygood Oracle

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • Oracle (392)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (341)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • load SPM baseline from cursor cache05-Jun-2025
  • Drop all SPM baselines for SQL handle05-Jun-2025
  • Load SPM baseline from AWR05-Jun-2025
  • Drop specific SQL plan baseline – spm05-Jun-2025
  • findinfo.sql (SQL for getting CPU and Active session info)27-May-2025
  • SQL Tracker by SID sqltrackerbysid.sql22-Apr-2025
  • How to connect to Oracle Database with Wallet with Python.21-Mar-2025
  • JSON/XML Types in Oracle18-Mar-2025
  • CPU Core related projections12-Mar-2025
  • Exadata Basics10-Dec-2024

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • get_vmstat.ksh for Solaris Oracle
  • ORA-8031 issue and solution if it is occuring due to truncate. Oracle
  • Settting up get_vmstat.sh for colletinf CPU Usage. Oracle
  • Passing from Unix to PLSQL using bind variables Linux/Unix
  • Insert cause enqueue locks Oracle
  • copying/removing directory with all its subdirectory Linux/Unix
  • To see only files and/or folders using LS command Linux/Unix
  • DBMS_JOB all example Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme