10/26/2005

 

New Box And Storage

My deptartment buy two Dell Itanium2 boxes and EMC storage 1.5 TB. I' m busy config these machine these days. I will config Oracle 10g RAC on Dell. It's a big challenge.

10/21/2005

 

Quake 4 Linux

Quake 4 for GNU/Linux is available now!
Very well.more info

10/20/2005

 

HTML DB programming concept

这几天一直在从全局的角度考虑HTML DB程序设计架构,如何才能最大限度的利用HTML DB为我们带来的便利。现总结想法如下:
  1. HTML DB程序设计最基本的组件是页,以页为单位展开,页相当于整个程序的view,后台逻辑由PL/SQL完成,在页中引用。
  2. HTML DB解决了基于web的PL/SQL开发中控制session状态的难题,这样开发人员可以专注于业务逻辑的处理。
  3. 使用HTML DB进行开发,一定要熟练掌握HTML,JavaScript,SVG等。
开始干了,加油 :)

10/19/2005

 

Auto startup 10gR2 on Linux

从8i开始,Linux下数据库自动启动就没搞成过 :(
10gR2了,抱着再试试的想法,今天又试了试,呵呵,成了。
现总结如下
系统配置:
Redhat Linux AS3(Update5)
Oracle Database 10g Release2
  1. 首先就像Oracle文档中所述,把/etc/oratab中相应SID的启动标志设为Y,然后
    以ORACLE_SID身份执行dbstart和dbshut,看数据库能否正常启动和关闭。
  2. 如果上一步能正常启动,则切换到根用户下,保存下面脚本到/etc/init.d目录下
    注意更改脚本中相应的变量。然后用根用户执行脚本,看能否启动数据库。
    ---------------Oracle Autostart Script Start--------------------
    #!/bin/bash
    #
    # chkconfig: 2345 96 10
    # description: Oracle auto startup script
    #
    # Set ORACLE_HOME to be equivalent to the ORACLE_HOME
    # from which you wish to execute dbstart and
    # dbshut
    # set ORACLE_SID to the user id of the owner of the
    # Oracle database in ORACLE_HOME
    ORACLE_HOME=/u0/db/10.2.0.1
    ORACLE_SID=oradb
    if [ ! -f $ORACLE_HOME/bin/dbstart -o ! -d $ORACLE_HOME ]
    then
    echo "Oracle startup: cannot start:"
    exit
    fi
    case "$1" in
    'start')
    # Start the Oracle databases:
    su -l $ORACLE_SID -c $ORACLE_HOME/bin/dbstart
    ;;
    'stop')
    # Stop the Oracle databases:
    su -l $ORACLE_SID -c $ORACLE_HOME/bin/dbshut
    ;;
    esac
    ---------------Oracle Autostart Script End--------------------
  3. 执行chkconfig --add script-name,用ntsysv命令查看脚本是否添加正确。
  4. 这个脚本可以正常启动数据库,但是在reboot时不能正常关闭数据库,继续
    实验中

10/17/2005

 

Shenzhou-6 spacecraft lands safely after successful mission

Cheers!
China's space explorations

10/12/2005

 

China sends two astronauts into space

It is the pride of all chinese
Some information in here.
China's space explorations

 

Configure HTML DB 2.0 On Oracle Application Server 10g Release 2

当我按照Oracle文档安装HTML DB2.0时,配置到marvel.conf时,发现在我的Oracle Application Server 10g Release 2相应目录中找不到这个配置文件。在HTML DB How-to's里发现可以通过拷贝随数据库安装的HTTP Server中的相应文件完成配置。但我的10gR2数据库安装并未安装Companion CD,也没打算装 :).
经过实验,我用如下方法完成了配置:
  1. http://download-west.oracle.com/docs/html/B16375_01/post_inst.htm#sthref129
    首先按文档配置,直到上面连结所示的步骤
    4.4.2 Oracle HTTP Server 10g Release 1 or Oracle Application Server 10g
  2. 我们只需要改变4.4.2小节的1-6步
    1. 由于没有marvel.conf配置文件,所以这一步删去
    2-4. 直接把需要增加的项加入到http.conf文件中
    5. 这一步就是创建DADs标识,这一步可直接在Oracle Enterprise Manager 10g Application Server Control中添加,不需要修改配置文件。这里需要说明的是,由于As10gR2已经不用在每个PL/SQL Web Application前面加上pls的前缀,因此我们并不一定按照文档中描述的设定,可以任意设置Location。从这里可以看到Oracle产品的 进步亚 :)
    6.删去.
  3. 后面都照文档就可以了,要注意,如果你更改了Location,则访问时要注意修改相应的链接。

 

一个非常好的关于HTML DB的blog

Sergio's Blog
这里有很多关于HTML DB的提示,例子,强烈推荐

 

To People Using English

I'm Chinese, so most artical writed by chinese.Thought i can read English artcial, writing in English isn't my skill until now. But I will try to write in English more and more, I think you will read some articals in English on my blog soon.

10/10/2005

 

Online Survey System

最近正做一个网上调查系统,由于HTML DB刚刚配置好,还不是太熟练,仍然用PL/SQL + mod_plsql实现。

10/08/2005

 

开篇感言

从开始工作到现在,一直在学习、使用Oracle产品,从DB到AS,也做了一些项目开发,总结下来,个人认为Oracle开发的灵魂仍是PL/SQL,但在PL/SQL的开发中,Web页面的生成总感觉不太顺手,所幸现在有了HTML DB这样的好产品,因此申请此blog,与所有开发、学习者共享自己在使用HTML DB和Oracle数据库中一些心得 :)

This page is powered by Blogger. Isn't yours?