oracle exp 00006,Oracle 12.1新特性----使用RMAN从备份中实现recover table

2023-11-04

Oracle 12.1新特性----使用RMAN从备份中实现recover table

发布时间:2020-06-26 19:41:44

来源:51CTO

阅读:4750

作者:hbxztc

在Oracle12c版本之前,使用RMAN能恢复的级别为数据库级别和表空间级别,如果只有一张表需要恢复,而在数据库级别或表空间级别做恢复,影响范围就太大了。因此12.2版本中提供了一个新特性使用RMAN在表级别做恢复,并且恢复过程中不影响数据库的正常使用。这一功能不仅可以恢复表,还可以恢复表分区。

To recover a table or table partition, you must have a full backup of undo, SYSTEM, SYSAUX, and the tablespace that contains the table or table partition.

使用recover table的一些限制条件:

When you use the RECOVER command to recover tables or table partitions contained in an RMAN backup, the following limitations exist.Tables and table partitions belonging to SYS schema cannot be recovered.

Tables and table partitions from SYSTEM and SYSAUX tablespaces cannot be recovered.

Tables and table partitions on standby databases cannot be recovered.

Tables with named NOT NULL constraints cannot be recovered with the REMAP option.

下面在12.2版本上做表级别恢复的实验sys@ORA12C>select * from v$version;

BANNER     CON_ID

-------------------------------------------------------------------------------- ----------

Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production  0

PL/SQL Release 12.2.0.1.0 - Production  0

CORE12.2.0.1.0Production  0

TNS for Linux: Version 12.2.0.1.0 - Production  0

NLSRTL Version 12.2.0.1.0 - Production  0

1、创建一个数据库的全备RMAN> backup database;

Starting backup at 20170720 17:12:05

using target database control file instead of recovery catalog

allocated channel: ORA_DISK_1

channel ORA_DISK_1: SID=36 device type=DISK

channel ORA_DISK_1: starting full datafile backup set

channel ORA_DISK_1: specifying datafile(s) in backup set

input datafile file number=00001 name=+DATA/ORA12C/DATAFILE/system.256.949764433

channel ORA_DISK_1: starting piece 1 at 20170720 17:12:07

channel ORA_DISK_1: finished piece 1 at 20170720 17:12:22

piece handle=/u01/app/oracle/product/12.2/db_home1/dbs/0vs9rar7_1_1 tag=TAG20170720T171206 comment=NONE

channel ORA_DISK_1: backup set complete, elapsed time: 00:00:15

channel ORA_DISK_1: starting full datafile backup set

channel ORA_DISK_1: specifying datafile(s) in backup set

input datafile file number=00004 name=+DATA/ORA12C/DATAFILE/users.266.949764465

channel ORA_DISK_1: starting piece 1 at 20170720 17:12:22

channel ORA_DISK_1: finished piece 1 at 20170720 17:12:23

piece handle=/u01/app/oracle/product/12.2/db_home1/dbs/10s9rarm_1_1 tag=TAG20170720T171206 comment=NONE

channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01

channel ORA_DISK_1: starting full datafile backup set

channel ORA_DISK_1: specifying datafile(s) in backup set

input datafile file number=00002 name=+DATA/ORA12C/DATAFILE/sysaux.261.949764491

channel ORA_DISK_1: starting piece 1 at 20170720 17:12:23

channel ORA_DISK_1: finished piece 1 at 20170720 17:12:38

piece handle=/u01/app/oracle/product/12.2/db_home1/dbs/11s9rarn_1_1 tag=TAG20170720T171206 comment=NONE

channel ORA_DISK_1: backup set complete, elapsed time: 00:00:15

channel ORA_DISK_1: starting full datafile backup set

channel ORA_DISK_1: specifying datafile(s) in backup set

input datafile file number=00005 name=+DATA/ORA12C/DATAFILE/examples.265.949764515

channel ORA_DISK_1: starting piece 1 at 20170720 17:12:38

