Oracle11g数据库导入Oracle10g数据库 EXPDP工具

Oracle从11g导出后导入10g 两种方法: 1、使用expdp、impdp导入导出 expdp version=10.2.0.1 2、如果使用exp导出,修改导出dmp文件,将版本信息改为10.2.0.1 阅读详情

EXPDP要注意的是,导出的文件是在服务器端的 DATA_PUMP_DIR目录里

 

11g备份,导入10g的时候会抛错,直接阻止导入。


但是有时候还必须得把11g的数据库导入到10g,我今天就遇到了这种情况。


一开始只是把11g中的表全部备份,成功导入10g。但是缺少视图、存储过程等。一个个sql创建累死人,方法太笨。请教了一下资深DBA,重新备份,重新导入,成功。


现在把我导入操作的全过程记录下来,希望可以方便更多的人!


一、在11g服务器上,使用expdp命令备份数据


EXPDP USERID='SYS/cuc2009@cuc as sysdba' schemas=sybj directory=DATA_PUMP_DIR dumpfile=aa.dmp logfile=aa.log version=10.2.0.1.0


其中,红色文字部分是根据需要改写的地方。例如我的sys密码是cuc2009,数据库sid是cuc,要到出的用户名是sybj,要导入到10.2.0.1.0版本的Oracle数据库中去。aa.dmp和aa.log将会在11g的dpdump目录中生成,例如我的11g装在了E盘下面,于是aa.dmp将会在E:/app/Administrator/admin/cuc/dpdump目录下被生成。

 

二、在10g服务器上,使用impdp命令恢复数据


准备工作:1.建库2.建表空间3.建用户并授权4.将aa.dmp拷贝到10g的dpdump目录下

1-3点可以去参考博主的上一篇博客“Oracle数据库移植全步骤”,介绍的很详细,这里不再多说。关于第4点,我的10g装在了e:/tools目录下,于是我将aa.dmp文件拷贝到了E:/tools/admin/cucf/dpdump目录下。


IMPDP USERID='SYS/cuc2009@cucf as sysdba' schemas=sybj directory=DATA_PUMP_DIR dumpfile=aa.dmp logfile=aa.log version=10.2.0.1.0


其中红色部分是根据需要改写的地方。例如我的sys密码是cuc2009,数据库sid是cucf,要导入用户名为sybj,要导入到10.2.0.1.0版本的Oracle数据库中去。aa.log将会在10g的dpdump目录中生成。


每一步都讲过自己亲自操作。没问题的。朋友们如果有什么好的办法也可以拿出来共享一下。开源的氛围中,技术的成长是最快的!

 

==================================================================================

 

oracle泵入与泵出
2009-12-18 11:57

泵入与泵出


1. 测试库与测试用户
2. expdp 命令帮助
3. 确认备份泵出文件的位置
4. 泵出用户数据
5. 泵入用户的数据
6. 泵入时已存在的表默认将不被重新覆盖
7. 将由用户testuser1泵出的数据泵入到testuser2中
8. 泵出特定表并进行泵入





1. 测试库与测试用户
==================


SQL> create tablespace yzhqts datafile '/u02/oradata/testdb/yzhqts01.dbf' size 500m;

Tablespace created.


SQL> create user testuser1 identified by sun2moon default tablespace yzhqts;

User created.

SQL> grant connect,resource to testuser1;

Grant succeeded.

SQL>

然后建立测试数据




2. expdp 命令帮助
=================

[oracle@web151 ~]$ impdp -help
[oracle@Manager ~]$ expdp -help



[oracle@web151 ~]$ impdp -help

Import: Release 10.2.0.4.0 - Production on Wednesday, 03 June, 2009 13:25:46

Copyright (c) 2003, 2007, Oracle. All rights reserved.


The Data Pump Import utility provides a mechanism for transferring data objects
between Oracle databases. The utility is invoked with the following command:

     Example: impdp scott/tiger DIRECTORY=dmpdir DUMPFILE=scott.dmp

You can control how Import runs by entering the 'impdp' command followed
by various parameters. To specify parameters, you use keywords:

     Format: impdp KEYWORD=value or KEYWORD=(value1,value2,...,valueN)
     Example: impdp scott/tiger DIRECTORY=dmpdir DUMPFILE=scott.dmp

USERID must be the first parameter on the command line.

