<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
<channel>
<title><![CDATA[都市商品]]></title>
<link>http://www.dushi365.net/blog/</link>
<description><![CDATA[]]></description>
<language>zh-cn</language>
<webMaster><![CDATA[dushi365@qq.com(晓宁之家)]]></webMaster>
<image>
	<title>都市商品</title>
	<url>http://www.dushi365.net/blog/images/logos.gif</url>
	<link>http://www.dushi365.net/blog/</link>
	<description>都市商品</description>
</image>

			<item>
			<link>http://www.dushi365.net/blog/article.asp?id=269</link>
			<title><![CDATA[查询oracle表的信息（表，字段，约束，索引）]]></title>
			<author>dushi365@qq.com(wood)</author>
			<category><![CDATA[Oracle]]></category>
			<pubDate>2010-07-02</pubDate>
			<guid>http://www.dushi365.net/blog/default.asp?id=269</guid>
		<description><![CDATA[<p>1、查询出所有的用户表<br />
select * from user_tables 可以查询出所有的用户表</p>
<p>2、查询出用户所有表的索引<br />
select * from user_indexes</p>
<p>3、查询用户表的索引(非聚集索引): <br />
select * from user_indexes where uniqueness='NONUNIQUE'</p>
<p>4、查询用户表的主键(聚集索引): <br />
select * from user_indexes where uniqueness='UNIQUE'</p>
<p>5、查询表的索引<br />
select t.*,i.index_type from user_ind_columns t,user_indexes i where t.index_name=i.index_name and<br />
t.table_name='NODE'</p>
<p>6、查询表的主键<br />
select cu.* from user_cons_columns cu, user_constraints au where cu.constraint_name=au.constraint_name and<br />
au.constraint_type='P' AND cu.table_name='NODE'</p>
<p>7、查找表的唯一性约束（包括名称，构成列）： <br />
select * from user_constraints t,user_cons_columns a where a.constraint_name=t.constraint_name and t.constraint_name like '%约束的名称%';</p>
<p>8、查找表的外键<br />
select * from user_constraints c where c.constraint_type='R' and c.table_name='STAFFPOSITION'<br />
查询外键约束的列名： <br />
select * from user_cons_columns cl where cl.constraint_name=外键名称<br />
查询引用表的键的列名：<br />
select * from user_cons_columns cl where cl.constraint_name=外键引用表的键名</p>
<p>9、查询表的所有列及其属性<br />
select t.*,c.COMMENTS from user_tab_columns t,user_col_comments c where t.table_name='NODE'</p>
<p><br />
&nbsp;</p>]]></description>
		</item>
		
			<item>
			<link>http://www.dushi365.net/blog/article.asp?id=268</link>
			<title><![CDATA[会话:Process Local Xref Request Using Shared Memory]]></title>
			<author>dushi365@qq.com(wood)</author>
			<category><![CDATA[Essbase Server (Analytic Services)]]></category>
			<pubDate>2010-06-23</pubDate>
			<guid>http://www.dushi365.net/blog/default.asp?id=268</guid>
		<description><![CDATA[<p><strong>症状描述(Symptoms)：</strong></p>
<p>When querying on a cube requiring an excessive currency conversion (like drill-down to lowest level), the @xref request on session browser is showing &quot;In progress&quot; all the time together with target cube process. When you try to kill it thru session browser, it shows &quot;Terminating&quot; and has to be killed from linux box kernal. The same kind of query running on V7 (linux box) can be killed immediately. On V11.1.1.2 server, it shows &quot;Process local xref request using shared memory&quot;. <br />
Cause<br />
The shared memory is not handled correctly when connecting with an xref to another application. The shared memory has to be disabled with this .cfg parameter.</p>
<p>DisableSharedMemory appName TRUE<br />
<br />
<strong>解决方案(Solution)：</strong></p>
<p>Add the following to the essbase.cfg file. Stop and start Essbase:<br />
DisableSharedMemory appName TRUE</p>]]></description>
		</item>
		
			<item>
			<link>http://www.dushi365.net/blog/article.asp?id=267</link>
			<title><![CDATA[安装smart view时候报：Internal Error 2254. Feature]]></title>
			<author>dushi365@qq.com(wood)</author>
			<category><![CDATA[Smart View]]></category>
			<pubDate>2010-06-11</pubDate>
			<guid>http://www.dushi365.net/blog/default.asp?id=267</guid>
		<description><![CDATA[<p><strong>ERROR：</strong><br />
---------------<br />
In the Smartview error message box, 'Internal Error 2254., Feature' (内部错误 2254., Feature)<br />
In the Smartview main installation window, the status is 'Calculation the required disk space.' (正在计算空间需求)</p>
<p><strong>测试步骤：</strong><br />
---------------<br />
X:\Smartview\SmartView.exe&nbsp; /v&quot;/l*v \&quot;c:\logfiles\installation.log\&quot;&quot;<br />
<br />
<strong>解决方法：</strong><br />
---------------<br />
暂无</p>]]></description>
		</item>
		
			<item>
			<link>http://www.dushi365.net/blog/article.asp?id=266</link>
			<title><![CDATA[设置oracle 10g的归档模式]]></title>
			<author>dushi365@qq.com(wood)</author>
			<category><![CDATA[Oracle]]></category>
			<pubDate>2010-06-08</pubDate>
			<guid>http://www.dushi365.net/blog/default.asp?id=266</guid>
		<description><![CDATA[<p>Oracle10g安装后默认是NOARCHIVELOG模式,使用sqlplus设置步骤如下：</p>
<p>1 使用sys用户连接数据库： <br />
&nbsp;&nbsp;&nbsp; sqlplus /nolog;<br />
&nbsp;&nbsp;&nbsp; CONNECT SYS/password AS SYSDBA <br />
2 关闭数据库： <br />
&nbsp;&nbsp;&nbsp; SQL&gt;SHUTDOWN IMMEDIATE;<br />
3 mount 数据库 <br />
&nbsp;&nbsp;&nbsp; SQL&gt;STARTUP MOUNT <br />
4 改变归档模式 <br />
&nbsp;&nbsp;&nbsp; SQL&gt; Alter DATABASE ARCHIVELOG;(如要改回归档模式则是Alter DATABASE NOARCHIVELOG;) <br />
5 打开数据库 <br />
&nbsp;&nbsp;&nbsp; SQL&gt;Alter DATABASE OPEN;</p>]]></description>
		</item>
		
			<item>
			<link>http://www.dushi365.net/blog/article.asp?id=265</link>
			<title><![CDATA[oracle表空间操作详解 ]]></title>
			<author>dushi365@qq.com(wood)</author>
			<category><![CDATA[Oracle]]></category>
			<pubDate>2010-06-02</pubDate>
			<guid>http://www.dushi365.net/blog/default.asp?id=265</guid>
		<description><![CDATA[<p>一、建立表空间<br />
&nbsp;Create TABLESPACE data01<br />
&nbsp;DATAFILE '/oracle/oradata/db/DATA01.dbf' SIZE 500M<br />
&nbsp;UNIFORM SIZE 128k;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #指定区尺寸为128k,如不指定，区尺寸默认为64k</p>
<p>二、建立UNDO表空间<br />
&nbsp;Create UNDO TABLESPACE UNDOTBS02<br />
&nbsp;DATAFILE '/oracle/oradata/db/UNDOTBS02.dbf' SIZE 50M</p>
<p>&nbsp;#注意：在OPEN状态下某些时刻只能用一个UNDO表空间，如果要用新建的表空间，必须切换到该表空间:</p>
<p>&nbsp;Alter SYSTEM SET undo_tablespace=UNDOTBS02;</p>
<p>三、建立临时表空间</p>
<p>&nbsp;Create TEMPORARY TABLESPACE temp_data<br />
&nbsp;TEMPFILE '/oracle/oradata/db/TEMP_DATA.dbf' SIZE 50M</p>
<p>四、改变表空间状态</p>
<p>&nbsp;1.使表空间脱机<br />
&nbsp;&nbsp;Alter TABLESPACE game OFFLINE;</p>
<p>&nbsp;&nbsp;如果是意外删除了数据文件，则必须带有RECOVER选项</p>
<p>&nbsp;&nbsp;Alter TABLESPACE game OFFLINE FOR RECOVER;</p>
<p>&nbsp;2.使表空间联机<br />
&nbsp;&nbsp;Alter TABLESPACE game ONLINE;</p>
<p>&nbsp;3.使数据文件脱机<br />
&nbsp;&nbsp;Alter DATABASE DATAFILE 3 OFFLINE;</p>
<p>&nbsp;4.使数据文件联机<br />
&nbsp;&nbsp;Alter DATABASE DATAFILE 3 ONLINE;</p>
<p>&nbsp;5.使表空间只读<br />
&nbsp;&nbsp;Alter TABLESPACE game READ ONLY;</p>
<p>&nbsp;6.使表空间可读写<br />
&nbsp;&nbsp;Alter TABLESPACE game READ WRITE;</p>
<p>五、删除表空间<br />
&nbsp;Drop TABLESPACE data01 INCLUDING CONTENTS AND DATAFILES;</p>
<p>六、扩展表空间</p>
<p>&nbsp;首先查看表空间的名字和所属文件</p>
<p>&nbsp;select tablespace_name, file_id, file_name,round(bytes/(1024*1024),0) total_space from dba_data_files order by tablespace_name;</p>
<p>&nbsp;1.增加数据文件<br />
&nbsp;&nbsp;Alter TABLESPACE game<br />
&nbsp;&nbsp;ADD DATAFILE '/oracle/oradata/db/GAME02.dbf' SIZE 1000M;</p>
<p>&nbsp;2.手动增加数据文件尺寸<br />
&nbsp;&nbsp;Alter DATABASE DATAFILE '/oracle/oradata/db/GAME.dbf'<br />
&nbsp;&nbsp;RESIZE 4000M;</p>
<p>&nbsp;3.设定数据文件自动扩展<br />
&nbsp;&nbsp;Alter DATABASE DATAFILE '/oracle/oradata/db/GAME.dbf<br />
&nbsp;&nbsp;AUTOEXTEND ON NEXT 100M<br />
&nbsp;&nbsp;MAXSIZE 10000M;</p>
<p>&nbsp;设定后查看表空间信息<br />
&nbsp;Select A.TABLESPACE_NAME,A.BYTES TOTAL,B.BYTES USED, C.BYTES FREE,(B.BYTES*100)/A.BYTES &quot;% USED&quot;,(C.BYTES*100)/A.BYTES &quot;% FREE&quot; FROM SYS.SM$TS_AVAIL A,SYS.SM$TS_USED B,SYS.SM$TS_FREE C Where A.TABLESPACE_NAME=B.TABLESPACE_NAME AND A.TABLESPACE_NAME=C.TABLESPACE_NAME;</p>
<p><br />
七、移动表空间<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br />
&nbsp;1.查询数据表和表空间<br />
&nbsp;&nbsp;select table_name,tablespace_name from user_tables;</p>
<p>&nbsp;2.移动表至另一表空间<br />
&nbsp;&nbsp;alter table move tablespace room1;</p>]]></description>
		</item>
		
			<item>
			<link>http://www.dushi365.net/blog/article.asp?id=262</link>
			<title><![CDATA[使用导出的方式迁移时,导出多个规则为XML,再导入出错]]></title>
			<author>dushi365@qq.com(wood)</author>
			<category><![CDATA[Business Rules]]></category>
			<pubDate>2010-05-25</pubDate>
			<guid>http://www.dushi365.net/blog/default.asp?id=262</guid>
		<description><![CDATA[<p><strong>错误信息：</strong><br />
Business Rules错误，已出现异常，请检查您的日志文件并获取详细信息.(其实啥日志都找不到)</p>
<p><strong>解决方法：<br />
</strong>导出多个规则为XML文件时，XML会比较大。只能将每个规则导出为XML文件，再重新导入则一切OK。</p>]]></description>
		</item>
		
			<item>
			<link>http://www.dushi365.net/blog/article.asp?id=261</link>
			<title><![CDATA[无法停止Weblogic的解决办法]]></title>
			<author>dushi365@qq.com(wood)</author>
			<category><![CDATA[中间件 (Weblogic Websphere)]]></category>
			<pubDate>2010-05-23</pubDate>
			<guid>http://www.dushi365.net/blog/default.asp?id=261</guid>
		<description><![CDATA[<p><strong>进入控制台中停止：</strong><br />
<a href="http://localhost">http://localhost</a>:端口号/console进入网页控制后，依次按以下顺序进入<br />
Domain Configurations --&gt; Servers --&gt; 自定义服务名 --&gt; Control --&gt;&nbsp;&nbsp; Force shutdown of this server...<br />
接下来一路按Yes，完成后差不多过2~3秒网页自动刷新失败即是服务器被停止了</p>]]></description>
		</item>
		
			<item>
			<link>http://www.dushi365.net/blog/article.asp?id=260</link>
			<title><![CDATA[EPM  11.1.2.0 安装时报错：EPMINS-01001]]></title>
			<author>dushi365@qq.com(wood)</author>
			<category><![CDATA[EPM安装配置/备份恢复/迁移]]></category>
			<pubDate>2010-04-26</pubDate>
			<guid>http://www.dushi365.net/blog/default.asp?id=260</guid>
		<description><![CDATA[<p>Starting Upgrade check...<br />
Detected Oracle Home [d:\Hyperion] without .oracle.products.<br />
Upgrade is not supported.<br />
EPMINS-01001: One or more preinstallation checks failed. Review prerequisites that do not have a check mark, correct the errors, and continue with the installation.<br />
&nbsp;<br />
解决：<br />
删除之前的EPM产品后，删除&ldquo;系统变量&rdquo; HYPERION_HOME</p>]]></description>
		</item>
		
			<item>
			<link>http://www.dushi365.net/blog/article.asp?id=259</link>
			<title><![CDATA[在业务规则中选择Planning大纲报错：]]></title>
			<author>dushi365@qq.com(wood)</author>
			<category><![CDATA[Business Rules]]></category>
			<pubDate>2010-04-20</pubDate>
			<guid>http://www.dushi365.net/blog/default.asp?id=259</guid>
		<description><![CDATA[<p><strong>错误(hbrserver.log)内容:</strong><br />
2010-04-16 16:51:14,500 WARN [ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.security.HbrSecurityAPI - 按标识检索用户时出错<br />
<br />
<strong>参考解决方法：</strong><br />
document ID 763345.1 in metalink3 (My Oracle Support)</p>]]></description>
		</item>
		
			<item>
			<link>http://www.dushi365.net/blog/article.asp?id=258</link>
			<title><![CDATA[在Eas里创建Essbase透明分区时提示：无法打开对象文件]]></title>
			<author>dushi365@qq.com(wood)</author>
			<category><![CDATA[Essbase Administration Services]]></category>
			<pubDate>2010-04-19</pubDate>
			<guid>http://www.dushi365.net/blog/default.asp?id=258</guid>
		<description><![CDATA[<p><strong>错误内容：</strong><br />
[Mon Apr 19 16:53:52 2010]Local/ESSBASE0///Error(1053001)<br />
无法打开对象文件: CUB_A<br />
<br />
<strong>解决方法:</strong><br />
删除CUB_A数据库文件夹下的：dmf文件夹，*.ddb文件</p>]]></description>
		</item>
		
</channel>
</rss>
