Quantcast
Channel: DBA Sky » Baallord
Browsing all 20 articles
Browse latest View live

vi with “incomplete last line”

起因: 一个shell脚本要从一个配置文件中读一些信息,然后来处理,可是我发现相同的脚本在两个不同的server上有不同的结果,其中一个server上能正常处理,可是另一个server却不能正确处理这个配置文件中的最后一行。 探索: 于是我猜测是不是两个server上的配置文件有差别,首先我用ls -l...

View Article



How to get the number of fields of a line?

You may have this requirement: get how many fields in a line, Just a simple example: line1 = How are you line2 = How old are you line3 = How to tell you now, consider above lines, line1 has 3 fields...

View Article

单反装逼把妹指南【转】

单反装逼把妹指南,祝大家光棍节愉快 前言: 本人从00年开始玩数码相机,之后一直致力于从事摄影装逼这一光荣的职业,在此将自己多年总结的经验传授给大家,让大家在这条光辉的道路上少走弯路,一逼到底。...

View Article

How to get oracle cluster name?

Using following command can get the clustername 1 $CRS_HOME/bin/cemutlo -n You can refer to the commands in this script 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30...

View Article

Now,For OCM

从今天开始准备OCM, 这周先把虚拟机环境搭建起来,然后从下周开始一个section,一个section的过,年底考试,这是今年很重要的一个目标,加油!

View Article


How to get hostid on solaris?

Hostid on solaris is like the hostname, you can use following 2 ways to get the hostid of a solaris system. 1.use hostid command 1 2 testbed_oracle 136 :hostid 85af53aa 2. use “sysdef -h” command 1 2 3...

View Article

深度解析ORA-00054: resource busy and acquire with NOWAIT specified

应该很多同学都碰到过ora-0054 error, 但你认真研究过它吗?很多同学会想当然的认为,要访问的资源(表或者索引或者其他)被锁了呗,这有什么好研究的?也不能说你错,但是具体情况你都了然了么? 先来研究下这个错误的字面意思 ORA-00054: resource busy and acquire with NOWAIT specified...

View Article

Maximizing SQL*Loader Performance

from:http://www.remote-dba.net/teas_rem_util18.htm Maximizing SQL*Loader Performance SQL*Loader Maximizing SQL*Loader Performance SQL*Loader is flexible and offers many options that should be...

View Article


find mtime等时间算法谨记

转自http://top100.itpub.net/post/4379/45437 经常忘记时间的算法,故记录于此,便于查阅。愿以谨记! SYSDATE SYSDATE-TO_DATE(20051010,’YYYY 1 2005-11-10 15:28:45 31.6449652777778 $ll total 288 -rw-r–r– 1 user user 1610 Oct 1 12:46...

View Article


Soft links and hard links

Soft Links: Soft Links can be created across file systems. Soft link has a different inode number than the original file. On deleting the original file, soft link cannot be accessed. Soft link needs...

View Article

How to skip SQL statements on logical standby database

Use DBMS_LOGSTDBY.SKIP procedure to skip tables that you do not want to apply to the logical standby database. Here are the lists of the types that can be skipped on logical standby database: DML or...

View Article

8月

8月马上就要过去了,一年也已经过去了三分之二,想想一年的计划,似乎都还躺在计划里,幸好这个月完成了一件大事,8月28号,很吉利的数字,过程很辛苦,但也乐在其中。 想想人生,始终应该更乐观一些,对待生活更积极一些。努力去做一些自己喜欢做的事情,最伤不起的唯有等待。 要走更积极向上的人生,是以为记。

View Article

又是一年中秋到

中秋节到了,大家中秋快乐!一年也到了收尾的季节,想想忙忙碌碌的一年,好多想要干的事又没有干,又不免伤感。

View Article


Using dbms_shared_pool.purge in 10.2.0.4

As you may know, we can use dbms_shared_pool.purge in 11g, but do you know that we can also use this procedure in 10.2.0.4. following is the steps: 1. create dbms_share_pool.purge procedure. SQL>...

View Article

NAS and NAS vs. SAN

From wikipedia:http://en.wikipedia.org/wiki/Network-attached_storage A NAS unit is a computer connected to a network that provides only file-based data storage services to other devices on the network....

View Article


linux awk 内置函数详细介绍(实例)

转自:http://www.cnblogs.com/chengmo/archive/2010/10/08/1845913.html 这节详细介绍awk内置函数,主要分以下3种类似:算数函数、字符串函数、其它一般函数、时间函数 一、算术函数: 以下算术函数执行与 C 语言中名称相同的子例程相同的操作: 函数名 说明 atan2( y, x ) 返回 y/x 的反正切。 cos( x ) 返回 x...

View Article

ORA-39213: Metadata processing is not available

今天做expdp 导出的时候碰到一个ORA-39213的错误 ORA-39213: Metadata processing is not available 这个错误以前没有碰到过,文档上查询一下这个错误代码会有一个解决办法 39213, 00000, “Metadata processing is not available” // *Cause: The Data Pump could not...

View Article


Configure Disk Quota For UFS File System

How do I configure file system quotas to control how much available storage space can be used on a given UFS file system (such as /export/home) under Solaris UNIX operating systems? A disk quota is...

View Article

积极一点——让生活更舒适

from www.douban.com/note/206956527/‎ “我曾以为买了什么东西会让我更幸福,后来发现什么都不行。” 真的只为了金钱和权力的话,也许能带来短期的满足,可是长期呢。单纯追求金钱和权力的人,会在一段时间以后,内在潜力消失、能力水平下降、创造力被扼杀、善行被抑制、喜欢欺诈走捷径、对权力金钱上瘾、越来越短视…… 现在,是回归到考虑我们为什么是人这个问题了。...

View Article

Image may be NSFW.
Clik here to view.

segment header

我们知道表空间的segment space管理方式有 FLM 和ASSM两种: 1. Free List Managed (FLM) FLM 2. Automatic Segment Space Managed(ASSM) ASSM 1 2 3 4 5 6 7 8 9 10 SQL> select...

View Article
Browsing all 20 articles
Browse latest View live




Latest Images