beans-properties.xml
xmlns:p="http://www.springframework.org/schema/p"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-inst...
分类:
编程语言 时间:
2015-08-25 23:57:49
阅读次数:
381
公司一个业务的DB表结构因为需求不断变动,表结构随着需求的变动不断需要修改,更改字段类型,增加字段。 最苦逼的是其中两个主表都特别大,一个5000W以上,另外一个更恐怖达到1亿多。以前都是采用分区,后面 考虑...
分类:
其他好文 时间:
2015-08-25 19:46:52
阅读次数:
206
http://www.springframework.org/schema/task http://www.springframework.org/schema/task/spring-task-3.2.xsd 配置文件中加入这个 一定要让Spring扫描这个包 ...
分类:
编程语言 时间:
2015-08-25 16:24:11
阅读次数:
143
--查看索引碎片:USE dbnameSELECT schema_name(T.schema_id) AS Schema_Name,T.Name AS Table_Name,I.name AS Index_Name,I.type AS Index_Type,D.avg_fragmentation_i...
分类:
其他好文 时间:
2015-08-25 13:31:05
阅读次数:
144
application.xml<!--包含事务以及开启注解-->
<?xmlversion="1.0"encoding="UTF-8"?>
<beansxmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xmlns:p="http://www.springframework.org/schema/p"
x..
分类:
编程语言 时间:
2015-08-25 12:30:26
阅读次数:
209
想要编写xml文件时代码提示,其实只要配置了相应的xsd文件即可,xsd文件也就是xml文件的一个约束。就是决定了你xml文件中可以写哪些东西。xsd文件是xml文件的元数据文件。以bean标签为例:你编写标签的时候没有提示,则可以配置pring-beans-3.0.xsd这个文件到xml头信息中1...
分类:
编程语言 时间:
2015-08-21 18:48:55
阅读次数:
247
setting.xml配置<?xmlversion="1.0"encoding="UTF-8"?>
<settingsxmlns="http://maven.apache.org/POM/4.0.0"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0http://maven.apache.org/xsd/settings-1...
分类:
其他好文 时间:
2015-08-21 17:29:11
阅读次数:
231
1、创建存储过程1.1语法:CREATE[OR REPLACE] PROCEDURE [schema.] procedure_name[(argument[{IN|OUT|IN OUT}] datatype[,...])] {IS|AS} pl/sql_body;procedure_name为存储过...
分类:
数据库 时间:
2015-08-21 13:11:46
阅读次数:
257
原文:http://www.cnblogs.com/stephen-liu74/archive/2012/04/25/2291526.html 一个数据库包含一个或多个命名的模式,模式又包含表。模式还包含其它命名的对象,包括数据类型、函数,以及操作符。同一个对象名可以在不同的模式里使用而不会导致冲....
分类:
数据库 时间:
2015-08-21 13:00:51
阅读次数:
215
1.数据库的创建、修改、删除创建:CREATE{DATABASE|SCHEMA}[IFNOTEXISTS]db_name[create_specification];例如:CREATEDATABASEIFNOTEXISTStestCHARACTERSET‘gbk‘COLLATE‘gbk_chinese_ci‘;修改:ALTER{DATABASE|SCHEMA}[db_name]alter_specification;通常只能修改数据库字符集..
分类:
数据库 时间:
2015-08-21 00:27:30
阅读次数:
267