学习笔记

《C++ Primer》学习笔记目录汇总 《C++ Primer》第五版章节目录第1章 开始第2章 变量和基本类型第3章 字符串、向量和数组第4章 表达式第5章 语句第6章 函数第7章 类第8章 IO库第9章 顺序容器第10章 泛型算法第11章 关联容器第12章 动态内存第13章 拷贝控制第14章 重载运算与类型转换第15章 面向对象程序设计第16章 模型与泛型编程第17章 标准库特殊设施第18章 用于大型程序的工具第19章 特殊工具与技术 章节目录 第1章 开始 ????学习笔记 ????习题检测 第2章 变量和基本类型 ????学习笔记 ? 阅读详情

--查看正在运行的占I/O较大的Session
select se.sid,se.serial#,pr.spid,si.physical_reads,
si.block_changes,se.username,se.status,se.terminal,se.program,
se.module,se.sql_address,st.event,st.p1text
from v$session se,v$session_wait st,v$sess_io si,v$process pr
where st.sid=se.sid and st.sid=si.sid and se.paddr=pr.addr
and se.sid>6 and st.wait_time=0 and st.event not like '%SQL%'
order by physical_reads desc

--查看使用CPU较多的用户Session
select a.sid,spid,status,substr(a.program,1,40) prog,a.terminal ,osuser,
value/60/100 value
from v$session a,v$process b,v$sesstat c
where c.statistic#=11   --11 表示CPU资源
and c.sid=a.sid and a.paddr=b.addr order by value desc

--查看正在使用回滚段的会话
select r.name rollback_segment,s.sid,s.serial#,s.username,
t.status,t.cr_get,t.phy_io,t.used_ublk,t.noundo,
substr(s.program,1,78) operating_program
from sys.v_$session s ,sys.v_$transaction t, sys.v_$rollname r
where t.addr=s.taddr and t.xidusn=r.usn order by t.cr_get,t.phy_io

--查看正在使用的临时段的会话
select se.username,sid,serial#,sql_address,machine,program,tablespace,
segtype,contents
from v$session se,v$sort_usage su
where se.saddr=su.session_addr

--查看所有进程属性可用V$process视图该视图包含当前系统Oracle运行的所有进程信息。常用于将Oracle或服务进程的操作系统进程ID与数据库Session之间建立联系。addr列是进程对像地址,PId为Oracle进程ID,Spid为操作系统进程ID。


--assm(auto segments space management)自动段空间管理
--HWM(high water mark) 高水位标记 top limit
--oltp(on line transaction process)联机事务处理
--ops(oracle parallel server)oracle并行服务器
--free list 表空间空闲链

--查看表空间的数据文件和容量信息
select b.file_id fileID, b.tablespace_name tab_space_name,
b.file_name fileName,b.bytes/(1024*1024) totalMB,
(b.bytes-sum(nvl(a.bytes,0))) /(1024*1024) used,
sum(nvl(a.bytes,0)) /(1024*1024) free,
round(sum(nvl(a.bytes,0))/b.bytes * 100,2) freeratio
from dba_free_space a,dba_data_files b
where a.file_id = b.file_id
group by b.tablespace_name,b.file_name,b.file_id,b.bytes
order by b.tablespace_name desc

--查看一个表占用表空间信息
select s.* ,bytes/1024/1024  from user_segments s

--自由空间碎片索引(free space fragmentation index)
--fsfi=sqrt(max(blocks)/sum(blocks))*(100/sqrt(sqrt(count(blocks)))))
--查看表空间碎片 如果碎片超过30时就要做整理了 可采用自动方法
alter tablespace tablespace_name coalesce
select tablespace_name,to_char(sqrt(max(blocks)/sum(blocks))*(100/sqrt(sqrt(count(blocks)))),'999.99') fsfi from dba_free_space group by tablespace_name

--查看数据文件信息
select d.name,d.file#,d.status,h.status
from v$datafile d inner join v$datafile_header h
on d.file#=h.file#

--查看表空间数据文件读写性能
select name,phyrds,phywrts,avgiotim,miniotim,maxiowtm,maxiortm
from v$filestat,v$datafile
where v$filestat.file#=v$datafile.file#;


http://yangtingkun.itpub.net/category/468/1253

http://hi.baidu.com/dba_james/blog/category/Oracle

http://hi.baidu.com/dbaeyes/blog/category/Oracle%20Pl%20Sql

