原创 VMware Centos7.4+UDEV+AMS+ORACLE 配置RAC環境

目錄 一、準備工作 1.1 服務器準備 1.2 IP地址準備 1.3 用戶及組準備 1.4 SSH信任關係準備 1.5 文件目錄準備(crmtest1和crmtest2) 1.6 RPM包準備 1.7 共享磁盤準備 1.8 系統參數修改

原创 三、[LeetCode OJ]Add Two Numbers

【問題描述】 You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reve

原创 七、[LeetCode OJ]Median of Two Sorted Arrays

【問題描述】 There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median of the two sorted a

原创 二、[LeetCode OJ]Two Sum題解

【問題描述】 Given an array of integers, return indices of the two numbers such that they add up to a specific target. You

原创 一、[LeetCode OJ]3Sum題解

【問題描述】 Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find all unique tri

原创 IMPDP時出現ORA-39083:Object type PROCACT_SCHEMA failed to create with error

在使用IMPDP對數據庫按照Schema進行導入數據時,出現了奇怪的錯誤,數據庫版本11.2.0.3.0。 IMPDP導入命令如下。 impdp system/tplink directory=dump_dir dumpfile=tpq

原创 Oracle數據庫更改數據文件位置

前言 近期IPCC服務器的數據庫數據目錄/oradata磁盤空間不足,由於無法添加磁盤來擴容,需要將數據庫數據目錄從/oradata更改爲/home/oracle/oradata。 由於數據庫文件和表空間具有不同的性質,將數據文件位置更改

原创 五、[LeetCode OJ]Majority Element

【問題描述】 Given an array of size n, find the majority element. The majority element is the element that appears more tha

原创 [LeetCode OJ]Combination Sum I && II

【問題描述】 Given a set of candidate numbers (C) (without duplicates) and a target number (T), find all unique combinatio

原创 四、[LeetCode OJ]Integer to Roman

【問題描述】 Given an integer, convert it to a roman numeral. Input is guaranteed to be within the range from 1 to 3999. E

原创 [LeetCode OJ]Valid Parentheses

【問題描述】 Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string

原创 六、[LeetCode OJ]Maximum Subarray

【問題描述】 Find the contiguous subarray within an array (containing at least one number) which has the largest sum. For

原创 RMAN全備份異地恢復

     通常我們需要將生產環境的數據導入到測試環境,定期對測試環境的數據進行更新,但使用EXPDP/IMPDP會出現許多的問題,還會有序列等無法導出的問題,於是推薦使用RMAN備份異地恢復,該操作耗時少,且不容易出錯。 一、準備工作 生

原创 NP完全問題

8.3 STINGY SAT is the following problem: given a set of clauses (each a disjunction of literals) and an integer k, find

原创 [LeetCode OJ]Swap Nodes in Pairs

【問題描述】 Given a linked list, swap every two adjacent nodes and return its head. For example, Given 1->2->3->4, you sh