SELECT 表名 = case when a.colorder = 1 then d.name else '' end, 表说明 = case when a.colorder = 1 then isnull(f.value, '') else '' end, 字段序号 = a.colorder, ...
分类:
数据库 时间:
2020-07-15 23:10:29
阅读次数:
116
线上某服务时不时报出如下异常(大约一天二十多次):“Deadlock found when trying to get lock;”。 Oh, My God! 是死锁问题。尽管报错不多,对性能目前看来也无太大影响,但还是需要解决,保不齐哪天成为性能瓶颈。 为了更系统的分析问题,本文将从死锁检测、索引 ...
分类:
数据库 时间:
2020-07-14 16:49:46
阅读次数:
86
作为18c的新特性,其实在oracle 12.2 引入了Scalable Sequences作为一个隐藏特性,为了改善在高并发系统中,特别是使用seq作为index,大量插入记录导致index的争用,oracle自己实现了以前我们需要人工去自定义seq的方式(instance+sid+seq的类似算 ...
分类:
其他好文 时间:
2020-07-13 15:29:24
阅读次数:
65
摘要: 本文介绍了分布式框架的简单实现,说明了自己的设计思路,以及RPC的一些具体细节。在文末,贴出一些关于rpc的资料。 0x00:什么是RPC wiki给出的定义如下:In distributed computing, a remote procedure call (RPC) is when ...
分类:
其他好文 时间:
2020-07-13 13:47:27
阅读次数:
71
ResponseError: OOM command not allowed when used memory > 'maxmemory'. redis内存不足,需要修改配置 redis.conf, 修改其中的配置项: maxmemory maxmemory-policy Could not con ...
分类:
其他好文 时间:
2020-07-13 11:35:15
阅读次数:
91
一、监控CPU和内存的日志工具的使用 1、阿里云提供了一个监控CPU和内存的脚本,因free版本不同的原因,脚本中的内容有做细微的修改,脚本内容如下: #!/bin/bash #When the free memory very less ,this script to collect CPU/me ...
分类:
系统相关 时间:
2020-07-12 20:48:34
阅读次数:
115
Formation is very important when taking a group photo. Given the rules of forming K rows with N people as the following: The number of people in each ...
分类:
其他好文 时间:
2020-07-12 18:52:52
阅读次数:
63
Created by Jerry Wang, last modified on Oct 03, 2016 When you choose "Alternative ID Type" in search Criteria view, the corresponding ID type will be ...
分类:
其他好文 时间:
2020-07-12 10:43:26
阅读次数:
118
[xsl:variable的应用和赋值的解析,不同赋值的类型不同 。xsl:variable是xslt定义的变量,不过这个变量和我们平时的编程有些不一样,就是给这个变量赋值之后,这个变量就没办法改变了,可以先看一些简单的例子来了解下:上面的变量Room的值就是Single Room了,没办法改变了。... ...
分类:
其他好文 时间:
2020-07-12 10:38:11
阅读次数:
68
When I was a kid, the disaster we worried about most was a nuclear war. [wen a? w?z ? k?d] ...
分类:
其他好文 时间:
2020-07-11 19:30:07
阅读次数:
58