??xml version="1.0" encoding="utf-8" standalone="yes"?>日韩国产一区二区三区,国产·精品毛片,成人久久一区二区http://www.aygfsteel.com/supersalor/java struts1、struts2 spring hibernate freemarker ajax fckeditor Mysql MSSQL ORACLE DB2 Websphere jboss zh-cnTue, 17 Jun 2025 09:48:32 GMTTue, 17 Jun 2025 09:48:32 GMT60http://www.aygfsteel.com/supersalor/archive/2016/08/29/431694.html李峰李峰Mon, 29 Aug 2016 08:52:00 GMThttp://www.aygfsteel.com/supersalor/archive/2016/08/29/431694.htmlhttp://www.aygfsteel.com/supersalor/comments/431694.htmlhttp://www.aygfsteel.com/supersalor/archive/2016/08/29/431694.html#Feedback0http://www.aygfsteel.com/supersalor/comments/commentRss/431694.htmlhttp://www.aygfsteel.com/supersalor/services/trackbacks/431694.html

李峰 2016-08-29 16:52 发表评论
]]>
memcached and Redishttp://www.aygfsteel.com/supersalor/articles/394702.html李峰李峰Thu, 24 Jan 2013 06:44:00 GMThttp://www.aygfsteel.com/supersalor/articles/394702.htmlhttp://www.aygfsteel.com/supersalor/comments/394702.htmlhttp://www.aygfsteel.com/supersalor/articles/394702.html#Feedback0http://www.aygfsteel.com/supersalor/comments/commentRss/394702.htmlhttp://www.aygfsteel.com/supersalor/services/trackbacks/394702.html
memcached好的博文Q?/span>

http://www.cnblogs.com/luluping/archive/2009/01/14/1375456.html memcached深度分析

 Redis使用场景Q?/p>

1. Redis使用最x(chng)式是全部数据in-memory?/p>

2. Redis更多场景是作为Memcached的替代者来使用?/p>

3. 当需要除key/value之外的更多数据类型支持时Q用Redis更合适?/p>

4. 当存储的数据不能被剔除时Q用Redis更合适?/p>

 

Redis好的博文Q?/p>

1.http://www.searchtb.com/2011/05/redis-storage.htmlQ来自淘宝搜索技术博?/p>

2. 来自InfoQ    

http://www.infoq.com/cn/articles/tq-why-choose-redis  Z么用redis

 http://www.infoq.com/cn/articles/tq-redis-memory-usage-optimization-storage redis内存?sh)用优化和存?/p>

http://www.infoq.com/cn/articles/tq-redis-copy-build-scalable-cluster redis复制与可扩展集群搭徏



李峰 2013-01-24 14:44 发表评论
]]>
SQL 左外q接Q右外连接,全连接,内连?四种q接的差?http://www.aygfsteel.com/supersalor/articles/346692.html李峰李峰Mon, 21 Mar 2011 09:35:00 GMThttp://www.aygfsteel.com/supersalor/articles/346692.htmlhttp://www.aygfsteel.com/supersalor/comments/346692.htmlhttp://www.aygfsteel.com/supersalor/articles/346692.html#Feedback0http://www.aygfsteel.com/supersalor/comments/commentRss/346692.htmlhttp://www.aygfsteel.com/supersalor/services/trackbacks/346692.html

李峰 2011-03-21 17:35 发表评论
]]>
Debug 提示【Tomcat??http://www.aygfsteel.com/supersalor/articles/300272.html李峰李峰Thu, 29 Oct 2009 14:15:00 GMThttp://www.aygfsteel.com/supersalor/articles/300272.htmlhttp://www.aygfsteel.com/supersalor/comments/300272.htmlhttp://www.aygfsteel.com/supersalor/articles/300272.html#Feedback0http://www.aygfsteel.com/supersalor/comments/commentRss/300272.htmlhttp://www.aygfsteel.com/supersalor/services/trackbacks/300272.htmljava.lang.NoClassDefFoundError:net/sf/cglib/proxy/CallbackFilter (tng) ?~少cglib-2.1_3.jar

java.lang.NoClassDefFoundError:javax/transaction/TransactionManager (tng) ?~少jta.jar