****** 有省略 ********



[oracle@Manager ~]$ expdp -help

Export: Release 10.2.0.4.0 - Production on Wednesday, 03 June, 2009 11:26:33

Copyright (c) 2003, 2007, Oracle. All rights reserved.


The Data Pump export utility provides a mechanism for transferring data objects
between Oracle databases. The utility is invoked with the following command:

   Example: expdp scott/tiger DIRECTORY=dmpdir DUMPFILE=scott.dmp

You can control how Export runs by entering the 'expdp' command followed
by various parameters. To specify parameters, you use keywords:

   Format: expdp KEYWORD=value or KEYWORD=(value1,value2,...,valueN)
   Example: expdp scott/tiger DUMPFILE=scott.dmp DIRECTORY=dmpdir SCHEMAS=scott
               or TABLES=(T1:P1,T1:P2), if T1 is partitioned table

USERID must be the first parameter on the command line.

Keyword               Description (Default)
------------------------------------------------------------------------------
ATTACH                Attach to existing job, e.g. ATTACH [=job name].
COMPRESSION           Reduce size of dumpfile contents where valid
                      keyword values are: (METADATA_ONLY) and NONE.
CONTENT               Specifies data to unload where the valid keywords are:
                      (ALL), DATA_ONLY, and METADATA_ONLY.
DIRECTORY             Directory object to be used for dumpfiles and logfiles.
DUMPFILE              List of destination dump files (expdat.dmp),
                      e.g. DUMPFILE=scott1.dmp, scott2.dmp, dmpdir:scott3.dmp.
ENCRYPTION_PASSWORD   Password key for creating encrypted column data.
ESTIMATE              Calculate job estimates where the valid keywords are:
                      (BLOCKS) and STATISTICS.
ESTIMATE_ONLY         Calculate job estimates without performing the export.
EXCLUDE               Exclude specific object types, e.g. EXCLUDE=TABLE:EMP.
FILESIZE              Specify the size of each dumpfile in units of bytes.
FLASHBACK_SCN         SCN used to set session snapshot back to.
FLASHBACK_TIME        Time used to get the SCN closest to the specified time.
FULL                  Export entire database (N).
HELP                  Display Help messages (N).
INCLUDE               Include specific object types, e.g. INCLUDE=TABLE_DATA.
JOB_NAME              Name of export job to create.
LOGFILE               Log file name (export.log).
NETWORK_LINK          Name of remote database link to the source system.
NOLOGFILE             Do not write logfile (N).
PARALLEL              Change the number of active workers for current job.
PARFILE               Specify parameter file.
QUERY                 Predicate clause used to export a subset of a table.
SAMPLE                Percentage of data to be exported;
SCHEMAS               List of schemas to export (login schema).
STATUS                Frequency (secs) job status is to be monitored where
                      the default (0) will show new status when available.
TABLES                Identifies a list of tables to export - one schema only.
TABLESPACES           Identifies a list of tablespaces to export.
TRANSPORT_FULL_CHECK Verify storage segments of all tables (N).
TRANSPORT_TABLESPACES List of tablespaces from which metadata will be unloaded.
VERSION               Version of objects to export where valid keywords are:
                      (COMPATIBLE), LATEST, or any valid database version.

The following commands are valid while in interactive mode.
Note: abbreviations are allowed

Command               Description
------------------------------------------------------------------------------
ADD_FILE              Add dumpfile to dumpfile set.
CONTINUE_CLIENT       Return to logging mode. Job will be re-started if idle.
EXIT_CLIENT           Quit client session and leave job running.
FILESIZE              Default filesize (bytes) for subsequent ADD_FILE commands.
HELP                  Summarize interactive commands.
KILL_JOB              Detach and delete job.
PARALLEL              Change the number of active workers for current job.
                      PARALLEL=<number of workers>.
START_JOB             Start/resume current job.
STATUS                Frequency (secs) job status is to be monitored where
                      the default (0) will show new status when available.
                      STATUS[=interval]
STOP_JOB              Orderly shutdown of job execution and exits the client.
                      STOP_JOB=IMMEDIATE performs an immediate shutdown of the
                      Data Pump job.

[oracle@Manager ~]$


3. 确认备份泵出文件的位置
========================

SQL> set linesize 180
SQL> col directory_path format a60
SQL> select * from dba_directories