http://warehouse.itpub.net/category/777/56406

http://www.blogjava.net/gddg/archive/2009/05/20/172851.html

http://www.blogjava.net/gddg/category/13093.html

http://www.cnblogs.com/cxd4321/category/123517.html

 

工业视觉光源频闪控制的三种核心模式与选型实战 本文深入解析工业视觉系统中光源频闪控制的三种核心模式:光源主控、相机主控与硬同步。针对高速飞拍、缺陷检测等场景,详细对比了各模式的时序原理、硬件要求与适用场景,并提供了基于产线速度与检测需求的实战选型指南,帮助工程师有效消除运动模糊、提升成像质量与系统稳定性。 阅读详情

相关推荐

RDMA性能调优实战:如何用ib_*命令榨干你的Mellanox网卡带宽?

本文深入探讨了如何利用ib_*命令工具集对RDMA网络进行深度性能调优,以充分释放Mellanox网卡的带宽潜力。文章从理解Send/Write/Read三种核心通信原语的差异入手,逐步指导读者通过调整消息大小、队列深度、内联数据等关键参数,并结合系统级的NUMA绑定、中断亲和性等优化策略,实现从基准测试到逼近硬件极限的性能提升。

weixin_29306011的博客 88

oracle日常监控语句

oracle常用的性能监控SQL语句 一、查询历史SQL: ---正在执行的SQL语句: select a.username, a.sid,b.SQL_TEXT, b.SQL_FULLTEXT from v$session a, v$sqlarea b where a.sql_address = b.address; ---查询Oracle正在执行的sql语句及执行该语句的用户:SELECT ...

weixin_30929011的博客 249

某10kV纺织厂供电系统设计【CAD图纸源码+Word文档】

本文详细介绍了设计变电所原始资料,负荷统计,基于负荷统计给出了变压器的选型,变电所主接线方式的设计、高低压母线、电缆的技术要求、短路电流的计算以及相关电气设备的保护参数及保护定值的计算、安全措施的规定。

weixin_761237174的博客 2744

ORACLE 临时表空间使用率过高的原因及解决方案

ORACLE 临时表空间使用率过高的原因及解决方案(2009-11-14 19:59:02)标签:oracle 临时表空间 使用率100 解决方案 it分类:技术博论在数据库的日常学习中,发现公司生产数据库的默认临时表空间temp使用情况达到了30G,使用率达到了100%; 待调整为32G后,使用率还是为100%,导致磁盘空间使用紧张。根据临时表空间的主

thunder09的专栏--没事就写点儿 2146

Crossformer实战:从零开始搭建多变量时间序列预测模型(附ETTh1数据集调参指南)

本文提供了从零开始搭建Crossformer多变量时间序列预测模型的实战指南,并附有详细的ETTh1数据集调参攻略。文章深入解析了Crossformer的核心设计,重点探讨了seg_len和win_size等关键参数对模型性能的影响,并分享了环境配置、训练调试及常见问题的解决方案,帮助开发者高效应用这一前沿深度学习模型。

weixin_29281915的博客 330

Hypermesh静力学仿真分析与模态分析-02

hypermesh中对较复杂实体进行静力学分析和模态分析,包含材料属性添加,载荷设置等等

Look_forward_的博客 6786

查询数据库当前连接数(session),进程数等操作

查询当前数据库连接数,进程数,启动数据库 查询数据库当前进程的连接数:   select count(*) from v$process;   查看数据库当前会话的连接数:   elect count(*) from v$session;   查看数据库的并发连接数:   select count(*) from v$session where status='ACTIVE';

xu1314的专栏 853

OnePlus救砖指南:线刷包与OTA全量包实战解析

本文详细解析了OnePlus手机救砖的两种核心方法:线刷包与OTA全量包。针对手机变砖的不同状况(如黑屏、能进Recovery等),文章提供了清晰的判断标准和对应的实战操作指南。重点阐述了线刷包作为终极救砖手段的底层原理与详细步骤,并对比了OTA全量包作为温和修复方案的使用场景与卡刷流程,旨在帮助用户安全、有效地恢复手机系统。

weixin_28312391的博客 1330

oracle 临时段是什么意思,oracle临时段的处理