java.lang.NoClassDefFoundError: freemarker/template/Configuration (tng) ?~少freemarker.jar

java.lang.NoClassDefFoundError: org/aspectj/weaver/reflect/ReflectionWorld$ReflectionWorldException (tng) ?~少aspectjrt.jar;aspectjweaver.jar

java.lang.NoClassDefFoundError: org/dom4j/DocumentException (tng) ?~少dom4j-1.6.1.jar

java.lang.NoClassDefFoundError: org/apache/commons/fileupload/FileUploadException (tng) ?~少commons-fileupload-1.2.jar

java.lang.NoClassDefFoundError: org/apache/velocity/context/Context (tng) ?~少velocity-1.4.jar;velocity-dep-1.4.jar;velocity-tools-1.1.jar

l箋(hu)整理…?/font>



李峰 2009-10-29 22:15 发表评论
]]>
好久没更新博客了(jin)http://www.aygfsteel.com/supersalor/archive/2009/10/10/297728.html李峰李峰Sat, 10 Oct 2009 15:15:00 GMThttp://www.aygfsteel.com/supersalor/archive/2009/10/10/297728.htmlhttp://www.aygfsteel.com/supersalor/comments/297728.htmlhttp://www.aygfsteel.com/supersalor/archive/2009/10/10/297728.html#Feedback0http://www.aygfsteel.com/supersalor/comments/commentRss/297728.htmlhttp://www.aygfsteel.com/supersalor/services/trackbacks/297728.html阅读全文

李峰 2009-10-10 23:15 发表评论
]]>
Java中逻辑?逻辑?按位?按位或的区分http://www.aygfsteel.com/supersalor/archive/2009/08/13/291074.html李峰李峰Thu, 13 Aug 2009 12:38:00 GMThttp://www.aygfsteel.com/supersalor/archive/2009/08/13/291074.htmlhttp://www.aygfsteel.com/supersalor/comments/291074.htmlhttp://www.aygfsteel.com/supersalor/archive/2009/08/13/291074.html#Feedback0http://www.aygfsteel.com/supersalor/comments/commentRss/291074.htmlhttp://www.aygfsteel.com/supersalor/services/trackbacks/291074.html阅读全文

李峰 2009-08-13 20:38 发表评论
]]>
java 中String中split的?http://www.aygfsteel.com/supersalor/archive/2009/08/12/290892.html李峰李峰Wed, 12 Aug 2009 13:29:00 GMThttp://www.aygfsteel.com/supersalor/archive/2009/08/12/290892.htmlhttp://www.aygfsteel.com/supersalor/comments/290892.htmlhttp://www.aygfsteel.com/supersalor/archive/2009/08/12/290892.html#Feedback0http://www.aygfsteel.com/supersalor/comments/commentRss/290892.htmlhttp://www.aygfsteel.com/supersalor/services/trackbacks/290892.html阅读全文

李峰 2009-08-12 21:29 发表评论
]]>
Oracle数据导入/导出命o(h)http://www.aygfsteel.com/supersalor/archive/2009/08/11/290718.html李峰李峰Tue, 11 Aug 2009 13:09:00 GMThttp://www.aygfsteel.com/supersalor/archive/2009/08/11/290718.htmlhttp://www.aygfsteel.com/supersalor/comments/290718.htmlhttp://www.aygfsteel.com/supersalor/archive/2009/08/11/290718.html#Feedback0http://www.aygfsteel.com/supersalor/comments/commentRss/290718.htmlhttp://www.aygfsteel.com/supersalor/services/trackbacks/290718.html 1、单独备份一个或多个用户Q?br />D:>exp scott/tiger file=导出文g
D:>exp system/manager owner=(用户1,用户2,?用户n) file=导出文g

