当前位置: 首页 > news >正文

怎么用网站做远控网站logo如何做清晰

怎么用网站做远控,网站logo如何做清晰,网页版抖音入口官网,广州网络推广平台Oracle 的导出导入是一个很常用的迁移工具。 在Oracle 10g中#xff0c;Oracle 推出了数据泵(expdp/impdp). 它可以通过使用并行#xff0c;从而在效率上要比exp/imp 要高。 在Oracle 10g和11g的官方文档里没有搜到有关exp/imp 的说明#xff0c; 在9i里找到了相关的使用说…           Oracle 的导出导入是一个很常用的迁移工具。 在Oracle 10g中Oracle 推出了数据泵(expdp/impdp). 它可以通过使用并行从而在效率上要比exp/imp 要高。        在Oracle 10g和11g的官方文档里没有搜到有关exp/imp 的说明 在9i里找到了相关的使用说明。 连接如下   Export http://download.oracle.com/docs/cd/B10501_01/server.920/a96652/ch01.htm   Import http://download.oracle.com/docs/cd/B10501_01/server.920/a96652/ch02.htm#SUTIL002          执行备份和恢复的时候不要在客户端的shell 窗口执行 要将备份的的进程添加到服务器的后台执行。   参考        Linux 前台 和 后台进程 说明        http://blog.csdn.net/tianlesoftware/archive/2011/01/27/6165753.aspx   一. 命令帮助如下   1.1 export [oraclerac1 ~]$ exp helpy   Export: Release 10.2.0.1.0 - Production on Tue May 10 10:35:26 2011   Copyright (c) 1982, 2005, Oracle.  All rights reserved.       You can let Export prompt you for parameters by entering the EXP command followed by your username/password:        Example: EXP SCOTT/TIGER   Or, you can control how Export runs by entering the EXP command followed by various arguments. To specify parameters, you use keywords:        Format:  EXP KEYWORDvalue or KEYWORD(value1,value2,...,valueN)      Example: EXP SCOTT/TIGER GRANTSY TABLES(EMP,DEPT,MGR)                or TABLES(T1:P1,T1:P2), if T1 is partitioned table   USERID must be the first parameter on the command line.   Keyword    Description (Default)      Keyword      Description (Default) -------------------------------------------------------------------------- USERID     username/password          FULL         export entire file (N) BUFFER     size of data buffer        OWNER        list of owner usernames FILE       output files (EXPDAT.DMP)  TABLES       list of table names COMPRESS   import into one extent (Y) RECORDLENGTH length of IO record GRANTS     export grants (Y)          INCTYPE      incremental export type INDEXES    export indexes (Y)         RECORD       track incr. export (Y) DIRECT     direct path (N)            TRIGGERS     export triggers (Y) LOG        log file of screen output  STATISTICS   analyze objects (ESTIMATE) ROWS       export data rows (Y)       PARFILE      parameter filename CONSISTENT cross-table consistency(N) CONSTRAINTS  export constraints (Y)   OBJECT_CONSISTENT    transaction set to read only during object export (N) FEEDBACK             display progress every x rows (0) FILESIZE             maximum size of each dump file FLASHBACK_SCN        SCN used to set session snapshot back to FLASHBACK_TIME       time used to get the SCN closest to the specified time QUERY                select clause used to export a subset of a table RESUMABLE            suspend when a space related error is encountered(N) RESUMABLE_NAME       text string used to identify resumable statement RESUMABLE_TIMEOUT    wait time for RESUMABLE TTS_FULL_CHECK       perform full or partial dependency check for TTS VOLSIZE              number of bytes to write to each tape volume TABLESPACES          list of tablespaces to export TRANSPORT_TABLESPACE export transportable tablespace metadata (N) TEMPLATE             template name which invokes iAS mode export   Export terminated successfully without warnings.   1.2 import [oraclerac1 ~]$ imp helpy   Import: Release 10.2.0.1.0 - Production on Tue May 10 10:35:49 2011   Copyright (c) 1982, 2005, Oracle.  All rights reserved.       You can let Import prompt you for parameters by entering the IMP command followed by your username/password:        Example: IMP SCOTT/TIGER   Or, you can control how Import runs by entering the IMP command followed by various arguments. To specify parameters, you use keywords:        Format:  IMP KEYWORDvalue or KEYWORD(value1,value2,...,valueN)      Example: IMP SCOTT/TIGER IGNOREY TABLES(EMP,DEPT) FULLN                or TABLES(T1:P1,T1:P2), if T1 is partitioned table   USERID must be the first parameter on the command line.   Keyword  Description (Default)       Keyword      Description (Default) -------------------------------------------------------------------------- USERID   username/password           FULL         import entire file (N) BUFFER   size of data buffer         FROMUSER     list of owner usernames FILE     input files (EXPDAT.DMP)    TOUSER       list of usernames SHOW     just list file contents (N) TABLES       list of table names IGNORE   ignore create errors (N)    RECORDLENGTH length of IO record GRANTS   import grants (Y)           INCTYPE      incremental import type INDEXES  import indexes (Y)          COMMIT       commit array insert (N) ROWS     import data rows (Y)        PARFILE      parameter filename LOG      log file of screen output   CONSTRAINTS  import constraints (Y) DESTROY                overwrite tablespace data file (N) INDEXFILE              write table/index info to specified file SKIP_UNUSABLE_INDEXES  skip maintenance of unusable indexes (N) FEEDBACK               display progress every x rows(0) TOID_NOVALIDATE        skip validation of specified type ids FILESIZE               maximum size of each dump file STATISTICS             import precomputed statistics (always) RESUMABLE              suspend when a space related error is encountered(N) RESUMABLE_NAME         text string used to identify resumable statement RESUMABLE_TIMEOUT      wait time for RESUMABLE COMPILE                compile procedures, packages, and functions (Y) STREAMS_CONFIGURATION  import streams general metadata (Y) STREAMS_INSTANTIATION  import streams instantiation metadata (N) VOLSIZE                number of bytes in file on each volume of a file on tape   The following keywords only apply to transportable tablespaces TRANSPORT_TABLESPACE import transportable tablespace metadata (N) TABLESPACES tablespaces to be transported into database DATAFILES datafiles to be transported into database TTS_OWNERS users that own data in the transportable tablespace set   Import terminated successfully without warnings. [oraclerac1 ~]$   二.  Export 1. 表模式        备份某个用户模式下指定的对象表。业务数据库通常采用这种备份方式。若备份到本地文件使用如下命令 exp icdmain/icd rowsy indexesn compressn buffer65536 feedback100000 volsize0 fileexp.dmp logexp.log tablestab1,tab2,tab3   若直接备份到磁带设备使用如下命令 exp icdmain/icd rowsy indexesn compressn buffer65536 feedback100000 volsize0 file/dev/rmt0 logexp.log tablestab1,tab2,tab3          注在磁盘空间允许的情况下应先备份到本地服务器然后再拷贝到磁带。出于速度方面的考虑尽量不要直接备份到磁带设备。   2. 用户模式        备份某个用户模式下的所有对象。业务数据库通常采用这种备份方式。 若备份到本地文件使用如下命令        exp icdmain/icd ownericdmain rowsy indexesn compressn buffer65536 feedback100000 fileexp.dmp logexp.log   若直接备份到磁带设备使用如下命令        exp icdmain/icd ownericdmain rowsy indexesn compressn buffer65536 feedback100000 volsize0 file/dev/rmt0 logexp.log          注如果磁盘有空间建议备份到磁盘然后再拷贝到磁带。如果数据库数据量较小可采用这种办法备份。   3. 完全模式        备份完整的数据库。业务数据库不采用这种备份方式。备份命令为       exp icdmain/icd rowsy indexesn compressn buffer65536 feedback100000 fully  fileexp_.dmp logexp.log     三IMPORT        import 要与export 对应。 就是采用什么方式export就需要采用什么方式import因此import 也有三种模式表恢复、用户恢复、完全恢复。   1. 表模式 此方式将根据按照表模式备份的数据进行恢复。     1.1 恢复备份数据的全部内容        imp icdmain/icd fromusericdmain tousericdmain rowsy indexesn commity buffer65536 feedback100000 ignoren fileexp.dmp logimp.log   若从磁带设备恢复使用如下命令 imp icdmain/icd fromusericdmain tousericdmain rowsy indexesn commity buffer65536 feedback100000 ignoren volsize0 file/dev/rmt0 logimp.log   1.2 恢复备份数据中的指定表 若从本地文件恢复使用如下命令 imp icdmain/icd fromusericdmain tousericdmain rowsy indexesn commity buffer65536 feedback100000 ignoren fileexp.dmp logimp.log tablest1,t2,t3   若从磁带设备恢复使用如下命令 imp icdmain/icd fromusericdmain tousericdmain rowsy indexesn commity buffer65536 feedback100000 ignoren volsize0 file/dev/rmt0   logimp.log tablest1,t2,t3   2. 用户模式 此方式将根据按照用户模式备份的数据进行恢复。   2.1. 恢复备份数据的全部内容 若从本地文件恢复使用如下命令 imp icdmain/icd fromusericdmain tousericdmain rowsy indexesn commity buffer65536 feedback100000 ignoren fileexp.dmp logimp.log   若从磁带设备恢复使用如下命令 imp icdmain/icd fromusericdmain tousericdmain rowsy indexesn commity buffer65536 feedback100000 ignoren volsize0 file/dev/rmt0 logimp.log   2.2. 恢复备份数据中的指定表 若从本地文件恢复使用如下命令 imp icdmain/icd fromusericdmain tousericdmain rowsy indexesn commity buffer65536 feedback100000 ignoren volsize0 fileexp.dmp logimp.log tablest1,t2,t3;     3. 完全模式        如果备份方式为完全模式采用下列恢复方法   imp system/manager rowsy indexesn commity buffer65536 feedback100000 ignorey volsize0 fully fileexp.dmp logimp.log     4. 参数说明 4.1. ignore参数        Oracle在恢复数据的过程中当恢复某个表时该表已经存在就要根据ignore参数的设置来决定如何操作。        若ignoreyOracle不执行CREATE TABLE语句直接将数据插入到表中如果插入的记录违背了约束条件比如主键约束则出错的记录不会插入但合法的记录会添加到表中。       若ignorenOracle不执行CREATE TABLE语句同时也不会将数据插入到表中而是忽略该表的错误继续恢复下一个表。 ­   4.2. indexes参数        在恢复数据的过程中若indexesn则表上的索引不会被恢复但是主键对应的唯一索引将无条件恢复这是为了保证数据的完整性。   4.3 字符集转换        对于单字节字符集例如US7ASCII恢复时数据库自动转换为该会话的字符集NLS_LANG参数        对于多字节字符集例如ZHS16CGB231280恢复时应尽量使字符集相同避免转换如果要转换目标数据库的字符集应是输出数据库字符集的超集。   5.  IMP 常见问题及解决方法 5.1  数据库对象已经存在       一般情况, 导入数据前应该彻底删除目标数据下的表, 序列, 函数/过程,触发器等;  数据库对象已经存在, 按缺省的imp参数, 则会导入失败如果用了参数ignorey, 会把exp文件内的数据内容导入如果表有唯一关键字的约束条件, 不合条件将不被导入如果表没有唯一关键字的约束条件, 将引起记录重复   5.2  数据库对象有主外键约束       不符合主外键约束时, 数据会导入失败,       解决办法:          先导入主表, 再导入依存表      disable目标导入对象的主外键约束, 导入数据后, 再enable它们   5.3  权限不够        如果要把A用户的数据导入B用户下, A用户需要有imp_full_database权限   5.4  导入大表( 大于80M ) 时, 存储分配失败       默认的EXP时, compress Y, 也就是把所有的数据压缩在一个数据块上.       导入时, 如果不存在连续一个大数据块, 则会导入失败. 导出80M以上的大表时, 记得compress N, 则不会引起这种错误.   5.5  imp和exp使用的字符集不同       如果字符集不同, 导入会失败, 可以改变unix环境变量或者NT注册表里NLS_LANG相关信息.  导入完成后再改回来.   5.6  imp和exp版本不能往上兼容        可以从低版本导入高版本但不能从高版本导入到低版本。        如果遇到迁移因版本不同的问题可以用低版本的export 导出到导入到低版本。     四. 示例   4.1 oracle创建表空间创建用户   //创建临时表空间 create temporary tablespace test_temp tempfile ‘/u01/app/oracle/oradata/orcl/test_temp01.Dbf size 32m autoextend on next 32m maxsize 2048m extent management local;   //创建数据表空间 create tablespace test_data logging datafile /u01/app/oracle/oradata/orcl/test_data01.dbf ­ size 32m autoextend on next 32m maxsize 2048m extent management local;   //创建用户并指定表空间 create user username identified by password default tablespace test_data temporary tablespace test_temp;   //给用户授予权限 ­ grant connect,resource to username;   先创建一个用户和表空间用户名david密码david.在这个表空间下创建一个表tianle。随便插入些数据。代码如下   SQL create tablespace test_data   3  datafile /u01/app/oracle/oradata/orcl/test_data01.dbf   4  size 5m; Tablespace created.   SQL create user david identified by david default tablespace test_data; SQL grant connect,resource to david; SQL conn david/david SQL create table tianle(id number, content varchar2(100));   SQL set wrap off SQL column id format a20; SQL column content format a50;     4.2 表模式备份 与 恢复 备份 [oracleroy orcl]$ exp david/david rowsy indexesn compressn buffer65536 fileexp_tianle_090101.dmp logexp_tianle_090101.log tables(tianle); 恢复 [oracleroy orcl]$ imp david/david fromuserdavid touserdavid rowsy indexesn commity   buffer65536 fileexp_tianle_090101.dmp logimp_tianle_090101.log tables(tianle); ­   4.3 用户模式备份与恢复 备份 [oracleroy orcl]$ exp david/david ownerdavid rowsy indexesn compressn buffer65536 fileexp_david__090101.dmp logexp_david_090101.log; ­   恢复 [oracleroy orcl]$ imp david/david fromuserdavid touserdavid rowsy indexesn commity buffer65536 fileexp_tianle_090101.dmp logexp_tianle_090101.log; ­   4.4 完全模式备份与恢复 备份 [oracleroy orcl]$ exp david/david rowsy indexesn compressn buffer65536 fully fileexp_fulldatabase_090101.dmp logexp_fulldatabase_090101.log; ­   恢复 [oracleroy orcl]$ imp david/david rowsy indexesn commity  fully ignorey buffer65536 file/tmp/exp_fulldatabase_090101.dmp log/tmp/imp.log;           ------------------------------------------------------------------------------------------------------- Blog http://blog.csdn.net/tianlesoftware Email: dvd.dbagmail.com DBA1 群62697716(满);   DBA2 群62697977(满)   DBA3 群62697850(满)   DBA 超级群63306533(满);  DBA4 群 83829929  DBA5群 142216823    聊天 群40132017   聊天2群69087192 --加群需要在备注说明Oracle表空间和数据文件的关系否则拒绝申请  转载于:https://www.cnblogs.com/spring3mvc/archive/2009/10/23/2414979.html
http://www.sadfv.cn/news/353591/

