摘要: 公司需要在别人的机器上使用sa来访问我的数据库,但是中间出现了很多问题,什么 233 ,18456 等等,很痛苦,不过最终被解决了,下面是总的步骤。(此处以sa为例)使用“ . ”或者 ”电脑名”或者”IP”,通过Windows Authentication登陆,不要使用带 (“ . ”或者”电脑名”或者”IP”)\SQLEXPRESS来登陆,SQLEXRESS是微软的免费版。登陆后,找到Security > Logins,找到sa用户,修改密码;选择 status,Permission to connect to database engine:Grant;Login :Enabled 阅读全文
posted @ 2012-06-28 07:18 sqlite例子 阅读(245) 评论(0) 推荐(0) 编辑
摘要: NET下基于OO4O,FME,ODP.NET的Oracle Spatial空间数据读取操作using System;using System.Collections.Generic;using System.Text;using System.Reflection;using Safe.FMEObjects;using System.Collections.Specialized;using System.Xml;using Oracle.DataAccess.Client;using OracleInProcServer;namespace CSharpReader_Writer{ cl.. 阅读全文
posted @ 2012-06-28 01:42 sqlite例子 阅读(343) 评论(0) 推荐(0) 编辑
摘要: 一.问题描述在Oracle Linux 6.1 上安装11.2.0.1 的RAC,在安装grid时执行root.sh 脚本,报错,如下:[root@rac1 bin]#/u01/app/11.2.0/grid/root.shRunning Oracle 11g root.sh script...The following environment variables are setas:ORACLE_OWNER= oracleORACLE_HOME= /u01/app/11.2.0/gridEnter the full pathname of the local bindirectory: [/ 阅读全文
posted @ 2012-06-27 20:07 sqlite例子 阅读(1566) 评论(0) 推荐(0) 编辑
摘要: Oracle 11.2.0.1 的RAC,运行root.sh时报错,如下:[root@rac1 oracle]#/u01/app/11.2.0/grid/root.sh Running Oracle 11g root.sh script...The following environment variables are setas:ORACLE_OWNER= oracleORACLE_HOME= /u01/app/11.2.0/gridEnter the full pathname of the local bindirectory: [/usr/local/bin]: The file &q 阅读全文
posted @ 2012-06-27 20:01 sqlite例子 阅读(580) 评论(0) 推荐(0) 编辑
摘要: 一.问题描述在Oracle Linux 6.1 上安装11.2.0.1的RAC,在第二个节点执行root.sh时,报time out,如下:[root@rac2 ~]# /u01/app/11.2.0/grid/root.shRunning Oracle 11g root.sh script...The following environment variables are setas:ORACLE_OWNER= oracleORACLE_HOME= /u01/app/11.2.0/gridEnter the full pathname of the local bindirectory: [ 阅读全文
posted @ 2012-06-27 19:56 sqlite例子 阅读(714) 评论(0) 推荐(0) 编辑
摘要: Each 32-bit ODAC client download below supports connectivity to Oracle Database versions 9.2, 10.1, 10.2, and 11.1, and 11.2.url:http://www.oracle.com/technetwork/database/windows/downloads/index-101290.htmlODAC 11.2 Release 4 (11.2.0.3.0) with Oracle Developer Tools for Visual StudioDownload the Fi 阅读全文
posted @ 2012-06-27 11:24 sqlite例子 阅读(659) 评论(0) 推荐(0) 编辑
摘要: 访问Oracle Spatial中的SDO_GEOMETRY字段的方法(windows下)引用url:http://iihero.iteye.com/blog/995152博客分类: OracleOracleWindowsSQL.netJDBC1.使用oci或者occi,在安装oracle后可以在oraclehome\md\demo\examples目录下参考其C++实现,该方法效率最高,但实现比较复杂;2.使用Oracle提供的OO4O,是com,在vb6代码如下:'*********************************************************** 阅读全文
posted @ 2012-06-27 11:00 sqlite例子 阅读(417) 评论(0) 推荐(0) 编辑
摘要: 一.问题描述 在VBox 上安装Oracle 11.2.0.1 的RAC, 在SSH 配置时报错:INS-06006: Passwordless SSHconnectivity not set up between the following node(s) 注意:这里奇怪的表现是我们setup是成功,仅仅是Test 失败。二.测试一尝试在2个节点手工的执行测试命令:[oracle@rac1 ~]$ ssh rac2 dateTue Jun 26 19:48:01 CST 2012[oracle@rac1 ~]$ ssh rac1 ... 阅读全文
posted @ 2012-06-26 20:47 sqlite例子 阅读(1047) 评论(0) 推荐(0) 编辑
摘要: 一.DirectPath Reads 说明在oracle 11g以前的版本中,如果对大表进行全表扫描,wait event是:db file scattered read;在11g中,如果对大表进行全表扫描,wait event是:direct path read;即在11g中,大表全表扫描是将数据块直接读入会话的pga区域。(具体的查看方法参考后面的示例)。 在11g中,大表全表扫描时数据块不经过sga而直接进pga,这样会造成每次进行大表全表扫描,物理读都是很大,而在10g中,由于全表扫描的数据块在sga中已经存在,所以执行全表扫描时,它的物理读为0。 但是这里主要是oracle在优化策略 阅读全文
posted @ 2012-06-25 16:46 sqlite例子 阅读(212) 评论(0) 推荐(0) 编辑
摘要: This chapterexamines the mechanisms Oracle uses to create the linked liststhrough undo records and, most importantly, how the code locates the end pointsof those lists. --这一章主要看一下Oracle 创建和linked undo records,并且确认undorecords list的结束点。在前面的blog里提到Oracle 采用这种UNDO 机制的3个原因:readconsistency 和 Rollback,最后.. 阅读全文
posted @ 2012-06-25 15:16 sqlite例子 阅读(508) 评论(0) 推荐(0) 编辑