dell inspirion 6400安装 windows xp 64 bit sp2详细记录(一)
dell inspirion 6400安装 windows xp 64 bit sp2详细记录 考虑到本人的笔记本使用的是core T5600的cpu,支持EM64T指令集(说明一下:只要支持EM64指令集的,都可以安装64位操作系统)。觉得以后一方面肯定是64位操作系统的天下;另一方面是要测试其它大型数据库,而xp 32bit 所支持的内存有限。所以就在自己的本本上安装测试了下。体验一下64位操作系统的性能。由于本本的用的时间比较长(超过3年),在此次安装过程中,主要问题是在于驱动程序方面的问题。下面会详细说明。[@more@]1.选择操作系统。目前可以选择的64bit操作系统有:win x
mysql 的错误真的不够详细. error 1005 errrno:121
帮同事调整一些sql,需要创建大量的表.有几个表创建时,总是报:error 1005 erron:121查了mysql的手册,知道 1005是什么意思 ,但就是不知道121代表什么.而且,同样是1005的错误,也有不同的erron.通过不断的减少sql语句的数量,找到导致错误的原因,原来是约束的foreign key 同其它的冲突.唉.这个mysql[@more@]
mysql 5.0 for power Desinger使用的数据库定义文件
mysql 5.0 for power Desinger使用的数据库定义文件把附件文件放在power Designer的数据库配置处就可以了[@more@]
根据表结构,自动生成导入脚本
以下脚本,自动生成sqlldr导入需要的ctl文件使用示例:exec DUMP_CTL('MY_DIR','a','AUTHEN','APPEND','|',P_ENCLOSURE => NULL,P_TERMINATOR => '|') ;[@more@]CREATE OR REPLACE PROCEDURE DUMP_CTL( P_DIR IN VARCHAR2, P_FILENAME IN VARCHAR2, P_TNAME IN VARCHAR2, P_MODE IN VARCHAR2, P_SEPARATOR IN VARCHAR2, P_ENCLOSURE IN VARCHAR2, P_TERMINATOR IN VARCHAR2)IS
oracle 10g 添加:自定义聚集函数
oracle 10g 添加:自定义聚集函数Oracle® Database Data Cartridge Developer's Guide,10g Release 2 (10.2)Part Number B14289-0222 User-Defined Aggregate Functions Interface[@more@]同上.好强大的一个改进啊.
转:对字符串的“sum”——在Oracle中自定义聚集函数的例子
Oracle的定制功能十分强大。,oracle不但允许用户定制自己的函数,还可以定制自己的聚集函数和分析函数。 [@more@]
转:10g新增功能实现字符串连接
10g新增功能实现字符串连接SQL> SELECT * FROM V$VERSION;BANNER----------------------------------------------------------------Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - ProdPL/SQL Release 10.2.0.1.0 - ProductionCORE 10.2.0.1.0 ProductionTNS for 32-bit Windows: Version 10.2.0.1.0 - ProductionNLSRTL Version 10.2.0.1.0 - ProductionSQL> DESC WMSYS.WM_CONCATFUNCTION WMSYS.WM_CONCAT RETURNS VARCHAR2参数名称 类型 输入/输出默认值?------------------------------ ----------------------
books.google.com
books.google.com 强大的电子书图书馆.大家在上面可以找到很多想看的书.不仅仅是oracle. 的.[@more@]
pl/sql developer 分析的执行计划不可信
本来要测试一个功能的并行处理能力select v_time, round(WANGJIANYINGDA_NUM1 / WANGJIANYINGDA_NUM2, 2) WANGJIANYINGDA_NUM1, WANGJIANYINGDA_NUM2 from (SELECT /*+ PARALLEL(ZXCDR_ii, 4) */ SUBSTR(IAM_DATE, 1, 13) as v_time, COUNT(case when anm_date is null then 1 end) AS WANGJIANYINGDA_NUM1, COUNT(1) AS WANGJIANYINGDA_NUM2 FROM ZXCDR_ii t WHERE t.iam_date between
oracle support nologging ddl dml
oracle 以下操作中,不产生redo log[@more@]DML:Direct-path INSERT (serial or parallel) Direct Loader (SQL*Loader) DDL:CREATE TABLE ... AS SELECT CREATE TABLE ... LOB_storage_clause ... LOB_parameters ... NOCACHE | CACHE READS ALTER TABLE ... LOB_storage_clause ... LOB_parameters ... NOCACHE | CACHE READS (for specify logging of newly created LOB columns) ALTER TABLE ... modify_LOB_storage_clause ... modify_LOB_parameters ... NOCACHE | CACHE READS (to change logging of existing LOB columns) ALTER TA
oracle with 子查询用法
subquery_factoring_clauseThe WITH query_name clause lets you assign a name to a subquery block. You can then reference the subquery block multiple places in the query by specifying the query name. Oracle Database optimizes the query by treating the query name as either an inline view or as a temporary table.You can specify this clause in any top-level SELECT statement and in most types of subqueries. The query name is visible to the main query and to all subsequent subqueries except the subquery
oracle 流复制
测试环境: oracle linux 虚拟机192.168.1.4,192.168.1.5oracle 10.2.0.3alter system set global_names=true scope=both;show parameter COMPATIBLEshow parameter jobalter system set streams_pool_size=15 scope=memory;[@more@]归档日志模式GRANT DBA TO strmadmin IDENTIFIED BY strmadmin; EXEC DBMS_STREAMS_ADM.SET_UP_QUEUE();到目的服务器上的连接CREATE DATABASE LINK db10rac CONNECT TO strmadmin IDENTIFIED BY strmadmin USING 'ora10g_5';在源端配置用户传送的信息BEGINDBMS_STREAMS_ADM.ADD_SCHEMA_PROPAGATION_RULES(
10g duplicate .快速的恢复与创建备份数据库
测试环境: 2 台 linux (192.168.1.4,192.168.1.5) , oracle 10.2.0.31.备份主库.swithc logfilebackup full database;2. 创建一个空的备库.dbca3.配置tnanames.ora使得主库可以rman到从库.4. 将主库的备份文件传到备库相同目录.5.启动备库到 nomount状态下.6.通过主库复制备库.7.打开备库.有条件的使用resetlogs.以下是整个操作的日志.[@more@]backup full database;dbca./-----------------------------------------------------------------------------------------------------------------------------/RMAN> d
oracle 10g linux 远程登录 ORA-01031: insufficient privileges
今天测试一下新功能.10g的.通过一个linux客户端访问一个linux下的orace 10g数据库. 服务器:192.168.1.5从192.168.1.4访问1.5 oracle@oradb admin]$ sqlplus "sys/sysdba@ora10g_5 as sysdba"SQL*Plus: Release 10.2.0.3.0 - Production on ÐÇÆÚÎå 3ÔÂ 27 05:12:54 2009Copyright (c) 1982, 2006, Oracle. All Rights Reserved.ERROR:ORA-01031: insufficient privilegesEnter user-name: ERROR:ORA-01017: invalid username/password; logon denied[@more@]检查了下系统配置,的
oracle ORA-00824 问题解决 (二)
上次在 oracle ORA-00824 问题解决 (一) 确认了*.statistics_level='BASIC'导致数据库ora-00824的原因,但不知道为什么.在数据库启动后,重新设置*.statistics_level='BASIC',以减少数据库stat的级别.[@more@]这时,发现:SQL> alter system set statistics_level='BASIC' scope=both;alter system set statistics_level='BASIC' scope=both*ERROR at line 1:ORA-02097: parameter cannot be modified because specified value is invalidORA-00830: cannot set statistics_level to BASIC with auto-tune SGA enabled系统根本就不让在sga_
oracle ORA-00824 问题解决 (一)
今天启动一个linux下数据库,startup 后,报上述错误,一直不知道什么原因.[oracle@oradb dbs]$ sqlplus "/ as sysdba"SQL*Plus: Release 10.2.0.3.0 - Production on ÐÇÆÚËÄ 3ÔÂ 26 01:37:42 2009Copyright (c) 1982, 2006, Oracle. All Rights Reserved.Connected to an idle instance.SQL> startup ORA-00824: cannot set sga_target due to existing internal settings, see alert log for more informationSQL> exit按照上面的提示,在alert_orcl.log中也没有找到什么消息
oracle deterministic关键字.
在看thomas kyte 的<<oracle 高级编程>>时,发现在它的书就提到的一个关键字.deterministicDETERMINISTIC Clause Specify DETERMINISTIC to indicate that the function returns the same result value whenever it is called with the same values for its arguments.You must specify this keyword if you intend to call the function in the expression of a function-based index or from the query of a materialized view that is marked REFRESH FAST or ENABLE QUERY REWRITE. When Oracle Database encounters a det
oracle reverse函数
oracle 提供一个reverse函数,可以实现将一个对象反向转换.比如:SQL> select reverse('123456') from dual;REVERSE('123456')-----------------654321[@more@]由于这个函数,是针对数据库内部存储的对象编码进行反转的,因此,在比如:数字,中文等.因为实现存储的并不是直接编码后的结果,而是经过某种内部转换后实现的,因此,在转换完成后,并不一定是自己想要的结果.示例:SQL> select reverse(123456) ,reverse('中华人民共和国') from dual;REVERSE(123456) REVERSE('中华人民共和国')--------------- --------------------------6687060
ibm 取消IBM http Server,直接使用websphere实现用户直接输入IP,连接到网页.
给用户发布一个应用,由于最先是使用http Server+websphere.用户输入ip地址后,通过httpServer并请求转移到websphere.实现应用..最近通过扫描,发现httpServer有N多漏洞,于是决定取消httpServer,只使用websphere,看是否能实现用户只输入ip地址,就可以访问.[@more@]经过实验,的确可以.需要做以下工作:1.修改websphere的监听端口.比如:以前通过httpServer转时,端口为9080,则现在就讲这个端口设置为80.2.修改应用程序部署的位置.比如:部署一个test.war部署位置为/test在只使用websphere时,则需要将部署的位置设置为: / 这样就可以实现了.另外,如
IBM AIX 5L ipsec总结
IBM AIX 5L ipsec总结 最近使用ibm 自带的ipsec限制服务器接入.在测试过程中,总是发生N多问题,经过不断调试,完成工作,并将其总结如下: [@more@]