channel ORA_DISK_1: finished piece 1 at 20170720 17:12:39

piece handle=/u01/app/oracle/product/12.2/db_home1/dbs/12s9ras6_1_1 tag=TAG20170720T171206 comment=NONE

channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01

channel ORA_DISK_1: starting full datafile backup set

channel ORA_DISK_1: specifying datafile(s) in backup set

input datafile file number=00008 name=/tmp/FY_RST_DATA.DAT

input datafile file number=00007 name=/tmp/FY_REC_DATA.DAT

input datafile file number=00003 name=+DATA/ORA12C/DATAFILE/undotbs1.264.949764541

input datafile file number=00006 name=+DATA/ORA12C/DATAFILE/t_move.dbf

channel ORA_DISK_1: starting piece 1 at 20170720 17:12:40

channel ORA_DISK_1: finished piece 1 at 20170720 17:12:41

piece handle=/u01/app/oracle/product/12.2/db_home1/dbs/13s9ras8_1_1 tag=TAG20170720T171206 comment=NONE

channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01

Finished backup at 20170720 17:12:41

Starting Control File and SPFILE Autobackup at 20170720 17:12:41

piece handle=/u01/app/oracle/product/12.2/db_home1/dbs/c-326793150-20170720-00 comment=NONE

Finished Control File and SPFILE Autobackup at 20170720 17:12:42

2、创建测试表,插入测试数据并记录中间的scn号zx@ORA12C>create table t2 (id number,name varchar2(10),birthday date);

Table created.

zx@ORA12C>insert into t2 values(1,'zx',sysdate);

1 row created.

zx@ORA12C>commit;

Commit complete.

zx@ORA12C>select current_scn from v$database;

CURRENT_SCN

-----------

650101

zx@ORA12C>insert into t2 values(2,'lx',sysdate);

1 row created.

zx@ORA12C>commit;

Commit complete.

zx@ORA12C>select * from t2;

ID NAME       BIRTHDAY

---------- ---------- -----------------

1 zx      20170720 17:18:52

2 lx      20170720 17:19:34

3、执行表级别恢复,使用remap table参数不覆盖原表,恢复成t2_r表RMAN> recover table zx.t2 until scn 650101 remap table zx.t2:t2_r auxiliary destination '/tmp';

Starting recover at 20170720 17:23:50

current log archived

using channel ORA_DISK_1

RMAN-05026: warning: presuming following set of tablespaces applies to specified point-in-time

List of tablespaces expected to have UNDO segments

Tablespace SYSTEM

Tablespace UNDOTBS1

Creating automatic instance, with SID='htzD'

initialization parameters used for automatic instance:

db_name=ORA12C

db_unique_name=htzD_pitr_ORA12C

compatible=12.2.0

db_block_size=8192

db_files=200

diagnostic_dest=/u01/app/oracle

_system_trig_enabled=FALSE

sga_target=1712M

processes=200

db_create_file_dest=/tmp

log_archive_dest_1='location=/tmp'

#No auxiliary parameter file used

starting up automatic instance ORA12C

Oracle instance started

Total System Global Area    1795162112 bytes

Fixed Size                     8621760 bytes

Variable Size                436207936 bytes

Database Buffers            1342177280 bytes

Redo Buffers                   8155136 bytes

Automatic instance created

contents of Memory Script:

{

# set requested point in time

set until  scn 650101;

# restore the controlfile

restore clone controlfile;

# mount the controlfile

sql clone 'alter database mount clone database';

# archive current online log

sql 'alter system archive log current';

}

executing Memory Script

executing command: SET until clause

Starting restore at 20170720 17:24:12

allocated channel: ORA_AUX_DISK_1

channel ORA_AUX_DISK_1: SID=18 device type=DISK

channel ORA_AUX_DISK_1: starting datafile backup set restore

channel ORA_AUX_DISK_1: restoring control file

