Your Ad Here
首页 | 编程语言 | 网站建设 | 游戏天堂 | 冲浪宝典 | 网络安全 | 操作系统 | 软件时空 | 硬件指南 | 病毒相关 | IT 认证
软讯网络 > 冲浪宝典 > 网络资源 > oracle sqlldr使用
【标  题】:oracle sqlldr使用
【关键字】:oracle,sqlldr
【来  源】:http://www.cublog.cn/u/13000/showart.php?id=194242

oracle sqlldr使用

Your Ad Here
$man sqlldr
SQL*Loader: Release 9.2.0.4.0 - Production on Thu Sep 7 11:36:10 2006
Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
Usage: SQLLDR keyword=value [,keyword=value,...]
Valid Keywords:
    userid -- ORACLE username/password          
   control -- Control file name                 
       log -- Log file name                     
       bad -- Bad file name                     
      data -- Data file name                    
   discard -- Discard file name                 
discardmax -- Number of discards to allow          (Default all)
      skip -- Number of logical records to skip    (Default 0)
      load -- Number of logical records to load    (Default all)
    errors -- Number of errors to allow            (Default 50)
      rows -- Number of rows in conventional path bind array or between direct path data saves
               (Default: Conventional path 64, Direct path all)
  bindsize -- Size of conventional path bind array in bytes  (Default 256000)
    silent -- Suppress messages during run (header,feedback,errors,discards,partitions)
    direct -- use direct path                      (Default FALSE)
   parfile -- parameter file: name of file that contains parameter specifications
  parallel -- do parallel load                     (Default FALSE)
      file -- File to allocate extents from     
skip_unusable_indexes -- disallow/allow unusable indexes or index partitions  (Default FALSE)
skip_index_maintenance -- do not maintain indexes, mark affected indexes as unusable  (Default FALSE)
commit_discontinued -- commit loaded rows when load is discontinued  (Default FALSE)
  readsize -- Size of Read buffer                  (Default 1048576)
external_table -- use external table for load; NOT_USED, GENERATE_ONLY, EXECUTE  (Default NOT_USED)
columnarrayrows -- Number of rows for direct path column array  (Default 5000)
streamsize -- Size of direct path stream buffer in bytes  (Default 256000)
multithreading -- use multithreading in direct path 
 resumable -- enable or disable resumable for current session  (Default FALSE)
resumable_name -- text string to help identify resumable statement
resumable_timeout -- wait time (in seconds) for RESUMABLE  (Default 7200)
date_cache -- size (in entries) of date conversion cache  (Default 1000)
PLEASE NOTE: Command-line parameters may be specified either by
position or by keywords.  An example of the former case is 'sqlldr
scott/tiger foo'; an example of the latter is 'sqlldr control=foo
userid=scott/tiger'.  One may specify parameters by position before
but not after parameters specified by keywords.  For example,
'sqlldr scott/tiger control=foo logfile=log' is allowed, but
'sqlldr scott/tiger control=foo log' is not, even though the
position of the parameter 'log' is correct.
 
script:
$vi local.ctl 
LOAD DATA
INFILE '/home/oracle/Data.txt'
APPEND INTO TABLE Tablename
(
MOBILE position(1:11),
ADDDATE sysdate
)
 
sqlldr userid=yu2hei/12345678 control=local.ctl
或者直接
sqlldr control=local.ctl
然后输入口令...
 
注意:
如果原来表有索引的话,要先删掉索引,然后导入数据,再重新建立索引即可。
数据库当前状况报告:【上一篇】
ORACLE手动创建归档:【下一篇】
【相关文章】
  • 生成年度日历(Oracle SQLPLUS版)的html文档(zt)
  • 通过Oracle直接访问MSSQL
  • 从Oracle到DB2
  • Oracle分析函数参考手册
  • 利用Oracle的dbms_obfuscation_toolkit加密解密数据
  • Oracle Listener启动失效
  • Oracle 11g的新特性
  • Oracle 10g CRS 安装管理
  • oracle partition
  • [Fedora Core 6] 安装 Oracle 10g Client For Linux 安装
  • 【随机文章】
  • </td></table>想起个事,test一下
  • 用Xmanager等终端软件无法连接AIX的解决方案
  • The skb length when allocation
  • 如何获取鼠标是否进入控件(按钮tips显示)?
  • 在J2ME中访问dotnet Web Services
  • painter 8手绘Chalk篇
  • Fireworks制作NOKIA8250手机简单思路教程
  • WTL 8.0的程序生成向导调整后方可使用
  • java新手必读:Java学习的捷径
  • 在VB程序中通过回收站删除文件
  • 【相关评论】
    没有相关评论
    【发表评论】
    姓名:
    邮件:
    随机码*
    评论*
          
    |  首 页  |  版权声明  |  联系我们   |  网站地图  |
    CopyRight © 2004-2007 软讯网络 All Rigths Reserved.