- 博客(15)
- 收藏
- 关注
转载 DBMS_REDEFINITION在线重定义表
DBMS_REDEFINITION包可以在线重定义表,这次演示把非分区表要在线重定义为分区表本次演示DBMS_REDEFINITION在线重定义分区表的几个步骤:1:建立一个需要被重定义的表A(非分区)2:建立一个中间表B(分区表)3:用表B结构来重定义表A,使A表分区: DBMS_REDEFINITION在线重定义表的原理:利用物化视图
2017-05-31 15:21:03 1268
原创 Oracle Online Redefinition在线重定义
面对越来越多的7*24系统,运维人员进行工作可用的时间窗口变的越来越小。就在有限的时间窗口中,硬件检修、网络改造配置占据了很多时间。对数据库对象进行日常维护,越来越成为我们需要关注的问题。 进行数据重排、表分区、字段类型修改、字段增改这样的操作,在开发和测试环境上是比较容易进行的。即使数据表很大,操作耗时可能会很高,我们也能够通过一些非技术的手段赢取操作时间窗。但是对于投产系统而言,操作过
2017-05-31 11:01:53 697
原创 ORACLE 普通表转换成分区表(在线重定义)
在一个高可用系统中,如果需要改变一个表的定义是一件比较棘手的问题,尤其是对于7×24系统。Oracle提供的基本语法基本可以满足一般性修改,但是对于把普通堆表改为分区表,把索引组织表修改为堆表等操作就无法完成了。而且,对于被大量DML语句访问的表,幸运的是,Oracle从9i版本开始提供了在线重定义表功能,通过调用DBMS_REDEFINITION包,可以在修改表结构的同时允许DML操作。
2017-05-31 10:33:55 508
原创 深入学习Oracle分区表及分区索引
深入学习Oracle分区表及分区索引 关于分区表和分区索引(About Partitioned Tables and Indexes)对于10gR2而言,基本上可以分成几类:• Range(范围)分区• Hash(哈希)分区• List(列表)分区• 以及组合分区:Range-H
2017-05-30 21:49:58 306
原创 oracle分表分区提高检索速度的相关方法
此文从以下几个方面来整理关于分区表的概念及操作: 1.表空间及分区表的概念 2.表分区的具体作用 3.表分区的优缺点 4.表分区的几种类型及操作方法 5.对表分区的维护性操作.(1.) 表空间及分区表的概念表空间: 是一个或多个数据文件的集合,所有的数据对象都存放在指
2017-05-30 21:20:32 3289
转载 关于VS编译的程序内存分配只能用1.5~2G上限的优化方案
关于VS编译的程序 内存分配只能用1.5~2G上限的优化方案遇到的问题是这样的:电脑内存32G,VS2012编译的一个程序,在程序运行过程中,一旦程序的内存使用达到1.5G,就会抛出内存溢出(outofmomery)异常,然后程序就卡主了!已确定程序逻辑没有bug。就是因为要处理的数据量太大,单纯的消耗内存。可是也就才1.5G吖,还远远不到系统的32G。然后去知乎求大神解答,终于找
2017-05-26 17:39:54 4172 3
转载 OpenCV问题集锦,图片显示不出来,WaitKey(0),imread()不能读图片,未经处理的异常,等问题集合
imshow()后面应该加上:WaitKey(0);
2017-05-23 15:34:48 624
原创 python 对text进行读写小例子非常简单
Description:After modifying the strings in one text,I rewrote them in another text. The following python code is effective.Code:# change pointnamesfileread = open("allpointnames.txt", 'r')name =
2017-05-19 16:30:30 928
原创 leetcode_Remove Element
Problem description:Given an array and a value, remove all instances of that value in place and return the new length.Do not allocate extra space for another array, you must do this in place
2017-05-19 11:06:06 186
原创 leetcode_Count and Say
Problem description:The count-and-say sequence is the sequence of integers beginning as follows:1, 11, 21, 1211, 111221, ...1 is read off as "one 1" or 11.11 is read off as "two 1s"
2017-05-18 20:33:05 193
原创 leetcode_reverse_integer
Problem description:Reverse digits of an integer.Example1: x = 123, return 321Example2: x = -123, return -321click to show spoilers.Note:The input is assumed to be a 32-bit signe
2017-05-17 17:14:11 187
原创 LeetCode——add two numbers
Problem description:You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contain a single digit. Add th
2017-05-17 10:55:04 244
原创 leetcode_Two sum
Problem:Given an array of integers, return indices of the two numbers such that they add up to a specific target.You may assume that each input would have exactly one solution, and you may not
2017-05-16 12:32:10 183
转载 DataGridView导出到Excel的三个方法
#region DataGridView数据显示到Excel /// /// 打开Excel并将DataGridView控件中数据导出到Excel /// /// DataGridView对象 /// 是否显示Excel界面 /// /// add com "Microsoft Excel 11.0 Objec
2017-05-04 10:51:51 807
原创 C# 读取text内容并向text写入内容,对文本进行读写
语言:C#,平台VS2013,按行读取text内容,并按行写入新建的text中。using System;using System.Drawing;using System.Collections;using System.ComponentModel;using System.Data;using System.Data.OleDb;using System.Configuratio
2017-05-04 10:40:37 9439
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人