channel ORA_AUX_DISK_1: reading from backup piece /u01/app/oracle/product/12.2/db_home1/dbs/c-326793150-20170720-00

channel ORA_AUX_DISK_1: piece handle=/u01/app/oracle/product/12.2/db_home1/dbs/c-326793150-20170720-00 tag=TAG20170720T171241

channel ORA_AUX_DISK_1: restored backup piece 1

channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:01

output file name=/tmp/ORA12C/controlfile/o1_mf_dq0xoxot_.ctl

Finished restore at 20170720 17:24:14

sql statement: alter database mount clone database

sql statement: alter system archive log current

contents of Memory Script:

{

# set requested point in time

set until  scn 650101;

# set destinations for recovery set and auxiliary set datafiles

set newname for clone datafile  1 to new;

set newname for clone datafile  3 to new;

set newname for clone datafile  2 to new;

set newname for clone tempfile  1 to new;

# switch all tempfiles

switch clone tempfile all;

# restore the tablespaces in the recovery set and the auxiliary set

restore clone datafile  1, 3, 2;

switch clone datafile all;

}

executing Memory Script

executing command: SET until clause

executing command: SET NEWNAME

executing command: SET NEWNAME

executing command: SET NEWNAME

executing command: SET NEWNAME

renamed tempfile 1 to /tmp/ORA12C/datafile/o1_mf_temp_%u_.tmp in control file

Starting restore at 20170720 17:24:19

using channel ORA_AUX_DISK_1

channel ORA_AUX_DISK_1: starting datafile backup set restore

channel ORA_AUX_DISK_1: specifying datafile(s) to restore from backup set

channel ORA_AUX_DISK_1: restoring datafile 00001 to /tmp/ORA12C/datafile/o1_mf_system_%u_.dbf

channel ORA_AUX_DISK_1: reading from backup piece /u01/app/oracle/product/12.2/db_home1/dbs/0vs9rar7_1_1

channel ORA_AUX_DISK_1: piece handle=/u01/app/oracle/product/12.2/db_home1/dbs/0vs9rar7_1_1 tag=TAG20170720T171206

channel ORA_AUX_DISK_1: restored backup piece 1

channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:45

channel ORA_AUX_DISK_1: starting datafile backup set restore

channel ORA_AUX_DISK_1: specifying datafile(s) to restore from backup set

channel ORA_AUX_DISK_1: restoring datafile 00002 to /tmp/ORA12C/datafile/o1_mf_sysaux_%u_.dbf

channel ORA_AUX_DISK_1: reading from backup piece /u01/app/oracle/product/12.2/db_home1/dbs/11s9rarn_1_1

channel ORA_AUX_DISK_1: piece handle=/u01/app/oracle/product/12.2/db_home1/dbs/11s9rarn_1_1 tag=TAG20170720T171206

channel ORA_AUX_DISK_1: restored backup piece 1

channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:35

channel ORA_AUX_DISK_1: starting datafile backup set restore

channel ORA_AUX_DISK_1: specifying datafile(s) to restore from backup set

channel ORA_AUX_DISK_1: restoring datafile 00003 to /tmp/ORA12C/datafile/o1_mf_undotbs1_%u_.dbf

channel ORA_AUX_DISK_1: reading from backup piece /u01/app/oracle/product/12.2/db_home1/dbs/13s9ras8_1_1

channel ORA_AUX_DISK_1: piece handle=/u01/app/oracle/product/12.2/db_home1/dbs/13s9ras8_1_1 tag=TAG20170720T171206

channel ORA_AUX_DISK_1: restored backup piece 1

channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:15

Finished restore at 20170720 17:25:55

datafile 1 switched to datafile copy

input datafile copy RECID=16 STAMP=949857956 file name=/tmp/ORA12C/datafile/o1_mf_system_dq0xp4jt_.dbf

datafile 3 switched to datafile copy

