06 2017 档案
摘要:对于SQL语言,有两个组成部分: DML(data manipulation language) 它们是SELECT、UPDATE、INSERT、DELETE,就象它的名字一样,这4条命令是用来对数据库里的数据进行操作的语言。 DDL(data definition language) DDL比DM
阅读全文
摘要:SQL Fundamentals || Oracle SQL语言 Capabilities of the SELECT Statement(SELECT语句的功能) Data retrieval from data base is done through appropriate and effic
阅读全文
摘要:暂停Windows PowerShell 10秒: Start-Sleep –s 10 暂停脚本10秒(10,000毫秒) Start-Sleep –m 10000 语法 Start-Sleep [-seconds] <int> [<CommonParameters>] Start-Sleep -m
阅读全文
摘要:绿色:连读; 红色:略读; 蓝色:浊化; 橙色:弱读 下划线_为浊化 口语蜕变(2017/6/29) 英文原文: You didn't even let me say good-bye. I'll never see him again. 英式音标: [juː] [ˈdɪdnt] [ˈiːv(ə)n
阅读全文
摘要:Powershell Exchange Message Per Day Sent and Reveive
阅读全文
摘要:实例的恢复( crash recovery) 什么时候发生Oracle实例恢复? shutdown abort; 数据库异常down掉(机器死机,掉电...) 实例恢复的原因是数据有丢掉,使用redo数据恢复 实例恢复是一个自动的过程,不需要人工干预。 控制文件就是为了检查一致性,如果不一致就会实例
阅读全文
摘要:Rman(物理备份) Rman -recover manager Rman 备份的对象 数据文件 数据文件 (Data File) 控制文件 控制文件 (Control File) 参数文件 参数文件 (Spfile/Pfile) 归档文件 归档文件 不能备份在线日志 Rman 备份和恢复的演示 数
阅读全文
摘要:UNDO作用 数据的回滚 一致性读 表的闪回(事务,查询的闪回....) 失败会话的恢复 数据的回滚 SQL> rollback; 回滚的过程就是从回滚段里拿到刚刚执行的这条语句产生的回滚,然后应用到以前的数据块上. 回滚的前提是没有commit.一旦提交了,就不能回滚了. 如果网络中断,会话中断,
阅读全文
摘要:什么是重做? 重做日志包含所有数据产生的历史改变记录. 重做日志目的是保证数据的安全,如果数据因特殊原因没有写到磁盘上,可以通过重做日志来恢复. 重做日志文件通常用于 恢复(实例恢复和介质恢复) 日志挖掘:可以通过oracle工具分析日志里面的内容 流:通过分析redo,从redo获取实时数据,应用
阅读全文
摘要:Oracle 数存储——物理结构 Oracle存储结构:物理结构+逻辑结构 Oracle 数据库存储逻辑结构 Oracle Schema Objects(Schema Object Storage And Type) 在操作系统中无法找到逻辑存储结构所对应的文件,但通过查询Oracle数据库的数据字
阅读全文
摘要:Oracle服务器是一种对象关系数据库管理系统,它为信息管理提供开放、综合、集成的方法。 Oracle服务器中有多种进进程、内存结构和文件; Oracle服务器由一个Oracle实例和一个Oracle数据库组成。 Oracle服务器:Oracle实例+Oracle数据库 Oracle实例:后台进程+
阅读全文
摘要:绿色:连读; 红色:略读; 蓝色:浊化; 橙色:弱读 下划线_为浊化 口语蜕变(2017/6/28) 英文原文: The opportunity is fleeting ,you must use every drop of sweat to fight, to believe that you w
阅读全文
摘要:Grammar Rules Here are 20 simple rules and tips to help you avoid mistakes in English grammar. For more comprehensive rules please look under the appr
阅读全文
摘要:绿色:连读; 红色:略读; 蓝色:浊化; 橙色:弱读 下划线_为浊化 口语蜕变(2017/6/27) I've got no appetite, I'm aching all over. You all right? [aɪv] [ɡɑt] [no] [ˈæpɪtaɪt] , [aɪm] [ˈeɪk
阅读全文
摘要:一: 结合active directory获取本地群组成员信息(包含本地用户和域用户,及域用户的情况 二、#Function Get-LocalGroupMembership Function Get-LocalGroupMembership { <# .Synopsis Get the local
阅读全文
摘要:Dim WshShell, oExec Set wshShell = CreateObject("WScript.Shell") Set objFSO = CreateObject("Scripting.FileSystemObject") Set objInputFile = objFSO.OpenTextFile("D:\test\computer.txt",1) do until ob...
阅读全文
摘要:Function Get-registerkey 引用前一篇文章中的代码的一部分做修改,从注册表中查询server的susid Function Get-registerkey { <# #> [CmdletBinding()] param( [Parameter(Position=0,ValueF
阅读全文
摘要:Function Get-PendingReboot { <# .SYNOPSIS Gets the pending reboot status on a local or remote computer. .DESCRIPTION This function will query the regi
阅读全文
摘要:代码原文地址: https://gallery.technet.microsoft.com/scriptcenter/Get-TimeZone-PowerShell-4f1a34e6
阅读全文
摘要:Server up time
阅读全文
摘要:在Windows PowerShell里New-TimeSpan cmdlet提供了一种方法做日期算法。 计算时间间隔: 这个命令告诉你今天的日期与2006年除夕之间的天数: New-TimeSpan $(Get-Date) $(Get-Date –month 12 -day 31 -year 20
阅读全文
摘要:绿色:连读; 红色:略读; 蓝色:浊化; 橙色:弱读 下划线_为浊化 口语蜕变(2017/6/26) Just hold still. That hurts. [dʒʌst] [hold] [stɪl] . [ðæt] [hɝts] . 别动,好痛。 If you'd hold still, it
阅读全文
摘要:– Create and initialize the object $objExcel = New-Object -ComObject Excel.Application – Query the version of the Office installed $objExcel.version –
阅读全文
摘要:SQL Fundamentals: 表的创建和管理 SQL Fundamentals: 表的创建和管理 如何开启数据库闪回? SQL> shutdown immediate; ORA-01109: database not open Database dismounted. ORACLE insta
阅读全文
摘要:Oracle 的安全 commit &checkpoint commit lgwr事务相关的操作,保证事务的安全。commit标志着事务的结束.意味着别人对你事务操作的结果可见.commit后数据可能在内存里,也可能在磁盘里,commit后没有机会回滚了,除非恢复数据.标识着用户的决定,数据的生效.
阅读全文
摘要:Oracle数据库可以运行在2种模式下: 归档模式(archivelog) 归档模式可以提高Oracle数据库的可恢复性,生产数据库都应该运行在此模式下,归档模式应该和相应的备份策略相结合,只有归档模式没有相应的备份策略只会带来麻烦。 非归档模式(noarchivelog) 如何启用和关闭数据库的归
阅读全文
摘要:Oracle 是如何工作的? Select id,name from t order by id ; – SQL 解析(查看语法是否错误,如果没有错误,分析语意,执行此语句的权限) – 执行计划(ORACLE如何访问数据,按照执行计划取数据) – 执行SQL • 从磁盘中读取数据(如果数据在内存中没
阅读全文
摘要:数据库的连接模式Connection Mode:Dedicated Server Mode(专有模式)当用户发出请求时,如远程的client端通过监听器连接数据库上,ORACLE的服务器端会启用一个进程来响应,ORACLE端进程和Client端进程通信组成一个会话,ORACLE进程帮用户发出SQL语
阅读全文
摘要:Oracle Schema Objects Table Compression 表压缩 The database can use table compression to reduce the amount of storage required for the table. 数据库可以使用表压缩来
阅读全文
摘要:数据库模型 选择数据库模型: 联机事务处理OLTP(on-line transaction processing)OLTP是传统的关系数据库的主要应用,基本的、日常的事务处理。例如银行交易。OLTP系统强调数据库内存效率,强调内存各种指标的命中率,强调绑定变量、并发操作。联机分析处理OLAP(on-
阅读全文
摘要:音标复习 绿色:连读;红色:略读;蓝色:浊化;橙色:弱读 口语蜕变(2017/6/25) Sorry, there's nothing you can do, it's a done deal! [ˈsɔri] , [ðerz] [ˈnʌθɪŋ] [ju] [kæn] [du] , [ɪts] [e
阅读全文
摘要:音标复习 绿色:连读; 红色:略读; 蓝色:浊化; 橙色:弱读 口语蜕变(2017/6/24) If your dream was big enough and you had the guts to follow it, there was truly a fortune to be made.
阅读全文
摘要:2个半元音音标发音技巧与单词举例 原文地址:http://www.hlyy.in/1243.html 2个半元音音标发音技巧与半元音单词举例 [w] 发音技巧: 嘴唇张开到刚好可以含住一根吸管的程度,并向前微噘起,略有摩擦,但上齿不能接触下唇,立刻滑向其后的元音。 单词举例: wish [wɪʃ]
阅读全文
摘要:If ((Get-PSSnapin | where {$_.Name -match "Microsoft.Exchange.Management.PowerShell.E2010"}) -eq $null) { Add-PSSnapin Microsoft.Exchange.Management.PowerShell.E2010 . $env:ExchangeInstallPath\...
阅读全文
摘要:一、Disconnected Mailboxes 1、Finding Disconnected Mailboxes The first function is called Get-DisconnectedMailbox and the name is pretty much self explan
阅读全文
摘要:Group常见属性介绍: 一、Get-ADGroup获取群组(如下例循环获取群组的发送权限)
阅读全文
摘要:一、Get-User单用户查询 二、Get-User多用户循环查询 $export=@() $Users=Get-ADUser -Filter * -SearchScope Subtree -SearchBase "OU=xx,OU=xx,dc=xx,dc=xx,dc=xx" -Properties
阅读全文
摘要:1、导出csv文档 2、发送mail 3、导入数据库 参考http://www.cnblogs.com/scentpath/p/PowershellSQL.html
阅读全文
摘要:使用Get-User命令去寻找group membership of a domain user 扩展1️:获取在群组Wendy和群组Gaga中的所有用户 扩展2:定义筛选范围条件,将这个范围内不属于某个群组的用户加入某个群组 扩展3:查询用户的隶属群组
阅读全文
摘要:一、获取域控制器服务器清单 二:备份GPO 三、查看/设置ADServer环境设定
阅读全文
摘要:Oracle Schema Objects Table Storage Oracle数据库如何保存表数据? Oracle Database uses a data segment in a tablespace to hold table data. Oracle 数据库使用表空间中的数据段保存表数
阅读全文
摘要:Oracle Schema Objects Object Tables object type An Oracle object type is a user-defined type with a name, attributes, and methods. Oracle 对象类型是具有名称、 属
阅读全文
摘要:Oracle数据库的发展简史 ORDBMS对象-关系数据库管理系统 Oracle Schema Objects Oracle Schema Objects——Tables——Overview of Tables Oracle Schema Objects——Tables——Oracle Data T
阅读全文
摘要:Oracle Schema Objects Oracle Data Types 数据类型 Data Type Description NUMBER(P,S) Number value having a maximum number of digits p, with a digits to the
阅读全文
摘要:Oracle Schema Objects Overview of Tables A table is the basic unit of data organization in an Oracle database. 表是Oracle数据库中的数据组织的基本单位。 A table describ
阅读全文
摘要:What is Grammar? And why grammar is your friend… Grammar(noun): the structure and system of a language , or of languages in general, usually considere
阅读全文
摘要:构词 Word Formation 1.派生Derivation 2.合成Compounding 3.截短Clipping 4.混合Blending 1派生Derivation 1)、前缀 除少数英语前缀外,前缀一般会改变单词的意义,却不改变词性;英语后缀一般改变词性,而不引起词义的变化。 前缀所表
阅读全文
摘要:音标 Phonetic Symbols http://yinbiao.tingclass.net/ 1.1元音 1.1、元音:元音有20个,其中单元音12个,双元音8个。 (1)“短”单元音 [i] [ə] [ɔ] [u] [ʌ] [e] [æ] 衣 额 哦 乌 阿 哎 哎 (2)“长”单元音 [i
阅读全文
摘要:https://www.w3schools.com/html/html_colors.asp RGB颜色查询对照表 因为兼容性问题,色阶板功能只能在IE浏览器中运行 RGB颜色对照表 #FFFFFF #FFFFF0 #FFFFE0 #FFFF00 #FFFAFA #FFFAF0 #FFFACD #F
阅读全文
摘要:REDO 的内容 改变向量 redo的内容并不是sql语句,他是放的一些改变,叫改变向量. 数据库恢复的时候并不是执行sql语句,而是一个物理的过程,是一个数据块的覆盖.是改变数据块的大小. 可以通过如下测试看出,两张表中栏位设置不同字符串长度,当修改数据时产生的redolog文件大小是不一样的。
阅读全文
摘要:Oracle数据库的测试用户Scott的密码为什么是Tiger? 1977年6月,Larry Ellison 与 Bob Miner 和 Ed Oates 在硅谷共同创办了一家名为软件开发实验室(Software Development Laboratories,SDL)的计算机公司(Oracle公
阅读全文
摘要:oracle 11g安装过程中问题:找不到WFMLRSVCApp.ear 在 oracle 11gR2 64bit 安装到window 7 64位操作系统中,安装到53%时,提示找不到WFMLRSVCApp.ear文件, win64_11gR2_database_1of2win64_11gR2_da
阅读全文
摘要:利用rlwrap工具解决方法 1、安装rlwrap和readline库 CentOS下可以用EPEL的yum源直接安装,步骤如下: (1)RHEL/CentOS/SL Linux 6.x 下安装 EPEL6 yum源: 32位系统选择: # rpm -ivh http://download.fedo
阅读全文
摘要:执行计划是SQL获取和处理数据的途径和方法. 执行计划和性能 SQL -- 数据库性能的始作俑者 所有的数据库性能,几乎全部来自SQL。优秀的SQL是数据库最大的福祉。一条很烂的SQL,可以搞瘫一台性能极好的服务器。 为什么高效的 SQL 这么难? 语言的效率,是SQL语言的最难的地方– table
阅读全文
摘要:One characteristic of an RDBMS is the independence of physical data storage from logical data structures. RDBMS的特点之一是物理数据与逻辑数据结构的独立性. Introduction to
阅读全文
摘要:AutoArchive settings explained Applies To: Outlook 2010 More... Less AutoArchive helps manage the space in your mailbox or on the e-mail server that y
阅读全文
摘要:查询在邮箱上设置的转发功能: Get-Mailbox -server MX01 -Filter {ForwardingAddress -like '*'} | Select-Object Name, ForwardingAddress | Export-Csv "D:\Scripts\Forward
阅读全文
摘要:Outlook2010 http://support.microsoft.com/viewkb/viewkb.aspx?contentid=2596516 Outlook2007 http://support.microsoft.com/kb/970123/zh-cn#FixItForMe 在用戶電
阅读全文
摘要:在Exchange中默认有设置outlook的规则的大小,如果client在outlook上设定的规则超过大小会导致功能无法使用 Outlook的郵件規則,在Exchange 2000/2003時,郵件規則預設是32K 在exchange2007 or exchange 2010,可以修改,預設是6
阅读全文
摘要:Actually I got to thinking this might make a good blog post so I took a closer look - Try this: On the folder above the inbox, right click and select
阅读全文
摘要:Exchange Server 2010 Product name Build number Date KB Microsoft Exchange Server 2010 RTM 14.0.639.21 11/9/2009 Update Rollup 1 for Exchange Server 20
阅读全文
摘要:如何取一个数的整数值? 使用类型强制转换 Powershell的强制转换有2种方式,一种是直接类型强制转换,另一种是通过-as运算符进行转换 PS F:\> [int] (3 / 2) # 直接类型强制转换 2 PS F:\> (3 / 2) -as [int] # -as运算符进行类型转换 2 P
阅读全文
摘要:Exchange 2016 和早期版本的 Exchange Server 共存方案Exchange 2016支持混合部署方案Exchange 2016 的网络和目录服务器要求目录服务体系结构:在目录服务器上安装Exchange2016硬件操作系统Exchange 2016 支持的 Windows M
阅读全文
摘要:问题:Vmware VsPhere下的VM无法安装Hyper-v服务 解决方案:打开vmware vm的安装目录,然后找到.vmx的文件,然后进行修改 打开w-c-w2012.vmx文件 添加如下 hypervisor.cpuid.v0 = "FALSE" mce.enable = "TRUE" v
阅读全文
摘要:Error信息: hardware virtualization is not a feature of the cpu or is not enabled in the BIOS 解决方案: F2进入BIOS, 启用Virtualization Technology When installing
阅读全文
摘要:如何在ESX上安裝ESX需注意幾點: 1、Guest OS選Linux / Red Hat Enterprise Linux 5 (64-bit) 2、使用SSH連線實體ESX主機下指令 添加*.vmx檔案內容: vhv.allow=”true” 3、到ESXI_TEST修改*.vmx檔案內容中的g
阅读全文
摘要:Dell DRAC,虚拟介质分离或所选虚拟磁盘驱动器的虚拟介质重定向已由另一用户使用 DELL Idrac 一台Dell的R710服务器,远程管理器后发现虚拟介质无法映射,一直提示“虚拟介质分离或所选虚拟磁盘驱动器的虚拟介质重定向已由另一用户使用” 解决方案: 在管理界面-控制台/介质-虚拟介质:设
阅读全文
摘要:一、使用Powershell插入数据到SQL中 1、方法一 1 $ServerName=xxx 2 $Database=xxx 3 $UserID=xxx 4 $Pwd=xxx 5 $conn=new-object System.Data.SqlClient.SQLConnection 6 $Con
阅读全文
摘要:运行Invoke-Sqlcmd命令,使用这个命令需满足如下条件: 1、在运行服务器中安装SQL Server 2008 R2 Management ObjectsI 2、在运行命令 invoke-sqlcmd 前执行如下语句. 1 Add-PSSnapin SqlServerCmdletSnapin
阅读全文
摘要:Telnet Port 脚本 1 $servers = get-content D:\ps\ServerIPAddress.TXT 2 $portToCheck = '80' 3 for($i=1;$i -le 120;$i++) 4 { 5 foreach ($server in $servers
阅读全文
摘要:Get-QADGroupMember命令是Quest Active Directory的命令,必须安装如下包才能使用! 电脑路径: D:\soft\AD\Quest_Quest-One-ActiveRoles-Management-Shell-for-Active-Directory-x64_160
阅读全文
摘要:数据Data 描述事物的符号记录成为数据. 数据是数据库中存储的基本对象. 除了基本的数字之外、像图书的名称、价格、作者都可以称为数据. 将多种数据记录列成一张表.通过数据表管理数据. 每一行的数据成为记录(recorder),每一列的内容叫做字段(列field) 每一列都有自己的数据类型. 数据库
阅读全文
摘要:Oracle简介Oracle公司的起源来自于IBM一个分析人员的论文——论关系型数据库的发展.Oracle是商业应用的软件供应商. 如银行,电话,购物,这样一个ORACLE程序一共会有四个组成:操作系统、数据库、中间件、编程语言. 除了提供商业开发支持之外,还提供一些商业软件.Oracle公司是全球
阅读全文
摘要:Downgrading an Exchange 2010 Server Microsoft Exchange Server 2010 comes in two versions: enterprise and standard. The biggest difference between the
阅读全文
摘要:查看邮箱登录信息: Get-LogonStatistics jsmith | Sort-Object clientipaddress | Format-Table Get-LogonStatistics jsmith | Sort-Object sessionid | Format-Table se
阅读全文
摘要:C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -command ". 'C:\Program Files\Microsoft\Exchange Server\V14\bin\RemoteExchange.ps1';
阅读全文
摘要:查看磁盘:fdisk -l 查看磁盘:fdisk -l 一块磁盘可以分14个分区 [root@wendyhost ~]# fdisk -l Disk /dev/sda: 64.4 GB, 64424509440 bytes 255 heads, 63 sectors/track, 7832 cyli
阅读全文
摘要:# nc -vuz serveripaddress 123 Connection to serveripaddress 123 port [udp/ntp] succeeded! 结果证明UDP 123端口正常监听 -u 使用UDP传输协议 -v 显示指令执行过程 -w<超时秒数> 设置等待连线的时
阅读全文
摘要:YUM简介 Yum(全称为 Yellow dog Updater, Modified)是一个在Fedora和RedHat以及SUSE、CentOS中的Shell前端软件包管理器。基於RPM包管理,能够从指定的服务器自动下载RPM包并且安装,可以自动处理依赖性关系,并且一次安装所有依赖的软件包,无须繁
阅读全文
摘要:OPEN 4656 ACCESS 4663 AN OBJECT WAS DELETED 4660 CLOSE 4658 1537 = Delete 1538 = Read_CONTROL 1541 = synchronize 4416 = ReadData(or List Directory) 44
阅读全文
摘要:How to Get User Logon Session Times from the Event Log To figure out user session time, you’ll first need to enable three advanced audit policies; Aud
阅读全文
摘要:表一、Logon type 表二、Audit logon events 表三、Logon type details Logon type Logon title Description 2 Interactive A user logged on to this computer. 3 Networ
阅读全文
摘要:参考微软文档整理的常用EVENTID: Account Logon Account Management Policy Change Account Logon Account Management Policy Change Event ID Event message 分類 類別 4670 Pe
阅读全文
摘要:一、How to create a Group Policy Central Store You have downloaded or created your own Group Policy Administrative Templates, and would like them to be
阅读全文
摘要:一、Setting Home Page with Group Policy Preferences 1、Open the Group Policy Management Console and create a new GPO. 2、Browse to User Configuration -> P
阅读全文
摘要:IE11 Enterprise Mode Template missing from GPMC Reason:You have not copied the new IE11 Enterprise Mode ADMX templates on your Sysvol Policies PolicyD
阅读全文