一,节点环境 

[root@node1 ~]# cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
:: localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.0.194 node2
192.168.0.193 node1
192.168.0.183 node1vip
192.168.0.182 node2vip
172.168.0.194 node2prv
172.168.0.193 node1prv
192.168.0.176 dbscan
192.168.0.16 standby

二,操作实例

  01,dbca 删除节点host02

    登入oracle 用户运行dbca-->进行删除数据库-->delete databases 下一步

!!!----------------------------注意--------------------------!!!

选择数据库请认真核对.确定数据安全性!!,删除前再三思考!!选项是英文,请看懂英文再选择!!

输入用户sys,密码123456,具体根据自己的来填写

为啥到这一步出问题了呢,因为我在node2节点删除node2节点,自己删自己当然不允许啦,现在我换个节点node1操作把

到了node1删除的时候会发现自动选择node2节点

node1 上查看节点是否存在

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

三,清理

  01,发现节点还在,资源也还在

 [grid@node1 ~]$ crsctl status resource -t
--------------------------------------------------------------------------------
NAME TARGET STATE SERVER STATE_DETAILS
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.LISTENER.lsnr
ONLINE ONLINE node1
ONLINE ONLINE node2
ora.OCR_VOTE.dg
ONLINE ONLINE node1
ONLINE ONLINE node2
ora.ORADATA01.dg
ONLINE ONLINE node1
ONLINE ONLINE node2
ora.ORADATA02.dg
ONLINE ONLINE node1
ONLINE ONLINE node2
ora.asm
ONLINE ONLINE node1 Started
ONLINE ONLINE node2 Started
ora.gsd
OFFLINE OFFLINE node1
OFFLINE OFFLINE node2
ora.net1.network
ONLINE ONLINE node1
ONLINE ONLINE node2
ora.ons
ONLINE ONLINE node1
ONLINE ONLINE node2
ora.registry.acfs
ONLINE ONLINE node1
ONLINE ONLINE node2
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.LISTENER_SCAN1.lsnr
ONLINE ONLINE node1
ora.cvu
ONLINE ONLINE node1
ora.node1.vip
ONLINE ONLINE node1
ora.node2.vip
ONLINE ONLINE node2
ora.oc4j
ONLINE ONLINE node1
ora.oracle.db
ONLINE ONLINE node1 Open
ora.scan1.vip
ONLINE ONLINE node1
[grid@node1 ~]$

  02,停掉监听

格式:
srvctl disable listener -l listener_name -n name_of_node_to_delete
srvctl stop listener -l listener_name -n name_of_node_to_delete
操作:
srvctl disable listener -l listener -n node2
srvctl stop listener -l listener -n node2 查看:
[grid@node1 ~]$ crsctl status resource -t
--------------------------------------------------------------------------------
NAME TARGET STATE SERVER STATE_DETAILS
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.LISTENER.lsnr
ONLINE ONLINE node1
OFFLINE OFFLINE node2 -----停了
ora.OCR_VOTE.dg
ONLINE ONLINE node1
ONLINE ONLINE node2
ora.ORADATA01.dg
ONLINE ONLINE node1
ONLINE ONLINE node2
ora.ORADATA02.dg
ONLINE ONLINE node1
ONLINE ONLINE node2
ora.asm
ONLINE ONLINE node1 Started
ONLINE ONLINE node2 Started
ora.gsd
OFFLINE OFFLINE node1
OFFLINE OFFLINE node2
ora.net1.network
ONLINE ONLINE node1
ONLINE ONLINE node2
ora.ons
ONLINE ONLINE node1
ONLINE ONLINE node2
ora.registry.acfs
ONLINE ONLINE node1
ONLINE ONLINE node2
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.LISTENER_SCAN1.lsnr
ONLINE ONLINE node1
ora.cvu
ONLINE ONLINE node1
ora.node1.vip
ONLINE ONLINE node1
ora.node2.vip
ONLINE ONLINE node2
ora.oc4j
ONLINE ONLINE node1
ora.oracle.db
ONLINE ONLINE node1 Open
ora.scan1.vip
ONLINE ONLINE node1

  03,删除Oracle software

操作如下:

 [oracle@node2 bin]$ cd $ORACLE_HOME/deinstall/
