eygle.com   eygle.com
eygle.com  
 
留言簿 - Powered by eYgLe.Com
eygle.com 我要留言
新书《循序渐进Oracle》即将出版
昵称
内容 页: 1 - << < 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 > >> - 351
# 43397
bing feng




To: eygle
  你好,
在pl/sql中取时间点的sql语句可以用
SELECT TRUNC(SYSDATE,'MM') FROM DUAL
我想问下有没有通用的取时间点的sql语句,
就是在别的数据库中也可以用的存sql语句,
谢谢啊!
From: bing feng
2007.06.26 12:51
To: bing feng
  没有能够完全通用的,不同的数据库有各自的特点,比如dual表别的数据库就不存在。
From: eygle
2007.06.27 13:40

版主选项: 回复 编辑
# 43396
Chi


来自: Mexico


To: Eygle
  I am using an old Solaris 8 machine as the location of any oracle file multiplexing and storage of RMAN.But I have zero experience of Solaris 8.This machine is about 6 years old, Can you provide some basic tools or utilitis (or quick reference) to diagnosis of the box?Check on the hardware and software condition. Thanks.
 
From: Chi
2007.06.26 07:11
To: Chi
  
Solaris自带了一些工具:
/usr/platform/sun4u/sbin/prtdiag
dmesg

能看到不少信息的。


From: eygle
2007.06.27 13:36

版主选项: 回复 编辑
# 42981
rocket




To:
  请盖老师讲解一下primary key与unique约束的具体区别和使用
From: rocket
2007.06.25 16:14
To: rocket
  
Primary key属于约束范畴,强制唯一,不能包含空值,主键会自动创建索引,一个表只能存在一个主键约束。
Unique约束限制唯一性,但是可以存在Null值,一个表中可以存在多个唯一键约束。

细致的区别还有很多。

From: eygle
2007.06.27 13:58

版主选项: 回复 编辑
# 42974
Chi


来自: Mexico


To: Eygle
  When doing the RMAN recovery/restore, We only recover/ restore the DB back to the status when we to the backup. so if we want to recover/restore back to the status as the moment of DB failure, we need to recover the un-backup archive log and the last active redo log too during the recovery process,assumed the mulitplexed archive log and redo log exist. But I am not sure what is the order.
1. in RAMN, recover / restore
2. in sqlplus start db mount
2. in sqlplus, restore the archivelog
3. recover the redo log
4. re-set log
5. database open
Please clarify, Thanks.
From: Chi
2007.06.24 03:11

版主选项: 回复 编辑
# 42964
Shirley




To: eygle
  请教,我配置了物化视图复制,原来是1小时,现改成1分钟,怎么就不复制了?
用的是
exec DBMS_DEFER_SYS.unschedule_purge;
exec DBMS_DEFER_SYS.SCHEDULE_PURGE (next_date => SYSDATE,interval => 'SYSDATE + 1/(24*60)',delay_seconds => 0);
select * from dba_repcatlog里没东西。该如何是好?
From: Shirley
2007.06.21 14:39

版主选项: 回复 编辑
# 42960
rain




To:
  eygle:
  前两天维户系统的时候发现,没有增加数据文件及大小,系统的使用率增加,分析了一下排除控制文件增长的情况,只有临时表空间的增长,查看了9i的文档,提到了在某些操作系统上了oracle会在占用临时文件的块时,分配文件空间,目前我们的系统是aix 系统,为了给客户确定的答复,我们需要确定哪些操作系统会有这种情况。我现在没有metalink的帐户,查不到相应oracle对这种情况的具体说明,希望根据你的了解给我一些说明好吗?
 谢谢!

 
From: rain
2007.06.20 16:08
To: rain
  
你指什么?
TEMP/UNDO如果不限制的话,都可能自增长,Datafile也可以自动扩展的阿。

From: eygle
2007.06.21 10:34

版主选项: 回复 编辑
# 42959
garylyell




To: eygle
  solaris10 下怎样安装 vnc?
From: garylyell
2007.06.20 13:53
To: garylyell
  没装过,有什么问题么?

Unix/Linux上装个VNC都是很容易的阿。
From: eygle
2007.06.21 10:35

版主选项: 回复 编辑
# 42956
Chi


来自: Mexico


To: Eygle
  Right now, we have 2 AIX boxes, same model, with almost identical hardwares, one Prod server and one Dev server. What is your opinion if we set up the Data Guard to convert them to Prod/Standby configuration? or just configure the Prod server with RMAN backup/recovery plan? What kinds of factor that I need to consider? Both Boxes have BAAN 5 and 10g R2. we also configure another Solaris 8 box as backup storage. Currently the Database is approx. 4 G ( from export)
From: Chi
2007.06.20 10:44

版主选项: 回复 编辑
# 42952
xujun206




To:
  standby db archivelog 跳号问题,现在从库不能自动恢复,日志有个错误Failed to request gap sequence ,而缺少的那些日志文件本身又不存在的,是因为主库跳号而引起的,我想问你,怎么样可以不用重做就可以解决问题啊 ??
From: xujun206
2007.06.19 11:06

版主选项: 回复 编辑
# 42951
ddwcyl




To: eygle
  hi eygle:
  我在oracle 8i 下面做调优的时候,建立trunc(col_1,'dd)类型的函数索引不能成功,用pl/sql dev 显示为 trunc(col_1,:1),在执行相应查询语句时根本没有用到索引,你遇到过相关的问题吗?能否解决.

From: ddwcyl
2007.06.18 16:49

版主选项: 回复 编辑

页: 1 - << < 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 > >> - 351
我要留言
Copyright © 2003-2008 eygle.com All Rights Reserved.
Powered by: www.eYgLe.com