input datafile copy RECID=17 STAMP=949857956 file name=/tmp/ORA12C/datafile/o1_mf_undotbs1_dq0xrnq2_.dbf

datafile 2 switched to datafile copy

input datafile copy RECID=18 STAMP=949857956 file name=/tmp/ORA12C/datafile/o1_mf_sysaux_dq0xqkm0_.dbf

contents of Memory Script:

{

# set requested point in time

set until  scn 650101;

# online the datafiles restored or switched

sql clone "alter database datafile  1 online";

sql clone "alter database datafile  3 online";

sql clone "alter database datafile  2 online";

# recover and open database read only

recover clone database tablespace  "SYSTEM", "UNDOTBS1", "SYSAUX";

sql clone 'alter database open read only';

}

executing Memory Script

executing command: SET until clause

sql statement: alter database datafile  1 online

sql statement: alter database datafile  3 online

sql statement: alter database datafile  2 online

Starting recover at 20170720 17:26:02

using channel ORA_AUX_DISK_1

starting media recovery

archived log for thread 1 with sequence 2 is already on disk as file /u01/app/oracle/product/12.2/db_home1/dbs/arch2_2_949077789.dbf

archived log for thread 1 with sequence 3 is already on disk as file /u01/app/oracle/product/12.2/db_home1/dbs/arch2_3_949077789.dbf

archived log file name=/u01/app/oracle/product/12.2/db_home1/dbs/arch2_2_949077789.dbf thread=1 sequence=2

archived log file name=/u01/app/oracle/product/12.2/db_home1/dbs/arch2_3_949077789.dbf thread=1 sequence=3

media recovery complete, elapsed time: 00:00:02

Finished recover at 20170720 17:26:07

sql statement: alter database open read only

contents of Memory Script:

{

sql clone "create spfile from memory";

shutdown clone immediate;

startup clone nomount;

sql clone "alter system set  control_files =

''/tmp/ORA12C/controlfile/o1_mf_dq0xoxot_.ctl'' comment=

''RMAN set'' scope=spfile";

shutdown clone immediate;

startup clone nomount;

# mount database

sql clone 'alter database mount clone database';

}

executing Memory Script

sql statement: create spfile from memory

database closed

database dismounted

Oracle instance shut down

connected to auxiliary database (not started)

Oracle instance started

Total System Global Area    1795162112 bytes

Fixed Size                     8621760 bytes

Variable Size                436207936 bytes

Database Buffers            1342177280 bytes

Redo Buffers                   8155136 bytes

sql statement: alter system set  control_files =   ''/tmp/ORA12C/controlfile/o1_mf_dq0xoxot_.ctl'' comment= ''RMAN set'' scope=spfile

Oracle instance shut down

connected to auxiliary database (not started)

Oracle instance started

Total System Global Area    1795162112 bytes

Fixed Size                     8621760 bytes

Variable Size                436207936 bytes

Database Buffers            1342177280 bytes

Redo Buffers                   8155136 bytes

sql statement: alter database mount clone database

contents of Memory Script:

{

# set requested point in time

set until  scn 650101;

# set destinations for recovery set and auxiliary set datafiles

set newname for datafile  4 to new;

# restore the tablespaces in the recovery set and the auxiliary set

restore clone datafile  4;

switch clone datafile all;

}

executing Memory Script

executing command: SET until clause

executing command: SET NEWNAME

Starting restore at 20170720 17:27:18

allocated channel: ORA_AUX_DISK_1

channel ORA_AUX_DISK_1: SID=23 device type=DISK

channel ORA_AUX_DISK_1: starting datafile backup set restore

channel ORA_AUX_DISK_1: specifying datafile(s) to restore from backup set

channel ORA_AUX_DISK_1: restoring datafile 00004 to /tmp/HTZD_PITR_ORA12C/datafile/o1_mf_users_%u_.dbf

channel ORA_AUX_DISK_1: reading from backup piece /u01/app/oracle/product/12.2/db_home1/dbs/10s9rarm_1_1

