[转]设置备用归档路径的方法
Oracle可以设置备用归档路径,如果首要归档路径不可用,可以自动切换到备用路径,而平时备用路径不启用,这在一些对高可用要求比较高的环境中还是有实用价值,无法正确归档将会导致数据库挂起。启用该特性需要配置...
Oracle system帐号一直被锁
Oracle2003 EE SP2oracle10.2.0.3 现象:system帐号平均十几分钟被锁一次查看system profile为default,全部是默认设置查看user$表中system lcount值会增长,直到10,system再次被锁,unlock后反复出现同样...
oracle默认用户
UsernamePasswordDescriptionCTXSYSCTXSYSThe Oracle Text accountDBSNMPDBSNMPThe account used by the Management Agent component of Oracle Enterprise Manager to monitor and manage the da...
10g kernal参数调整
For the successful operation of the Oracle 10g database software on Linux-based systems, Oracle recommends the customization of the kernel parameters shown in this Table:Kernel Parameter Recom...
帐号经常被lock
PDM测试环境最近频繁出现PDMEPO帐号被锁的情况,确定开发人员没有管理员权限,相信应用是不知道怎么锁定帐号的,但是每过一段时间帐号就被锁了,需要解锁,很疑惑。查看了一下用户的profile,default的,而这台DB是...
EXP导出错误
WINDOWS2003,ORACLE9201导出时发生错误:C:\Documents and Settings\Administrator>exp system/oracle@test file=dst.dmp wner=maggie statistics=noneExport: Release 9.2.0.1.0 - Production on 星期二 8月 18...
SQLSERVER批量授权
将某用户下所有用户表增删查改权限授予另一个用户DECLARE ACUR CURSOR FOR SELECT name FROM SYSOBJECTS WHERE...
JobsNotExecuting Automatically
metalink文档ID:注释:313102.1SymptomsJobs arenolonger executing automatically.Ifforced(execdbms_job.run(<enter here jobnumber>);),theseexecutefine.CauseTryingthemost common reasons why jobs don't execu...
SQLSERVER的max degree of parallelism参数
当 SQL Server 在具有多个微处理器或 CPU 的计算机上运行时,它将为每个并行计划执行检测最佳并行度(即运行一个语句所使用的处理器数)。您可以使用 max degree of par...
oracle自建表空間
cwmlite 用于联机分析处理(OLAP) drsys 用于存放与工作空间设置有关的信息 example 实例表空间,存放实例信息 index 索引表空间,存放数据库索引信息 system 系统表空间,存放表空间名称.所含数据文件等管理信息 ...
ORACLE OS验证
本文来自CSDN博客 OS验证指的是Oracle数据库不再自行检查请求用户的合法性,而是将此过程委托给用户所在的操作系统,由操作系统代理完成用户合法性的检查工作。...
[转]checkpoint 详解
什么是checkpoint 在数据库系统中,写日志和写数据文件是数据库中IO消耗最大的两种操作,在这两种操作中写数据文件属于分散写,写日志文件是顺序写,因此为了保证数据库...
和UNDO有关的一些参数
1. undo_management指定UNDO数据的管理方式.(自动管理模式:AUTO;手动管理模式:MANUAL)使用自动管理模式时,oracle会使用undo表空间管理undo;使用手工管理模式时,oracle会使用回滚段管理undo数据,需要注意,使用...
Ad hoc updates to system catalogs are not enabled
一段代码,用于禁止用户登录,执行时报以下错误:Executed as user: NT AUTHORITY\SYSTEM. Configuration option 'allow updates' changed from 1 to 1. Run the RECONFIGURE statement to install. [SQLSTATE 01000...
生成创建索引的脚本
create proc p_helpindex@tbname sysname ='' ,@CLUSTERED int = '1'as--生成索引信息及索引创建脚本 --author : happyflystone-- Http://blog.csdn.net/happyflys...
SQLSERVER中统计所有表的记录数
http://www.diybl.com/course/7_databases/sql/sqlServer/2007926/73855_3.html 曾经试着写过一个存储过程,作用就是删除所有表的内容,思路是这样的: 首先通过sysobjects表构造一个sql语句字符串...
系统表sysindexes
数据库中的每个索引和表在表中各占一行。该表存储在每个数据库中。列名 数据类型 描述 id 表 ID(如果 i...
number(p,s)意义
number(p,s) p:1~38 s:-84~127 p>0,对s分2种情况分析: 1. s>0 精确到小数点右边s位,并四舍五入。然后检验有效数位是否<=p;假如s>p,小数点右边至少有s-p个0填充。 2. s<0 精确到小...
insert引起的死锁
alert 日志中发现以下报错信息:Wed Jun 3 11:02:14 2009ORA-00060: Deadlock detected. More info in file /u01/product/admin/wind/udump/wind_ora_18786.trc. 文件/u01/product/admin/wind/udump/w...
SQL SERVER TEMPDB滿的處理
现象:进行查询等操作时,提示““The log file for database 'tempdb' is full.Back up the transaction log for the database to free up some log space.”进入企业管理器查看,database下显示no i...