应用系统不能运行,告警日志报告临时表空间不能扩展,估计是业务sql存在大量排序,只能增加临时表空间缓解这个问题。另外还可能要清理临时段重整临时表空间释放空间:查看一下认谁在用临时段:SQL> SELECT /*+ rule */ se.username,se.sid,se.serial#,se.sql_address,se.machine,se.program,su.tablespace,s...

weixin_42377695的博客 331

VESC电调高级调参指南:电机校准与性能优化实战解析

本文详细解析了VESC电调的高级调参方法,包括电机校准与性能优化实战技巧。从基础参数设置到高级机械参数优化,再到动态性能调优,提供了全面的调参指南。特别针对电机类型、功率设置、电池参数配置等关键环节给出实用建议,帮助用户充分发挥VESC电调的性能潜力。

weixin_30772105的博客 198

Odoo 集成ReportBro报表设计器支持13,14,15,16,17,18,19

Odoo 集成ReportBro零代码报表设计器,ReportBro设计器 一个用于创建PDF和XLSX报告模板的javascript插件。

zxltwins的博客 3380

oracle临时表空间占用率过高,ORACLE 临时表空间使用率过高的原因及临时解决方案...

数据库temp临时表空间增大,一般在数据安装时设置临时表空间大小,默认的情况下都是设置为自动增长。这样会引起一个问题:在数据库使用中temp表空间会自动扩展的越来越大,造成磁盘空间使用不足。引起临时表空间增大主要使用在以下几种情况:1、order by or group by (disc sort占主要部分);2、索引的创建和重创建;3、distinct操作;4、union & inter...

weixin_31076173的博客 845

某易将军令口令纯算法还原py篇

算法开源,将军令口令算法。希望官方多多更新吧

任雪飘的博客 3916

【OpenCV学习笔记】- 学习笔记目录

OpenCV - 学习笔记系列博文

移动的130 1475

Data-Structures-and-Algorithm-Analysis-in-Java.pdf

作者: Weiss, Mark A. 出版社: Addison Wesley Data Structures and Algorithm Analysis in Java is an “advanced algorithms” book that fits between traditional CS2 and Algorithms Analysis courses. In the old ACM Curriculum Guidelines, this course was known as CS7. This text is for readers who want to learn good programming and algorithm analysis skills simultaneously so that they can develop such programs with the maximum amo...

深度学习工具包 DeepLearningToolbox