channel ORA_AUX_DISK_1: piece handle=/u01/app/oracle/product/12.2/db_home1/dbs/10s9rarm_1_1 tag=TAG20170720T171206

channel ORA_AUX_DISK_1: restored backup piece 1

channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:25

Finished restore at 20170720 17:27:44

datafile 4 switched to datafile copy

input datafile copy RECID=20 STAMP=949858064 file name=/tmp/HTZD_PITR_ORA12C/datafile/o1_mf_users_dq0xvq9q_.dbf

contents of Memory Script:

{

# set requested point in time

set until  scn 650101;

# online the datafiles restored or switched

sql clone "alter database datafile  4 online";

# recover and open resetlogs

recover clone database tablespace  "USERS", "SYSTEM", "UNDOTBS1", "SYSAUX" delete archivelog;

alter clone database open resetlogs;

}

executing Memory Script

executing command: SET until clause

sql statement: alter database datafile  4 online

Starting recover at 20170720 17:27:44

using channel ORA_AUX_DISK_1

starting media recovery

archived log for thread 1 with sequence 2 is already on disk as file /u01/app/oracle/product/12.2/db_home1/dbs/arch2_2_949077789.dbf

archived log for thread 1 with sequence 3 is already on disk as file /u01/app/oracle/product/12.2/db_home1/dbs/arch2_3_949077789.dbf

archived log file name=/u01/app/oracle/product/12.2/db_home1/dbs/arch2_2_949077789.dbf thread=1 sequence=2

archived log file name=/u01/app/oracle/product/12.2/db_home1/dbs/arch2_3_949077789.dbf thread=1 sequence=3

media recovery complete, elapsed time: 00:00:01

Finished recover at 20170720 17:27:48

database opened

contents of Memory Script:

{

# create directory for datapump import

sql "create or replace directory TSPITR_DIROBJ_DPDIR as ''

/tmp''";

# create directory for datapump export

sql clone "create or replace directory TSPITR_DIROBJ_DPDIR as ''

/tmp''";

}

executing Memory Script

sql statement: create or replace directory TSPITR_DIROBJ_DPDIR as ''/tmp''

sql statement: create or replace directory TSPITR_DIROBJ_DPDIR as ''/tmp''

Performing export of tables...

EXPDP> Starting "SYS"."TSPITR_EXP_htzD_mhEh":

EXPDP> Processing object type TABLE_EXPORT/TABLE/TABLE_DATA

EXPDP> Processing object type TABLE_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS

EXPDP> Processing object type TABLE_EXPORT/TABLE/TABLE

EXPDP> . . exported "ZX"."T2"                                   5.898 KB       1 rows

EXPDP> Master table "SYS"."TSPITR_EXP_htzD_mhEh" successfully loaded/unloaded

EXPDP> ******************************************************************************

EXPDP> Dump file set for SYS.TSPITR_EXP_htzD_mhEh is:

EXPDP>   /tmp/tspitr_htzD_98436.dmp

EXPDP> Job "SYS"."TSPITR_EXP_htzD_mhEh" successfully completed at Thu Jul 20 17:29:48 2017 elapsed 0 00:01:05

Export completed

contents of Memory Script:

{

# shutdown clone before import

shutdown clone abort

}

executing Memory Script

Oracle instance shut down

Performing import of tables...

IMPDP> Master table "SYS"."TSPITR_IMP_htzD_bhqf" successfully loaded/unloaded

IMPDP> Starting "SYS"."TSPITR_IMP_htzD_bhqf":

IMPDP> Processing object type TABLE_EXPORT/TABLE/TABLE

IMPDP> Processing object type TABLE_EXPORT/TABLE/TABLE_DATA

IMPDP> . . imported "ZX"."T2_R"                                 5.898 KB       1 rows

IMPDP> Processing object type TABLE_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS

