07 2010 档案

摘要:121.Youwanttocreateanewoptimizeddatabaseforyourtransactionalproductionenvironmenttobeusedbyafinancialapplication.Whilecreatingthedatabase,youwanttheOraclesoftwaretotakecareofallbasicsettingstooptimizethedatabaseperformance.Whichmethodwouldyouusetoachievethisobjective?A)UsetheCREATEDATABASE..commandt 阅读全文
posted @ 2010-07-30 13:10 sqlite例子 阅读(175) 评论(0) 推荐(0)
摘要:71.Yourdatabaseinstanceisstartedusingtheserverparameterfile(SPFILE).Controlfilesaremultiplexedandstoredondifferentdisks.Becauseofadiskfailure,youlostoneofthesecontrolfiles.Youreplacedthedamageddisk.Whatisthecorrectsequenceofstepsthatyouwouldfollowtorecoverthecontrolfile?1.shutdowntheinstance,ifnotal 阅读全文
posted @ 2010-07-29 16:18 sqlite例子 阅读(192) 评论(0) 推荐(0)
摘要:之前做DataGuard做了一次Switchover切换,之后standby库就报如下错误:ThuJul2908:03:292010Errorsinfile/dba/oracle/admin/newccs/udump/newccs_rfs_19602.trc:ORA-16401:archivelogrejectedbyRFSThuJul2908:03:292010Errorsinfile/dba/oracle/admin/newccs/bdump/newccs_arc0_19519.trc:ORA-16401:archivelogrejectedbyRFSThuJul2908:03:33201 阅读全文
posted @ 2010-07-29 09:50 sqlite例子 阅读(279) 评论(0) 推荐(0)
摘要:31.WhichtwostatementsaretrueregardingthedatabaseinARCHIVELOGmode?(Choosetwo.)A)Youhavetoshutdownthedatabasetoperformthebackups.B)Archivinginformationiswrittentothedatafilesandredologfiles.C)Youcanperformcompletedatabasebackupswithoutclosingthedatabase.D)Onlineredologfileshavetobemultiplexedbeforeput 阅读全文
posted @ 2010-07-28 17:54 sqlite例子 阅读(171) 评论(0) 推荐(0)
摘要:昨天总部巡检,要求对OracleDataGuard做一个switchover的切换演示。以前都是在虚拟机上做这种切换的,没有在生产库上做过。所以还是有些紧张。不过做DBA一定要给自己留一条后路:备份。先shutdown,做冷备,在逻辑备份,加上之前的RMAN。即使切换失败,还有备份可用心里也就有底了。照着文档做,切换还是比较顺利的。但是在改IP的时候还是有点小插曲,在这里浪费了点时间。因为之前在虚拟机上没有改过IP。但是在生产环境上,肯定是要改主备库IP的。不管怎样。总算折腾完了。三点多同事送我回去的,洗个澡就睡了,早上9点多就起来了。上班前室友和我说你太幸苦了。回:ThisisJob。其他的 阅读全文
posted @ 2010-07-27 12:51 sqlite例子 阅读(155) 评论(0) 推荐(0)
摘要:声明:对于答案的相关的说明,是个人对Oracle的理解。1.Becauseofapoweroutage,instancefailurehasoccurred.Fromwhatpointintheredologdoesrecoverybeginandwheredoesitend?A.CurrentredologandinactiveredologB.CheckpointpositiontoendofredologC.BeginningofredologtoendofredologD.AllredologsbeforethepointoflastcommitE.Beginningofredolog 阅读全文
posted @ 2010-07-26 23:32 sqlite例子 阅读(186) 评论(0) 推荐(0)
摘要:DataGuard环境:操作系统:redhat4.7Primary数据库:IP地址:10.85.10.1数据库SID:orclDB_UNIQUE_NAME:orcl_pdStandby数据库:IP地址:10.85.10.2数据库SID:orclDB_UNIQUE_NAME:orcl_stOracleDataGuard理论知识http://blog.csdn.net/tianlesoftware/archive/2010/04/22/5514082.aspxOracleDataGuradPhysicalStandby相关说明http://blog.csdn.net/tianlesoftware/ 阅读全文
posted @ 2010-07-23 01:21 sqlite例子 阅读(184) 评论(0) 推荐(0)
摘要:一.NFS配置网络文件系统(NFS,NetworkFileSystem),主要用于Linux系统之间的文件共享。1.1Linux服务器端NFS服务器的配置以root身份登陆Linux服务器,编辑/etc目录下的共享目录配置文件exports,指定共享目录及权限等。#vi/etc/exports/tmp *(rw,no_root_squash)/home/public 192.168.0.*(rw) *(ro)--这里是对同一个目录分配2个不同的网段/home/test 192.168.0.100(rw)/home/linux *.the9.com(rw,all_squash,anon... 阅读全文
posted @ 2010-07-21 11:54 sqlite例子 阅读(388) 评论(0) 推荐(0)
摘要:C++程序性能2//C++程序性能2//ProgramPerformance2.h//查找最大和最小值函数template<class T>bool MinMax(T a[],int n,int& Min,int& Max){ //寻找a[0:n-1]中的最小元素和最大元素 //如果数组中的元素数目小于1,则返回false if(n<1) return false; Min=Max=0;//初始化 for(int i=1;i<n;i++) { if(a[Min]>a[i]) Min=i; if(a[Max]<a[i]) Max=i; } re 阅读全文
posted @ 2010-07-16 16:27 sqlite例子 阅读(187) 评论(0) 推荐(0)
摘要:基于ArcEngine的土地利用规划管理信息系统的研究与开发目录《江西理工大学》2009年加入收藏获取最新基于ArcEngine的土地利用规划管理信息系统的研究与开发钱跃磊【摘要】:随着我国城镇化建设的发展和城市的不断扩张,耕地面积逐年减少,非农建设用地随之猛增,土地供需矛盾逐渐突出。为了促进土地利用规划的科学化,提高用地规划审查业务的工作效率,规范土地利用规划管理,建立科学规范的土地利用规划管理信息系统具有重要的现实意义。目前虽然一些县、市建立了土地利用规划管理信息系统,但这些系统在空间分析、海量数据管理、模型建立和辅助决策等方面表现比较差,利用新技术建立更完善、高效、实用的土地利用规划管理 阅读全文
posted @ 2010-07-14 18:17 sqlite例子 阅读(207) 评论(0) 推荐(0)
摘要://C++程序性能1//#include "ProgramPerformance.h"//program performance/*程序性能( program performance),是指运行一个程序所需要的内存大小和时间。可以采用两种方法来确定一个程序的性能,一个是分析的方法,一个是实验的方法。在进行性能分析(performance analysis)时,采用分析的方法,而在进行性能测量(performancemeasurement)时,借助于实验的方法。----程序的空间复杂性(space complexity)是指运行完一个程序所需要的内存大小。程序的时间复杂性(t 阅读全文
posted @ 2010-07-14 12:39 sqlite例子 阅读(184) 评论(0) 推荐(0)
摘要:关于规划修编标准的问题此问题只对规划修编数据库标准(报批稿)进行的分析!(1)标准的图形表字段和字段的值要可以推导出指标表格,且推导公式明确和正确;(2)地类编码体系要统一,且唯一,要有地类名称和地类代码;(3)图形表字段与指标表字段要类型一致,大小一致,字段的值也要一致;(4)图形数据中对图层要明确反映由什么地类变为什么地类的的相关字段存在;(5)由什么地类变为什么地类的代码也要是在一个统一的地类编码体系里面,且唯一;(6)面积的计算公式要明确和正确;(7)VCT样例不标准(8)... 阅读全文
posted @ 2010-07-13 09:48 sqlite例子 阅读(132) 评论(0) 推荐(0)
摘要:#include <iostream>#include <new>//LinearList.h#ifndef LinearList_#define LinearList_//LinearList 线性表//定义template<class T>class LinearList{public : LinearList(int MaxListSize=10); ~LinearList(){delete[] elements;} bool IsEmpty() const{return length==0;} int Length() const {return l 阅读全文
posted @ 2010-07-09 23:58 sqlite例子 阅读(432) 评论(0) 推荐(0)
摘要://C++测试与调试知识#ifndef OutputRoots_#define OutputRoots_template<class T>void OutputRoots(T a,T b,T c) //计算并输出一个二次方程的根{ float d=b*b-4*a*c; if(d>0) { //两个实根 float sqrtd=sqrt(d); std::cout<<"有两个实根" <<(-b+sqrtd)/(2*a) << " and " <<(-b-sqrtd)/(2*a) <&l 阅读全文
posted @ 2010-07-08 10:45 sqlite例子 阅读(207) 评论(0) 推荐(0)
摘要://C++类的相关基础2//baseClassRelInfo2.h#include <iostream>#ifndef Currency_ //可确保Currency的代码仅被程序包含(include)和编译一次#define Currency_//C++类的相关基础2signed plus=0;signed minus=1;//定义 初始化失败异常类class BadInitializers {public : BadInitializers() {}} ;//定义 抽象类 货币类class AbsCurrency{public :void Output() const;virt 阅读全文
posted @ 2010-07-06 17:48 sqlite例子 阅读(144) 评论(0) 推荐(0)
摘要:C++函数模板递归一二维数组动态分配存储空间实例1//baseCplusplus1.h//C++函数模板递归一二维数组动态分配存储空间实例1#include <stdlib.h>#include <iostream> //std::cin>> ; std::cout<<#include <excpt.h>#include <exception>int Abc(int a,int b,int c); //定义Abc(int,int,int)函数float Abc(float a,float b,float c); //定义A 阅读全文
posted @ 2010-07-05 15:44 sqlite例子 阅读(336) 评论(0) 推荐(0)