平台:oracle11g 错误表现: 1、使用工具链接数据库提示:ora-27102:out of memory 2、查看数据库错误日志 tail $ORACLE_BASE/diag/rdbms/db_name/sid/trace/alert_sid.log *** 2013-01-17 22:57 ...
分类:
其他好文 时间:
2020-07-04 23:00:10
阅读次数:
110
一、shared_buffers与shmmax,shmall,max_connections的关系 1.1、shared_buffers与max_connections的关系 shared_buffers 是查询缓存,设置比较大可以提高PostgreSQL的效率,一般建议设置为系统内存的3/4,但是 ...
分类:
数据库 时间:
2020-07-04 16:52:42
阅读次数:
80
This guide walks you through the process of creating a Spring application connected to a MySQL Database (as opposed to an in-memory, embedded database ...
分类:
数据库 时间:
2020-07-04 01:46:34
阅读次数:
78
最近一个项目中利用规则引擎,提供用户拖拽式的灵活定义规则。这就要求根据数据库数据动态生成对象处理特定规则的逻辑。如果手写不仅每次都要修改代码,还要每次测试发版,而且无法灵活根据用户定义的规则动态处理逻辑。所以想到将公共逻辑写到父类实现,将特定逻辑根据字符串动态生成子类处理。这就可以一劳永逸解决这个问 ...
分类:
编程语言 时间:
2020-07-04 01:39:55
阅读次数:
138
Memory-Usage 是显存使用率 6423MiB / 11177MiB 也就是这一栏 Volatile GPU util GPU利用率 主要是看这两个 还有一个关键要素 显存占用和GPU占用是两个不一样的东西, **显卡是由GPU和显存等组成的**, 显存和GPU的关系 有点类似于内存和CPU ...
分类:
其他好文 时间:
2020-07-03 17:35:47
阅读次数:
61
今天把集群关闭后会造成shards移动到其他正常节点,但是重新启动shares并不会移动到恢复的节点。 在网上找了一会儿资料发现一个方法: 把副本数调整为0,会自动平衡shares,再增加number_of_replicas,会自动再建立副本数。(怀疑是重启过程出现副本数损坏了),此时shared又 ...
分类:
其他好文 时间:
2020-07-03 15:54:28
阅读次数:
108
from docx import Document from docx.shared import Cm w=Document(r' ') w.tables[0].add_row() #给表格增加一行 w.tables[0].add_column(Cm(5)) #给表哥增加一列 print(len( ...
分类:
其他好文 时间:
2020-07-03 12:18:01
阅读次数:
91
数据读写有两种方式: 1、直接读写。案例 import openpyxl def write_excel(): f = openpyxl.Workbook() # 创建工作簿 # sheet1 = f.create_sheet() print("sheet names:", f.sheetnames ...
分类:
其他好文 时间:
2020-07-02 23:21:51
阅读次数:
106
Source Code Problem: 1279 User: Faker_fan Memory: 296K Time: 0MS Language: C++ Result: Accepted Source Code #include <iostream> #include <string.h> #i ...
分类:
其他好文 时间:
2020-07-02 21:31:43
阅读次数:
44
OutOfMemory(内存溢出异常OOM) java.lang.OutOfMemoryError :Thrown when the Java Virtual Machine cannot allocate an object because it is out of memory, and no ...
分类:
其他好文 时间:
2020-07-02 16:54:56
阅读次数:
65