Sqluldr2 libclntsh.so報錯處理


Sqluldr2 libclntsh.so報錯處理

 

 

 

 

處理報錯

[oracle@oracledg tmp]$ ./sqluldr2linux64.bin

./sqluldr2linux64.bin: error while loading shared libraries: libclntsh.so: cannot open shared object file: No such file or directory

 

 

[root@oracledg ~]# cp /u01/app/oracle/product/11.2.0.3/db_1/lib/libclntsh.so /usr/lib64/

 

 

 

 

 

導出語句

請注意最后一定得在對應目錄下

 

[oracle@oracledg nod]$ ls -lh
total 4.0K
drwxr-xr-x 2 oracle oinstall 4.0K Jan 17 14:25 tmp

 

 

[oracle@oracledg tmp]$ ./sqluldr2linux64.bin sys/orcl query=sys.vm_info file=/nod/tmp/vm_info.txt
0 rows exported at 2019-01-17 14:24:14, size 0 MB.
696320 rows exported at 2019-01-17 14:24:16, size 50 MB.
output file /nod/tmp/vm_info.txt closed at 696320 rows, size 50 MB.
[oracle@oracledg tmp]$ ls
sqluldr2linux64.bin sys.vm_info_sqlldr.ctl vm_info.txt

 

 

###模擬創建100條語句

create table nod (id int)

begin
for i in 1 .. 100 loop
insert into nod (id) values (i);
end loop;
end;

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM