<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[技术天地]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/Devillyd</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; Devillyd]]></copyright><item><title><![CDATA[数据库表设计五大范式所解决的问题]]></title><link>https://blog.youkuaiyun.com/Devillyd/article/details/51348020</link><guid>https://blog.youkuaiyun.com/Devillyd/article/details/51348020</guid><author>Devillyd</author><pubDate>Sun, 08 May 2016 21:54:07 +0800</pubDate><description><![CDATA[上学时学得《数据库系统概念》，一致似懂非懂，停留在定义和证明层面。最近在做项目，认真的了解了下数据库的范式问题，只有潜意识懂得了其原理和应用场合才能较快设计出合理的表。

 

首先，明确概念如下：

主码　　　　也就是主键

候选码 　　 若关系中的某一属性组的值能唯一的标识一个元组,而其任何真子集都不能再标识,则称该属性组为候选码。候选码不唯一，主码是其中一个而已。

主属]]></description><category></category></item><item><title><![CDATA[数据库的故障及其恢复策略]]></title><link>https://blog.youkuaiyun.com/Devillyd/article/details/51344593</link><guid>https://blog.youkuaiyun.com/Devillyd/article/details/51344593</guid><author>Devillyd</author><pubDate>Sun, 08 May 2016 10:52:51 +0800</pubDate><description><![CDATA[在数据库运行过程中，可能会出现各种各样的故障，这些故障可分为以下三类：事务故障、系统故障和介质故障。应该根据故障类型的不同，采取不同的恢复策略。
　　1，事务故障及其恢复：
　　事务故障表示由非预期的、不正常的程序结束所造成的故障。
　　造成程序非正常结束的原因包括输人数据错误、运算溢出、违反存储保护、并行事务发生死锁等。
　　发生事务故障时，被迫中断的事务可能已对数据库进行丁修改，为了消]]></description><category></category></item><item><title><![CDATA[交换机、路由器、网桥、集线器 作用和区别]]></title><link>https://blog.youkuaiyun.com/Devillyd/article/details/51250270</link><guid>https://blog.youkuaiyun.com/Devillyd/article/details/51250270</guid><author>Devillyd</author><pubDate>Tue, 26 Apr 2016 14:34:46 +0800</pubDate><description><![CDATA[集线器是属于物理层的设备，可以理解为一根网线中间串接出了多个接口，这么多接口共享这一根网线的带宽，因此这些接口上的设备在使得网络时就会出现冲突，或者‘道路’挤占的情况。（所有的设备在一个广播域，冲突域中），集线器现在很少使用了。
交换机、网桥都是数据链路层的设备，网桥的出现就是为了解决集线器多个接口共处于一个冲突域的问题，网桥具有2个接口，且每个接口设备发送接收数据都是独立的互不影响（每个接口是一]]></description><category></category></item><item><title><![CDATA[数据库范式（通俗易懂）]]></title><link>https://blog.youkuaiyun.com/Devillyd/article/details/50680253</link><guid>https://blog.youkuaiyun.com/Devillyd/article/details/50680253</guid><author>Devillyd</author><pubDate>Wed, 17 Feb 2016 14:30:26 +0800</pubDate><description><![CDATA[数据库范式是数据库设计中必不可少的知识，没有对范式的理解，就无法设计出高效率、优雅的数据库。甚至设计出错误的数据库。而想要理解并掌握范式却并不是那 么容易。教科书中一般以关系代数的方法来解释数据库范式。这样做虽然能够十分准确的表达数据库范式，但比较抽象，不太直观，不便于理解，更难以记忆。
       本文用较为直白的语言介绍范式，旨在便于理解和记忆，这样做可能会出现一些不精确的表述。但对于初学]]></description><category></category></item><item><title><![CDATA[远程桌面时提示凭证不工作问题的终极解决办法]]></title><link>https://blog.youkuaiyun.com/Devillyd/article/details/50573303</link><guid>https://blog.youkuaiyun.com/Devillyd/article/details/50573303</guid><author>Devillyd</author><pubDate>Sun, 24 Jan 2016 12:23:32 +0800</pubDate><description><![CDATA[环境说明

远程办公电脑（放置于公司、自用办公电脑、win8系统）

远程连接客户机（放置于家中、家庭日常所用、win8系统）

故障现象

     最近在使用远程桌面连接公司的办公电脑时，突然发现win8系统总是无法连接成功，提示“你的凭证不工作”，使用其他人的win7的连接也是出现这个问题。

     有问题上百度，可百度好久发现千篇一律的做法基本如下所示

   ]]></description><category></category></item><item><title><![CDATA[Delphi字符串加密解密函数]]></title><link>https://blog.youkuaiyun.com/Devillyd/article/details/41045843</link><guid>https://blog.youkuaiyun.com/Devillyd/article/details/41045843</guid><author>Devillyd</author><pubDate>Wed, 12 Nov 2014 16:29:27 +0800</pubDate><description><![CDATA[功能：字符串加密和解密
首先定义一个常量数组
const
      XorKey:array[0..7] of Byte=($A1,$B7,$AC,$57,$1C,$63,$3B,$81); //字符串加密用
//在程序里加入以下两个函数，
function Enc(Str:String):String;//字符加密函數 這是用的一個異或加密
var
i,j:Integer;
b]]></description><category></category></item><item><title><![CDATA[oracle存储结构-官方文档]]></title><link>https://blog.youkuaiyun.com/Devillyd/article/details/39638243</link><guid>https://blog.youkuaiyun.com/Devillyd/article/details/39638243</guid><author>Devillyd</author><pubDate>Sun, 28 Sep 2014 10:37:35 +0800</pubDate><description><![CDATA[A database can be considered from both a physical and logical perspective. Physical data is data viewable at the operating system level. For example, operating system utilities such as the Linux ls an]]></description><category></category></item><item><title><![CDATA[oracle默认表空间-官方文档]]></title><link>https://blog.youkuaiyun.com/Devillyd/article/details/39637489</link><guid>https://blog.youkuaiyun.com/Devillyd/article/details/39637489</guid><author>Devillyd</author><pubDate>Sun, 28 Sep 2014 09:54:44 +0800</pubDate><description><![CDATA[EXAMPLE
This tablespace contains the sample schemas that are included with Oracle Database. The sample schemas provide a common platform for examples. Oracle documentation and educational materials c]]></description><category></category></item><item><title><![CDATA[OracleDBControl启动失败Unable to determine local host from URL REPOSITORY_URL=http://your-url.co 解决方法]]></title><link>https://blog.youkuaiyun.com/Devillyd/article/details/39434611</link><guid>https://blog.youkuaiyun.com/Devillyd/article/details/39434611</guid><author>Devillyd</author><pubDate>Sat, 20 Sep 2014 20:24:25 +0800</pubDate><description><![CDATA[OracleDBControl启动失败Unable to determine local host from URL REPOSITORY_URL=http://your-url.co





 
 





方法：
emca -deconfig dbcontrol db -repos drop
emca -config dbcontrol db -repos c]]></description><category></category></item><item><title><![CDATA[如何设置Oracle的环境变量]]></title><link>https://blog.youkuaiyun.com/Devillyd/article/details/39349141</link><guid>https://blog.youkuaiyun.com/Devillyd/article/details/39349141</guid><author>Devillyd</author><pubDate>Wed, 17 Sep 2014 22:16:32 +0800</pubDate><description><![CDATA[如果从Windows控制台命令窗口输入进入数据库的命令：

>sqlplus "/as sysdba" 

