Issues with rman in oracle 10g
Hi,
[oracle@proddb12]$ rman
it does not shows anything.. what can be done to solve this. is anything else should be provided to oracle user? It is urgent, thanks in advance, please help me out.
Oracle: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bi
OS: Red Hat Enterprise Linux AS release 4 (Nahant Update 7)
and how do i know rman version in my db?
/MR
Edited by: user612078 on Sep 17, 2008 2:28 AM
Hi!
Try the following
find / -name rman
This command looks for a file called rman. These file should normaly be located in $ORACLE_HOME/bin. If it is not then it may be deleted or something. Try to reinstall it (copy all the files of the bin directory from another oracle installation).
Hope this helps!
Similar Messages
-
Installing Discoverer with Database Version Oracle 10g Express Edition
Hello,
Is it possilbe to install Discoverer with database version Oracle 10g Express Edition? I have Oracle Fusion Middleware 11.1.1.1.0 on my Windows XP machine as well. If so, can someone please provide me a link to the Discoverer download.
Regards,
KellyNote that the Personal Edition of the database is 'the most powerful' version, in that it contains all features and options of the Enterprise Edition (expect RAC and Enterprise Manager packs)
As such, the Personal Edition, at a mere USD$400-500 is one of the most cost effective for-fee products that Oracle has in it's inventory. It is targeted at the developer. And it comes with the complete set of Sample Data, whereas XE has a very limited subset (since it does not support all functionality).
Express Edition is indeed free, but it is not supported, and can not be patched. OTOH it does have a lighter footprint.
Again, I am not sure whether Disco 11g is compatible with Express Edition. (It's on my schedule for December ...) -
How can I send e-mail with attachment from oracle 10g?
How can I send email with attachment from oracle 10g?
hi you can achieve the same thing from database tier of unix.
-
Issue with .profile for oracle 9i and 10g
Here I have six oracle 9i databases on one box. I am going to upgrade five of them to oracle 10g and want to keep one database RCAT in oracle 9i for one or two week.
So, when I do upgrade I have to setup oracle home for 10g and also profile for oracle user for 10g (correct me if I m wrong). But now I want one database RCAT on oracle 9i. How can I take care of this.
I mean how I will handle profile and all other thing for oracle 9i and 10g at the same time.
Thanks,
VishalInstall 10g under the same OS user as 9i, of course on a different Oracle Home. Then you configure your .profile consequently. Just as an example, this is my .bash_profile with 10g and 11g with the same oracle OS user :
[oracle@linux5 ~]$ cat .bash_profile
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
export EDITOR=vi
export ORACLE_BASE=/home/oracle/base
umask 022
o10()
{ export ORACLE_SID=db102
export ORACLE_HOME=$ORACLE_BASE/OraHome10
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
export PATH=$ORACLE_HOME/bin:/bin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/X11R6/bin
export TNS_ADMIN=$ORACLE_BASE/OraHome11/network/admin
export PS1='[\u@\h_10 \W]\$ '
o11()
{ export ORACLE_SID=db11
export ORACLE_HOME=$ORACLE_BASE/OraHome11
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
export PATH=$ORACLE_HOME/bin:/bin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/X11R6/bin
export PS1='[\u@\h_11 \W]\$ '
s()
{ sqlplus / as sysdba
asm()
{ export ORACLE_SID=+ASM
db10()
{ export ORACLE_SID=db102
db11()
{ export ORACLE_SID=db11
asm10()
{ export ORACLE_SID=asm10
[oracle@linux5 ~]$ -
Hil,
OEM made RMAN work strangely.
In OEM, after I set some configuration in the "Backup Settings", I found that "Tape Drives" filed is automatically filled with the value: "1". I tested the issue on may machines and the result was the same.
Steps to generate the issue:
1. Login to the Database Control EM as SYS
2. Follow the following links:
Maintenace Tab -> Backup Settings -> Backup Set
3. Set "Maximum Backup Piece (File) Size" to 4 GB
4. Click on "Policy" link
5. Mark the checkbox "Automatically Backup Controlfile ..."
6. Set "Retain backups that are necessary for a recovery .." to 2 Days
7. Click on "OK" button
Now the settings should be saved. Click again on "Backup Settings", you will see that "Tape Drives" field is filled with "1". By the way, NO tape is installed on the machine.
On RMAN side, here is what I got:
RMAN> show all;
RMAN configuration parameters are:
CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 2 DAYS;
CONFIGURE BACKUP OPTIMIZATION OFF; # default
CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE SBT_TAPE TO '%F'; # defa
ult
CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
CONFIGURE DEVICE TYPE SBT_TAPE PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE SBT_TAPE TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE SBT_TAPE TO 1; # default
CONFIGURE CHANNEL DEVICE TYPE DISK MAXPIECESIZE 4 G;
CONFIGURE CHANNEL DEVICE TYPE 'SBT_TAPE' MAXPIECESIZE 4 G;
CONFIGURE MAXSETSIZE TO UNLIMITED; # default
CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
CONFIGURE SNAPSHOT CONTROLFILE NAME TO 'C:\ORACLE\ORADB10G\DATABASE\SNCFORADB.OR
A'; # default
RMAN> restore tablespace users ;
Starting restore at 13/06/07
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=143 devtype=DISK
released channel: ORA_DISK_1
RMAN-00571: ========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===========
RMAN-00571: ========================================================
RMAN-03002: failure of restore command at 06/13/2007 10:41:23
ORA-19554: error allocating device, device type: SBT_TAPE, device name:
ORA-27211: Failed to load Media Management LibraryAs you see, although the Disk is the default channel device, RMAN is trying to use SBT_TAPE.
Oracle 10g R2 on Windows XP SP2.i have seen this issue before , where oracle support suggests use
configure device type sbt clear , if you are not using media manager
or
use like , eg:
backup device type disk current controlfile
backup device type sbt current controlfile -
Oracle Clustre, Oracle Cluster with RAC and Oracle 10g
Is there a difference between Oracle Cluster and Oracle Cluster with RAC? Please explain. Do existing database codes run unmodified in Cluster or Cluster with RAC environment? What needs to be modified to make existing SQL codes RAC-aware. How to achieve 'all automatic' in case of failure and resubmission of Queries from failed instance to a running instance?
In 10g environment, do we need to consider licensing of RAC as a separate product? What are additional features one derives in 10g that is not in Cluster +RAC?
Your comments and pointers to comparison study and pictorial clarification will be very helpful.Oracle cluster like failsafe before or Veritas Cluster or other vendor's cluster is meant for HA (high availability) purpose. Which 2 nodes or more can see a shared disk with 1 active node. Whenever this active node failed through heartbeat other machine will know and will take the database over from there.
Oracle RAC is more for HA and load balance. In Oracle RAC 2 or more nodes are accessing the database at the same time so it spread load across all these nodes.
I believe Oracle 10g RAC still need seperate license for it. But you need to call Oracle or check the production document to verify it.
Oracle 10g besides improvement in RAC. It's main improvement is on the build in management of the database itself. It can monitored and selftune itself to much furthur level then before and give DBA much more information to determine the cause of the problem as well. Plus improvement on lots of utility as well like RMAN , data pump etc... I don't want to get into too much detail on this you can check on their 10g new features for more detail view.
Hope this help. :) -
Sun Solaris 10,Upgrade 8 or higher,having issues with VxFS,for Oracle 11gr2
A while ago, we tried doing a prototype upgrade of our main Oracle 10g db to Oracle 11gr2.
The OS on which our Oracle 10g is running is Sun Solaris 10, upgrade 4.
According to Oracle 11gr2 documentation, we need Sun Solaris 10, upgrade 6 or higher for Oracle 11g2.
The filesystem we are using is VxFS, Veritas File System.
According to our system administrator, we had issues , making Sun Solar 10, upgrade 8 , work with the VxFS filesystem.
I was wondering if anybody is running Oracle 11g2 on Sun Solaris 10 upgrade 6 or higher with VxFS file system.
At present, our Oracle db upgrade project is on a hold, because of the above issue. So your help on this , can really help us in figuring out if there is an issue between VxFS filesystem and Sun Solaris 10 OS.
Thanks
AshishHi Ashish,
We are not running Veritas Cluster file system.
We tried moving our Oracle 10g r2 db on ZFS ,before doing the upgrade and performance on ZFS was worst.
ZFS has certain memory parameter setting. If you did not configure that then ZFS will eat your complete system memory.
My system administrator, has gotten a copy of Solaris 10 upgrade 9 and will try that with VxFS.
I was curious to find out if folks are running Oracle 11g on Sun Solaris 10 with VxFS file system and if they had experienced any issue.If you can Install Vxfs on Oracle Soalris 10 U9, then according to me there sholudn't be any limitations for an oracle database.
Recently i installed Oracle database 11.2.0.2 on one of my test server. I have created two databases - one on ZFS and another on ASM.
Refer:
http://appsdbaworkshop.blogspot.com/2010/10/installation-of-11202-on-oracle-solaris.html
We dont have any performance issues. We are testing it for the performance benchmarks on both of the filesystem.
If you can Install Vxfs on Oracle Soalris 10 U9, then according to me there sholudn't be any limitations for an oracle database.
Regards,
X A H E E R -
Issues with CLOB dataype in 10g. (Data truncation)
I have a product which is running perfectly fine on Oralce 9i. We are trying to upgrade the product to 10g. Once the database is upgraded and after the data is imported, we are facing few issues with CLOB data type values. We are using SQLGetData function to fetch data from these CLOB datatypes. The data is getting truncated when retriving. Oracle says, its an issue with ODBC driver which was released with 10g Relase 1. I tried to upgrade the ODBC driver. But even after upgrading, I am still facing the same issue. I tried to upgrade it Oracle 10g Release 2. Still I am facing the same issue. The data stored in CLOB datatype is xml data. So after retriving the truncated data, XML parser is not able to parse the data.
When I trace the error using ODBC Error Tracing, I am getting this error :
[01004] [Oracle][ODBC]String data, right truncated. (0) .
Has anyone faced anything like this. your inputs will be greatly appreciated.
Thanks in advance.Hi,
Thanks for the reply. I couldn't quite got what you meant by referential variable. Could you please elaborate on that.
Thanks in advance. -
Hi DBA gurus,
We have Oracle 10g/11g and Operating System : Windows
While inserting XML data in CLOB datatype we are getting *¿<?xml version="1.0" encoding="utf-8"?>* in the data. I suspect this is BOM (Byte Order Mark) related issue.
The settings of NLS in our database are :
NLS_CHARACTERSET WE8MSWIN1252
NLS_NCHAR_CHARACTERSET AL16UTF16
Is this database related issue ? I have read somewhere that this issue is related to UNICODE. Please advise to get rid of this special character.
Thanks.Hi!
Try the following
find / -name rman
This command looks for a file called rman. These file should normaly be located in $ORACLE_HOME/bin. If it is not then it may be deleted or something. Try to reinstall it (copy all the files of the bin directory from another oracle installation).
Hope this helps! -
Facing issue in Connecting to Oracle 10g database in OBIEE+
Hi All
I have done the BASIC installation of OBIEE+ on Windows [local system].
I have tested for all the services running and they are running fine.
As Oracle 10g is our databse i need to connect to the databse.
Please guide me with step by step process on how to establish the connection.
I went through the tutorail but still failed to establish the connection.
Thanks in advance,
Regards,
Veena A
Edited by: user10511722 on Dec 14, 2008 11:40 PMAs John says you need some sort of Oracle client to connect to the database.
I use instant client, with ODBC options, and SQLPlus (to test connectivity)
Available here
http://www.oracle.com/technology/tech/oci/instantclient/instantclient.html
You will also need to copy your tnsnames.ora into the directory you install in, and set the TNS_ADMIN environment variable to point to it. -
Occi GetString causing a exception with ntdll.dll oracle 10g and MS 2005
hi,
I am getting an exception with using Visual Studio 2005(VC++8) and occi.h 10g client.
When I run the release version I get an exception in ntdll.dll.
The problem is in the getString(). The field in the oracle table is defined as a varchar2(300).
I am new to oracle occi and need a solution because we cannot migrate to another version of the database.
These are the solutions I have tried:
download patches for MS Visual studio
download patched for oracle 10g client
Check that the charset it correct for std:string
I see that others have had the same problem but no one has a solution. If anyone has a solution please email me because I have searched for days!
Thanks
SherylAloha
Thank you for your response, I am new to posting, occi and C++. Can I send you the files.
Sorry didnt read this reply until today.
The email is [email protected].
This environment:
1> windows xp
2> MS Studio 5 VC++8
3> OCCI 10.2.0.3.0 (patch 13)libraries for Microsoft Visual C++ 8
4> I am using the Instant Client
5> I am using /MD Multithreaded DLL
6> Charset is oracle::occi::Environment::createEnvironment ("US7ASCII","AL16UTF16",Environment::DEFAULT);
7> We running the application in release mode and getting this error with a bad memory reference on getString().
I am getting a memory reference error on the getString(4).
This is the code that is causing the error
try
string istmt ="SELECT FILE_ID,FILES.FTYP_ID,LTRIM(RTRIM(FILEPATH)),LTRIM(RTRIM(FILENAME)),TITLE FROM FILES,FILE_TYPES WHERE FILE_TYPES.EXTN = 'img'AND file_types.ftyp_id = files.ftyp_id AND FILES.HDR_SCAN_DATE IS NULL ORDER BY FILEPATH, FILENAME ";
ResultSet * set = db->select(istmt);
if (set == NULL)
LogT::Get()->log(Logger::LOG_LEVEL_INFO,"No file to process occured in : %s ", methodName.c_str());
return;
LogT::Get()->log(Logger::LOG_LEVEL_INFO,"Did select in : %s ", methodName.c_str());
while (set->next())
LogT::Get()->log(Logger::LOG_LEVEL_INFO,"Doing a set next in : %s ", methodName.c_str());
if (set->isNull(1) || set->isNull(2) || set->isNull(4) || set->isNull(3))
LogT::Get()->log(Logger::LOG_LEVEL_INFO,"a value is null continue in : %s ", methodName.c_str());
continue;
try {
LogT::Get()->log(Logger::LOG_LEVEL_INFO,"About to get string 3 in : %s ", methodName.c_str());
std::string test(set->getString(3));
fname.assign(test);
LogT::Get()->log(Logger::LOG_LEVEL_INFO,"File name: %s in : %s ",fname.c_str(), methodName.c_str());
} catch (exception ex9) {
LogT::Get()->log(Logger::LOG_LEVEL_ERROR,"Exception in get string msg: occured in : %s ",ex9.what(), methodName.c_str());
continue;
LogT::Get()->log(Logger::LOG_LEVEL_INFO,"getting int 1 in : %s ", methodName.c_str());
fid = set->getInt(1);
LogT::Get()->log(Logger::LOG_LEVEL_INFO,"getting string 4 in : %s ", methodName.c_str());
fn.assign(set->getString(4));
LogT::Get()->log(Logger::LOG_LEVEL_INFO,"after getting string 4 in : %s ", methodName.c_str());
//dont append a slash if not need
size_t pos = fname.find_last_of("\\");
if(pos != fname.length()-1)
fname.append("\\");
fname.append(fn);
LogT::Get()->log(Logger::LOG_LEVEL_INFO,"adding %s to map in : %s ",fname.c_str(), methodName.c_str());
fnames.insert (std::pair<unsigned int,std::string>(fid,fname));
// int ftype = set->getInt(2);
LogT::Get()->log(Logger::LOG_LEVEL_INFO,"got fid:%d, fname:%s fn: %s to map in : %s ",fid,fname.c_str(),fn.c_str(), methodName.c_str());
catch (SQLException ex)
LogT::Get()->log(Logger::LOG_LEVEL_ERROR,"Sql Exception code: %d message: %s occured in : %s ",ex.getErrorCode(),ex.getMessage().c_str(), methodName.c_str());
db->exceptionHandler("SELECT PARAMS",ex.getErrorCode(),ex.getMessage());
throw;
catch (exception ex3)
LogT::Get()->log(Logger::LOG_LEVEL_ERROR,"Exception occured message: %sin : %s ", ex3.what(),methodName.c_str());
db->exceptionHandler("SELECT PARAMS",1,ex3.what());
throw;
catch (...) {
LogT::Get()->log(Logger::LOG_LEVEL_ERROR,"Error occured in : %s ", methodName.c_str());
This is the code for the select in occi
/* Select statement for oracle occi*/
void * OraDb::select(std::string& sqlStr,std::map<std::string,VALUES,classcomp> & val) {
string methodName = "OraDb::select";
ResultSet *selectRset;
try {
this->stmt->setSQL(sqlStr);
this->bind(val);
selectRset = this->stmt->executeQuery ();
oracle::occi::Statement::Status res = this->stmt->status();
while(res != oracle::occi::Statement::RESULT_SET_AVAILABLE) {
LogT::Get()->log(Logger::LOG_LEVEL_INFO,"the results set isnt ready");
res = this->stmt->status();
catch (SQLException ex)
LogT::Get()->log(Logger::LOG_LEVEL_ERROR,"Sql Error in %s code: %d Message:%s",methodName.c_str(),ex.getErrorCode(),ex.getMessage().c_str());
//Add error to error log
this->exceptionHandler(methodName,ex.getErrorCode(),ex.getMessage());
throw;
catch (exception ex3)
LogT::Get()->log(Logger::LOG_LEVEL_ERROR,"Error in %s Message:%s",methodName.c_str(),ex3.what());
this->exceptionHandler(methodName,1,ex3.what());
//Add error to errorlog
throw;
return selectRset;
This is the logs I get
ParamsTb::selectImgParams
in method OraDb::select this is the statement:SELECT FILE_ID,FILES.FTYP_ID,LTRIM(RTRIM(FILEPATH)),LTRIM(RTRIM(FILENAME)),TITLE FROM FILES,FILE_TYPES WHERE FILE_TYPES.EXTN = 'img'AND file_types.ftyp_id = files.ftyp_id AND FILES.HDR_SCAN_DATE IS NULL
Did select in : FilesTb::selectImgFiles
Doing a set next in : FilesTb::selectImgFiles
About to get string 3 in : FilesTb::selectImgFiles
File name: \\e1-stor\Backup Data\Backup Folder Archive (from e1-stor)\MOST-1_backup\CamIRa\fpa\384-for-MnM\ in : FilesTb::selectImgFiles
getting int 1 in : FilesTb::selectImgFiles
getting string 4 in : FilesTb::selectImgFiles
after getting string 4 in : FilesTb::selectImgFiles
adding \\e1-stor\Backup Data\Backup Folder Archive (from e1-stor)\MOST-1_backup\CamIRa\fpa\384-for-MnM\\foeHeaderAirplane.img to map in : FilesTb::selectImgFiles
got fid:4766408, fname:\\e1-stor\Backup Data\Backup Folder Archive (from e1-stor)\MOST-1_backup\CamIRa\fpa\384-for-MnM\\foeHeaderAirplane.img fn: foeHeaderAirplane.img to map in : FilesTb::selectImgFiles
Doing a set next in : FilesTb::selectImgFiles
About to get string 3 in : FilesTb::selectImgFiles
File name: \\e1-stor\Backup Data\Backup Folder Archive (from e1-stor)\MOST-1_backup\HFDS20080826\384-for-MnM\ in : FilesTb::selectImgFiles
getting int 1 in : FilesTb::selectImgFiles
getting string 4 in : FilesTb::selectImgFiles
after getting string 4 in : FilesTb::selectImgFiles
adding \\e1-stor\Backup Data\Backup Folder Archive (from e1-stor)\MOST-1_backup\HFDS20080826\384-for-MnM\\foeHeaderAirplane.img to map in : FilesTb::selectImgFiles
got fid:4778728, fname:\\e1-stor\Backup Data\Backup Folder Archive (from e1-stor)\MOST-1_backup\HFDS20080826\384-for-MnM\\foeHeaderAirplane.img fn: foeHeaderAirplane.img to map in : FilesTb::selectImgFiles
Doing a set next in : FilesTb::selectImgFiles
About to get string 3 in : FilesTb::selectImgFiles
File name: \\e1-stor\Backup Data\Backup Folder Archive (from e1-stor)\workstations\HFDS2-10-1-0-99\c\WINDOWS\system32\drivers\ in : FilesTb::selectImgFiles
getting int 1 in : FilesTb::selectImgFiles
getting string 4 in : FilesTb::selectImgFiles
after getting string 4 in : FilesTb::selectImgFiles
adding \\e1-stor\Backup Data\Backup Folder Archive (from e1-stor)\workstations\HFDS2-10-1-0-99\c\WINDOWS\system32\drivers\\netwlan5.img to map in : FilesTb::selectImgFiles
got fid:4873869, fname:\\e1-stor\Backup Data\Backup Folder Archive (from e1-stor)\workstations\HFDS2-10-1-0-99\c\WINDOWS\system32\drivers\\netwlan5.img fn: netwlan5.img to map in : FilesTb::selectImgFiles
Doing a set next in : FilesTb::selectImgFiles
About to get string 3 in : FilesTb::selectImgFiles
File name: \\e1-stor\Backup Data\Backup Folder Archive (from e1-stor)\workstations\rwolfshagen\c\Resp-C4\ in : FilesTb::selectImgFiles
getting int 1 in : FilesTb::selectImgFiles
getting string 4 in : FilesTb::selectImgFiles
I dumped a few things from last night’s Dr. Watson run, shown below, which may help:
manifest.txt
Server=watson.microsoft.com
UI LCID=1033
Flags=1672016
Brand=WINDOWS
TitleName=ImgHeaderLoader.exe
DigPidRegPath=HKLM\Software\Microsoft\Windows NT\CurrentVersion\DigitalProductId
ErrorText=This error occurred on 6/25/2009 at 1:47:02 AM.
HeaderText=ImgHeaderLoader.exe encountered a problem and needed to close.
Stage1URL=/StageOne/ImgHeaderLoader_exe/0_0_0_0/ntdll_dll/5_2_3790_4455/0002b67d.htm
Stage2URL=/dw/stagetwo.asp?szAppName=ImgHeaderLoader.exe&szAppVer=0.0.0.0&szModName=ntdll.dll&szModVer=5.2.3790.4455&offset=0002b67d
DataFiles=C:\DOCUME~1\ndana\LOCALS~1\Temp\1\WER141d.dir00\ImgHeaderLoader.exe.mdmp|C:\DOCUME~1\ndana\LOCALS~1\Temp\1\WER141d.dir00\appcompat.txt
Heap=C:\DOCUME~1\ndana\LOCALS~1\Temp\1\WER141d.dir00\ImgHeaderLoader.exe.hdmp
ErrorSubPath=ImgHeaderLoader.exe\0.0.0.0\ntdll.dll\5.2.3790.4455\0002b67d
DirectoryDelete=C:\DOCUME~1\ndana\LOCALS~1\Temp\1\WER141d.dir00
appcompat.txt
<?xml version="1.0" encoding="UTF-16"?>
<DATABASE>
<EXE NAME="ImgHeaderLoader.exe" FILTER="GRABMI_FILTER_PRIVACY">
<MATCHING_FILE NAME="common.dll" SIZE="6656" CHECKSUM="0xA0D33EDD" MODULE_TYPE="WIN32" PE_CHECKSUM="0x8ADC" LINKER_VERSION="0x0" LINK_DATE="06/25/2009 00:44:47" UPTO_LINK_DATE="06/25/2009 00:44:47" />
<MATCHING_FILE NAME="FileLoader.exe" SIZE="65536" CHECKSUM="0x15C68C49" MODULE_TYPE="WIN32" PE_CHECKSUM="0x16CC5" LINKER_VERSION="0x0" LINK_DATE="06/23/2009 02:29:33" UPTO_LINK_DATE="06/23/2009 02:29:33" />
<MATCHING_FILE NAME="FileLoaderOriginal.exe" SIZE="65536" CHECKSUM="0x6672AE23" MODULE_TYPE="WIN32" PE_CHECKSUM="0x17E45" LINKER_VERSION="0x0" LINK_DATE="06/20/2009 03:34:40" UPTO_LINK_DATE="06/20/2009 03:34:40" />
<MATCHING_FILE NAME="ImgHeaderLoader.exe" SIZE="118784" CHECKSUM="0xBA94D6AE" MODULE_TYPE="WIN32" PE_CHECKSUM="0x20F4B" LINKER_VERSION="0x0" LINK_DATE="06/24/2009 22:42:49" UPTO_LINK_DATE="06/24/2009 22:42:49" />
<MATCHING_FILE NAME="x.exe" SIZE="65536" CHECKSUM="0x66982AE3" MODULE_TYPE="WIN32" PE_CHECKSUM="0x103FD" LINKER_VERSION="0x0" LINK_DATE="06/18/2009 23:55:27" UPTO_LINK_DATE="06/18/2009 23:55:27" />
</EXE>
<EXE NAME="ntdll.dll" FILTER="GRABMI_FILTER_THISFILEONLY">
<MATCHING_FILE NAME="ntdll.dll" SIZE="774144" CHECKSUM="0x74ACB78F" BIN_FILE_VERSION="5.2.3790.4455" BIN_PRODUCT_VERSION="5.2.3790.4455" PRODUCT_VERSION="5.2.3790.4455" FILE_DESCRIPTION="NT Layer DLL" COMPANY_NAME="Microsoft Corporation" PRODUCT_NAME="Microsoft® Windows® Operating System" FILE_VERSION="5.2.3790.4455 (srv03_sp2_gdr.090203-1205)" ORIGINAL_FILENAME="ntdll.dll" INTERNAL_NAME="ntdll.dll" LEGAL_COPYRIGHT="© Microsoft Corporation. All rights reserved." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x40004" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0xC2B9D" LINKER_VERSION="0x50002" UPTO_BIN_FILE_VERSION="5.2.3790.4455" UPTO_BIN_PRODUCT_VERSION="5.2.3790.4455" LINK_DATE="02/09/2009 11:02:56" UPTO_LINK_DATE="02/09/2009 11:02:56" VER_LANGUAGE="English (United States) [0x409]" />
</EXE>
<EXE NAME="kernel32.dll" FILTER="GRABMI_FILTER_THISFILEONLY">
<MATCHING_FILE NAME="kernel32.dll" SIZE="1038336" CHECKSUM="0x7EFD9E0D" BIN_FILE_VERSION="5.2.3790.4480" BIN_PRODUCT_VERSION="5.2.3790.4480" PRODUCT_VERSION="5.2.3790.4480" FILE_DESCRIPTION="Windows NT BASE API Client DLL" COMPANY_NAME="Microsoft Corporation" PRODUCT_NAME="Microsoft® Windows® Operating System" FILE_VERSION="5.2.3790.4480 (srv03_sp2_gdr.090321-1244)" ORIGINAL_FILENAME="kernel32" INTERNAL_NAME="kernel32" LEGAL_COPYRIGHT="© Microsoft Corporation. All rights reserved." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x40004" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0x101B44" LINKER_VERSION="0x50002" UPTO_BIN_FILE_VERSION="5.2.3790.4480" UPTO_BIN_PRODUCT_VERSION="5.2.3790.4480" LINK_DATE="03/21/2009 17:08:26" UPTO_LINK_DATE="03/21/2009 17:08:26" VER_LANGUAGE="English (United States) [0x409]" />
</EXE>
</DATABASE>
THANKS!!!!! -
Requesting help with pivot in Oracle 10g
Hey all,
I have this table, let's call it table GRID that has the following columns:
OBJECT_KEY DATE_KEY SEGMENT_ID COLUMN_NAME COMMITTEDVIRTUALMEMORYSIZE_AVG
619 3371 1 M1100 593589862.4
619 3371 1 M1105 593611434.67
620 3371 1 M1100 592354508.8
620 3371 1 M1105 592376263.11
621 3371 1 M1100 731433369.6
621 3371 1 M1105 731455943.11What would it take to pivot the column names ('M1100', 'M1105') with the metric value volumn: 'COMMITTEDVIRTUALMEMORYSIZE_AVG' so much that this query would result in an output like this:
OBJECT_KEY DATE_KEY SEGMENT_ID M1100 M1105
619 3371 1 593589862.4 593611434.67
620 3371 1 592354508.8 592376263.11
621 3371 1 731433369.6 731455943.11Any help would be much appreciated!
Again, Oracle 10g, not 11g so I don't have the PIVOT function to work with.
Regards,
TimSHi,
Search for Pivot:, or see the example below, for how to do a basic pivot. (This was called "pivot" long before Oracle 11.)
The example below uses COUNT as the aggregate function; you'll probably wnat SUM instead.
If you don't know how many pivoted columns there will be (two, in the example you posted), or what their unique values are ('M1100' and 'M1105') ahead of time, then you will need dynamic SQL. As dynamic SQL goes, this is pretty easy; you can do it in either SQL*Plus or PL/SQL.
-- How to Pivot a Result Set (Display Rows as Columns)
-- For Oracle 10, and earlier
-- Actually, this works in any version of Oracle, but the
-- "SELECT ... PIVOT" feature introduced in Oracle 11
-- is better. (See Query 2, below.)
-- This example uses the scott.emp table.
-- Given a query that produces three rows for every department,
-- how can we show the same data in a query that has one row
-- per department, and three separate columns?
-- For example, the query below counts the number of employess
-- in each departent that have one of three given jobs:
PROMPT ========== 0. Simple COUNT ... GROUP BY ==========
SELECT deptno
, job
, COUNT (*) AS cnt
FROM scott.emp
WHERE job IN ('ANALYST', 'CLERK', 'MANAGER')
GROUP BY deptno
, job;
Output:
DEPTNO JOB CNT
20 CLERK 2
20 MANAGER 1
30 CLERK 1
30 MANAGER 1
10 CLERK 1
10 MANAGER 1
20 ANALYST 2
PROMPT ========== 1. Pivot ==========
SELECT deptno
, COUNT (CASE WHEN job = 'ANALYST' THEN 1 END) AS analyst_cnt
, COUNT (CASE WHEN job = 'CLERK' THEN 1 END) AS clerk_cnt
, COUNT (CASE WHEN job = 'MANAGER' THEN 1 END) AS manager_cnt
FROM scott.emp
WHERE job IN ('ANALYST', 'CLERK', 'MANAGER')
GROUP BY deptno;
-- Output:
DEPTNO ANALYST_CNT CLERK_CNT MANAGER_CNT
30 0 1 1
20 2 2 1
10 0 1 1
-- Explanation
(1) Decide what you want the output to look like.
(E.g. "I want a row for each department,
and columns for deptno, analyst_cnt, clerk_cnt and manager_cnt)
(2) Get a result set where every row identifies which row
and which column of the output will be affected.
In the example above, deptno identifies the row, and
job identifies the column.
Both deptno and job happened to be in the original table.
That is not always the case; sometimes you have to
compute new columns based on the original data.
(3) Use aggregate functions and CASE (or DECODE) to produce
the pivoted columns.
The CASE statement will pick
only the rows of raw data that belong in the column.
If each cell in the output corresponds to (at most)
one row of input, then you can use MIN or MAX as the
aggregate function.
If many rows of input can be reflected in a single cell
of output, then use SUM, COUNT, AVG, STRAGG, or some other
aggregate function.
GROUP BY the column that identifies rows.
PROMPT ========== 2. Oracle 11 PIVOT ==========
WITH e AS
( -- Begin sub-query e to SELECT columns for PIVOT
SELECT deptno
, job
FROM scott.emp
) -- End sub-query e to SELECT columns for PIVOT
SELECT *
FROM e
PIVOT ( COUNT (*)
FOR job IN ( 'ANALYST' AS analyst
, 'CLERK' AS clerk
, 'MANAGER' AS manager
NOTES ON ORACLE 11 PIVOT:
(1) You must use a sub-query to select the raw columns.
An in-line view (not shown) is an example of a sub-query.
(2) GROUP BY is implied for all columns not in the PIVOT clause.
(3) Column aliases are optional.
If "AS analyst" is omitted above, the column will be called 'ANALYST' (single-quotes included).
{code} -
Need Urgent Help with trigger in Oracle 10g
Hello frd,
I am working on my DBMS Project in VB 6.0 that is Tollbooth management system
i have to insert one trigger for my project so i had decided to insert time trigger.
I have total 3 table UserLogin, Vehice and Vehicle_Data
the 3rd table Vehicle data contain the following fields
Vehicle_Type, Vehicle_No, Tax_Time, Source, Destination and Tax
Now i had done coding for tax when you select Vehicle Type, Source and Destination the Tax Field will automatically fillup and all the data will Saved in Oracle table but now my problem is that i want to create trigger for Tax_Time column When any new data inserted current time will stored in that column
I had create one but it gives error
create trigger time after insert on vehicle_Data
for each row
begin
insert into Vehicle_Data(Tax_Time) values(to_char(sysdate, 'HH:MI:SSAM DD_MON_YYYY'));
end;
Note: I am Using VB 6.0 and Oracle 10g Express EditionI had create one but it gives errorWelcome to the forum and many many thanks for not posting the full error message, that is really helpful, since we're all a 100% sure what's going on now (yes, that was ironic ;) ).
Let me guess: a mutating table error?
Read:
http://www.oracle-base.com/articles/9i/MutatingTableExceptions.php
http://asktom.oracle.com/pls/asktom/ASKTOM.download_file?p_file=6551198119097816936
But before that, actually you should read:
http://tkyte.blogspot.com/2005/06/how-to-ask-questions.html -
Clone database using RMAN on Oracle 10g
contents of Memory Script:
shutdown clone;
startup clone nomount ;
executing Memory Script
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 08/26/2009 15:55:39
RMAN-03015: error occurred in stored script Memory Script
RMAN-06136: ORACLE error from auxiliary database: ORA-01013: user requested canc
el of current operation
how to solve this error?
KushalHi,
but i am not able to configure using enterprise manager. it is always giving error.You could check the OEM forum or raise an SR at metalink.
Hard to tell what is going on without the details.
Regards,
Tycho -
Something´s going wrong with select distinct (Oracle 10g)
Our database is oracle 10g release 2 and the query statement is:
select distinct last_name
from students;
and the query returns all of the last_names without an specific order..
If I execute the same query in oracle 9i the query returns all of the last_name in alphabetic order.
Why is it different on Oracle 10g?See also this blog entry from Mr. Kyte.
C.
Maybe you are looking for
-
How do I restore the cloned drive ....
Good Morning, I was wondering if you can help me. I made a copy of my hd with super duper on an external hd . Now how can I restore the drive to the macbook drive? Thanks in advance.
-
Adding a email button to a pdf form
Hi, I have created a PDF from via indesign and edited it within Acrobat 9 adding a series of form fields. I wanted to add a "Submit" button to this form so that once the end user has completed this form it can be sent and attached to an e-mail addres
-
How do I organize mailboxes in icloud
How do I organize mailboxes in icloud?
-
This listing below demonstrates a bug in the Oracle optimizer that causes incorrect results to be returned after a table is analyzed. Rule based optimizer gives correct results. Under cost-based optimization the predicate includes a condition from a
-
Hi guys, I heard that there are phases in implementation part of ASAP methodology, can you confirm it with elaboration secondly, how well is the role of sap bw consultant defined in implementation project and production support project on paper a