Custom Search
Monday, October 03, 2005
Unable to Update a row in a table - Float (20)
Update problems with a table using a row with Float (20).
Labels:
Day to Day DBA
Monday, July 04, 2005
Export / Import in Unix
Why we use par file to Export / Import in Unix Boxes?
Let me go with my ways that I always try to get best out with quick results and solutions.
Advantages:
Super Users in UNIX can grep (I suppose) the running process if you use the exp/imp commands from command line. The way out is, use the parfile
Hides your password for system or for particular user with whom you are doing Export/Import
How:
Very simple
$ vi imp_pfile
userid=system/password@proddb
file=/u01/export/restore/exp_proddb.dmp
fromuser=prod
touser=prod
ignore=y
commit=y
buffer=10000000
log=/u01/export/restore/imp_proddb.log
feedback=1000000
Once done exit from the edition
:wq
and at the prompt go with this
$imp parfile=imp_pfile
This solves your issue…
and if you want to run the same in Unix background – you use nohup
$ nohup imp parfile=imp_pfile
** This is same for Export.
Let me go with my ways that I always try to get best out with quick results and solutions.
Advantages:
Super Users in UNIX can grep (I suppose) the running process if you use the exp/imp commands from command line. The way out is, use the parfile
Hides your password for system or for particular user with whom you are doing Export/Import
How:
Very simple
$ vi imp_pfile
userid=system/password@proddb
file=/u01/export/restore/exp_proddb.dmp
fromuser=prod
touser=prod
ignore=y
commit=y
buffer=10000000
log=/u01/export/restore/imp_proddb.log
feedback=1000000
Once done exit from the edition
:wq
and at the prompt go with this
$imp parfile=imp_pfile
This solves your issue…
and if you want to run the same in Unix background – you use nohup
$ nohup imp parfile=imp_pfile
** This is same for Export.
Labels:
Day to Day DBA
Subscribe to:
Posts (Atom)