上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 36 下一页
  2018年10月16日
摘要: @JsonView是jackson json中的一个注解,Spring webmvc也支持这个注解。 这个注解的作用就是控制输入输出后的json. 假设我们有一个用户类,其中包含用户名和密码,一般情况下如果我们需要序列化用户类时,密码也会被序列化,在一般情况下我们肯定不想见到这样的情况。但是也有一些 阅读全文
posted @ 2018-10-16 11:26 懒懒的呐喊 阅读(919) 评论(0) 推荐(1)
  2018年8月30日
摘要: https://blog.csdn.net/funnyfu0101/article/details/52961485 所有执行的结果是脚本命令集合,可以用来创建索引; a)在plsql中使用execute immediate 'alter table J3_nsrxx NOLOGGING'; b)s 阅读全文
posted @ 2018-08-30 20:00 懒懒的呐喊 阅读(263) 评论(0) 推荐(0)
摘要: Query to find the eligible indexes for rebuilding Query to find the eligible indexes for rebuilding The following script can be used to determine whic 阅读全文
posted @ 2018-08-30 19:51 懒懒的呐喊 阅读(293) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/gaochsh/p/5442737.html --查询最慢的sql select * from (select parsing_user_id,executions,sortscommand_type,disk_reads,sql_text from 阅读全文
posted @ 2018-08-30 19:50 懒懒的呐喊 阅读(413) 评论(0) 推荐(0)
摘要: http://blog.itpub.net/12679300/viewspace-2125679/ 当系统运行了一段时间后,系统基本也趋于稳定了,SQL调优也变了DBA的一个主要的工作内容,很多时候都是通过查看awr报告来检查出有性能瓶颈的SQL语句,通过这个可以很清晰的看到具体运行多少时间、次数、 阅读全文
posted @ 2018-08-30 19:35 懒懒的呐喊 阅读(577) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/sunmengbbm/p/5775211.html 一、什么是统计信息 统计信息主要是描述数据库中表,索引的大小,规模,数据分布状况等的一类信息。例如,表的行数,块数,平均每行的大小,索引的leaf blocks,索引字段的行数,不同值的大小等,都属于 阅读全文
posted @ 2018-08-30 19:01 懒懒的呐喊 阅读(185) 评论(0) 推荐(0)
  2018年8月29日
摘要: 创建表空间的时候指定的数据文件可以设为自动扩展,以及每次扩展多少容量,如果发现在大数据量插入的时候非常慢,可能的原因是NEXT指定的值太小.下面来模拟一下这个过程:1,创建一个表空间:CREATE TABLESPACE "T" DATAFILE 'D:\ORACLE\PRODUCT\10.2.0\O 阅读全文
posted @ 2018-08-29 14:42 懒懒的呐喊 阅读(390) 评论(0) 推荐(0)
摘要: 常见的分区表DDL如 split partition、add partition都会生成没有统计信息的表分区table partition,长期以来我对dbms_stats.lock_table_stats有一个错误的认识,即对于没有统计信息的分区,LOCK_STATS并不生效。 实际测试发现锁表统 阅读全文
posted @ 2018-08-29 14:40 懒懒的呐喊 阅读(226) 评论(0) 推荐(0)
摘要: 查询统计信息 select * from user_tab_statistics t where t.TABLE_NAME=upper('tablename'); 查询表基本信息 select * from user_tab_statisticsselect table_name,num_rows, 阅读全文
posted @ 2018-08-29 09:13 懒懒的呐喊 阅读(142) 评论(0) 推荐(0)
  2018年8月24日
摘要: [z]https://www.cnblogs.com/8765h/archive/2011/11/25/2374167.html 相同点: 1.truncate和不带where子句的delete、以及drop都会删除表内的数据。 2.drop、truncate都是DDL语句(数据定义语言),执行后会 阅读全文
posted @ 2018-08-24 11:35 懒懒的呐喊 阅读(183) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 36 下一页