2、单独备份一个或多个表:(x)
D:>exp 用户/密码 tables=?br />D:>exp 用户/密码 tables=(?,??)
D:>exp system/manager tables=(用户.?
D:>exp system/manager tables=(用户1.?,用户2.?)

3、导入指定表
D:>exp scott/tiger file=a.dmp
D:>imp test/test fromuser=scott tables=emp file=a.dmp
D:>imp test/test tables=dept file=a.dmp
Q说明:(x)如果导出用户没有DBA权限Q则导入用户可以不用指定fromuser、touser参数如果导出用户拥有DBA权限Q则导入用户也必L有DBA权限Q?/p>

4、给表、列加注?/font>
SQL>comment on table ?is '表注?;
注释已创建?br />SQL>comment on column ??is '列注?;
注释已创建?br />SQL> select * from user_tab_comments where comments is not null;
SQL> select * from user_col_comments where comments is not null;

5、查看当前用户下有什么对象(表、视图、同义词、快照)(j)
SQL> select * from tab;
查看表结?br />SQL> describe 表名
写以上命?br />SQL> desc 表名

6?br />DDL、数据定义语aQcreate、alter、drop、truncateQ创建、修改结构、删除、截断)(j)Q其他:(x)renameQ?br />DML、数据操U语aQinsert、delete、select、updateQ增、删、查、改Q?br />DCL、数据控制语aQgrant、revokeQ授权、回Ӟ(j)、set role
事务控制Qcommit、rollback、savepointQ其他:(x)lock table、set constraint(s)、set transactionQ?br />审计控制Qaudit、noaudit
pȝ控制Qalter system
?x)话控制Qalter session
其他语句QcommentQ添加注释)(j)、explain plan、analyzeQ收集统计)(j)、validate、call

7?br />1Q、查看当前所有对?
SQL> select * from tab;

2Q、徏一个和a表结构一L(fng)I
SQL> create table b as select * from a where 1=2;
SQL> create table b(b1,b2,b3) as select a1,a2,a3 from a where 1=2;

3Q、察看数据库的大,和空间用情?
SQL> col tablespace format a20
SQL> select b.file_id 文gID,
b.tablespace_name 表空?
b.file_name 物理文g?
b.bytes d节数,
(b.bytes-sum(nvl(a.bytes,0))) 已?
sum(nvl(a.bytes,0)) 剩余,
sum(nvl(a.bytes,0))/(b.bytes)*100 剩余癑ֈ?
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
/
dba_free_space --表空间剩余空间状?br />dba_data_files --数据文gI间占用情况

4Q、查看现有回滚段?qing)其状?
SQL> col segment format a30
SQL> SELECT SEGMENT_NAME,OWNER,TABLESPACE_NAME,SEGMENT_ID,FILE_ID,STATUS FROM DBA_ROLLBACK_SEGS;

5Q、查看数据文件放|的路径
SQL> col file_name format a50
SQL> select tablespace_name,file_id,bytes/1024/1024,file_name from dba_data_files order by file_id;

6Q、显C当前连接用?
SQL> show user

7Q、把SQL*Plus当计器
SQL> select 100*20 from dual;

8Q、连接字W串
SQL> select ?||? from ?;
SQL> select concat(?,?) from ?;

9Q、查询当前日?
SQL> select to_char(sysdate,'yyyy-mm-dd,hh24:mi:ss') from dual;

10Q、用户间复制数据
SQL> copy from user1 to user2 create table2 using select * from table1;

11Q、视图中不能使用order byQ但可用group by代替来达到排序目?
SQL> create view a as select b1,b2 from b group by b1,b2;

12Q、通过授权的方式来创徏用户
SQL> grant connect,resource to test identified by test;

13Q、备?br />create table yhda_bak as select * from yhda;

14Q、提出相同的记录
select sid,count(*) from yhda a group by sid having count(*)>1

15Q、select的函?br />ORDER BY ?按照指定列排序返回结果的子句
DISTINCT ?只返回结果集合内唯一行的关键?
COUNT -- q回匚w查询的数据行L数值的函数
AVG ?该函数返回指定列的^均?br />SUM –该函数把指定的列中的数字加h
MIN ?该函数返回列中最的非NULL?br />MAX –该函数q回列中的最大?br />GROUP BY ?按列汇集查询函数l果的子?/p>

8.Oracle数据直接导出到文本文件的Ҏ(gu)
利用Oracle中的Spool~冲池技术可以实现Oracle数据导出到文本文件?br />1)、在Oracle PL/SQL中输入缓冲开始命令,q指定输出的文g名:(x)
spool d:output.txt

