http://publib.boulder.ibm.com/infocenter/db2luw/v9r7/index.jsp?topic=%2Fcom.ibm.db2.luw.admin.perf.doc%2Fdoc%2Ft0024848.html
ref:
Performance overview
2011年11月29日 星期二
2011年11月27日 星期日
E5300 & RHEL6 (CentOS 6)
E5300(Core 2系列)有EM64T(Intel採用的x86-64)
E5300規格:
http://ark.intel.com/products/35300/Intel-Pentium-Processor-E5300-(2M-Cache-2_60-GHz-800-MHz-FSB)
RHEL硬體限制:
http://www.redhat.com/rhel/compare/#note_4
http://support.bull.com/ols/product/system/linux/redhat/help/kbf/g/inst/PrKB11417
ESX Server不支援Red Hat Hugemem Kernel :
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=8964517
ref(PAE):
kernel-PAE
http://en.wikipedia.org/wiki/Physical_Address_Extension
http://pacoup.com/2009/05/27/pae-vs-64-bit-what-manufacturers-dont-want-you-to-know/comment-page-1/
http://communities.intel.com/message/132864
http://msdn.microsoft.com/en-us/library/aa366796%28VS.85%29.aspx
ref:
http://www.zimbra.com/forums/installation/4885-rhel4-64-bit-rhel4-32-bit.html
E5300規格:
http://ark.intel.com/products/35300/Intel-Pentium-Processor-E5300-(2M-Cache-2_60-GHz-800-MHz-FSB)
RHEL硬體限制:
http://www.redhat.com/rhel/compare/#note_4
http://support.bull.com/ols/product/system/linux/redhat/help/kbf/g/inst/PrKB11417
ESX Server不支援Red Hat Hugemem Kernel :
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=8964517
ref(PAE):
kernel-PAE
http://en.wikipedia.org/wiki/Physical_Address_Extension
http://pacoup.com/2009/05/27/pae-vs-64-bit-what-manufacturers-dont-want-you-to-know/comment-page-1/
http://communities.intel.com/message/132864
http://msdn.microsoft.com/en-us/library/aa366796%28VS.85%29.aspx
ref:
http://www.zimbra.com/forums/installation/4885-rhel4-64-bit-rhel4-32-bit.html
2011年11月26日 星期六
階段作業逾時值
階段作業逾時值: 欄位應該在 2 至 2147483647 的範圍內。
單位:分鐘
default timeout:30 minutes
ref:
http://www.redbooks.ibm.com/redpapers/pdfs/redp4580.pdf
單位:分鐘
default timeout:30 minutes
ref:
http://www.redbooks.ibm.com/redpapers/pdfs/redp4580.pdf
2011年11月23日 星期三
reorgchk
reorgchk update statistics on table all
http://publib.boulder.ibm.com/infocenter/db2luw/v9r7/index.jsp?topic=%2Fcom.ibm.db2.luw.admin.cmd.doc%2Fdoc%2Fr0001971.html
http://publib.boulder.ibm.com/infocenter/tivihelp/v2r1/index.jsp?topic=%2Fcom.ibm.itame3.doc_5.1%2Fam51_perftune66.htm
Calls the RUNSTATS routine to update table and index statistics, and then uses the updated statistics to determine if table or index reorganization is required.
http://publib.boulder.ibm.com/infocenter/db2luw/v9r7/index.jsp?topic=%2Fcom.ibm.db2.luw.admin.cmd.doc%2Fdoc%2Fr0001971.html
http://publib.boulder.ibm.com/infocenter/tivihelp/v2r1/index.jsp?topic=%2Fcom.ibm.itame3.doc_5.1%2Fam51_perftune66.htm
2011年11月22日 星期二
列出Schema所有表格
select TABNAME from syscat.tables where DEFINER = 'XXXXX' and TYPE = 'T' and TABSCHEMA = 'YYYYYY'
TYPE = 'V'
=>列出所有View
預設public群組有select系統表格權限
如果公司有安控疑慮拿掉public群組select系統表格權限就沒辦法查
TYPE = 'V'
=>列出所有View
預設public群組有select系統表格權限
如果公司有安控疑慮拿掉public群組select系統表格權限就沒辦法查
db2look
http://publib.boulder.ibm.com/infocenter/db2luw/v9/index.jsp?topic=%2Fcom.ibm.db2.udb.admin.doc%2Fdoc%2Fr0002051.htm
ex:
ex:
db2look -d 資料庫名稱 -e -c -z 綱目(Schema)名稱 -o 匯出檔名.sql
2011年11月20日 星期日
模擬的遠端桌面系統: XRDP 伺服器
http://linux.vbird.org/linux_server/0310telnetssh.php#ps9
http://download.fedora.redhat.com/pub/epel/6/x86_64/xrdp-0.5.0-0.13.el6.x86_64.rpm
2012/10/4更新:
以上載點失效
可至Hinet載點
http://mirror01.idc.hinet.net/EPEL/6/i386/xrdp-0.5.0-0.13.el6.i686.rpm
http://mirror01.idc.hinet.net/EPEL/6/x86_64/xrootd-3.0.5-1.el6.x86_64.rpm
很可惜的是,我們的 CentOS 6.x 預設並沒有提供 XRDP 的伺服器,如果你有興趣的話,可以自行編譯 xrdp 軟體, 但鳥哥有找到 Fedora 基金會提供的 RHEL 額外軟體計畫 (註9),你可以到底下的連結去找到你對應的版本:http://download.fedora.redhat.com/pub/epel/6/i386/xrdp-0.5.0-0.13.el6.i686.rpm
http://download.fedora.redhat.com/pub/epel/6/x86_64/xrdp-0.5.0-0.13.el6.x86_64.rpm
2012/10/4更新:
以上載點失效
可至Hinet載點
http://mirror01.idc.hinet.net/EPEL/6/i386/xrdp-0.5.0-0.13.el6.i686.rpm
http://mirror01.idc.hinet.net/EPEL/6/x86_64/xrootd-3.0.5-1.el6.x86_64.rpm
jar檔可以用壓縮軟體壓縮
http://download.oracle.com/javase/1.4.2/docs/guide/extensions/spec.html
Each optional package or application consists of at least one JAR file containing an optional manifest, code and assorted resources. As described below, this primary JAR file can also include additional information in its manifest to describe dependencies on other JAR files. The jar command line tool included with the Java 2 SDK provides a convenient means of packaging optional packages, although any ZIP-compatible archiving tool should work as well.
由官方規格即知jar檔只要是ZIP相容即可,基本上我都用7-zip壓
只是jar工具程式壓的可能包含了一些相依資訊
另外放在$/JAVA_HOME/jre/lib/ext的套件也是可以壓成jar或zip檔
Each optional package or application consists of at least one JAR file containing an optional manifest, code and assorted resources. As described below, this primary JAR file can also include additional information in its manifest to describe dependencies on other JAR files. The jar command line tool included with the Java 2 SDK provides a convenient means of packaging optional packages, although any ZIP-compatible archiving tool should work as well.
由官方規格即知jar檔只要是ZIP相容即可,基本上我都用7-zip壓
只是jar工具程式壓的可能包含了一些相依資訊
另外放在$/JAVA_HOME/jre/lib/ext的套件也是可以壓成jar或zip檔
2011年11月19日 星期六
使用in的欄位要有index
如果使用in的欄位沒有建index
就會TBSCAN
ex.
good.status in ('a','b','c')
gooddetail.status in ('a','b','c')
good.status沒有建index =>TBSCAN
gooddetail.status 有建index =>IXSCAN
good.status也可以調成or or的形式避免執行太久dead lock
就會TBSCAN
ex.
good.status in ('a','b','c')
gooddetail.status in ('a','b','c')
good.status沒有建index =>TBSCAN
gooddetail.status 有建index =>IXSCAN
good.status也可以調成or or的形式避免執行太久dead lock
訂閱:
文章 (Atom)