相关文章:

  • wordpress win2003广州网站优化公司排名
  • 上海建设局官方网站国内目前比较好的crm系统
  • 域名注册后怎么建网站东莞市研发网站建设品牌
  • 网站运营 策划 推广 维护网上房地产备案查询
  • 建设不动产网站宠物网站开发
  • 松江网站开发广州哪里学网络营销比较好
  • 民治营销网站名城建设有限公司网站
  • 网页设计如何换行引擎优化seo是什么
  • 天津静态管理区域网格搜索优化
  • 企业级网站开发原理图网站系统建设需要什么资质吗
  • 建设春风摩托车官方网站WordPress的数据库在哪
  • 做网站设计要多少钱用vue做多页面网站
  • 网站整合营销网站建设推广多少钱
  • 网站权重高 做别的关键词四川省住房建设厅网站
  • wordpress加速网站插件wordpress 4.5.6
  • 网站开发工具链接服务器div做网站
  • 建设网站规模与类别手机百度搜索引擎入口
  • 网站域名注册哪个好高端品牌羽绒服有哪些
  • php网站只能打开首页个人域名做邮箱网站
  • wordpress友链页面seo是什么部门
  • 网站管理规划方案七牛做网站
  • 商城网站建设哪家效益快深圳企业网站制作推广运营
  • 邢台集团网站建设桂林北站怎么去阳朔
  • 获取网站访客qq号码程序下载网站开发后如何上线
  • 乐清网站建设公司有赞网站开发
  • 有没有做翻译赚钱的网站wordpress收集
  • 学校网站建设方案设计松溪网站建设wzjseo
  • 企业网站icp备案建设银行网站最近都打不开吗
  • 黄陂区建设局网站旅游网站在提高用户体验方面应做哪些工作
  • 甜品网站模板代码网站建设好学么