摘要: CASE WHEN might lead to wrong outer join result in 11.2.0.2. This article gives an working example. 阅读全文
posted @ 2012-09-03 20:55 FangwenYu 阅读(416) 评论(0) 推荐(0) 编辑
摘要: Notes on -- Chapter13: MySQL Server Status 阅读全文
posted @ 2012-09-03 20:54 FangwenYu 阅读(402) 评论(0) 推荐(0) 编辑
摘要: Notes on -- Ch12: Security 阅读全文
posted @ 2012-09-03 20:53 FangwenYu 阅读(327) 评论(0) 推荐(0) 编辑
摘要: Notes on -- Chapter11: Backup and Recovery 阅读全文
posted @ 2012-09-03 20:52 FangwenYu 阅读(183) 评论(0) 推荐(0) 编辑
摘要: Notes on -- Chapter10: Application-Level Optimization 阅读全文
posted @ 2012-09-03 20:51 FangwenYu 阅读(177) 评论(0) 推荐(0) 编辑
摘要: Notes on -- Chapter9: Scaling and High Availability 阅读全文
posted @ 2012-09-03 20:50 FangwenYu 阅读(318) 评论(0) 推荐(0) 编辑
摘要: Notes on -- Chapter8: Replication 阅读全文
posted @ 2012-09-03 20:48 FangwenYu 阅读(803) 评论(0) 推荐(0) 编辑
摘要: Notes on -- Chapter 7: Operating System and Hardware Optimization 阅读全文
posted @ 2012-07-08 12:17 FangwenYu 阅读(279) 评论(0) 推荐(0) 编辑
摘要: Notes on -- Chapter 6: Optimizing Server Settings 阅读全文
posted @ 2012-07-08 12:12 FangwenYu 阅读(506) 评论(0) 推荐(0) 编辑
摘要: Notes on -- Chapter 5: Advanced MySQL Feature 阅读全文
posted @ 2012-07-08 12:09 FangwenYu 阅读(610) 评论(0) 推荐(0) 编辑
摘要: Notes on -- Chapter 4: Query Performance Optimization 阅读全文
posted @ 2012-07-08 12:00 FangwenYu 阅读(600) 评论(0) 推荐(0) 编辑
摘要: Notes on - Chapter 3: Schema Optimization and Indexing 阅读全文
posted @ 2012-07-08 11:47 FangwenYu 阅读(718) 评论(0) 推荐(0) 编辑
摘要: Notes on : Chapter 1 - MySQL Architecture 阅读全文
posted @ 2012-07-08 11:34 FangwenYu 阅读(616) 评论(0) 推荐(0) 编辑
摘要: Quite preliminary, misc notes on MySQL 阅读全文
posted @ 2012-07-08 11:17 FangwenYu 阅读(246) 评论(0) 推荐(0) 编辑
摘要: One interesting trick to spell the number using SQL! 阅读全文
posted @ 2012-07-01 20:47 FangwenYu 阅读(266) 评论(0) 推荐(1) 编辑
摘要: You may wonder what the hell the difference between "DATA_OBJECT_ID" and "OBJECT_ID" sometimes. Congrats, you are not alone. Here we go -- 阅读全文
posted @ 2012-06-25 15:45 FangwenYu 阅读(354) 评论(0) 推荐(0) 编辑
摘要: A simple example of Oracle Secure Application Role 阅读全文
posted @ 2012-05-16 18:36 FangwenYu 阅读(1282) 评论(0) 推荐(0) 编辑
摘要: Example of converting physical standby database to snapshot standby databsae 阅读全文
posted @ 2012-05-09 16:59 FangwenYu 阅读(504) 评论(0) 推荐(0) 编辑
摘要: Oracle Data Guard - real time apply 阅读全文
posted @ 2012-05-09 11:36 FangwenYu 阅读(8096) 评论(0) 推荐(0) 编辑
摘要: A weird problem when loading LOB file using SQL*LODER 阅读全文
posted @ 2012-04-26 16:19 FangwenYu 阅读(690) 评论(0) 推荐(0) 编辑
摘要: Set up physical standby db example 阅读全文
posted @ 2012-04-25 18:23 FangwenYu 阅读(2499) 评论(0) 推荐(0) 编辑
摘要: Implement "read lock" using Oracle VPD 阅读全文
posted @ 2012-04-19 18:39 FangwenYu 阅读(229) 评论(0) 推荐(0) 编辑
摘要: Operator "OR" in SQL statement may lead to inefficient "correlated sub-query". Watch out! 阅读全文
posted @ 2012-03-18 12:15 FangwenYu 阅读(429) 评论(0) 推荐(0) 编辑
摘要: Using UTL_FILE and DBMS_XSLPROCESSOR to write CLOB into files. 阅读全文
posted @ 2012-03-15 20:16 FangwenYu 阅读(1301) 评论(0) 推荐(0) 编辑
摘要: Library Cache Lock could be caused by connecting to database using wrong password. 阅读全文
posted @ 2012-03-10 16:14 FangwenYu 阅读(724) 评论(0) 推荐(0) 编辑
摘要: Notes on the book -- Refactoring Database - Evolutionary Database Design 阅读全文
posted @ 2012-03-10 14:47 FangwenYu 阅读(390) 评论(0) 推荐(0) 编辑
摘要: Some issues happened when installing MySQL on windows 阅读全文
posted @ 2012-03-03 12:08 FangwenYu 阅读(524) 评论(0) 推荐(0) 编辑
摘要: Beginning with Oracle Database 11g Release 2 (11.2.0.2), you can create policies on applications that include MERGE INTO operations 阅读全文
posted @ 2012-02-22 20:26 FangwenYu 阅读(468) 评论(0) 推荐(0) 编辑
摘要: Use DBMS_SQL with caution, it can not only lead to "memory leak" issue, but also cause security issue. 阅读全文
posted @ 2012-02-22 20:17 FangwenYu 阅读(1085) 评论(0) 推荐(0) 编辑
摘要: Oracle Character set – Everything a New oracle DBA needs to know 阅读全文
posted @ 2012-02-03 18:08 FangwenYu 阅读(6909) 评论(0) 推荐(0) 编辑
摘要: TTS is not designed to replace schema level exp/imp 阅读全文
posted @ 2011-12-16 11:18 FangwenYu 阅读(839) 评论(0) 推荐(0) 编辑
摘要: The differences between the functions that return CLOB and VARCHAR2 used in SQL statement 阅读全文
posted @ 2011-12-11 09:39 FangwenYu 阅读(602) 评论(0) 推荐(0) 编辑
摘要: Abuse of LOB in SQL is nightmare. This article gives out an example on the efficiency of LOB operation. 阅读全文
posted @ 2011-12-08 20:24 FangwenYu 阅读(479) 评论(0) 推荐(0) 编辑
摘要: using RMDIR command in windows to remove non-empty folder 阅读全文
posted @ 2011-11-28 13:55 FangwenYu 阅读(2038) 评论(0) 推荐(0) 编辑
摘要: A working example that bad SQL statement causes too much CPU usage. 阅读全文
posted @ 2011-11-28 13:47 FangwenYu 阅读(1249) 评论(0) 推荐(0) 编辑
摘要: Though we can set down some rules for the PL/SQL naming convention, it’s totally depending on developers’ morality to obey or ignore these rules. Fortunately, Oracle 11g introduces a new feature called “PL/SCOPE” which can be used for naming violation examination. By querying the Oracle view “USER_IDENTIFIERS”, you can know which variable in PL/SQL code violates the rules we have made. However, it’s not trivial to do this by simply querying this view, it’s good to have some utility wrapper for 阅读全文
posted @ 2011-11-28 13:38 FangwenYu 阅读(527) 评论(0) 推荐(0) 编辑
摘要: ORA-01795: maximum number of expressions in a list is 1000 阅读全文
posted @ 2011-10-21 09:48 FangwenYu 阅读(17704) 评论(1) 推荐(0) 编辑
摘要: A simple DBMS_LOB example 阅读全文
posted @ 2011-10-17 14:16 FangwenYu 阅读(703) 评论(0) 推荐(0) 编辑
摘要: Using BAT for multi-thread/process processing 阅读全文
posted @ 2011-10-17 11:31 FangwenYu 阅读(228) 评论(0) 推荐(0) 编辑
摘要: Use Java Compiler API for arithmetic expression calculation 阅读全文
posted @ 2011-10-13 19:52 FangwenYu 阅读(592) 评论(0) 推荐(1) 编辑