自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(44)
  • 资源 (1)
  • 收藏
  • 关注

原创 [Bash]检测外网IP,不一致时发送邮件。

[bash]检测外网IP,不一致时发送邮件。

2015-04-04 16:53:16 2419 1

原创 [Beginner]MySQL 主机名与权限表之间的关系

概要在进行连接远程主机或者进行复制的时候,经常会遇到用户连接不上远程主机的错误,很烦人。常常会出现类似下面的错误:  [连接远程主机] : ERROR 1045 (28000): Access denied for user 'user'@'host' (using password: YES)  [复制中的IO]    : [ERROR] Slave I/O: error conne

2014-12-09 17:59:16 1151

原创 Win7 便签设置字体方法

使用快捷键可以调整字体大小粗体Bold text                     Ctrl+B斜体Italic text                        Ctrl+I下划线Underlined text            Ctrl+U删除线Strikethrough                 Ctrl+T项目符号Bulle

2014-12-03 10:40:44 1597

原创 MySQL 官方示例数据库安装

导入文件

2014-11-17 10:41:24 8459

原创 VmWare 与 宿主主机通信 STEP BY STEP (适用于初学者)

基本原理在虚拟机中有三种通信方式,如下图所示1. Bridged(桥接模式)在桥接模式下,VMware虚拟出来的操作系统就像是局域网中的一独立的主机,它可以访问网内任何一台机器不过你需要多于一个的IP地址,并且需要手工为 虚拟系统配置IP地址子网掩码,而且还要和宿主机器处于同一网段,这样虚拟系统才能和宿主机器进行通信如果你想利用VMware在局域网内新建一个虚拟服务

2014-11-07 21:19:02 2373

转载 linux 下 ifcfg-eth0 配置