OWNER                          DIRECTORY_NAME                 DIRECTORY_PATH
------------------------------ ------------------------------ ------------------------------------------------------------
SYS                            WORK_DIR                       /ade/aime_stamc10/oracle/work
SYS                            ADMIN_DIR                      /ade/aime_stamc10/oracle/md/admin
SYS                            ORACLE_OCM_CONFIG_DIR          /u01/app/oracle/oracle/product/10.2.0/db_1/ccr/state
SYS                            DATA_PUMP_DIR                  /u01/app/oracle/oracle/product/10.2.0/db_1/rdbms/log/

SQL>




SQL> select directory_path from dba_directories where directory_name='DATA_PUMP_DIR';

DIRECTORY_PATH
--------------------------------------------------------------------------------
/u01/app/oracle/oracle/product/10.2.0/db_1/rdbms/log/

SQL>   


4. 泵出用户数据
===============

expdp testuser1/sun2moon DIRECTORY=data_pump_dir DUMPFILE=testuser1.dmp


[oracle@Manager ~]$ expdp testuser1/sun2moon DIRECTORY=data_pump_dir DUMPFILE=testuser1.dmp

Export: Release 10.2.0.4.0 - Production on Wednesday, 03 June, 2009 11:52:49

Copyright (c) 2003, 2007, Oracle. All rights reserved.

Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
ORA-39002: invalid operation
ORA-39070: Unable to open the log file.
ORA-39087: directory name DATA_PUMP_DIR is invalid


[oracle@Manager ~]$


注意:普通用户需要授权才能使用DATA_PUMP_DIR, 以下是操作过程。

SQL> grant read,write on directory DATA_PUMP_DIR to testuser1;

Grant succeeded.

SQL>


[oracle@Manager ~]$ expdp testuser1/sun2moon DIRECTORY=data_pump_dir DUMPFILE=testuser1.dmp

Export: Release 10.2.0.4.0 - Production on Wednesday, 03 June, 2009 11:54:10

