忙了一整天,跟老婆说,如果有一种机器或法术,让我一按,就可以把饭做好,把碗筷洗好,把衣服叠好,把地拖好,那就好了。
这时,旁边的儿子就插嘴了,“如果甘,爹地攞厘做什么。”
把我们都笑翻了。天啊,原来老豆我在儿子眼里就跟菲佣没什么区别。
Wednesday, June 10, 2009
Tuesday, June 9, 2009
Data Warehouse Best Practice (1) -- Partition exchange load
--From Oracle DW Best Practices White Paper
Steps:
1. Create external table for the flat file data coming from the online system
2. Using CTAS statement, create a non-partitioned table that has the same column structure as Sales table
3. Build any indexes that are on the Sales table on the temp_sales table
4. Gather optimizer statistics on the temp_sales
5. Issue the exchange partition command:
ALTER table Sales EXCHANGE partition May_24_2009 with table temp_sales including indexes without validation;
The last step does not physically move data, it simply updates the data dictionary to reset a pointer from the partition to the table and vice versa. So it is a sub-second operation and far less likely to impact performance than any traditional data-movement approaches such as INSERT.
Steps:
1. Create external table for the flat file data coming from the online system
2. Using CTAS statement, create a non-partitioned table that has the same column structure as Sales table
3. Build any indexes that are on the Sales table on the temp_sales table
4. Gather optimizer statistics on the temp_sales
5. Issue the exchange partition command:
ALTER table Sales EXCHANGE partition May_24_2009 with table temp_sales including indexes without validation;
The last step does not physically move data, it simply updates the data dictionary to reset a pointer from the partition to the table and vice versa. So it is a sub-second operation and far less likely to impact performance than any traditional data-movement approaches such as INSERT.
Monday, June 8, 2009
在雨中起舞
Life is not about waiting for the storms to pass...it's about learning how to dance in the rain.
以前对这句话没有太深的感触,直到有了四条化骨龙。总跟自己说,等他们会走路了,就好了,就有时间了。等他们上学了,就会有时间了。等他们可以自己穿衣服了,就会有时间了。如果总是等,等,等。等到我的头发都全白了的时候,可能我才发现,我已经没有精力或激情了。
开始学习在雨中起舞。挤时间看想看的书,做想做的事,看想看的风景,见思念的人。享受和家人在一起的安排的密密麻麻的时间表。享受帮他们穿裤子,收拾玩具的时间。享受他们的纠缠和没完没了的问题。享受他们跟我说,爸爸,我长大结婚了还要和你一起住。
呵呵,很快,他们就会长大,不和我一起住了。所以要珍惜现在的繁忙。
以前对这句话没有太深的感触,直到有了四条化骨龙。总跟自己说,等他们会走路了,就好了,就有时间了。等他们上学了,就会有时间了。等他们可以自己穿衣服了,就会有时间了。如果总是等,等,等。等到我的头发都全白了的时候,可能我才发现,我已经没有精力或激情了。
开始学习在雨中起舞。挤时间看想看的书,做想做的事,看想看的风景,见思念的人。享受和家人在一起的安排的密密麻麻的时间表。享受帮他们穿裤子,收拾玩具的时间。享受他们的纠缠和没完没了的问题。享受他们跟我说,爸爸,我长大结婚了还要和你一起住。
呵呵,很快,他们就会长大,不和我一起住了。所以要珍惜现在的繁忙。
Thursday, June 4, 2009
SAP R/3 Database Admin Lab Mind Map
BR*Tools Mind Map
SAP BASIS Study Notes 1 --Adjusting Tablespace
Issue:
We got warning emails saying that a tablespace may be out of free space soon.
Background:
A shell script runs nightly to verify the free tablespace of the database. If free space is less than 75% of recommended threshold number, it will send out an email to DBAs. The recommended threshold number is determined by 4 times monthly data growth.
Solutions:
Use BR*Tools to resize the data file or extend the tablespace.
Steps:
We got warning emails saying that a tablespace may be out of free space soon.
Background:
A shell script runs nightly to verify the free tablespace of the database. If free space is less than 75% of recommended threshold number, it will send out an email to DBAs. The recommended threshold number is determined by 4 times monthly data growth.
Solutions:
Use BR*Tools to resize the data file or extend the tablespace.
Steps:
- su to production account;
- Start brtools and choose 2 - Space management;
- Then choose 5 - alter data file;
- Then BRSPACE asks you to enter input values; I picked 4 ~ Tablespace names and paste the tablespace name;
- typed "c" to continue several times till we see menu 314;
- Choose 5-Resize data file;
- picked the data file;
- entered the new size for the option with "?";
- verified the sql statement is correct, and "c"ontinued;
- got the successful message;
- exit the program.

Subscribe to:
Posts (Atom)
Added more to my mindmap tool
This essay version allows you to add long essays to each topic. https://www.free-mindmap.com/Mindmap4LawSchoolEssay.html As I promised, the...
-
Which three actions are performed by the Oracle Preinstallation RPM, oracle-database-server-xxxx-preinstall , for Oracle Grid Infrastructure...
-
This script shows you information about your memory configurations, current usage, adviser views, etc. Before jumping into any conclusions, ...
-
Which two are true about the Automatic Database Diagnostic Monitor (ADDM)? (Choose two.) A. It analyzes a period of time corresponding to ...