linux 下 ifcfg-eth0 配置2011-12-24 01:25 by iixiaowei, 32032 阅读, 1 评论, 收藏,  编辑网络接口配置文件[root@localhost ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0# Intel Corporation 82545EM Gigabit Ethe

2014-11-04 11:38:09 485

转载 linux上很方便的上传下载文件工具rz和sz

linux上很方便的上传下载文件工具rz和sz(本文适合linux入门的朋友)##########################################################《老男孩linux就业培训中心-初级班第七期第一节内容总结。#linux上很方便的上传下载文件工具rz和sz#date:2011-06-15#作者:老男孩,现就职于《老男孩lin

2014-11-04 11:36:38 429

转载 MYSQL源码安装

1.首先添加mysql用户组shell> groupadd mysql 2.添加mysql用户,并指定到mysql用户组shell> useradd -g mysql mysql 3.解压缩mysql-version.tar.gzshell> gunzip 4.安装mysqlshell> cd mysql-VERSIONshell> ./configure

2014-11-01 16:53:44 399

转载 MySQL5.5源代码安装

一、安装支持工具1、安装cmakeWget   http://www.cmake.org/files/v2.8/cmake-2.8.5-Linux-i386.shchmod +xcmake-2.8.5-Linux-i386.sh./cmake-2.8.5-Linux-i386.sh  --prefix=/usr/local/2、安装gmake, gcc, perl, ncu

2014-11-01 16:49:38 396

转载 Linux安装mysql——源码安装

1.假设已经有mysql-5.5.10.tar.gz以及cmake-2.8.4.tar.gz两个源文件(1)先安装cmake(mysql5.5以后是通过cmake来编译的)[root@ rhel5 local]#tar -zxv -f cmake-2.8.4.tar.gz[root@ rhel5 local]#cd cmake-2.8.4[root@ rhel5 cmake-2.8

2014-11-01 16:48:13 516

转载 linux 下 MySQL源码包的安装

linux 下 MySQL源码包的安装实验环境 VMware 6.5.2 +redhatEnterprise 5 AS实验目的 初步涉及源码包的安装,以简单实现其功能为目的,不对原理进行深层讨论内核版本:今天尝试安装MySQL的源码包 mysql-4.0.27.tar.gz下载源码包 copy 到linux [root@localhost ~]# cd /tmp[r

2014-11-01 16:44:45 561

转载 Centos磁盘分区教程

1.磁盘分区格式说明linux分区不同于windows,linux下硬盘设备名为(IDE硬盘为hdx(x为从a—d)因为IDE硬盘最多四个,SCSI,SATA,USB硬盘为sdx(x为a—z)),硬盘主分区最多为4个,.所以主分区从sdb1开始到sdb4,逻辑分区从sdb5开始,(逻辑分区永远从sdb5开始…)设备名可以使用fdisk –l查看2.分区详解使用ssh远程连接

2014-11-01 11:50:13 923

转载 Mysql读写分离(1)

一 什么是读写分离 MySQL Proxy最强大的一项功能是实现“读写分离(Read/Write Splitting)”。基本的原理是让主数据库处理事务性查询,而从数据库处理SELECT查询。数据库复制被用来把事务性查询导致的变更同步到集群中的从数据库。 当然,主服务器也可以提供查询服务。使用读写分离最大的作用无非是环境服务器压力。可以看下这张图: 二 读写

2014-10-30 22:25:39 672

转载 Mysql 如何做双机热备和负载均衡

先简要介绍一下mysql双向热备:mysql从3.23.15版本以后提供数据库复制功能。利用该功能可以实现两个数据库同步,主从模式(A->B),互相备份模式(AB)的功能。mysql数据库双向热备的操作实际说明:1、mysql数据库同步复制功能的设置都在mysql的配置文件中体现。在linux环境下的配置文件一般在/etc/mysql/my.cnf或者在 mysql用户的home目

2014-10-29 20:01:20 906

原创 SqlPlus 中行显示不全的问题(linesize和long的区别)

现象:在使用dbms包中调用get_ddl函数查询的时候,sqlplus显示的结果不全

2014-10-01 22:56:56 13819

转载 VBA中Dictionary对象使用小结

Dim dict' 创建DictionarySet dict = CreateObject("Scripting.Dictionary")' 增加项目dict.Add "A", 300dict.Add "B", 400dict.Add "C", 500' 统计项目数n = dict.Count' 删除项目dict.Remove ("A")' 判断字典中是否包含关键字

2014-09-21 21:48:29 8825

原创 【读书笔记】【收获,不止Oracle】嵌套循环与索引

使用HINT强制嵌套循环方式连接两个表

2014-08-29 23:15:48 516

原创 【读书笔记】【收获,不止Oracle】不同类型下表连接限制的对比

以下实验讨论不同连接类型下

2014-08-28 22:24:54 431

原创 【读书笔记】【收获,不止Oracle】不同连接类型表下,驱动顺序对查询性能的影响

本次试验用于探究 嵌套循环,哈希连接,排序合并

2014-08-27 22:31:01 641

原创 【读书笔记】【收获,不止Oracle】哈希连接表(Hash)

本次实验用于探究哈希连接表的访问次数。

2014-08-26 21:44:23 558

原创 User has no SELECT privilege on V$SESSION(执行计划相关)

开启执行计划的时候,提示如下信息;User has no SELECT privilege on V$SESSION

2014-08-25 22:52:20 3949 1

原创 SP2-0618

起因:在SCOTT@ orcl>set autotrace onSP2-0618: Cannot find the Session Identifier. Check PLUSTRACE role is enabledSP2-0611: Error enabling STATISTICS report

2014-08-20 21:51:35 718

原创 SSH与VM链接

1.查看主机IP地址

2014-08-12 22:16:39 620

原创 ORA-01017

官方文档没有说明

2014-08-11 21:13:23 1083

原创 Xlib: connection to ":0.0" refused by server

Oracle帐号执行DBCA或其他JAVA图形界面程序时,报错:

2014-08-10 21:10:31 615

原创 ORA-00257

laiziguanfangwORA-00257: archiver error. Connect internal only, until freed.Cause: The archiver process received an error while trying to archive a redo log. If the problem is not resolved soon,

2014-08-10 11:38:28 665

转载 Oracle 树操作(select…start with…connect by…prior)

oracle树查询的最重要的就是select…start with…connect by…prior语法了。依托于该语法,我们可以将一个表形结构的以树的顺序列出来。在下面列述了oracle中树型查询的常用查询方式以及经常使用的与树查询相关的oracle特性函数等,在这里只涉及到一张表中的树查询方式而不涉及多表中的关联等。1、准备测试表和测试数据

2014-08-06 20:48:39 480

原创 047:QUESTION 228

Question:A constraint in a table is defined with the INITIALLY IMMEDIATE clause. You executed the ALTER TABLE command with the ENABLE VALIDATE option to enable the constraint that was disabled

2014-08-05 22:56:14 366

原创 【读书笔记】【收获,不止Oracle】嵌套循环表(Nested Loops Join)

本次试验用于探究嵌套循环表的访问次数。1.

2014-07-16 21:49:53 577

原创 【读书笔记】【收获,不止Oracle】位图索引(2)

本次试验讨论位图索引在即席查询中fa

2014-07-15 21:11:50 458

原创 【读书笔记】【收获,不止Oracle】位图索引(1)

以下实验,将位图索引与全表扫描和普通索引进行比较1.

2014-07-13 21:19:38 414

原创 【读书笔记】【收获,不止Oracle】索引组织表

索引组织表与普通表的区别:

2014-07-12 23:13:11 507

原创 Question 25:increase the session limit on CPU usage

Question A user complains that he gets the following error message repeatedly after executing some SQL statements. The error message forces the user to log off from and log on to the database to

2014-06-27 21:28:12 777

原创 Question 5

Question:You executed the STARTUP MOUNT command to start your database. For which database operation do you need to start the database in the MOUNT state? A) renaming the control files B) drop

2014-06-13 21:44:22 436

原创 Question 2:MOUNT

Question:You lost the index tablespace in your database. You are not able to use tablespace point-in-time recovery on the index tablespace. What could be the reason for this?A. The index tablesp

2014-06-12 23:38:29 433

原创 Question:58 (Shrink)

Question:Using Database Control, you have scheduled a job to shrink the TRANS table residing on the TT tablespace. The job would run at 5:00 p.m. every Friday.When you examine the space usage of

2014-05-18 23:26:29 510

原创 Question: 82 point-in-time

You lost the index tablespace in your database. You are not able to use tablespace point-in-time recovery on the index tablespace. What could be the reason for this?A. The index tablespace contain

2014-05-18 20:37:38 511

原创 Oracle学习笔记(20140419)(lsnrctl関連)

不懂的一定要弄懂,网上多查查不要

2014-04-19 22:32:07 453

转载 unused用法

一、问题现场有一张大数据量的分区表,数据量在10G以上。因某种原因需要删除其中的某些字段。如果直接用alter table1 drop (column1,column2); 或者alter table1 drop column column1;和alter table1 drop column column2;  的话,需要执行很长时间,这期间该表被锁,会影响到其它应用。 

2014-04-02 21:34:41 2165

原创 QUESTION 56

Which mandatory(强制性的) clause has to be added to the following statement to successfully create an external table called EMPDET? CREATE TABLE empdet (   empno CHAR(2),   ename CHAR(5),   deptno

2014-04-01 22:18:52 610

PyWin32.chm

PyWin32.chm 官方文档 遇到“只有目录,没有内容!”的情况了,右键文件-属性-解除锁定,解除之后就可以正常查看了。

2019-09-18

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除