Copyright (c) 2003, 2007, Oracle. All rights reserved.

Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Starting "TESTUSER1"."SYS_EXPORT_SCHEMA_01": testuser1/******** DIRECTORY=data_pump_dir DUMPFILE=testuser1.dmp
Estimate in progress using BLOCKS method...
Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
Total estimation using BLOCKS method: 128 KB
Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
Processing object type SCHEMA_EXPORT/TABLE/TABLE
Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX
Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
Processing object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
Processing object type SCHEMA_EXPORT/TABLE/COMMENT
. . exported "TESTUSER1"."T1"                            4.968 KB       2 rows
. . exported "TESTUSER1"."T2"                            17.35 KB     128 rows
Master table "TESTUSER1"."SYS_EXPORT_SCHEMA_01" successfully loaded/unloaded
******************************************************************************
Dump file set for TESTUSER1.SYS_EXPORT_SCHEMA_01 is:
/u01/app/oracle/oracle/product/10.2.0/db_1/rdbms/log/testuser1.dmp
Job "TESTUSER1"."SYS_EXPORT_SCHEMA_01" successfully completed at 11:54:41

[oracle@Manager ~]$



日志 export.log 会存放在 /u01/app/oracle/oracle/product/10.2.0/db_1/rdbms/log/


5. 泵入用户的数据
=================


在另一台服务器上:

impdp testuser1/sun2moon DIRECTORY=data_pump_dir DUMPFILE=testuser1.dmp


注意:建立相应的表空间、用户及相应的权限,并把testuser1.dmp放入指定的目录
(/u01/app/oracle/oracle/product/10.2.0/db_1/rdbms/log/) 下


建立用户:
create tablespace yzhqts datafile '/u02/oradata/zytest/yzhqts01.dbf' size 500m;
create user testuser1 identified by sun2moon default tablespace yzhqts;
grant connect,resource to testuser1;
grant read,write on directory DATA_PUMP_DIR to testuser1;



泵入数据:

[oracle@web151 ~]$ impdp testuser1/sun2moon DIRECTORY=data_pump_dir DUMPFILE=testuser1.dmp

Import: Release 10.2.0.4.0 - Production on Wednesday, 03 June, 2009 13:49:40

Copyright (c) 2003, 2007, Oracle. All rights reserved.

Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Master table "TESTUSER1"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
Starting "TESTUSER1"."SYS_IMPORT_FULL_01": testuser1/******** DIRECTORY=data_pump_dir DUMPFILE=testuser1.dmp
Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
Processing object type SCHEMA_EXPORT/TABLE/TABLE
Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
. . imported "TESTUSER1"."T1"                            4.968 KB       2 rows
. . imported "TESTUSER1"."T2"                            17.35 KB     128 rows
Job "TESTUSER1"."SYS_IMPORT_FULL_01" successfully completed at 13:49:43

[oracle@web151 ~]$



SQL> set linesize 180
SQL> col segment_name format a10
SQL> select owner, segment_name ,segment_type, tablespace_name from dba_segments where owner='TESTUSER1' order by TABLESPACE_NAME;

OWNER                          SEGMENT_NA SEGMENT_TYPE       TABLESPACE_NAME
------------------------------ ---------- ------------------ ------------------------------
TESTUSER1                      T1         TABLE              YZHQTS
TESTUSER1                      T2         TABLE              YZHQTS

SQL>



可以看到数据按照要求已经全部跑到yzhqts表空里了。


6. 泵入时已存在的表默认将不被重新覆盖
===================================

例如

[oracle@web151 log]$ impdp testuser1/sun2moon DIRECTORY=data_pump_dir DUMPFILE=testuser1-01.dmp

Import: Release 10.2.0.4.0 - Production on Wednesday, 03 June, 2009 14:44:21

Copyright (c) 2003, 2007, Oracle. All rights reserved.

Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Master table "TESTUSER1"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
Starting "TESTUSER1"."SYS_IMPORT_FULL_01": testuser1/******** DIRECTORY=data_pump_dir DUMPFILE=testuser1-01.dmp
Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
Processing object type SCHEMA_EXPORT/TABLE/TABLE
ORA-39151: Table "TESTUSER1"."T1" exists. All dependent metadata and data will be skipped due to table_exists_action of skip
ORA-39151: Table "TESTUSER1"."T2" exists. All dependent metadata and data will be skipped due to table_exists_action of skip
Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
. . imported "TESTUSER1"."T3"                            4.937 KB       1 rows
Job "TESTUSER1"."SYS_IMPORT_FULL_01" completed with 2 error(s) at 14:44:23

[oracle@web151 log]$



7. 将由用户testuser1泵出的数据泵入到testuser2中
=============================================


知识点:

remap_schema=源用户:目标用户


Using this command you can import data from one schema to other schema
Even if the schema or username is not present it gets created.

Following is the syntax of creating Remap_Schema

impdp scott/tiger@oracle directory=testdir dumpfile=bij.dmp remap_schema=scott:testscott




例子1:

$ impdp testuser1/sun2moon DIRECTORY=data_pump_dir DUMPFILE=testuser1-01.dmp remap_schema=testuser1:testuser2



(1)先创建用户testuser2

create user testuser2 identified by sun2moon default tablespace yzhqts;
grant connect,resource to testuser2;




(2) 给用户testuser1 授导入权限

SQL> grant imp_full_database to testuser1;

Grant succeeded.



目标数据库上执行上面这条授权命令,否则会报如下错误:


Import: Release 10.2.0.4.0 - Production on Wednesday, 03 June, 2009 16:12:58

Copyright (c) 2003, 2007, Oracle. All rights reserved.

Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
ORA-31631: privileges are required
ORA-39122: Unprivileged users may not perform REMAP_SCHEMA remappings.





[oracle@web151 ~]$ impdp testuser1/sun2moon DIRECTORY=data_pump_dir DUMPFILE=testuser1-01.dmp remap_schema=testuser1:testuser2

Import: Release 10.2.0.4.0 - Production on Wednesday, 03 June, 2009 16:19:12

Copyright (c) 2003, 2007, Oracle. All rights reserved.

Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Master table "TESTUSER1"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
Starting "TESTUSER1"."SYS_IMPORT_FULL_01": testuser1/******** DIRECTORY=data_pump_dir DUMPFILE=testuser1-01.dmp remap_schema=testuser1:testuser2
Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
Processing object type SCHEMA_EXPORT/TABLE/TABLE
Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
. . imported "TESTUSER2"."T1"                            4.976 KB       3 rows
. . imported "TESTUSER2"."T2"                            17.35 KB     128 rows
. . imported "TESTUSER2"."T3"                            4.937 KB       1 rows
Job "TESTUSER1"."SYS_IMPORT_FULL_01" successfully completed at 16:19:13

[oracle@web151 ~]$


例子2:


也可以直接使用 testuser2用户进行导入,此时就没有必要建立testuser1用户了。


create user testuser2 identified by sun2moon default tablespace yzhqts;
grant connect,resource to testuser2;
grant read,write on directory DATA_PUMP_DIR to testuser2;
grant imp_full_database to testuser2;


impdp testuser2/sun2moon DIRECTORY=data_pump_dir DUMPFILE=testuser1-01.dmp remap_schema=testuser1:testuser2


[oracle@web151 ~]$ impdp testuser2/sun2moon DIRECTORY=data_pump_dir DUMPFILE=testuser1-01.dmp remap_schema=testuser1:testuser2

Import: Release 10.2.0.4.0 - Production on Wednesday, 03 June, 2009 16:40:31

Copyright (c) 2003, 2007, Oracle. All rights reserved.

Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Master table "TESTUSER2"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
Starting "TESTUSER2"."SYS_IMPORT_FULL_01": testuser2/******** DIRECTORY=data_pump_dir DUMPFILE=testuser1-01.dmp remap_schema=testuser1:testuser2
Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
Processing object type SCHEMA_EXPORT/TABLE/TABLE
Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
. . imported "TESTUSER2"."T1"                            4.976 KB       3 rows
. . imported "TESTUSER2"."T2"                            17.35 KB     128 rows
. . imported "TESTUSER2"."T3"                            4.937 KB       1 rows
Job "TESTUSER2"."SYS_IMPORT_FULL_01" successfully completed at 16:40:33

[oracle@web151 ~]$



8. 泵出特定表并进行泵入
=======================

原库:泵出用户的表t1,t2
$ expdp becvx/sun2moon tables=/(t1,t2/) directory=dp dumpfile=becvx01.dmp logfile=exp_becvx.log job_name=exp_becvx

Export: Release 10.2.0.4.0 - Production on Wednesday, 10 June, 2009 11:18:13

Copyright (c) 2003, 2007, Oracle. All rights reserved.

Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Starting "BECVX"."EXP_BECVX": becvx/******** tables=(t1,t2) directory=dp dumpfile=becvx01.dmp logfile=exp_becvx.log job_name=exp_becvx
Estimate in progress using BLOCKS method...
Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
Total estimation using BLOCKS method: 192 KB
Processing object type TABLE_EXPORT/TABLE/TABLE
. . exported "BECVX"."T1"                                67.95 KB     256 rows
. . exported "BECVX"."T2"                                4.960 KB       1 rows
Master table "BECVX"."EXP_BECVX" successfully loaded/unloaded
******************************************************************************
Dump file set for BECVX.EXP_BECVX is:
/u02/backup/becvx01.dmp
Job "BECVX"."EXP_BECVX" successfully completed at 11:18:24



目标库:创建用户,并授予相应的权限(注意此次导出没有带任何的用户权限之类的数据,所以要全新创建用户)

create user becvx identified by sun2moon ;
grant connect, resource to becvx;
create directory dp as '/u02/backup';   <---- 之前执行过后,不用再执行

grant read,write on directory dp to public;



$ impdp becvx/sun2moon directory=dp dumpfile=becvx01.dmp

Import: Release 10.2.0.4.0 - Production on Wednesday, 10 June, 2009 10:55:45

Copyright (c) 2003, 2007, Oracle. All rights reserved.

Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Master table "BECVX"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
Starting "BECVX"."SYS_IMPORT_FULL_01": becvx/******** directory=dp dumpfile=becvx01.dmp
Processing object type TABLE_EXPORT/TABLE/TABLE
Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
. . imported "BECVX"."T1"                                67.95 KB     256 rows
. . imported "BECVX"."T2"                                4.960 KB       1 rows
Job "BECVX"."SYS_IMPORT_FULL_01" successfully completed at 10:55:46

$
Oracle数据库DMP文件导入导出工具集-10g与11g版本兼容性解决方案 Oracle数据库的DMP文件导入导出是进行数据库维护、迁移、备份和恢复等操作中不可或缺的一环。DMP文件作为Oracle专用的导出/导入文件格式,承载着数据库的结构信息和数据,为数据库管理员和开发者提供了极大的便利。EXPDP(Export Data Pump)是Oracle用于导出数据的工具,它可以导出表、索引、触发器等数据库对象,并且可以将数据导出为DMP文件。IMPDP(Import Data Pump)则是导入数据到Oracle数据库的工具,同样可以处理从DMP文件中提取的数据和数据库对象。 阅读详情

相关推荐

ptrade量化策略之ST股弱转强,回测年化115%

本策略的核心是精选ST股票,国九条过滤,防止直接暴雷退市,只做ST股票的弱转强

qq_29301281的博客 1785

[己解决]SYS_IMPORT_FULL_01

作业 "ZHCZ_UAT"."SYS_IMPORT_FULL_01" 因致命错误于 星期一 3月 20 16:56:18 2017 elapsed 0 00:08:01 停止怎么导入都是报错~,结果一查是oracle自身的bug,浪费了几个小时~解决方法:1.导出整个数据库(必须使用oracle管理员账号) exp user/pwd file=xxx.dmp log=xxx.log full...

weixin_30337157的博客 8495

MRI脑影像分析从哲学到技术:一文搞懂VBM预处理基本原理(全网最详细解析)

   分析大脑解剖学差异最常用方法之一是基于体素的形态学方法(voxel-based morphometry, VBM)。 VBM的基本思想是测量大脑组织,尤其是灰质的局部浓度的差异。在大脑的每个体素处进行操作,然后在两个或多个实验组之间进行统计比较,从而在受调查的组之间建立特定大脑区域中脑组织浓度的统计学显着差异。 VBM分析基于(高分辨率)MRI脑部扫描,涉及大量处理步骤,主要是空间归一化,分割,平滑和统计分析,最终结果是统计图,显示了各组之间组织类型明显不同的区域[^1]。 参考 [^1] ..

意疏的学习笔记 3万+

oracle 11g 数据泵(expdp)命令备份数据的方法

1.登录:sqlplus 用户/密码@数据库名 2. 创建数据导出目录expnc_dir为目录名,'E:\ncdatabak'为数据库实际目录,命令如下: create directory expnc_dir as 'E:\ncdatabak'; 也可以不用自己创建,直接使用数据库现有的目录,查询目录方法如下: SELECT * FROM Dba_Direc

sinat_34340686的博客 1598

stackelberg博弈_博弈论、多智能体、强化学习(随便记点东西)

多智能体应用场景:已实现:游戏AI。正在努力:UAV,物资运输,快递分发,交通系统。未来:社会学,预测群体行为,城市区域合作,国际关系。博弈论基本定义:玩家集合: 策略集合: 收益函数: 囚徒困境:两智能体矩阵博弈坦白抵赖坦白1,13,0抵赖0,32,2占优策略与最佳应对:上表中两者均具有占优策略,即无论如何都应该选坦白。那么构造下表。坦白抵赖坦白1,13,0抵赖0,12,2对于玩家一来说,坦白...

weixin_39611722的博客 2997

Quartus Prime 软件 USB-blaster 驱动安装失败【已解决】

一、安装步骤 1、将FPGA 开发板插入电脑时,未安装驱动的电脑会提示安装usb-Blaster驱动。Windows搜索框打开设备管理器,在“其他设备”下会发现黄色感叹号的“USB-Blaster”的设备驱动。 2、Quartus系列软件的安装目录下自带USB-blaster的驱动程序,右键更新驱动,选择驱动目录:(D:\intelFPGA\18.1\quartus\drivers\usb-blaster,文件位置和版本请按照自己安装的路径选择),点击Next开始安装。 3、安装成功,重启电脑即可使

adolphwang_909086的博客 6万+

oracle11g环境下,配置使用10g客户端,并允许自动备份10g的数据库

oracle11g环境下,配置使用10g客户端,并允许自动备份10g的数据库,oracle11g与Oracle10g并存设置思路引导

hslisz的博客 428

AUTOSAR模式管理-EcuM多核处理及其他概念

因此,EcuM不请求状态。因此,BswM必须确保,例如,在调用EcuM_GoHalt或EcuM_GoPoll之前,必须将关机目标从其默认值更改为ECUM_STATE_SLEEP。对于ECU的关闭,BswM(位于主EcuM的同一个分区中)最终调用主核上的GoOff,该GoOff将请求分发给所有的从核。在ECU Manager模块的早期版本中,睡眠目标被特殊处理,因为在ECU中实现的睡眠模式取决于ECU的功能。在使用了外部的SBC控制相关的MCU的下电的时候,在OFF阶段最后调用SBC进入到Sleep的指令。

m0_49148264的博客 1340

oracle10g导11g的dmp,Oracle11g数据库导入Oracle10g数据库 EXPDP工具

EXPDP要注意的是,导出的文件是在服务器端的 DATA_PUMP_DIR目录里11g备份,导入10g的时候会抛错,直接阻止导入。但是有时候还必须得把11g的数据库导入到10g,我今天就遇到了这种情况。一开始只是把11g中的表全部备份,成功导入10g。但是缺少视图、存储过程等。一个个sql创建累死人,方法太笨。请教了一下资深DBA,重新备份,重新导入,成功。现在把我导入操作的全过程记录下来,希望可...

weixin_31147757的博客 412

【实战】基于 Inner-IoU 的 YOLOv8 优化指南:显著提升检测精度

Inner-IoU 凭借辅助边框的创新设计,成功解决了传统 IoU 损失在小目标、遮挡场景下的收敛难题,为 YOLOv8 注入了更强的定位能力。从原理剖析到代码集成,本教程已为你铺就了一条“精度提升”的实战路径。现在,不妨亲自上手尝试,让你的目标检测模型在各类数据集上都能交出一份“精度优异”的答卷——相信我,当你看到检测框精准贴合目标的那一刻,你会明白这份尝试的价值。

m0_64661770的博客 107

天地图下载带审图号(审图号: GS(2024)0650号)的 “行政区划” 数据(含shp文件下载地址)

在科研投稿论文过程中,多数期刊杂志要求我们制作涉及国界的图件,必须使用自然资源部地图技术审查中心发布的标准地图底图。如地理学报、地理科学等期刊的投稿指南中写到:非标准底图本刊不予发表!(如图1.1所示)如果一定要用,凡涉国界图件(国内部分地区、全国、世界部分地区、全球)必须使用自然资源部标准地图服务系统标准地图底图(http://bzdt.ch.mnr.gov.cn/)(如图1.1所示)或国家测绘局地理信息局标准地图底图(如图1.2所示),所用底图边界要完全无修改(包括南海诸岛位置)。

JData_Engineer的博客 2302

oracle11g导入数据到oracle10g,亲测可用

1:已有一个11g的dmp文件:先oracle 11g 导出10g的dmp,再导入到cracle10中;测试成功! 2:直接从11g导出一个10g的dmp,再导入到cracle10中。(被包含在第一种情况里) create tablespace DetailLibrary logging datafile 'd:\tabspace\detailLibrary\

sinat_16741503的博客 6021

把 OData V4 服务真正发布出去:事务码 /IWFND/V4_ADMIN 在 SAP S/4HANA On-Premise 里的定位与用法

本文介绍了SAP S/4HANA中的事务码/IWFND/V4_ADMIN,这是SAP Gateway管理OData V4服务的关键工具。该事务码主要负责将后端注册的OData V4服务以服务组形式发布到前端,并维护系统别名路由、测试入口和日志跳转。与OData V2不同,V4采用服务组概念以支持跨服务导航,类似商场统一管理多个专柜。文章还通过实际案例说明,未发布服务组会导致BAS等工具无法发现OData V4服务,并提供了验证服务组状态的访问路径和ABAP示例代码。

2007 年 ~ 2025 年,深耕 SAP 技术 18 年 207

Oracle 11g 导入到10g

Oracle 11g 导入到10g 一、在11g服务器上,使用expdp命令备份数据 11g 导出语句:EXPDP USERID='facial/facial@orcl as sysdba' schemas=facial directory=DATA_PUMP_DIR dumpfile=aa.dmp logfile=aa.log version=10.2.0.1.0 其中,红色文

疾风 665

ET2012新版免狗免安装绿色软件

ET2012新版免狗免安祖昂绿色软件。,新界面,新视觉,

TMS_WebGMaps_1.9.8.0_Full_Source

TMS_WebGMaps_1.9.8.0_Full_Source 全源码 delphi cbuilder

Expdp及Impdp实现oracle数据库从10g到11gr2版本升级

Expdp及Impdp实现oracle数据库从10g到11gr2版本升级 一、第一部分,目的数据库安装 1、安装oracle11gr2,创建数据库,注意选择字符集us7ascii,修改内存参数,确定是共享服务器还是专用服务器。新数据库安装完成后有两控制文件 2、创建配置文件pfile并根据机器配置修改,然后再创建spfile,利用修改参数启动数据库 sql> create pfile='d:\inipfile.txt' from spfile='D:\app\Administrator\p...

zhytaian的博客 640

SAP B1中文培訓教材_SDK

公司内部培训资料,对开发工具 ,DIAPI, UIAPI,Add-ON有详细解说

Oracle11g和oracle10g之间的导入/导出

一:oracle的IMP/EMP特性:   Oracle的imp/exp组件的一个操作原则就是向下兼容,且有一些规则:    规则1:低版本的exp/imp可以连接到高版本(或同版本)的数据库服务器,但高版本的exp/imp 不能连接到低版本的数据库服务器。  规则2:高版本exp出的dmp文件,低版本无法imp(无法识别dmp文件);低版本exp出的dmp文件,高版本可以imp(

非著名程序员 1367

expdp / impdp 用法详解

【注】本文全部摘自:http://www.cnblogs.com/huacw/p/3888807.html,对相关概念讲解的非常详细,所以保存以备日后查阅。 一  关于expdp和impdp     使用EXPDP和IMPDP时应该注意的事项: EXP和IMP是客户端工具程序,它们既可以在客户端使用,也可以在服务端使用。 EXPDP和IMPDP是服务端的工具程序,他们只能在ORACLE服

该死的男孩e的博客 624

oracle11g导入错误,oracle 11g导入到10g引起的错误

环境介绍老环境新环境操作系统:redhat5.8 64位redhat6.4 64位数据库版本:oracle 10.2.0.4 64位oracle 11.2.0.4 64位背景:之前有一套老的数据库rac是基于oracle10g搭建,跑了几年了。现在前端应用程序准备升级,考虑到前端应用程序使用的新数据库与老环境的数据库有一些差异,准备将新环境所用数据库导入到老环境中去,这里有一个跨版本导入的问题;另...

weixin_42594419的博客 305

oracle impdp使用,Oracle expdp / impdp 用法详解

一 关于expdp和impdp 使用EXPDP和IMPDP时应该注意的事项:EXP和IMP是客户端工具程序,它们既能够在客户端使用,也能够在服务端使用。EXPDP和IMPDP是服务端的工具程序,他们只能在ORACLE服务端使用,不能在客户端使用。IMP只适用于EXP导出的文件,不适用于EXPDP导出文件;IMPDP只适用于EXPDP导出的文件,而不适用于EXP导出文件。expdp或imp...

weixin_32184991的博客 3244

11g数据导入10g数据库方法实现

一、把11g数据导入到10g数据库中(expdp/impdp)1.在11g连接并创建目录和授权C:\Users\JACK>sqlplus / as sysdbaSQL*Plus: Release 11.2.0.1.0 Production on 星期六 11月 3 10:41:14 2012Copyright (c) 1982, 2010, Oracle.    All rights reserv

Focus on Minds 635

关于Linux下使用expdp和impdp命令对Oracle数据库进行导入和导出操作

一 关于expdp和impdp 使用EXPDP和IMPDP时应该注意的事项: EXP和IMP是客户端工具程序,它们既可以在客户端使用,也可以在服务端使用。 EXPDP和IMPDP是服务端的工具程序,他们只能在ORACLE服务端使用,不能在客户端使用。 IMP只适用于EXP导出的文件,不适用于EXPDP导出文件;IMPDP只适用于EXPDP导出的文件,而不适用于EXP导出文件。 expdp...

sliver1836的博客 3695

oracle 高版本导出低版本数据库并且导入到低版本数据的方法

第一步:sqlplus system/egis@orcl as sysdba;  进入sqlplus (输入管理员用户名/密码@数据库密码) 第二步: create directory dumpdir as 'd:\';         创建数据库泵目录(指定泵目录的地址) 第三步: exit

zyb507的专栏 1万+
上一篇: 一个完整的Oracle建表的例子
下一篇: 如何为在用用户更改默认表空间
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值