IMPDP> Job "SYS"."TSPITR_IMP_htzD_bhqf" successfully completed at Thu Jul 20 17:30:10 2017 elapsed 0 00:00:10

Import completed

Removing automatic instance

Automatic instance removed

auxiliary instance file /tmp/ORA12C/datafile/o1_mf_temp_dq0xskvm_.tmp deleted

auxiliary instance file /tmp/HTZD_PITR_ORA12C/onlinelog/o1_mf_3_dq0xwo3d_.log deleted

auxiliary instance file /tmp/HTZD_PITR_ORA12C/onlinelog/o1_mf_2_dq0xwo3d_.log deleted

auxiliary instance file /tmp/HTZD_PITR_ORA12C/onlinelog/o1_mf_1_dq0xwo0q_.log deleted

auxiliary instance file /tmp/HTZD_PITR_ORA12C/datafile/o1_mf_users_dq0xvq9q_.dbf deleted

auxiliary instance file /tmp/ORA12C/datafile/o1_mf_sysaux_dq0xqkm0_.dbf deleted

auxiliary instance file /tmp/ORA12C/datafile/o1_mf_undotbs1_dq0xrnq2_.dbf deleted

auxiliary instance file /tmp/ORA12C/datafile/o1_mf_system_dq0xp4jt_.dbf deleted

auxiliary instance file /tmp/ORA12C/controlfile/o1_mf_dq0xoxot_.ctl deleted

auxiliary instance file tspitr_htzD_98436.dmp deleted

Finished recover at 20170720 17:30:13

4、验证结果,查询t2_r表zx@ORA12C>select * from t2_r;

ID NAME       BIRTHDAY

---------- ---------- -----------------

1 zx      20170720 17:18:52

5、即使表t2做了DDL操作修改了表结构,也可以用这种方法进行恢复--表t2添加一个字段

zx@ORA12C>alter table t2 add address varchar2(10);

Table altered.

--恢复表到t2_r2

RMAN> recover table zx.t2 until scn 650101 remap table zx.t2:t2_r2 auxiliary destination '/tmp';

Starting recover at 20170720 17:57:00

using channel ORA_DISK_1

RMAN-05026: warning: presuming following set of tablespaces applies to specified point-in-time

......

Finished recover at 20170720 18:02:03

--验证表t2_r2

zx@ORA12C>select * from t2_r2;

ID NAME       BIRTHDAY

---------- ---------- -----------------

1 zx      20170720 17:18:52

--恢复成功

这一功能很大程度减小了数据恢复的影响范围。

参考:http://docs.oracle.com/database/121/BRADV/rcmresind.htm#BRADV686

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