[oracle@node2 deinstall]$ ls
bootstrap.pl deinstall.pl jlib response
deinstall deinstall.xml readme.txt sshUserSetup.sh
[oracle@node2 deinstall]$ ./deinstall -local
Checking for required files and bootstrapping ...
Please wait ...
Location of logs /oracle/app/oraInventory/logs/ ############ ORACLE DEINSTALL & DECONFIG TOOL START ############ ######################### CHECK OPERATION START #########################
## [START] Install check configuration ## Checking for existence of the Oracle home location /oracle/app/oracle/product/11.2./db_1
Oracle Home type selected for deinstall is: Oracle Real Application Cluster Database
Oracle Base selected for deinstall is: /oracle/app/oracle
Checking for existence of central inventory location /oracle/app/oraInventory
Checking for existence of the Oracle Grid Infrastructure home /oracle/11.2./grid/crs
The following nodes are part of this cluster: node1,node2
Checking for sufficient temp space availability on node(s) : 'node1,node2' ## [END] Install check configuration ## Network Configuration check config START Network de-configuration trace file location: /oracle/app/oraInventory/logs/netdc_check2019--14_04---PM.log Network Configuration check config END Database Check Configuration START Database de-configuration trace file location: /oracle/app/oraInventory/logs/databasedc_check2019--14_04---PM.log Database Check Configuration END Enterprise Manager Configuration Assistant START EMCA de-configuration trace file location: /oracle/app/oraInventory/logs/emcadc_check2019--14_04---PM.log Enterprise Manager Configuration Assistant END
Oracle Configuration Manager check START
OCM check log file location : /oracle/app/oraInventory/logs//ocm_check4254.log
Oracle Configuration Manager check END ######################### CHECK OPERATION END ######################### ####################### CHECK OPERATION SUMMARY #######################
Oracle Grid Infrastructure Home is: /oracle/11.2./grid/crs
The cluster node(s) on which the Oracle home deinstallation will be performed are:node1,node2
Since -local option has been specified, the Oracle home will be deinstalled only on thelocal node, 'node2', and the global configuration will be removed.
Oracle Home selected for deinstall is: /oracle/app/oracle/product/11.2./db_1
Inventory Location where the Oracle home registered is: /oracle/app/oraInventory
The option -local will not modify any database configuration for this Oracle home. No Enterprise Manager configuration to be updated for any database(s)
No Enterprise Manager ASM targets to update
No Enterprise Manager listener targets to migrate
Checking the config status for CCR
node1 : Oracle Home exists with CCR directory, but CCR is not configured
node2 : Oracle Home exists with CCR directory, but CCR is not configured
CCR check is finished
Do you want to continue (y - yes, n - no)? [n]: y
A log of this session will be written to: '/oracle/app/oraInventory/logs/deinstall_deconfig2019-03-14_04-04-17-PM.out'
Any error messages from this session will be written to: '/oracle/app/oraInventory/logs/deinstall_deconfig2019-03-14_04-04-17-PM.err' ######################## CLEAN OPERATION START ######################## Enterprise Manager Configuration Assistant START EMCA de-configuration trace file location: /oracle/app/oraInventory/logs/emcadc_clean2019--14_04---PM.log Updating Enterprise Manager ASM targets (if any)
Updating Enterprise Manager listener targets (if any)
Enterprise Manager Configuration Assistant END
Database de-configuration trace file location: /oracle/app/oraInventory/logs/databasedc_clean2019--14_04---PM.log Network Configuration clean config START Network de-configuration trace file location: /oracle/app/oraInventory/logs/netdc_clean2019--14_04---PM.log De-configuring Local Net Service Names configuration file...
Local Net Service Names configuration file de-configured successfully. De-configuring backup files...
Backup files de-configured successfully. The network configuration has been cleaned up successfully. Network Configuration clean config END Oracle Configuration Manager clean START
OCM clean log file location : /oracle/app/oraInventory/logs//ocm_clean4254.log
Oracle Configuration Manager clean END
Setting the force flag to false
Setting the force flag to cleanup the Oracle Base
Oracle Universal Installer clean START Detach Oracle home '/oracle/app/oracle/product/11.2.0/db_1' from the central inventory on the local node : Done Failed to delete the directory '/oracle/app/oracle/product/11.2.0/db_1'. The directory is in use.
Delete directory '/oracle/app/oracle/product/11.2.0/db_1' on the local node : Failed <<<< Failed to delete the directory '/oracle/app/oracle/product/11.2.0/db_1'. The directory is in use.
Failed to delete the directory '/oracle/app/oracle/product/11.2.0/db_1'. The directory is in use.
Failed to delete the directory '/oracle/app/oracle/product/11.2.0'. The directory is not empty.
Failed to delete the directory '/oracle/app/oracle/product'. The directory is not empty.
Failed to delete the directory '/oracle/app/oracle'. The directory is not empty.
Delete directory '/oracle/app/oracle' on the local node : Failed <<<< Oracle Universal Installer cleanup completed with errors. Oracle Universal Installer clean END ## [START] Oracle install clean ## Clean install operation removing temporary directory '/tmp/deinstall2019-03-14_04-04-11PM' on node 'node2' ## [END] Oracle install clean ## ######################### CLEAN OPERATION END ######################### ####################### CLEAN OPERATION SUMMARY #######################
Cleaning the config for CCR
As CCR is not configured, so skipping the cleaning of CCR configuration
CCR clean is finished
Successfully detached Oracle home '/oracle/app/oracle/product/11.2.0/db_1' from the central inventory on the local node.
Failed to delete directory '/oracle/app/oracle/product/11.2.0/db_1' on the local node.
Failed to delete directory '/oracle/app/oracle' on the local node.
Oracle Universal Installer cleanup completed with errors. Oracle deinstall tool successfully cleaned up temporary directories.
####################################################################### ############# ORACLE DEINSTALL & DECONFIG TOOL END #############

  04,删除Grid soft

 [grid@node2 ~]$ cd $ORACLE_HOME/deinstall
