2006 年文章归档
共 10 篇文章
转贴oracle:Configuring Kernel Parameters
2.6 Configuring Kernel Parameters Note: The kernel parameter and shell limit values shown in the following section are recommended values only. For production database systems, Oracle recommends that you tune these values to optimize the performance of the system. Refer to your operating system doc…
2006-12-31 12:53
solaris下oracle的安装
环境:oracle10.2.0 sun890 solaris9 24Gmemory 挂8个盘emc 1 创建oracle用户,oinstall、dba组 2 etc/system中加入 set noexec_user_stack=1 set shmsys:shminfo_shmmax=12884901885 set shmsys:shminfo_shmmin=1 set shmsys:shminfo_shmmni=100 set shmsys:shminfo_shmseg=10 set semsys:seminfo_semmni=100 set semsys:seminfo_semmsl=1…
2006-12-30 16:20
oracle在solaris下安装时参数的计算
SHMMAX maximum size of a shared memory segment (共享内存段的最大字节数) SHMMIN minimum size of shared memory segment (共享内存段的最小尺寸) SHMMNI maximum number of shared memory identifiers in the system (系统中共享内存标识符的最大数目) SHMSEG maximum number of shared memory segments a user process can attach (每个用户进程可分配的最大共享内存段数目) S…
2006-12-29 18:55
oracle 对象tablespace 的移动
1 table sql 代码 alter table TAB move tablespace MYTABLESPACE; 2 index sql 代码 alter index INDEX rebuild tablespace MYTABLESPACE
2006-12-29 14:40
jsf myfaces1.1.4几个警告
1 警告: /WEB-INF/faces-config.xml has been specified in the javax.faces.CONFIG_FILES context parameter of the deployment descriptor. This should be removed, as it will be loaded twice. See JSF spec 1.1, 10.3.2 jsf1.1中把/WEB-INF/faces-config.xml作为默认的文件了,因此如果在web.xml存在的话,会警告,并且警告managebean加载两次 去掉web.xml…
2006-12-28 13:47
jsf中action\actionlistener\actionref的区别
项目<o:p></o:p> 校验<o:p></o:p> 参数<o:p></o:p> 页面跳转<o:p></o:p> action <o:p></o:p> ok <o:p></o:p> 不传入当前控件<o:p></o:p> 返回跳转的页面导向,根据配置文件跳转<o:p></o:p> actionListener<o:p></o:p> ok <o:p></o:p> 传入当前控件<o:p></o:p> 无返回值,返回本页面<o:p></o:p> actionRef <o:p></o:p> ok<o:p></o:p> 无参数<o:p></o:p> 返回action,动态生成跳转<o:p></o:p>
2006-12-28 13:09
利用sql树查询获得树上的叶子节点
如下 sql 代码 SELECT ond.parentid as id FROM orgnode ond where ond.flag = 1 START WITH ond.id=1 CONNECT BY PRIOR ond.id = ond.parentid group by ond.parentid having COUNT(*)=1
2006-12-23 21:08
批量生成sql,并执行
sql 代码 set heading off ; set feedback off ; SPOOL ON.SQL; select 'alter table '||a.Table_Name||' move tablespace FSPTDATA;' from sys.all_tables a where a.owner = 'FSPT' and a.tablespace_name <> 'FSPTDATA'; SPOOL OFF; @ON.SQL;
2006-12-18 10:50
solaris中碰到的问题
1 在windows下刻录的cdrom在solaris下长文件明不支持 由于 solaris 不支持 fat32文件系统,所以windows 下刻的 光盘 如果有长文件 名则不能识别,同样的问题也出现在软盘的使用上,用微机读此 光盘 再用ftp 或samba,nfs 之类的网络文件系统,可以绕开此问题,或者在 solaris 下刻光 盘 2 关闭自动加载设备 在Solaris 上有卷管理服务vold,停止它用 # /etc/init.d/volmgt stop 然后,用下面的命令查看这个服务是否被成功地停止了: # pgrep vold 如果没有返回任何值,说明操作成功 3 …
2006-12-12 19:39
诸葛亮《诫子训》
诸葛亮《诫子训》 夫君子之行,静以修身,俭以养德。非淡泊无以明志,非宁静无以致远。夫学须静也,才须学也。非学无以广才,非志无以成学。韬慢则不能励精,险躁则不能治性。年与时驰,意与岁去,遂成枯落,多不接世。悲守穷庐,将复何及? 译文 君子的品行,一安静努力提高自己的修养,以节俭努力培养自己的品德。不恬淡寡欲就不能显现出自己的志向,不宁静安稳就不能达到远大的目标。学习必须静下心来,才干必须学习才能增长。不学习就不能有广博的才干,没有志向就不能成就学业。怠慢便不能振奋精神,冒险急噪便不能治理品性。年华随时间流逝,意志随岁月消磨,于是枝枯叶落,大多不能对社会有所作为。等到悲凉地守着贫穷的小屋时,后悔…
2006-12-11 14:00