码迷,mamicode.com
首页 >  
搜索关键字:sga shared pool scope sysstat    ( 10321个结果
Mysql 缓冲
1 缓冲池(buffer pool) 缓冲池简单来说就是一块内存区域,通过内存的速度来弥补磁盘速度较慢对数据库性能的影响。在数据库中进行读取页的操作,首先将从磁盘读到的页存放在缓冲池中,这个过程称为将页“FIX"在缓冲池中。下一次再读相同的页时,首先判断该页是否在缓冲池中。若在缓冲池中,称该页在缓冲 ...
分类:数据库   时间:2020-07-10 20:53:21    阅读次数:87
C/C++调用.so文件
g++ -std=c++11 testlibc.cpp -shared -fPIC -o libtest.so编译成动态库 gcc main.c libtest.so -o main 编译 ./main ...
分类:编程语言   时间:2020-07-10 15:13:59    阅读次数:122
webpack4配置
1、基本配置 webpack.common.js const path = require('path') const HtmlWebpackPlugin = require('html-webpack-plugin') const { srcPath, distPath } = require(' ...
分类:Web程序   时间:2020-07-10 11:36:07    阅读次数:104
pytest-repeat插件,指定用例重复运行、重复运行次数
pytest-repeat是pytest的插件:(pytest-repeat 无法支持使用unittest.TestCase测试类) 作用:用于重复执行单个用例,或多个测试用例,并指定重复次数,安装:pip install pytest-repeat使用:--count命令,指定要运行测试用例和测试 ...
分类:其他好文   时间:2020-07-08 23:02:53    阅读次数:110
段落缩进
from docx import Document from docx.shared import Pt,Inches #Pt指镑(int类型),Inches指英寸(float类型) w=Document(r'D:\word练习\练习.docx') for paragraph in w.paragr ...
分类:其他好文   时间:2020-07-08 22:51:25    阅读次数:65
创建多个redis
不同的应用如果都需要redis,,可以创建多个 pool = redis.ConnectionPool(host='127.0.0.1', port=6379, decode_responses=True,db=1)r1 = redis.Redis(connection_pool=pool)r1.f ...
分类:其他好文   时间:2020-07-08 15:43:04    阅读次数:65
fixture的作用范围(scope)
####一、前言 fixture里面有个scope参数可以控制fixture的作用范围: session > module > class > function ####二、fixture作用范围 function:每一个函数或方法都会调用 class:每一个类调用一次,一个类可以有多个方法 mod ...
分类:其他好文   时间:2020-07-08 01:30:36    阅读次数:63
IDEA(2020.1)使用springboot热部署
1.pom.xml文件中引入热部署依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId> <scope>runtime</scope> </de ...
分类:编程语言   时间:2020-07-08 01:14:20    阅读次数:137
Runnable回调
一、如何从线程中返回信息 1、轮询 在新起线程中,设置一个标志字段,并提供一个get方法,main方法中轮询,判断这个标志字段的值。 该方案固然可行,但做了大量不需要的工作。 2、回调 直接看代码。:arrow_heading_down: 主线程: import javax.xml.bind.Dat ...
分类:其他好文   时间:2020-07-07 23:33:54    阅读次数:81
vs2017调用libtorch 报一堆错误
严重性 代码 说明 项目 文件 行 禁止显示状态 错误 C7525 内联变量至少需要 "/std:c++17" libtorch-win-shared-with-deps-1.5.1\libtorch\include\c10\util\bfloat16-inl.h 66 严重性 代码 说明 项目 文 ...
分类:其他好文   时间:2020-07-07 20:38:49    阅读次数:176
10321条   上一页 1 ... 34 35 36 37 38 ... 1033 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!