[grid@node2 deinstall]$ ls
bootstrap.pl deinstall.pl jlib response
deinstall deinstall.xml readme.txt sshUserSetup.sh
[grid@node2 deinstall]$ ./deinstall -local
Checking for required files and bootstrapping ...
Please wait ...
Location of logs /tmp/deinstall2019--14_04--22PM/logs/ ############ ORACLE DEINSTALL & DECONFIG TOOL START ############ ######################### CHECK OPERATION START #########################
## [START] Install check configuration ## Checking for existence of the Oracle home location /oracle/11.2./grid/crs
Oracle Home type selected for deinstall is: Oracle Grid Infrastructure for a Cluster
Oracle Base selected for deinstall is: /oracle/11.2./11.2.
Checking for existence of central inventory location /oracle/app/oraInventory
Checking for existence of the Oracle Grid Infrastructure home /oracle/11.2./grid/crs
The following nodes are part of this cluster: node1,node2
Checking for sufficient temp space availability on node(s) : 'node1,node2' ## [END] Install check configuration ## Traces log file: /tmp/deinstall2019--14_04--22PM/logs//crsdc.log Network Configuration check config START Network de-configuration trace file location: /tmp/deinstall2019--14_04--22PM/logs/netdc_check2019--14_04---PM.log Specify all RAC listeners (do not include SCAN listener) that are to be de-configured [LISTENER]:^C[grid@node2 deinstall]$ ./deinstall -local
Checking for required files and bootstrapping ...
Please wait ...
Location of logs /tmp/deinstall2019--14_04--58PM/logs/ ############ ORACLE DEINSTALL & DECONFIG TOOL START ############ ######################### CHECK OPERATION START #########################
## [START] Install check configuration ## Checking for existence of the Oracle home location /oracle/11.2./grid/crs
Oracle Home type selected for deinstall is: Oracle Grid Infrastructure for a Cluster
Oracle Base selected for deinstall is: /oracle/11.2./11.2.
Checking for existence of central inventory location /oracle/app/oraInventory
Checking for existence of the Oracle Grid Infrastructure home /oracle/11.2./grid/crs
The following nodes are part of this cluster: node1,node2
Checking for sufficient temp space availability on node(s) : 'node1,node2' ## [END] Install check configuration ## Traces log file: /tmp/deinstall2019--14_04--58PM/logs//crsdc.log Network Configuration check config START Network de-configuration trace file location: /tmp/deinstall2019--14_04--58PM/logs/netdc_check2019--14_04---PM.log Specify all RAC listeners (do not include SCAN listener) that are to be de-configured [LISTENER]: Network Configuration check config END Asm Check Configuration START ASM de-configuration trace file location: /tmp/deinstall2019--14_04--58PM/logs/asmcadc_check2019--14_04---PM.log ######################### CHECK OPERATION END ######################### ####################### CHECK OPERATION SUMMARY #######################
Oracle Grid Infrastructure Home is: /oracle/11.2./grid/crs
The cluster node(s) on which the Oracle home deinstallation will be performed are:node1,node2
Since -local option has been specified, the Oracle home will be deinstalled only on thelocal node, 'node2', and the global configuration will be removed.
Oracle Home selected for deinstall is: /oracle/11.2./grid/crs
Inventory Location where the Oracle home registered is: /oracle/app/oraInventory
Following RAC listener(s) will be de-configured: LISTENER
Option -local will not modify any ASM configuration.
Do you want to continue (y - yes, n - no)? [n]: y
A log of this session will be written to: '/tmp/deinstall2019-03-14_04-14-58PM/logs/deinstall_deconfig2019-03-14_04-15-03-PM.out'
Any error messages from this session will be written to: '/tmp/deinstall2019-03-14_04-14-58PM/logs/deinstall_deconfig2019-03-14_04-15-03-PM.err' ######################## CLEAN OPERATION START ########################
ASM de-configuration trace file location: /tmp/deinstall2019--14_04--58PM/logs/asmcadc_clean2019--14_04---PM.log
ASM Clean Configuration END Network Configuration clean config START Network de-configuration trace file location: /tmp/deinstall2019--14_04--58PM/logs/netdc_clean2019--14_04---PM.log De-configuring RAC listener(s): LISTENER De-configuring listener: LISTENER
Stopping listener on node "node2": LISTENER
Warning: Failed to stop listener. Listener may not be running.
Listener de-configured successfully. De-configuring Naming Methods configuration file...
Naming Methods configuration file de-configured successfully. De-configuring backup files...
Backup files de-configured successfully. The network configuration has been cleaned up successfully. Network Configuration clean config END ----------------------------------------> The deconfig command below can be executed in parallel on all the remote nodes. Executethe command on the local node after the execution completes on all the remote nodes. Run the following command as the root user or the administrator on node "node1". /tmp/deinstall2019--14_04--58PM/perl/bin/perl -I/tmp/deinstall2019--14_04--58PM/perl/lib -I/tmp/deinstall2019--14_04--58PM/crs/install /tmp/deinstall2019--14_04--58PM/crs/install/rootcrs.pl -force -deconfig -paramfile "/tmp/deinstall2019-03-14_04-14-58PM/response/deinstall_Ora11g_gridinfrahome1.rsp" Run the following command as the root user or the administrator on node "node2". /tmp/deinstall2019--14_04--58PM/perl/bin/perl -I/tmp/deinstall2019--14_04--58PM/perl/lib -I/tmp/deinstall2019--14_04--58PM/crs/install /tmp/deinstall2019--14_04--58PM/crs/install/rootcrs.pl -force -deconfig -paramfile "/tmp/deinstall2019-03-14_04-14-58PM/response/deinstall_Ora11g_gridinfrahome1.rsp" Press Enter after you finish running the above commands <----------------------------------------提示运行脚本,删除哪个运行哪个不要搞错了
[root@node2 ~]# /tmp/deinstall2019-03-14_04-14-58PM/perl/bin/perl -I/tmp/deinstall2019-03-14_04-14-58PM/perl/lib -I/tmp/deinstall2019-03-14_04-14-58PM/crs/install /tmp/deinstall2019-03-14_04-14-58PM/crs/install/rootcrs.pl -force  -deconfig -paramfile "/tmp/deinstall2019-03-14_04-14-58PM/response/deinstall_Ora11g_gridinfrahome1.rsp"
Using configuration parameter file: /tmp/deinstall2019--14_04--58PM/response/deinstall_Ora11g_gridinfrahome1.rsp
Network exists: /192.168.0.0/255.255.255.0/eth0, type static
VIP exists: /node1vip/192.168.0.183/192.168.0.0/255.255.255.0/eth0, hosting node node1
VIP exists: /node2vip/192.168.0.182/192.168.0.0/255.255.255.0/eth0, hosting node node2
GSD exists
ONS exists: Local port , remote port , EM port
CRS-: Attempting to stop 'ora.registry.acfs' on 'node2'
CRS-: Stop of 'ora.registry.acfs' on 'node2' succeeded
CRS-: Starting shutdown of Oracle High Availability Services-managed resources on 'node2'
CRS-: Attempting to stop 'ora.crsd' on 'node2'
CRS-: Starting shutdown of Cluster Ready Services-managed resources on 'node2'
CRS-: Attempting to stop 'ora.OCR_VOTE.dg' on 'node2'
CRS-: Attempting to stop 'ora.ORADATA01.dg' on 'node2'
CRS-: Attempting to stop 'ora.ORADATA02.dg' on 'node2'
CRS-: Stop of 'ora.ORADATA02.dg' on 'node2' succeeded
CRS-: Stop of 'ora.ORADATA01.dg' on 'node2' succeeded
CRS-: Stop of 'ora.OCR_VOTE.dg' on 'node2' succeeded
CRS-: Attempting to stop 'ora.asm' on 'node2'
CRS-: Stop of 'ora.asm' on 'node2' succeeded
CRS-: Shutdown of Cluster Ready Services-managed resources on 'node2' has completed
CRS-: Stop of 'ora.crsd' on 'node2' succeeded
CRS-: Attempting to stop 'ora.ctssd' on 'node2'
CRS-: Attempting to stop 'ora.evmd' on 'node2'
CRS-: Attempting to stop 'ora.asm' on 'node2'
CRS-: Attempting to stop 'ora.drivers.acfs' on 'node2'
CRS-: Attempting to stop 'ora.mdnsd' on 'node2'
CRS-: Stop of 'ora.evmd' on 'node2' succeeded
CRS-: Stop of 'ora.mdnsd' on 'node2' succeeded
CRS-: Stop of 'ora.ctssd' on 'node2' succeeded
CRS-: Stop of 'ora.asm' on 'node2' succeeded
CRS-: Attempting to stop 'ora.cluster_interconnect.haip' on 'node2'
CRS-: Stop of 'ora.cluster_interconnect.haip' on 'node2' succeeded
CRS-: Attempting to stop 'ora.cssd' on 'node2'
CRS-: Stop of 'ora.cssd' on 'node2' succeeded
CRS-: Attempting to stop 'ora.crf' on 'node2'
CRS-: Stop of 'ora.drivers.acfs' on 'node2' succeeded
CRS-: Stop of 'ora.crf' on 'node2' succeeded
CRS-: Attempting to stop 'ora.gipcd' on 'node2'
CRS-: Stop of 'ora.gipcd' on 'node2' succeeded
CRS-: Attempting to stop 'ora.gpnpd' on 'node2'
CRS-: Stop of 'ora.gpnpd' on 'node2' succeeded
CRS-: Shutdown of Oracle High Availability Services-managed resources on 'node2' has completed
CRS-: Oracle High Availability Services has been stopped.

  05,删除相关信息

