首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏bisal的个人杂货铺

    imp执行错误IMP-00010

    日常测试的时候,经常要使用imp/exp或者impdp/expdp进行数据的导入导出,碰到的零零散散的问题也很多。 一些和导入导出相关的文章, 今天再列举一个错误号,当执行导入imp时,如果提示这个,很可能是源库和目标库的数据版本不同, IMP-00010: not a valid export file, header failed verification IMP-00000: Import terminated unsuccessfully 此时可以打开这个数据文件,第一行就标记了源数据库的版本号,这里显示19.00.00 Production 可以直接改dump文件,19.00.00改为11.02.00, ^C^CiEXPORT:V11.02.00 DBISAL RTABLES 再次导入即可, [oracle@app ~]$ imp BISAL's objects into BISAL . . importing table "TEST" 73024 rows imported IMP

    1.1K20发布于 2021-09-06
  • 来自专栏全栈程序员必看

    imp还原数据库_imp命令只导入数据

    全量恢复 imp 用户名/密码@数据库 file=导入文件地址 full=y ignore=y 部分表恢复 imp 用户名/密码@数据库 file=导入文件地址 fromuser=数据拥有者 touser and Real Application Testing options Export file created by EXPORT:V11.02.00 via conventional path IMP -00013: only a DBA can import a file exported by another DBA IMP-00000: Import terminated unsuccessfully =(表a,表b) #给user1授权即可 GRANT IMP_FULL_DATABASE to user1; 问题2: Import: Release 11.2.0.1.0 - Production 解决方案: 指定备份文件拥有者和备份的用户关系即可,例子: #以下命令报错 imp 用户名/密码@数据库 file=导入文件地址 tables=(表a,表b) imp 用户名/密码@数据库 file=

    1.5K31编辑于 2022-09-30
  • 来自专栏python3

    Python:import 与__imp

      import指令做了两件事:1)搜索module,2)绑定到局部变量   内置函数__import__()只做了一件事:搜索module

    1.6K30发布于 2020-01-19
  • 来自专栏大大刺猬

    imp导入 替换表空间

    imp导入时,表空间和导出时是一样的, 但是现在要改, 而 imp tablespaces=new_tablespace 无效.

    2.5K20发布于 2020-06-18
  • 来自专栏bisal的个人杂货铺

    imp错误IMP-00098: INTERNAL ERROR: impgst2Segmentation fault

    如果使用imp要看dump的内容,可以使用show参数,默认值为n, SHOW     just list file contents (N) 但是今儿执行了指令imp,提示错误, imp oracle fault oerr显示00098是一个内部的错误, oerr imp 00098 00098, 00000, "INTERNAL ERROR: %s" // *Cause:  An INTERNAL 针对这种错误,MOS这篇文章《Import Fails With IMP-98 Internal Error impgst2 Segmentation Fault Core Dumped (Doc ID 相应的解决方案,就是重新导入,如果源端测试imp ... show=y报这个错误,则说明原始dump文件有问题,如果没错,移动文件在目标端执行imp ... show=y,要是提示错误,则说明传输过程中出现错误 If imp with SHOW=Y reports no errors after the above steps then proceed with the real import.

    2K30发布于 2019-01-30
  • 来自专栏bisal的个人杂货铺

    用户之间imp的问题

    之前做的基本都是本库导出,本库导入的操作,例如:imp test/***@test tables=tbl_fuel file=H:\dev\data\tbl_fuel.dmp ignore=y这样的指令操作 导出: exp p_x/**  FILE=tables.dmp TABLES=e.pre_ldp,e.tbl_flight log=tables.log rows=y 几种错误的导入: imp test /***@test tables=(tbl_a,tbl_b) file=tables.dmp log=test.log full=y 提示: IMP-00024: Only one mode (TABLES imp test/***@test file=tables.dmp log=test.log ignore=n 提示: Warning: the objects were exported by P_X imp test/***@test file=tables.dmp log=test.log ignore=n fromuser=e touser=test(未建立表结构) imp test/***@

    1.2K10发布于 2019-01-29
  • 来自专栏大宇笔记

    iOS Runtime Method IMP指针详解

    .  */ OBJC_EXPORT IMP_Nonnull method_setImplementation(Method _Nonnull m, IMP _Nonnull imp)  OBJC_AVAILABLE 主要介绍下面几个方法: 上面是GET IMP,那肯定可以设置方法的IMP method_setImplementation(Method _Nonnull m, IMP _Nonnull imp  imp_implementationWithBlock ( id block );   // 返回与IMP(使用imp_implementationWithBlock创建的)相关的block id  imp_getBlock ( IMP anImp );   // 解除block与IMP(使用imp_implementationWithBlock创建的)的关联关系,并释放block的拷贝 BOOL  imp_removeBlock ( IMP anImp ); ● imp_implementationWithBlock函数:参数block的签名必须是method_return_type ^(id

    1.7K20发布于 2019-01-15
  • 来自专栏python3

    解决 vim 报错:the imp m

    <SNR>71_SetUpPython: line 42: /must>not&exist/foo:1: DeprecationWarning: the imp module is deprecated imp 从 python3.4 之后 已经不再使用。 显然,这个问题是由 ycm 这个插件加载时引起的,可以通过修改 ycm 源码解决。

    1.7K10发布于 2020-01-02
  • 来自专栏bisal的个人杂货铺

    用户之间imp的问题

    之前做的基本都是本库导出,本库导入的操作,例如:imp test/***@test tables=tbl_fuel file=H:\dev\data\tbl_fuel.dmp ignore=y这样的指令操作 导出: exp p_x/**  FILE=tables.dmp TABLES=e.pre_ldp,e.tbl_flight log=tables.log rows=y 几种错误的导入: imp test /***@test tables=(tbl_a,tbl_b) file=tables.dmp log=test.log full=y 提示: IMP-00024: Only one mode (TABLES imp test/***@test file=tables.dmp log=test.log ignore=n 提示: Warning: the objects were exported by P_X imp test/***@test file=tables.dmp log=test.log ignore=n fromuser=e touser=test(未建立表结构) imp test/***@

    94420发布于 2019-01-29
  • 来自专栏零域Blog

    「SF-LC」12 Imp

    Bind Scope imp_scope with bexp. (** the Extension Point token **) Delimit Scope imp_scope with imp. Definition example_aexp : aexp := (3 + (X * 2))%imp. Notation "'SKIP'" := CSkip : imp_scope. Notation "x '::=' a" := (CAss x a) (at level 60) : imp_scope. Close Scope imp_scope.

    2K20编辑于 2022-03-14
  • 来自专栏python3

    linux环境下 python环境imp

    Linux环境中自定义的模块swport,import swport 出错。swport模块在/root/sw/目录下。

    2.8K20发布于 2020-01-16
  • 来自专栏架构师之旅

    expdp|impdp及exp|imp指令介绍

    下 impdp system/orcl directory=data_pump_dir dumpfile=gwm.dmp remap_tablespace=gmapdata:gcomm exp与imp imp关键字说明 关键字 说明 (默认值) 关键字 说明 (默认值) ---------------------------------------------------- 如下实验所示: C:\Users\thinkpad>imp fyzh_ora/FYZH_ORA file=rm_trs_seg.dmp log=rm_trs_seg.log f romuser=ltwebgis EXPORT:V10.02.01 创建的导出文件 警告: 这些对象由 LTWEBGIS 导出, 而不是当前用户 已经完成 ZHS16GBK 字符集和 AL16UTF16 NCHAR 字符集中的导入 IMP -00021: INCTYPE 参数已废弃 IMP-00083: 转储文件中不包含增量导出 IMP-00000: 未成功终止导入 ?

    3K90发布于 2018-01-30
  • 来自专栏乐沙弥的世界

    oracle imp导入时出现skipping table

        最近有同事在使用传统的imp工具导入数据时,总是提示收到skipping table的提示,也就是表被跳过,而不是被重建。即使是将目标数据库上的表对象删除,仍然无法导入。 1、导入时的skipping table提示 oracle@SZDB:~> imp goex_admin/xxx file=sy-trans-20130509-2.DMP log=tmp.log full IS_IMP_USE_SYS_ACC_NO" IS '[NO" "T used now] Y - use system A/C no, first 7 digits for file import' 的帮助信息 oracle@SZDB:~> imp -help Keyword Description (Default) Keyword Description (Default INDEXFILE:如果指定了该参数则强制imp产生一个脚本,而不会导入任何对象到数据库。如果想要导入表时,移除该参数。

    1K10发布于 2018-08-13
  • 来自专栏bisal的个人杂货铺

    imp中的fromuser参数的偏差理解

    执行:imp xyz/xxx file=test.dmp log=imp_test.log fromuser=test1 touser=test2 ignore=y commit=y buffer=300000000 原因分析: 首先,其实是对imp命令中的fromuser参数偏差的理解。 [root@vm-vmw4131-t ~]# imp -help FROMUSER     list of owner usernames imp指令帮助中说明FROMUSER的含义是“属主用户名列表” 上述问题中用到的fromuser=test1这个test1用户是执行exp的系统账户,并不是数据库对象所属账户,这就能解释上面问题的原因了:由于dump文件所属的数据对象账户是另外一个账户,不是test1,因此使用imp 2. imp的fromuser指的是对象所属用户,不是执行exp导出的用户。

    1.2K50发布于 2019-01-29
  • 来自专栏c++ 学习分享

    _HUGE and __IMP__HUGE in “math.h“

    I create a simple console program that uses HUGE_VAL and use /verbose as a linker option, it shows _IMP_HUGE What I'm really curious of is at what stage does _HUGE turn into _IMP_HUGE?

    41160编辑于 2023-07-08
  • 来自专栏joealzhou

    iOS runtime通过selector获取IMP地址

    iOS runtime通过selector获取IMP地址 获取IMP地址有两种方法: class_getMethodImplementation (class_getInstanceMethod | class_getClassMethod class func") } } //在playground中创建一个Person对象 let p = Person() 一、使用class_getMethodImplementation获取IMP /// 第一种方式获取IMP: class_getMethodImplementation func getIMPFrom(sel: Selector) { let clsName 0x0000000105f4da00 0x0000000105f4da00 0x000000011defaeb0 使用class_getMethodImplementation分别获取实例方法、类方法的IMP /// 第二种方式获取IMP:先获取method在获取IMP func getIMPOfMethodFrom(sel: Selector) { let clsName = "\(

    1.9K20发布于 2019-08-23
  • 来自专栏我只不过是出来写写iOS

    runtime的那些事(四)—— selector、IMP、Method

    IMPIMP 表示指向方法实现地址的指针,当发起 Objective-C 消息后,最终要执行的代码就是由 IMP 指针来决定,SEL 的目的是为了查找方法最终实现的 IMP。 但也就意味着编译器并不会检查直接通过 IMP 去执行指定的方法,编译时期编译器并不能判断是否调用 IMP 错误,只有在运行时执行到 IMP 指向的方法实现时,才能判断是否正确。 关于 IMP 的定义 #if ! 调用 IMP 的方式在默认生成的项目工程下,调用编译器获取 IMP 会直接报错,项目配置中默认为下图配置: ?  这样的话,IMP 被定义为无参数无返回类型的函数,关闭即可。 : "", NO); } static IMP addMethod(Class cls, SEL name, IMP imp, const char *types, bool replace) {

    2.3K20发布于 2019-07-19
  • 来自专栏日常技术分享

    runtime如何通过selector找到对应的IMP地址?

    的地址时,runtime提供了两种方法 IMP class_getMethodImplementation(Class cls, SEL name); IMP method_getImplementation IMP instanceIMP = class_getMethodImplementation(objc_getClass(className), aSelector); // 获取类的 IMP IMP classIMP = class_getMethodImplementation(objc_getMetaClass(className), aSelector); classIMP:%p",instanceIMP,classIMP); } 对于第一种方法而言,类方法和实例方法实际上都是通过调用class_getMethodImplementation()来寻找IMP IMP instanceIMP = method_getImplementation(instanceMethod); // 获取类的IMP IMP classIMP = method_getImplementation

    1.9K30发布于 2018-09-13
  • 来自专栏iOS逆向与安全

    iOS 小技能:Method Swizzling (交换方法的IMP

    method_imp:方法实现。 使用Method Swizzling交换方法,其实就是修改了objc_method结构体中的mthod_imp,即改变了method_name和method_imp的映射关系 在这里插入图片描述 1.1 imp) { imp = method_getImplementation(method); } } if (imp && store) { *store = imp; } return (imp ! IMP有点类似函数指针,指向具体的Method实现。

    2.2K10编辑于 2022-08-22
  • 来自专栏bisal的个人杂货铺

    imp中的fromuser参数的偏差理解

    执行: imp xyz/xxx file=test.dmp log=imp_test.log fromuser=test1 touser=test2 ignore=y commit=y buffer=300000000 原因分析: 首先,其实是对imp命令中的fromuser参数偏差的理解。 [root@vm-vmw4131-t ~]# imp -help FROMUSER     list of owner usernames imp指令帮助中说明FROMUSER的含义是“属主用户名列表 上述问题中用到的fromuser=test1这个test1用户是执行exp的系统账户,并不是数据库对象所属账户,这就能解释上面问题的原因了:由于dump文件所属的数据对象账户是另外一个账户,不是test1,因此使用imp 因此,针对这个问题,imp的fromuser指的是对象所属用户,不是执行exp导出的用户。

    67420发布于 2019-03-15
领券