深度学习工具包Deprecation notice.-----This toolbox is outdated and no longer maintained.There are much better tools available for deep learning than this toolbox, e.g. [Theano](http://deeplearning.net/software/theano/), [torch](http://torch.ch/) or [tensorflow](http://www.tensorflow.org/)I would suggest you use one of the tools mentioned above rather than use this toolbox.Best, Rasmus.DeepLearnToolbox================A Matlab toolbox for Deep Learning.Deep Learning is a new subfield of machine learning that focuses on learning deep hierarchical models of data.It is inspired by the human brain's apparent deep (layered, hierarchical) architecture.A good overview of the theory of Deep Learning theory is[Learning Deep Architectures for AI](http://www.iro.umontreal.ca/~bengioy/papers/ftml_book.pdf)For a more informal introduction, see the following videos by Geoffrey Hinton and Andrew Ng.* [The Next Generation of Neural Networks](http://www.youtube.com/watch?v=AyzOUbkUf3M) (Hinton, 2007)* [Recent Developments in Deep Learning](http://www.youtube.com/watch?v=VdIURAu1-aU) (Hinton, 2010)* [Unsupervised Feature Learning and Deep Learning](http://www.youtube.com/watch?v=ZmNOAtZIgIk) (Ng, 2011)If you use this toolbox in your research please cite [Prediction as a candidate for learning deep hierarchical models of data](http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6284)```@MASTERSTHESIS\{IMM2012-06284, author = "R. B. Palm", title = "Prediction as a candidate for learning deep hierarchical models of data", year = "2012",}```Contact: rasmusbergpalm at gmail dot comDirectories included in the toolbox-----------------------------------`NN/` - A library for Feedforward Backpropagation Neural Networks`CNN/` - A library for Convolutional Neural Networks`DBN/` - A library for Deep Belief Networks`SAE/` - A library for Stacked Auto-Encoders`CAE/` - A library for Convolutional Auto-Encoders`util/` - Utility functions used by the libraries`data/` - Data used by the examples`tests/` - unit tests to verify toolbox is workingFor references on each library check REFS.mdSetup-----1. Download.2. addpath(genpath('DeepLearnToolbox'));Example: Deep Belief Network---------------------```matlabfunction test_example_DBNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit RBM and visualize its weightsrand('state',0)dbn.sizes = [100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);figure; visualize(dbn.rbm{1}.W'); % Visualize the RBM weights%% ex2 train a 100-100 hidden unit DBN and use its weights to initialize a NNrand('state',0)%train dbndbn.sizes = [100 100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);%unfold dbn to nnnn = dbnunfoldtonn(dbn, 10);nn.activation_function = 'sigm';%train nnopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.10, 'Too big error');```Example: Stacked Auto-Encoders---------------------```matlabfunction test_example_SAEload mnist_uint8;train_x = double(train_x)/255;test_x = double(test_x)/255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit SDAE and use it to initialize a FFNN% Setup and train a stacked denoising autoencoder (SDAE)rand('state',0)sae = saesetup([784 100]);sae.ae{1}.activation_function = 'sigm';sae.ae{1}.learningRate = 1;sae.ae{1}.inputZeroMaskedFraction = 0.5;opts.numepochs = 1;opts.batchsize = 100;sae = saetrain(sae, train_x, opts);visualize(sae.ae{1}.W{1}(:,2:end)')% Use the SDAE to initialize a FFNNnn = nnsetup([784 100 10]);nn.activation_function = 'sigm';nn.learningRate = 1;nn.W{1} = sae.ae{1}.W{1};% Train the FFNNopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.16, 'Too big error');```Example: Convolutional Neural Nets---------------------```matlabfunction test_example_CNNload mnist_uint8;train_x = double(reshape(train_x',28,28,60000))/255;test_x = double(reshape(test_x',28,28,10000))/255;train_y = double(train_y');test_y = double(test_y');%% ex1 Train a 6c-2s-12c-2s Convolutional neural network %will run 1 epoch in about 200 second and get around 11% error. %With 100 epochs you'll get around 1.2% errorrand('state',0)cnn.layers = { struct('type', 'i') %input layer struct('type', 'c', 'outputmaps', 6, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %sub sampling layer struct('type', 'c', 'outputmaps', 12, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %subsampling layer};cnn = cnnsetup(cnn, train_x, train_y);opts.alpha = 1;opts.batchsize = 50;opts.numepochs = 1;cnn = cnntrain(cnn, train_x, train_y, opts);[er, bad] = cnntest(cnn, test_x, test_y);%plot mean squared errorfigure; plot(cnn.rL);assert(er<0.12, 'Too big error');```Example: Neural Networks---------------------```matlabfunction test_example_NNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);% normalize[train_x, mu, sigma] = zscore(train_x);test_x = normalize(test_x, mu, sigma);%% ex1 vanilla neural netrand('state',0)nn = nnsetup([784 100 10]);opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samples[nn, L] = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.08, 'Too big error');%% ex2 neural net with L2 weight decayrand('state',0)nn = nnsetup([784 100 10]);nn.weightPenaltyL2 = 1e-4; % L2 weight decayopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex3 neural net with dropoutrand('state',0)nn = nnsetup([784 100 10]);nn.dropoutFraction = 0.5; % Dropout fraction opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex4 neural net with sigmoid activation functionrand('state',0)nn = nnsetup([784 100 10]);nn.activation_function = 'sigm'; % Sigmoid activation functionnn.learningRate = 1; % Sigm require a lower learning rateopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex5 plotting functionalityrand('state',0)nn = nnsetup([784 20 10]);opts.numepochs = 5; % Number of full sweeps through datann.output = 'softmax'; % use softmax outputopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex6 neural net with sigmoid activation and plotting of validation and training error% split training data into training and validation datavx = train_x(1:10000,:);tx = train_x(10001:end,:);vy = train_y(1:10000,:);ty = train_y(10001:end,:);rand('state',0)nn = nnsetup([784 20 10]); nn.output = 'softmax'; % use softmax outputopts.numepochs = 5; % Number of full sweeps through dataopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, tx, ty, opts, vx, vy); % nntrain takes validation set as last two arguments (optionally)[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');```[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/rasmusbergpalm/deeplearntoolbox/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

JPEG 学习笔记

JPEG 学习笔记

陈硕的Blog 6105

lwip-2.0.3

lwip是瑞典计算机科学院(SICS)的Adam Dunkels 开发的一个小型开源的TCP/IP协议栈。实现的重点是在保持TCP协议主要功能的基础上减少对RAM 的占用。

OpenCV学习笔记大集锦

转载自: OpenCV学习笔记大集锦 – 视觉机器人 http://www.cvrobot.net/collect-opencv-resource-learn-study-note-chinese/ 整理了我所了解的有关OpenCV的学习笔记、原理分析、使用例程等相关的博文。排序不分先后,随机整理的。如果有好的资源,也欢迎介绍和分享。 1:OpenCV学习笔记

Leo的博客 6664

复分析 阿尔福斯(Ahlfors) 第三版答案 英文

答案分为十章,有部分习题没有答案,全英文复分析阿尔福斯(Ahlfors) 第三版答案

openwrt学习笔记1-32

我的openwrt开发相关文章https://blog.csdn.net/xushx_bigbear/article/details/47746241 2015年08月18日 08:27:17xushx_bigbear阅读数:6031 版权声明:本文为博主原创文章,未经博主允许不得转载。文章转载只能用于非商业性质,且不能带有虚拟货币、积分等附加条件;转载必须注明出处。 https://...

ysh1042436059的专栏 480

C++学习笔记下载仓库

C++学习笔记下载仓库 去发现同类优质开源项目:https://gitcode.com/ 简介 本仓库提供了一个名为 c++学习笔记.pdf 的资源文件下载。该文件是关于C++编程语言的学习笔记,适合初学者和有一定基础的开发者参考和学习。 资源文件 文件名: c++学习笔记.pdf 描述: 该文件包含了详细的C++学习笔记,涵盖了从基础语法到高级编程技巧的内容。 使用方法 点击仓库中的 c+...

gitblog_06600的博客 360

前端学习笔记项目教程

前端学习笔记项目教程 1. 项目的目录结构及介绍 Front-end-study-notes/ ├── github/ │ └── workflows/ ├── notes/ ├── road/ ├── 游戏攻略/ ├── 转载专区/ ├── LICENSE ├── README.md ├── why error.md ├── 前端后端知识体系理解.md ├── 前端学习梳理.md ├── 笔...

gitblog_00644的博客 539

linux学习笔记

最全学习笔记,部分内容看图片

tzlaa的博客 958

SpringBoot学习笔记

SpringBoot学习笔记 【下载地址】SpringBoot学习笔记 SpringBoot学习笔记是一份全面而深入的学习资料,专为初学者和进阶开发者设计。通过这份笔记,您可以系统地掌握Spring Boot的基础知识、核心概念以及实战案例。无论是快速上手还是深入理解,这份资源都能帮助您显著提升开发效率,轻松应对各类Sp...

gitblog_06708的博客 354

Servlet学习笔记

Servlet学习笔记 Servlet: Servlet是javaweb的三大组件之一,它属于动态资源 作用:处理请求(每个Servlet都是唯一的,它们处理的请求都是不同的) 接收请求数据 处理请求 完成响应 Servlet中的方法大多数不由我们来调用,而是由服务器(tomcat)来调用;并且Servlet的对象也不由我们来创建,有tomcat来创建。 如何让浏览器访问servlet 1...

mf_yang的博客 157

【springboot】springboot学习笔记day12

springboot学习笔记day12.xmind-Java文档类资源-优快云下载

guaishounan的博客 5157

UniGui学习笔记

UniGui学习笔记 【下载地址】UniGui学习笔记 这份UniGui学习笔记是UniGui开发群原作者的精心整理,为开发者提供了深入掌握UniGui框架的宝贵资源。笔记全面涵盖了UniGui开发中的核心知识点和实战经验,帮助开发者快速上手并提升开发效率。无论是初学者还是有一定经验的开发者,都能从中获得实用的技巧和启发...

gitblog_06751的博客 338

每天写篇学习笔记

 丛今天起,每天写篇学习笔记

figo_tang的专栏 409

倪海厦针灸大成学习笔记

学习倪海厦老师人纪针灸课程的学习笔记,比较粗糙,不一定准确,分享给大家,大家发现笔记中的错误,欢迎反馈!提取码:NSZJ(倪师针灸首字母大写)

星辰的博客 2732
上一篇: 数据字典笔记
下一篇: 常用的事件属性函数
sql_xeppp
博客等级 码龄18年 34粉丝 66原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值