2)、在命o(h)行中随便输入你的SQL查询Q?br />select mobile from customer;
select mobile from client;
…?/p>

3)、在命o(h)行中输入~冲l果命o(h)Q?br />spool off;
则系l将~冲池中的结果都输出?output.txt"文g中?br />以TAB键分?/p>


本文来自CSDN博客Q{载请标明出处Q?a >http://blog.csdn.net/camio007/archive/2007/04/20/1572536.aspx



李峰 2009-08-11 21:09 发表评论
]]>
freemarker中空值的多种处理Ҏ(gu)http://www.aygfsteel.com/supersalor/articles/290715.html李峰李峰Tue, 11 Aug 2009 12:59:00 GMThttp://www.aygfsteel.com/supersalor/articles/290715.htmlhttp://www.aygfsteel.com/supersalor/comments/290715.htmlhttp://www.aygfsteel.com/supersalor/articles/290715.html#Feedback0http://www.aygfsteel.com/supersalor/comments/commentRss/290715.htmlhttp://www.aygfsteel.com/supersalor/services/trackbacks/290715.html1.按照freemarker的规范,老老实实的判断是否有空|有空值怎么处理。这在某U时候是有用的?br />格式Q?{empty!"EmptyValue of fbysss"}
比如gؓ(f)I时Q你可以l出一个友好的说明Q但是很多的变量都要q么说明Q未免太ȝ(ch)?jin)?

2.<#escape x as x!""></#escape>可以Ҏ(gu)有的变量q行I值处理,q里是全部替换ؓ(f)I字W串。当然也可以替换为其它字W串?
如果其中某些变量不需要这U替换,可以加入<#noescape></#noescape>标签?

3.属性配|方法:(x)
配置classic_compatible=true可以满一般需要。默认情况变量ؓ(f)null则替换ؓ(f)I字W串Q如果需要自定义Q写?{empty!"EmptyValue of fbysss"}的Ş式即?

a.通过Configuration讄。Configuration cfg = new Configuration(); cfg.setClassicCompatible(true);//讄属?

b.通过Eviroment讄?
 (tng) (tng) Environment env = template.createProcessingEnvironment(root, out);
 (tng) (tng) env.setClassicCompatible(true);

c.通过ftl讄Q在ftl前加?lt;!--#setting classic_compatible=true-->;

d.通过Spring配置文g讄
<bean id="freemarkerConfig"
 (tng) (tng) (tng) class="org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer">
 (tng) <property name="freemarkerSettings">
 (tng) (tng) (tng) <props>
 (tng) (tng) (tng) (tng) (tng) <prop key="classic_compatible">true</prop>
 (tng) (tng) (tng) </props>
 (tng) </property>
</bean>

e.class目录下添加freemarker.properties文gQ加入classic_compatible=true
(需要struts2或spring)



李峰 2009-08-11 20:59 发表评论
]]>
db2错误http://www.aygfsteel.com/supersalor/articles/290714.html李峰李峰Tue, 11 Aug 2009 12:57:00 GMThttp://www.aygfsteel.com/supersalor/articles/290714.htmlhttp://www.aygfsteel.com/supersalor/comments/290714.htmlhttp://www.aygfsteel.com/supersalor/articles/290714.html#Feedback0http://www.aygfsteel.com/supersalor/comments/commentRss/290714.htmlhttp://www.aygfsteel.com/supersalor/services/trackbacks/290714.htmldb2数据库报
DB2 Database Error: ERROR [54048] [IBM][DB2/LINUX] SQL1585N (tng) A system temporary table space with sufficient page size does not exist. (tng) SQLSTATE=54048

解决原因是:(x)db2 临时?的空间太了(jin)Q?2K



李峰 2009-08-11 20:57 发表评论
]]>
վ֩ģ壺 | | | | | żҽ| | ʷ| | ͨɽ| ʯɽ| | | ʷ| | ̶| | | | | | Ϫ| | | | ʡ| | | | | | ³| ½| ̨| | | ʯ¥| | ٺ| | ӽ|