[root@node2 db_1]# rm -rf /etc/oraInst.loc
[root@node2 db_1]# rm -rf /opt/ORCLfmap
[root@node2 db_1]# rm -rf /etc/oratab

  06,更新dbms  inventory

[oracle@node1 ~]$ $ORACLE_HOME/oui/bin/runInstaller -updateNodeList  ORACLE_HOME=$ORACLE_HOME CLUSTER_NODES=node1
Starting Oracle Universal Installer... Checking swap space: must be greater than MB. Actual MB Passed
The inventory pointer is located at /etc/oraInst.loc
The inventory is located at /oracle/app/oraInventory
'UpdateNodeList' was successful.

更新

[oracle@node1 ~]$ $ORACLE_HOME/oui/bin/runInstaller -updateNodeList -local   ORACLE_HOME=$ORACLE_HOME CLUSTER_NODES=node1
Starting Oracle Universal Installer... Checking swap space: must be greater than MB. Actual MB Passed
The inventory pointer is located at /etc/oraInst.loc
The inventory is located at /oracle/app/oraInventory
'UpdateNodeList' was successful.

Oracle RAC集群删除节点的更多相关文章

  1. Oracle RAC集群添加节点

    一,节点环境 所有节点分发/etc/hosts,这里我添加两个节点,一个是上次删除的节点,另一个是什么都没有的节点,尝试添加 服务器介绍什么的都在这hosts文件了,大家自己琢磨下 [grid@nod ...

  2. Oracle rac集群环境中的特殊问题

    备注:本文摘抄于张晓明<大话Oracle RAC:集群 高可用性 备份与恢复> 因为集群环境需要多个计算机协同工作,要达到理想状态,必须要考虑在集群环境下面临的新挑战. 1.并发控制 在集 ...

  3. bay——Oracle RAC集群体系结构.docx

    Oracle RAC集群体系结构 ————bayaim  2018年10月22日13:33 https://blog.51cto.com/ixdba/862207  一. Oracle集群体系结构 O ...

  4. 【Oracle 集群】Linux下Oracle RAC集群搭建之Oracle DataBase安装(八)

    Oracle 11G RAC数据库安装(八) 概述:写下本文档的初衷和动力,来源于上篇的<oracle基本操作手册>.oracle基本操作手册是作者研一假期对oracle基础知识学习的汇总 ...

  5. ORACLE RAC集群的体系结构

    RAC是一个完整的集群应用环境,它不仅实现了集群的功能,而且提供了运行在集群之上的应用程序,即Oracle数据库.无论与普通的集群相比,还是与普通的Oracle数据库相比,RAC都有一些独特之处. R ...

  6. 【转】【Oracle 集群】Linux下Oracle RAC集群搭建之Oracle DataBase安装(八)

    原文地址:http://www.cnblogs.com/baiboy/p/orc8.html   阅读目录 目录 数据库安装 参考文献 相关文章 Oracle 11G RAC数据库安装(八) 概述:写 ...

  7. was配置oracle RAC集群的数据源

    在WebSphere中配置配置Oracle RAC集群的数据源,假设Oracle RAC双击分别为 HOST1 与 HOST2 , 端口为1521 ,服务名为 orcldbservice,则配置的UR ...

  8. Oracle RAC集群资料收集

    RAC优势和劣势 http://tech.it168.com/a2012/0814/1384/000001384756_all.shtml 双机热备与RAC并行模式对比 WAS数据源设置 http:/ ...

  9. Oracle RAC 集群环境下日志文件结构

    Oracle RAC 集群环境下日志文件结构 在Oracle RAC环境中,对集群中的日志的定期检查是必不可少的.通过查看集群日志,可以早期定位集群环境中出现的问题,以便将问题消灭在萌芽状态.简单介绍 ...

随机推荐

  1. Sharepoint 文档知识管理系统--Word在试图打开文件时遇到错误

    在系统开发中,遇到问题:SharePoint 2010与Office 2010安装在一台服务器上,当用Office打开SharePoint文档库中的文档时,遇到“Word在试图打开文件时遇到错误,请尝 ...

  2. 今天遇到的传入的表格格式数据流(TDS)远程过程调用(RPC)协议流不正确的解决方案

    传入的表格格式数据流(TDS)远程过程调用(RPC)协议流不正确.参数 3 ("@UserName"): 数据类型 0xE7 的数据长度或元数据长度无效. 今天在做数据同步的时候遇 ...

  3. WebService 天气预报webservice接口

    WebService  天气预报webservice接口 地址:http://www.webxml.com.cn/WebServices/WeatherWebService.asmx 常用接口: 1. ...

  4. NSCalendar日历

    前言 NSCalendar 对世界上现存的常用的历法进行了封装,既提供了不同历法的时间信息,又支持日历的计算. NSCalendar -- 日历类,它提供了大部分的日期计算接口,并且允许您在NSDat ...

  5. Mybatis 延迟加载策略

    延迟加载: 就是在需要用到数据时才进行加载,不需要用到数据时就不加载数据.延迟加载也称懒加载. 好处: 先从单表查询,需要时再从关联表去关联查询,大大提高数据库性能,因为查询单表要比关联查询多张表速 ...

  6. Spring AOP的实现机制

    AOP(Aspect Orient Programming),一般称为面向切面编程,作为面向对象的一种补充,用于处理系统中分布于各个模块的横切关注点,比如事务管理,日志,缓存等等.AOP 实现的关键在 ...

  7. 【bzoj1066】: [SCOI2007]蜥蜴 图论-最大流

    [bzoj1066]: [SCOI2007]蜥蜴 把石柱拆点,流量为高度 然后S与蜥蜴连流量1的边 互相能跳到的石柱连inf的边 石柱能到边界外的和T连inf的边 然后跑dinic就好了 /* htt ...

  8. Web 安全入门-书籍及建议

    https://www.jianshu.com/p/6dcebd54fb24 (本文源于转载或摘抄整理) 2016-06-12 Fooying 优主张 最近比较忙,灵感稍微有点缺乏,本着宁缺毋滥的想法 ...

  9. GN算法---《Community structure in social and biological networks》这篇论文讲了什么?

    用中文记下这篇论文的大致意思,以防止忘了.好记性不如烂笔头! 摘要:最近的一些研究在研究社交网络或WWW.研究者都集中于研究网络的“小世界性”,“幂率分布特性”,“网络传递性”(聚类性吧).本文提出网 ...

  10. Ubuntu上使用systemd创建服务文件来启动和监视底层网络应用程序实现守护进程

    在Linux上使用Nginx设置ASP.NET Core的托管环境,并部署到它 创建服务文件 创建服务定义文件: sudo vim /etc/systemd/system/kestrel-basic. ...