【Oracle】rman中SBT_TYPE类型的备份如何删除
技阳的rman数据库出现删除rman备份失败,原因是出现SBT_TYPE的磁带备份。
[BEGIN] 2018/8/13 13:48:42
RMAN> list backup;
List of Backup Sets
===================
BS Key Size Device Type Elapsed Time Completion Time
------- ---------- ----------- ------------ ---------------
8480 117.00M SBT_TAPE 00:00:11 03-AUG-18
BP Key: 9170 Status: AVAILABLE Compressed: NO Tag: TAG20180803T045555
Handle: 8249_ORCL_a2t9joer_1_1 Media: V_9139_26800
List of Archived Logs in backup set 8480
Thrd Seq Low SCN Low Time Next SCN Next Time
---- ------- ---------- --------- ---------- ---------
1 606 1919655867 03-AUG-18 1919656111 03-AUG-18
1 607 1919656111 03-AUG-18 1919656212 03-AUG-18
1 608 1919656212 03-AUG-18 1919666497 03-AUG-18
1 609 1919666497 03-AUG-18 1919666601 03-AUG-18
1 610 1919666601 03-AUG-18 1919746627 03-AUG-18
1 611 1919746627 03-AUG-18 1919746646 03-AUG-18
...省略部分内容...
RMAN> allocate channel for maintenance device type 'SBT_TAPE';
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of allocate command on ORA_MAINT_SBT_TAPE_2 channel at 08/13/2018 13:54:31
ORA-19554: error allocating device, device type: SBT_TAPE, device name:
ORA-27211: Failed to load Media Management Library
Additional information: 2
RMAN> delete obsolete;
RMAN retention policy will be applied to the command
RMAN retention policy is set to recovery window of 7 days
Deleting the following obsolete backups and copies:
Type Key Completion Time Filename/Handle
-------------------- ------ ------------------ --------------------
Backup Set 8480 03-AUG-18
Backup Piece 9170 03-AUG-18 8249_ORCL_a2t9joer_1_1
Backup Set 8481 03-AUG-18
Backup Piece 9171 03-AUG-18 8250_ORCL_a3t9jof6_1_1
...省略部分内容...
Backup Set 8742 06-AUG-18
Backup Piece 9432 06-AUG-18 8883_ORCL_i8t9sh7i_1_1
Backup Set 8744 06-AUG-18
Backup Piece 9434 06-AUG-18 8882_ORCL_i9t9sh7i_1_1
Backup Set 8743 06-AUG-18
Backup Piece 9433 06-AUG-18 c-1404877812-20180806-0a
Backup Set 8745 06-AUG-18
Backup Piece 9435 06-AUG-18 c-1404877812-20180806-0b
Backup Set 8747 06-AUG-18
Backup Piece 9437 06-AUG-18 8883_ORCL_idt9shrf_1_1
Backup Set 8748 06-AUG-18
Backup Piece 9438 06-AUG-18 c-1404877812-20180806-0c
Backup Set 8750 06-AUG-18
Backup Piece 9440 06-AUG-18 8882_ORCL_igt9shsf_1_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of delete command at 08/13/2018 13:58:26
RMAN-06091: no channel allocated for maintenance (of an appropriate type)
RMAN> delete force backupset 9440;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of delete command at 08/13/2018 13:59:06
RMAN-20215: backup set not found
RMAN-06159: error while looking up backup set
RMAN> delete force backupset 8750;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of delete command at 08/13/2018 13:59:19
RMAN-06160: no backup pieces found for backup set key: 8750
RMAN> crosscheck backupset 8750;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of crosscheck command at 08/13/2018 13:59:56
RMAN-06160: no backup pieces found for backup set key: 8750
RMAN> delete obsolete;
RMAN retention policy will be applied to the command
RMAN retention policy is set to recovery window of 7 days
Deleting the following obsolete backups and copies:
Type Key Completion Time Filename/Handle
-------------------- ------ ------------------ --------------------
Backup Set 8480 03-AUG-18
Backup Piece 9170 03-AUG-18 8249_ORCL_a2t9joer_1_1
Backup Set 8481 03-AUG-18
Backup Piece 9171 03-AUG-18 8250_ORCL_a3t9jof6_1_1
...省略部分内容...
Backup Set 8748 06-AUG-18
Backup Piece 9438 06-AUG-18 c-1404877812-20180806-0c
Backup Set 8750 06-AUG-18
Backup Piece 9440 06-AUG-18 8882_ORCL_igt9shsf_1_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of delete command at 08/13/2018 14:00:33
RMAN-06091: no channel allocated for maintenance (of an appropriate type)
RMAN> show all;
RMAN configuration parameters for database with db_unique_name ORCL are:
CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 7 DAYS;
CONFIGURE BACKUP OPTIMIZATION OFF; # default
CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE MAXSETSIZE TO UNLIMITED; # default
CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
CONFIGURE COMPRESSION ALGORITHM 'BASIC' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOAD TRUE ; # default
CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/app/oracle/product/11.2.0/db_1/dbs/snapcf_orcl.f'; # default
[oracle@SHQTbobcat logs]$ vi rman_inc_1_20180813.log
[END] 2018/8/13 14:30:51
首先构造环境如下,相同操作执行两遍。
[oracle@oracle ~]$ rman target /
Recovery Manager: Release 11.2.0.4.0 - Production on Mon Aug 20 14:19:55 2018
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
connected to target database: PROC (DBID=341599061)
RMAN> run{
2> allocate channel ch1 type 'sbt_tape' maxpiecesize=3072M PARMS="SBT_LIBRARY=oracle.disksbt,ENV=(BACKUP_DIR=/home/oracle/rman)";
3> backup incremental level 0 format '/home/oracle/rman/proc_%d_%s_%p_%t' database tag 'test';
4> release channel ch1;
5> }
using target database control file instead of recovery catalog
allocated channel: ch1
channel ch1: SID=95 device type=SBT_TAPE
channel ch1: WARNING: Oracle Test Disk API
Starting backup at 20-AUG-18
channel ch1: starting incremental level 0 datafile backup set
channel ch1: specifying datafile(s) in backup set
input datafile file number=00007 name=/home/oracle/WMWHSE2_DATA.dbf
input datafile file number=00005 name=/u01/app/oracle/oradata/proc/example01.dbf
input datafile file number=00003 name=/u01/app/oracle/oradata/proc/undotbs01.dbf
channel ch1: starting piece 1 at 20-AUG-18
channel ch1: finished piece 1 at 20-AUG-18
piece handle=/home/oracle/rman/proc_PROC_33_1_984666016 tag=TEST comment=API Version 2.0,MMS Version 8.1.3.0
channel ch1: backup set complete, elapsed time: 00:01:25
channel ch1: starting incremental level 0 datafile backup set
channel ch1: specifying datafile(s) in backup set
input datafile file number=00001 name=/u01/app/oracle/oradata/proc/system01.dbf
input datafile file number=00006 name=/home/oracle/test.dbf
input datafile file number=00004 name=/u01/app/oracle/oradata/proc/users01.dbf
input datafile file number=00002 name=/u01/app/oracle/oradata/proc/sysaux01.dbf
channel ch1: starting piece 1 at 20-AUG-18
channel ch1: finished piece 1 at 20-AUG-18
piece handle=/home/oracle/rman/proc_PROC_34_1_984666101 tag=TEST comment=API Version 2.0,MMS Version 8.1.3.0
channel ch1: backup set complete, elapsed time: 00:01:26
channel ch1: starting incremental level 0 datafile backup set
channel ch1: specifying datafile(s) in backup set
including current control file in backup set
including current SPFILE in backup set
channel ch1: starting piece 1 at 20-AUG-18
channel ch1: finished piece 1 at 20-AUG-18
piece handle=/home/oracle/rman/proc_PROC_35_1_984666187 tag=TEST comment=API Version 2.0,MMS Version 8.1.3.0
channel ch1: backup set complete, elapsed time: 00:00:03
Finished backup at 20-AUG-18
released channel: ch1
RMAN>
冗余策略如下:
CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
RMAN> crosscheck backup;
using channel ORA_DISK_1
specification does not match any backup in the repository
RMAN> report obsolete;
RMAN retention policy will be applied to the command
RMAN retention policy is set to redundancy 1
Report of obsolete backups and copies
Type Key Completion Time Filename/Handle
-------------------- ------ ------------------ --------------------
Archive Log 5 15-AUG-18 /u01/app/oracle/archivelog/1_22_979397527.dbf
...省略部分内容...
Archive Log 103 17-AUG-18 /u01/app/oracle/archivelog/1_120_979397527.dbf
Archive Log 104 17-AUG-18 /u01/app/oracle/archivelog/1_121_979397527.dbf
Archive Log 105 20-AUG-18 /u01/app/oracle/archivelog/1_122_979397527.dbf
Backup Set 32 20-AUG-18
Backup Piece 32 20-AUG-18 /home/oracle/rman/proc_PROC_33_1_984666016
Backup Set 33 20-AUG-18
Backup Piece 33 20-AUG-18 /home/oracle/rman/proc_PROC_34_1_984666101
Backup Set 34 20-AUG-18
Backup Piece 34 20-AUG-18 /home/oracle/rman/proc_PROC_35_1_984666187
RMAN> delete obsolete;
RMAN retention policy will be applied to the command
RMAN retention policy is set to redundancy 1
using channel ORA_DISK_1
Deleting the following obsolete backups and copies:
Type Key Completion Time Filename/Handle
-------------------- ------ ------------------ --------------------
Archive Log 5 15-AUG-18 /u01/app/oracle/archivelog/1_22_979397527.dbf
...省略部分内容...
Archive Log 103 17-AUG-18 /u01/app/oracle/archivelog/1_120_979397527.dbf
Archive Log 104 17-AUG-18 /u01/app/oracle/archivelog/1_121_979397527.dbf
Archive Log 105 20-AUG-18 /u01/app/oracle/archivelog/1_122_979397527.dbf
Backup Set 32 20-AUG-18
Backup Piece 32 20-AUG-18 /home/oracle/rman/proc_PROC_33_1_984666016
Backup Set 33 20-AUG-18
Backup Piece 33 20-AUG-18 /home/oracle/rman/proc_PROC_34_1_984666101
Backup Set 34 20-AUG-18
Backup Piece 34 20-AUG-18 /home/oracle/rman/proc_PROC_35_1_984666187
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of delete command at 08/20/2018 14:37:01
RMAN-06091: no channel allocated for maintenance (of an appropriate type)
将磁盘上实际的备份文件删除,用crosscheck backup无法有效检查出问题来。
RMAN> crosscheck backup;
using channel ORA_DISK_1
specification does not match any backup in the repository
RMAN> list backup;
List of Backup Sets
===================
BS Key Type LV Size Device Type Elapsed Time Completion Time
------- ---- -- ---------- ----------- ------------ ---------------
32 Incr 0 2.41G SBT_TAPE 00:01:15 20-AUG-18
BP Key: 32 Status: AVAILABLE Compressed: NO Tag: TEST
Handle: /home/oracle/rman/proc_PROC_33_1_984666016 Media: /rman,/home/oracle/rman/p
List of Datafiles in backup set 32
File LV Type Ckp SCN Ckp Time Name
---- -- ---- ---------- --------- ----
3 0 Incr 1325882 20-AUG-18 /u01/app/oracle/oradata/proc/undotbs01.dbf
5 0 Incr 1325882 20-AUG-18 /u01/app/oracle/oradata/proc/example01.dbf
7 0 Incr 1325882 20-AUG-18 /home/oracle/WMWHSE2_DATA.dbf
BS Key Type LV Size Device Type Elapsed Time Completion Time
------- ---- -- ---------- ----------- ------------ ---------------
33 Incr 0 1.94G SBT_TAPE 00:01:21 20-AUG-18
BP Key: 33 Status: AVAILABLE Compressed: NO Tag: TEST
Handle: /home/oracle/rman/proc_PROC_34_1_984666101 Media: /rman,/home/oracle/rman/p
List of Datafiles in backup set 33
File LV Type Ckp SCN Ckp Time Name
---- -- ---- ---------- --------- ----
1 0 Incr 1325974 20-AUG-18 /u01/app/oracle/oradata/proc/system01.dbf
2 0 Incr 1325974 20-AUG-18 /u01/app/oracle/oradata/proc/sysaux01.dbf
4 0 Incr 1325974 20-AUG-18 /u01/app/oracle/oradata/proc/users01.dbf
...省略部分内容...
需要使用Oralce自带的磁带库入分配channel来删除即可。
RMAN> run{
2> allocate channel ch1 type 'sbt_tape' maxpiecesize=3072M PARMS="SBT_LIBRARY=oracle.disksbt,ENV=(BACKUP_DIR=/home/oracle/rman)";
3> crosscheck backup;
4> release channel ch1;
5> }
released channel: ORA_DISK_1
allocated channel: ch1
channel ch1: SID=95 device type=SBT_TAPE
channel ch1: WARNING: Oracle Test Disk API
crosschecked backup piece: found to be 'EXPIRED'
backup piece handle=/home/oracle/rman/proc_PROC_33_1_984666016 RECID=32 STAMP=984666016
crosschecked backup piece: found to be 'EXPIRED'
backup piece handle=/home/oracle/rman/proc_PROC_34_1_984666101 RECID=33 STAMP=984666102
crosschecked backup piece: found to be 'EXPIRED'
backup piece handle=/home/oracle/rman/proc_PROC_35_1_984666187 RECID=34 STAMP=984666188
crosschecked backup piece: found to be 'EXPIRED'
backup piece handle=/home/oracle/rman/proc_PROC_36_1_984666424 RECID=35 STAMP=984666424
crosschecked backup piece: found to be 'EXPIRED'
backup piece handle=/home/oracle/rman/proc_PROC_37_1_984666499 RECID=36 STAMP=984666499
crosschecked backup piece: found to be 'EXPIRED'
backup piece handle=/home/oracle/rman/proc_PROC_38_1_984666585 RECID=37 STAMP=984666586
Crosschecked 6 objects
released channel: ch1
再次检查状态已经是expired了。
RMAN> list expired backup;
List of Backup Sets
===================
BS Key Type LV Size Device Type Elapsed Time Completion Time
------- ---- -- ---------- ----------- ------------ ---------------
32 Incr 0 2.41G SBT_TAPE 00:01:15 20-AUG-18
BP Key: 32 Status: EXPIRED Compressed: NO Tag: TEST
Handle: /home/oracle/rman/proc_PROC_33_1_984666016 Media: /rman,/home/oracle/rman/p
List of Datafiles in backup set 32
File LV Type Ckp SCN Ckp Time Name
---- -- ---- ---------- --------- ----
3 0 Incr 1325882 20-AUG-18 /u01/app/oracle/oradata/proc/undotbs01.dbf
5 0 Incr 1325882 20-AUG-18 /u01/app/oracle/oradata/proc/example01.dbf
7 0 Incr 1325882 20-AUG-18 /home/oracle/WMWHSE2_DATA.dbf
...省略部分内容...
RMAN> run{
2> allocate channel ch1 type 'sbt_tape' maxpiecesize=3072M PARMS="SBT_LIBRARY=oracle.disksbt,ENV=(BACKUP_DIR=/home/oracle/rman)";
3> report obsolete;
4> release channel ch1;
5> }
allocated channel: ch1
channel ch1: SID=95 device type=SBT_TAPE
channel ch1: WARNING: Oracle Test Disk API
RMAN retention policy will be applied to the command
RMAN retention policy is set to redundancy 1
no obsolete backups found
released channel: ch1
RMAN> run{
2> allocate channel ch1 type 'sbt_tape' maxpiecesize=3072M PARMS="SBT_LIBRARY=oracle.disksbt,ENV=(BACKUP_DIR=/home/oracle/rman)";
3> delete expired backup;
4> release channel ch1;
5> }
allocated channel: ch1
channel ch1: SID=95 device type=SBT_TAPE
channel ch1: WARNING: Oracle Test Disk API
List of Backup Pieces
BP Key BS Key Pc# Cp# Status Device Type Piece Name
------- ------- --- --- ----------- ----------- ----------
32 32 1 1 EXPIRED SBT_TAPE /home/oracle/rman/proc_PROC_33_1_984666016
33 33 1 1 EXPIRED SBT_TAPE /home/oracle/rman/proc_PROC_34_1_984666101
34 34 1 1 EXPIRED SBT_TAPE /home/oracle/rman/proc_PROC_35_1_984666187
35 35 1 1 EXPIRED SBT_TAPE /home/oracle/rman/proc_PROC_36_1_984666424
36 36 1 1 EXPIRED SBT_TAPE /home/oracle/rman/proc_PROC_37_1_984666499
37 37 1 1 EXPIRED SBT_TAPE /home/oracle/rman/proc_PROC_38_1_984666585
Do you really want to delete the above objects (enter YES or NO)? yes
deleted backup piece
backup piece handle=/home/oracle/rman/proc_PROC_33_1_984666016 RECID=32 STAMP=984666016
deleted backup piece
backup piece handle=/home/oracle/rman/proc_PROC_34_1_984666101 RECID=33 STAMP=984666102
deleted backup piece
backup piece handle=/home/oracle/rman/proc_PROC_35_1_984666187 RECID=34 STAMP=984666188
deleted backup piece
backup piece handle=/home/oracle/rman/proc_PROC_36_1_984666424 RECID=35 STAMP=984666424
deleted backup piece
backup piece handle=/home/oracle/rman/proc_PROC_37_1_984666499 RECID=36 STAMP=984666499
deleted backup piece
backup piece handle=/home/oracle/rman/proc_PROC_38_1_984666585 RECID=37 STAMP=984666586
Deleted 6 EXPIRED objects
released channel: ch1
RMAN> list backup;
specification does not match any backup in the repository
【Oracle】rman中SBT_TYPE类型的备份如何删除的更多相关文章
- RMAN中FILESPERSET设置对备份速度的影响
看到网上部分人说不指定FILESPERSET(默认值=64)则会导致分配的通道只走第一个而导致备份效率低下,今天仔细研究了一下,参照了多个博主文章,得出结论如下: 如果没有指定filesperset, ...
- 示例说明Oracle RMAN两种库增量备份的差别
1差异增量实验示例 1.1差异增量备份 为了演示增量备份的效果,我们在执行一次0级别的备份后,对数据库进行一些改变. 再执行一次1级别的差异增量备份: 执行完1级别的备份后再次对数据库进行更改: 再执 ...
- 在Oracle中实现每日表备份并删除7天前的备份表
不用闪回技术,因为业务想眼睁睁的看到备份表,而不是让DBA搞一通之后,才能看到备份数据表 OK,那好办了,写个存储过程解决你的需求,每天建个新表,把数据备份进去,业务人员可以看到这些每天的备份表 然后 ...
- Oracle数据库中number类型在java中的使用
1)如果不指定number的长度,或指定长度n>18 id number not null,转换为pojo类时,为java.math.BigDecimal类型 2)如果number的长度在10 ...
- [转载] Oracle在windows下面的自动备份以及删除今天的脚本..
@echo off echo ================================================ echo Windows环境下Oracle数据库的自动备份脚本 echo ...
- Oracle涂抹oracle学习笔记第8章RMAN说,我能备份
本次测试服务器为172.16.25.33 使用rman连接本地数据库 rman target / 在rman中执行启动与关闭的命令与sqlplus相同 在rman中执行sql语句 sql ‘需要执行的 ...
- linux篇--mysql数据库备份并删除前一分钟的数据
linux 中mysql数据库定时备份并删除前一分钟的所有数据 #!/bin/bash #mysqldump -uroot -ppassword01! imaginebase > /home/b ...
- Oracle RMAN备份中catalog和nocatalog区别
nocatalog方式:用control file作为catalog,每一次备份都要往控制文件里面写好多备份信息,控制文件里面会有越来越多的备份信息,即RMAN的备份信息写在本地控制文件里面. cat ...
- Oracle 11g 中恢复管理器RMAN介绍
这是我平时摘录的笔记,从管理艺术那本书上摘录出来的,放到这里 RMAN 可在数据库服务器的帮助下从数据库内备份数据文件,可构造数据文件映像副本.控制文件和控制文件映像.对当日志 SPFILE 和RMA ...
随机推荐
- Java实现 LeetCode 230 2的幂
231. 2的幂 给定一个整数,编写一个函数来判断它是否是 2 的幂次方. 示例 1: 输入: 1 输出: true 解释: 20 = 1 示例 2: 输入: 16 输出: true 解释: 24 = ...
- 第三届蓝桥杯JavaB组国(决)赛真题
解题代码部分来自网友,如果有不对的地方,欢迎各位大佬评论 题目1.数量周期 [结果填空](满分9分) 复杂现象背后的推动力,可能是极其简单的原理.科学的目标之一就是发现纷繁复杂的自然现象背后的简单法则 ...
- excel表 更改后缀名 xlsx转成csv csv转换xlsx
excel 转成CSV 步骤: 1.打开你需要转换的Excel表格.这里特别介绍一下多个数字的现象,我们知道,像身份证这些多位数字,在正常表格里都是会加上一个'来使其显示的,或者换成"文本& ...
- Linux目录结构与功能
在Linux中,一切皆文件.所以,Linux和Windows目录有很大的不同,它没有明确的盘符,它的目录就像一棵大树一样,顶层目录就是根目录:/ ,然后下面又有很多个分支,分支可以再分,从而形成一个庞 ...
- [C#.NET 拾遗补漏]03:你可能不知道的几种对象初始化方式
阅读本文大概需要 1.2 分钟. 随着 C# 的升级,C# 在语法上对对象的初始化做了不少简化,来看看有没有你不知道的. 数组的初始化 在上一篇罗列数组的小知识的时候,其中也提到了数组的初始化,这时直 ...
- 别让HR再质问我:我费劲招的人,你用缓存问废了,不能简单点?
概念 缓存穿透 在高并发下,查询一个不存在的值时,缓存不会被命中,导致大量请求直接落到数据库上,如活动系统里面查询一个不存在的活动. 缓存击穿 在高并发下,对一个特定的值进行查询,但是这个时候缓存正好 ...
- RabbitMQ系列之【centos6 服务开启自启脚本】
#!/bin/sh## rabbitmq-server RabbitMQ broker## chkconfig: - 80 05# description: Enable AMQP service p ...
- Linux下自己和自己用各种方法进行文件的上传下载
环境: Ubuntu 16.04 1.SCP # 上传 scp /home/sea/Desktop/test.sh sea@192.168.1.31:/home/sea/Desktop/test.sh ...
- HashSet扩容机制在时间和空间上的浪费,远大于你的想象
一:背景 1. 讲故事 自从这个纯内存项目进了大客户之后,搞得我现在对内存和CPU特别敏感,跑一点数据内存几个G的上下,特别没有安全感,总想用windbg抓几个dump看看到底是哪一块导致的,是我的代 ...
- 记录一次Flink作业异常的排查过程
最近2周开始接手apache flink全链路监控数据的作业,包括指标统计,业务规则匹配等逻辑,计算结果实时写入elasticsearch. 昨天遇到生产环境有作业无法正常重启的问题,我负责对这个问题 ...