有可能会提示错误，导致不能进入到Oracle数据库中。这是因为在安装Oracle数据库软件时没有对Windows系统的环境变量进行设置，所以导致Windows识别不出Oracle的SQLPLUS命令。一般情况下，Oracle数据库在Windows中安装时会自动设置环境变量。如果安装了]]></description><category></category></item><item><title><![CDATA[oracle 监听程序小结]]></title><link>https://blog.youkuaiyun.com/Devillyd/article/details/39318439</link><guid>https://blog.youkuaiyun.com/Devillyd/article/details/39318439</guid><author>Devillyd</author><pubDate>Tue, 16 Sep 2014 15:50:07 +0800</pubDate><description><![CDATA[一、监听器(LISTENER)

监听器是Oracle基于服务器端的一种网络服务，主要用于监听客户端向数据库服务器端提出的连接请求。既然是基于服务器端的服务，那么它也只存在于数据库服务器端，进行监听器的设置也是在数据库服务器端完成的。

二、本地服务名(Tnsname)

Oracle客户端与服务器端的连接是通过客户端发出连接请求，由服务器端监听器对客户端连接请求进行合法检查，如果连接]]></description><category></category></item><item><title><![CDATA[oracle体系结构详解]]></title><link>https://blog.youkuaiyun.com/Devillyd/article/details/39182891</link><guid>https://blog.youkuaiyun.com/Devillyd/article/details/39182891</guid><author>Devillyd</author><pubDate>Wed, 10 Sep 2014 16:33:50 +0800</pubDate><description><![CDATA[Oracle体系结构就是围绕这张图展开的，要想深入了解oracle，就必须把这张图搞明白。
如图：
 

一、基本组成：
Oracle server：
   一般情况下是一个instance和一个database组成
   1个instance只能对应一个数据库。
    特殊：1个数据库可以有多个instance（rac）
        一台服务器上同时可装多套版本的数据库软]]></description><category></category></item><item><title><![CDATA[oracle表和段关系]]></title><link>https://blog.youkuaiyun.com/Devillyd/article/details/38750673</link><guid>https://blog.youkuaiyun.com/Devillyd/article/details/38750673</guid><author>Devillyd</author><pubDate>Fri, 22 Aug 2014 09:14:02 +0800</pubDate><description><![CDATA[TABLE &SEGMENT RELATIONSHIP:

一个表可以对应一个或者多个段，最简单的情况是一个表对应一个段。一般情况下创建一个表也就是创建一个表段，下面包含区，区下面又划分为块。这是一般的存储结构。也有例外情况。如：




会话1：
新建用户

SQL> create user user1 identified by user1;


User creat]]></description><category></category></item><item><title><![CDATA[判断ORACLE启动时使用spfile还是pfile]]></title><link>https://blog.youkuaiyun.com/Devillyd/article/details/12111019</link><guid>https://blog.youkuaiyun.com/Devillyd/article/details/12111019</guid><author>Devillyd</author><pubDate>Fri, 27 Sep 2013 21:04:31 +0800</pubDate><description><![CDATA[自Oracle 9i以后启动的时候默认使用的初始化文件是spfile,我们可以通过如下三种方式来判断是SPFILE还是PFILE方式启动数据库。
1、show parameter spfile
2、show parameter pfile
3、看v$spparameter视图

1、通过查看spfile、pfile视图
用spfile启动数据库：
SQL> show paramete]]></description><category></category></item><item><title><![CDATA[Oracle9i新特点：SPFILE的使用]]></title><link>https://blog.youkuaiyun.com/Devillyd/article/details/11990509</link><guid>https://blog.youkuaiyun.com/Devillyd/article/details/11990509</guid><author>Devillyd</author><pubDate>Tue, 24 Sep 2013 20:29:35 +0800</pubDate><description><![CDATA[本文发表于itpub技术丛书《Oracle数据库DBA专题技术精粹》,未经许可,严禁转载本文.

