`
brogrn
  • 浏览: 28387 次
  • 性别: Icon_minigender_1
  • 来自: 广州
社区版块
存档分类
最新评论
文章列表
1.监控事例的等待: select event,sum(decode(wait_time,0,0,1)) prev, sum(decode(wait_time,0,1,0)) curr,count(*) from v$session_wait  group by event order by 4;2.回滚段的争用情况: select name,waits,gets,waits/gets ratio from v$rollstat a,v$rollname b where a.usn=b.usn;3.监控表空间的I/O比例: select df.tablespace_name name,df.f ...
本文转自 ( http://blog.csdn.net/quqi99 )   一. 环境说明 1. 服务器3 台,一台安装apache 服务,两台安装tomcat 2. 使用到的各个组件及下载地址: apache_2.2.11-win32-x86-no_ssl.msi http://httpd.apache.org/download.cgi tomcat 6 压缩版 http://tomcat.apache.org/download-60.cgi apache 的JK 连接器(Windows 版本),作为
很多开源应用服务器都是集成tomcat作为web container的,而且对于tomcat的servlet container这部分代码很少改动。这样,这些应用服务器的性能基本上就取决于Tomcat处理HTTP请求的connector模块的性能。本文首先从应用层次分析了tomcat所有的 ...
面对不同的数据库大小写规范,一个个字段修改太麻烦了,如果使用了PowerDesigner设计,有比较简单的方法。进入PowerDesigner,打开一个PDM,在菜单栏找到:Tools – Excute Commands – Edit/Run Script,或者直接按Ctrl+Shift+X调出脚本执行窗口,输入下边的代码就可以了。使用的是VBScript,语义比较容易理解,可以根据自己的需求修改。 Option Explicit ValidationMode = True InteractiveMode = im_Batch Dim mdl ' 当 ...
这里讨论代理主键,业务主键(比如说复合键等)这里不讨论。 一、JPA通用策略生成器 通过annotation来映射hibernate实体的,基于annotation的hibernate主键标识为@Id, 其生成规则由@GeneratedValue设定的.这里的@id和@GeneratedValue都是JPA的标准用法, JPA提供四种标准用法,由@GeneratedValue的源代码可以明显看出. Java代码     @Target({METHOD,FIELD}) @Retention(RUNTIME) public @interface Gener ...
在Linux系统中,Tomcat 启动后默认将很多信息都写入到catalina.out 文件中,我们可以通过tail -f catalina.out 来跟踪Tomcat 和相关应用运行的情况。 在windows下,我们使用startup.bat启动Tomcat以后,会发现catalina日志与Linux记录的内容有很大区别,大多信息只输出到屏幕而没有记录到catalina.out里面。 本文的内容就是要实现在windows下,将相关的控制台输出记录到后台的catalina.out文件中以便将来查看。 Linux系统下的tail命令可以让我们即时的跟踪文本文件的变化,其实Micros ...
方法一: 在被嵌入页面中加入如下js代码: view sourceprint?src="jquery-1.4.2.min.js" $(document).ready(function(){ parent.document.all("IFRAMEK标签 ID名").style.height=document.body.scrollHeight; parent.document.all("IFRAMEK标签 ID名").style.width=document.body.scrollWidth; ...
一.反编译Apk得到Java源代码 转载自:http://hi.baidu.com/%CB%BF%D4%B5%CC%EC%CF%C2/blog/item/2284e2debafc541e495403ec.html   工具下载:需用到dex2jar和JD-GUI这2个工具 dex2jar下载地址:http://laichao.googlecode.com/files/dex2jar-0.0.7-SNAPSHOT.zipJD-GUI下载地址:  windows版JD-GUI:http://laichao.googlecode.com/files/jdgui.zip  Linux版JD-G ...
JSP(JavaServer Pages)技术是对Servlet的进一步抽象,它由JCP(Java Community Process)开发,是用于生成动态内容的开放式的、可免费获取的规范,也是J2EE(Ja va 2 Enterprise Edition)规范的重要组成部分。JSP2.0版是对JSP1.2的升级,增加了 一些有趣的新特性。JSP2.0的目标是: ?使动态网页的设计更加容易 ?简化JSP页面,使得JSP页面容易维护 ?使WEB应用程序前后台应用更清晰 ?无需学习Java编程语言就可以编写JSP页面 除了其他一些改进外,JSP 2.0引入的最主要的新特性包括: ?一种简单的表达式语 ...
Part 1: Introduction to Spring 3.0 MVC frameworkPart 2: Create Hello World Application in Spring 3.0 MVCPart 3: Handling Forms in Spring 3.0 MVCPart 4: Spring 3 MVC Tiles Plugin Tutorial with Example in EclipsePart 5: Spring 3 MVC Internationalization & Localization Tutorial with Example in Eclip ...
2.4. 内置的约束条件 Hibernate Validator不仅实现了Bean Validation中规定的所有的默认约束条件, 还有附加有一些自定义的. 表 2.2 “内置的约束条件”列出了Hibernate Validator中已经提供的约束条件. 可参考下面的网址: http://docs.jboss.org/hibernate/validator/4.2/reference/zh-CN/html/validator-usingvalidator.html
ed2k://|file|%5B%E6%98%93%E6%88%91%E5%88%86%E5%8C%BA%E5%A4%A7%E5%B8%88%5D.EASEUS.Partition.Master.v6.0.1.Server.Edition.Retail-FOSI.zip|44336665|b8c3826f8bb987d20f1638c5738c520f|h=tyjt34glcalmlndrittr64ihk4ejcy6i|/
sp_configure 'max online engines',4 go --配置启动cpu个数 sp_configure 'number of engines at startup',4 go --配置最大内存数 sp_configure 'max memory' ,2097151 go --分配最大存储过程缓存 sp_configure 'procedure cache',102400 go --配置高速缓存 sp_cacheconfig  'default data cache' , '700M' go --缺省缓存分配页大小 sp_poolconfig 'default data c ...
< type="text/javascript">  众所周知,在程序开发中,难免会遇到需要匹配、查找、替换、判断字符串的情况发生,而这些情况有时又比较复杂,如果用纯编码方式解决,往往会浪费程序员的时间及精力。因此,学习及使 ...
来源:http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14259/xdb19rpl.htm DBMS_XDB: Configuration Management Table 23-3 lists the DBMS_XDB Oracle XML DB configuration management functions and procedures. Table 23-3 DBMS_XDB: Configuration Management Functions and Procedures Function/Procedure ...
Global site tag (gtag.js) - Google Analytics