oracle exp 00006,Oracle 12.1新特性----使用RMAN从备份中实现recover table 的相关文章

  • Android系统屏保功能开发(Android10)

    Android系统屏保功能开发 1 AndroidManifest xml 文件配置 需要先配置为系统应用
  • IPSec ***不通时的故障处理方法

    IPSec 不通 介绍了IPSec 不通时的故障处理方法 现象描述 如图1所示 管理员希望在NGFW A和NGFW B之间建立IKE方式的IPSec隧道 使网络A和网络B的用户可以通过IPSec隧道互相访问 图1 IPSec 不通组网图 配
  • mysql大量数据迁移

    http blog csdn net blakefez article details 51076588 最近有个需求 要把机器a上的一个数据库迁移到机器b上 这个数据库的数据有100多个G 所以 果断抛弃用mysqldump的方法来迁移
  • SWD调试接口接上下拉电阻

    在使用NXP的Kinetis系列的KV1X的MCU时 此款芯片只有SWD调试接口 在使用kei调试和下载过程中时不时会找不到SWD接口或者芯片被锁住 检查电源稳定纹波很小 NMI已上拉10k电阻 可以在jlink Command中找到内核并
  • MYSQL--基础--04--索引原理

    MYSQL 基础 04 索引原理 1 索引原理 1 1 索引的目的 提高查询效率 与我们查阅图书所用的目录是一个道理 先定位到章 然后定位到该章下的一个小节 然后找到页数 1 2 索引的本质 通过不断地缩小想要获取数据的范围来筛选出最终想要
  • 3.全志H3-编译官方BSP

    上面是我的微信和QQ群 欢迎新朋友的加入 原文链接 http wiki friendlyarm com wiki index php Building U boot and Linux for H5 H3 H2 2B zh 使用全志原厂BS
  • [编程入门]猴子吃桃的问题(JAVA解法)

    题目描述 猴子吃桃问题 猴子第一天摘下若干个桃子 当即吃了一半 还不过瘾 又多吃了一个 第二天早上又将剩下的桃子吃掉一半 又多吃一个 以后每天早上都吃了前一天剩下的一半零一个 到第N天早上想再吃时 见只剩下一个桃子了 求第一天共摘多少桃子
  • 机器学习_深度学习毕设题目汇总——问答

    下面是该类的一些题目 题目 基于关系建模的视觉问答研究 基于注意力机制与高层语义的视觉问答研究 基于深度学习的交互式问答技术研究 基于深度学习的结构化数据问答方法研究 智能视觉问答中关键问题的理论与方法研究 社区问答平台上多因素融合的答案选
  • 上传自己封装的python包到PyPI

    请参考 https www jianshu com p 81fe5a5cd27a
  • 【数据结构】顺序表实现增删查改

    目录 1 顺序表的创建 1 1 静态版 1 2动态版 2 顺序表初始化 2 1传值初始化 2 2传址初始化 3 实现尾插 4 打印函数 5 头插 6 检查空间容量 7 尾删 8 释放空间函数 9 头删 10 在某处插入 11 某地方删除 1
  • CppUTest——【由JUnit移植过来的】C++单元测试框架——的下载安装

    C 单元测试框架CppUTest的下载与安装 简介 下载地址 单元测试框架下载 单元测试被测工程下载 安装 安装Cygwin 下载地址 安装步骤 手动安装CMake 编译单元测试框架CppUTest 导入到Virtual Studio 准备
  • c++在线编译器

    https wandbox org
  • PID控制的深入探讨(位置式PID、增量式PID、PID的积分饱和)

    本文主要探讨PID算法在使用时的一些实际问题 处理技巧和方法 学习本节内容需要先对PID控制算法有基本的了解 1 PID控制的基本原理 PID是一个二阶线性控制器 它具有不需要建立数学模型 控制效果好 良好的鲁棒性等等优点 它的原理如下图
  • go grpc实战

    go rpc实战 什么是rpc以及rpc的原理就不加以阐述了 wiki rpc对其进行了说明 本文 以登录过程为例 使用go作为开发语言 使用grpc库实现了登录接口 具体过程及代码如下所示 环境准备 在app的同级目录创建appGoPat
  • zabbix 监控Linux TCP/UDP端口流量

    zabbix agent客户端在Linux服务器安装之后 服务器端配置上Template OS Linux这个模板 就会自动搜索该服务器上的所有网卡 然后实时记录income流量和outcome流量 并绘制成图标显示 如下 有这个粗略的统计
  • QLineEdit

    1 设置lineEdit只能输入大于的0数字 头文件 include
  • pandas填充nan方式(向下向上,指定值)

    fillna方法 pd fillna pd col pd col fillna 参数 method 该参数主要控制自动填充 是向上填充还是向下填充 method backfill bfill pad ffill None default N
  • signature=0fdde99449705347b1bc3148e0519684,yarn.lock · mirrors_yeoman/generator-generator - Gitee.co...

    THIS IS AN AUTOGENERATED FILE DO NOT EDIT THIS FILE DIRECTLY yarn lockfile v1 babel code frame 7 0 0 babel code frame 7
  • antv l7 绘制中国地图并在对应的地方添加marker

    使用技术 antv l7 html代码

随机推荐