简介：
本文是关于Oracle9i spfile的一篇文字，这是Oracle9i的一个新特性，虽然是很小的一个改进，但是却体现了Oracle在安全性和可靠性上的一个提高，
通过rman备份或者控制文件的自动备份，Oracle把spfile纳入到整个备份恢复体系当中。
本文对spfile的使用]]></description><category></category></item><item><title><![CDATA[用PLSQL导出Oracle一个表]]></title><link>https://blog.youkuaiyun.com/Devillyd/article/details/11211983</link><guid>https://blog.youkuaiyun.com/Devillyd/article/details/11211983</guid><author>Devillyd</author><pubDate>Fri, 06 Sep 2013 13:00:18 +0800</pubDate><description><![CDATA[最简单的一种方法：：
如果导出的Sql语句里面既有表结构又有数据就直接File---new---Command Window
然后会看到直接把sql语句里面的内容直接拷贝进去就可以了 
记住要Commit;哦！
 
 
1.
导出表结构 

选TOOLS，之后选Export User Objects，之后就会出现一个列表包括表，


之后选择设置导出的路径，然后Export]]></description><category></category></item><item><title><![CDATA[常见的进制转换方法]]></title><link>https://blog.youkuaiyun.com/Devillyd/article/details/7931932</link><guid>https://blog.youkuaiyun.com/Devillyd/article/details/7931932</guid><author>Devillyd</author><pubDate>Sat, 01 Sep 2012 12:47:22 +0800</pubDate><description><![CDATA[一：简述：
　　进位计数制：是人们利用符号来计数的方法。一种进位计数制包含一组数码符号和两个基本因素。
　　（1）数码：用不同的数字符号来表示一种数制的数值，这些数字符号称为”数码”。
　　（2）基：数制所使用的数码个数称为”基”。
　　（3）权：某数制每一位所具有的值称为”权”。
　　二：进制转换的理论
　　1、二进制数、十六进制数转换为十进制数：用按权展开法
　　 把一个任意R进]]></description><category></category></item><item><title><![CDATA[不同进制数的转换及应用]]></title><link>https://blog.youkuaiyun.com/Devillyd/article/details/7931726</link><guid>https://blog.youkuaiyun.com/Devillyd/article/details/7931726</guid><author>Devillyd</author><pubDate>Sat, 01 Sep 2012 11:11:16 +0800</pubDate><description><![CDATA[在计算机领域中，有时需要将十进制数转换为二进制、八进制、十六进制的数；有时又需要逆向转换将二进制、八进制和十六进制的数转换为十进制或它们相互之间进行转换.
         不同进制转换的基本算法是：
         （1） 十进制（x）转换为任意进制数（n）的方法：将十进制数除以n进制反序取余.
         （2） 将任意进制数转换为十进制数方法：按“权”展开求和.]]></description><category></category></item><item><title><![CDATA[双核与双芯真的不同]]></title><link>https://blog.youkuaiyun.com/Devillyd/article/details/7931586</link><guid>https://blog.youkuaiyun.com/Devillyd/article/details/7931586</guid><author>Devillyd</author><pubDate>Sat, 01 Sep 2012 10:25:46 +0800</pubDate><description><![CDATA[双核技术背景
   　双核处理器是指在一个处理器上集成两个运算核心，从而提高计算能力。“双核”的概念最早是由IBM、HP、Sun等支持RISC架构的高端服务器厂商提出的，不过由于RISC架构的服务器价格高、应用面窄，没有引起广泛的注意。
    不同的构架
　　最近逐渐热起来的“双核”概念，主要是指基于X86开放架构的双核技术。在这方面，起领导地位的厂商主要有AMD和Intel两家。其中，两]]></description><category></category></item><item><title><![CDATA[Oracle 11g默认用户名,密码解锁]]></title><link>https://blog.youkuaiyun.com/Devillyd/article/details/7219817</link><guid>https://blog.youkuaiyun.com/Devillyd/article/details/7219817</guid><author>Devillyd</author><pubDate>Mon, 30 Jan 2012 15:06:52 +0800</pubDate><description><![CDATA[1.启动sqlplus 

2.请输入用户名:  sqlplus/as sysdba 

3.输入口令: 直接回车 
（说明：对于sys无论锁与不锁都能本地认证登陆成sysdba）
4.连接到: 

   Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production 

   With the Pa]]></description><category></category></item></channel></rss>