Block recover in oracle 10g

Hi all,
db version - 10.2.0.4 ; OS version : RHEL 5.7
There was a corruption in the block in undo datafile in one of our production database. I tried to recover the block using RMAN :
RMAN> blockrecover datafile # block #;
but what its doing is restoring all the archive logs to the archive destination. I have started the block recovery at 10:30am and its already 11:50pm but still its restoring all the archive logs. First it read the last FULL backup which was of date 02-July-2012 , Once it completed that it started restoring all the archived logs to the archive destination.
I am really confused what I have to do know. I am thinking of stopping the restoration and then add a new datafile to the Undo tablespace and then remove the corrupted block undo datafile.
Is my approach correct or Do I need to follow any other procedure to overcome the issue.
Regards,
Imran Khan

I mean rman block recovery procedure. I am not deleting yet. I just wanna know which approach I have to take in order to resolve the issue.
Regards,
Imran Khan

Similar Messages

  • Finding and fixing block corruption in oracle 10g

    10.2.0.5.6
    OS: Hp-unix
    databases files on RAW.
    DB Size: 10 TBs+
    We had a SAN outage recently. The DB is back online. We want to check for block corruption to be on the safe side. We are planning to take a SAN EMC BCV copy of prod to run this. Looking for opinioms on the best way.Production is up and running. This is just a sanity check.
    We are NOT using RMAN for backups. We do a BCV copy and then back that up and archive logs to tape.
    RMAN: Can we do this from the control files? Do we have to set anything up? Is this the best way?
    DBMS_REPAIR: I have not used this. We don't even have the package installed. I can install it.
    DB_VERIFY: not sure if this is a good option or not. Is this current? I know I'll have to do it file by file and grep the logs. I have used this in the past, but its been a while.
    Performance issues, CPU, I/O don't matter. We are doing a BCV copy and then mounting the DB on a new server.

    Guess2 wrote:
    10.2.0.5.6
    OS: Hp-unix
    databases files on RAW.
    DB Size: 10 TBs+
    We had a SAN outage recently. The DB is back online. We want to check for block corruption to be on the safe side. We are planning to take a SAN EMC BCV copy of prod to run this. Looking for opinioms on the best way.Production is up and running. This is just a sanity check.
    We are NOT using RMAN for backups. We do a BCV copy and then back that up and archive logs to tape.
    RMAN: Can we do this from the control files? Do we have to set anything up? Is this the best way?
    DBMS_REPAIR: I have not used this. We don't even have the package installed. I can install it.
    DB_VERIFY: not sure if this is a good option or not. Is this current? I know I'll have to do it file by file and grep the logs. I have used this in the past, but its been a while.
    Performance issues, CPU, I/O don't matter. We are doing a BCV copy and then mounting the DB on a new server.
    bcm@bcm-laptop:~$ dbv -help
    DBVERIFY: Release 11.2.0.1.0 - Production on Mon May 21 07:29:42 2012
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    Keyword     Description                    (Default)
    FILE        File to Verify                 (NONE)
    START       Start Block                    (First Block of File)
    END         End Block                      (Last Block of File)
    BLOCKSIZE   Logical Block Size             (8192)
    LOGFILE     Output Log                     (NONE)
    FEEDBACK    Display Progress               (0)
    PARFILE     Parameter File                 (NONE)
    USERID      Username/Password              (NONE)
    SEGMENT_ID  Segment ID (tsn.relfile.block) (NONE)
    HIGH_SCN    Highest Block SCN To Verify    (NONE)
                (scn_wrap.scn_base OR scn)           can be done against any datafile; open or closed, production or clone
    Handle:     Guess2
    Status Level:     Newbie
    Registered:     Aug 5, 2000
    Total Posts:     454
    Total Questions:     212 (201 unresolved)
    WHY so MANY unanswered questions?
    Edited by: sb92075 on May 21, 2012 7:31 AM

  • Recover Table in Oracle 10G - Very Urgent--Kindly Help

    Hi Guru
    I m using oracle 10G R2 in Unix. One of the user has unfortunately updated the table with wrong dataa aand hence we need to recover the table.
    Our DB does not have flashbaack databaase option on.
    For recovering the table using Flashback table point in time recovery, do we reqquire flaashback database option on?
    If so then how can i recover the table?
    Can i recover it theough RMAN??
    Kindly Advise.
    Thanks
    Ram
    Edited by: user448837 on Jan 8, 2010 5:55 PM

    I understand, but your post implies ("Because I have..") that you need to set a proper value for DB_FLASHBACK_RETENTION_TARGET for FLASHBACK TABLE to work and this is not the case.
    For example:
    SQL> ALTER SYSTEM SET DB_FLASHBACK_RETENTION_TARGET=1;
    System altered.
    SQL> CREATE TABLE TEST AS SELECT * FROM DUAL;
    Table created.
    SQL> ALTER TABLE TEST ENABLE ROW MOVEMENT;
    Table altered.
    SQL> SHOW PARAMETER DB_FLASHBACK
    NAME                                 TYPE        VALUE
    db_flashback_retention_target        integer     1
    SQL> SHOW PARAMETER UNDO
    NAME                                 TYPE        VALUE
    undo_management                      string      AUTO
    undo_retention                       integer     86400
    undo_tablespace                      string      UNDOTBS
    SQL> DELETE FROM TEST;
    1 row deleted.
    SQL> COMMIT;
    Commit complete.
    SQL> BEGIN DBMS_LOCK.SLEEP(120); END;
      2  /
    PL/SQL procedure successfully completed.
    SQL> FLASHBACK TABLE TEST TO TIMESTAMP SYSTIMESTAMP - INTERVAL '2' MINUTE; 
    Flashback complete.
    SQL> SELECT * FROM TEST;
    D
    X

  • Restore and recover Oracle 10g database from tape.

    I have a very basic question for restore and recover Oracle 10g database. Our envirnment settings are:
    Oracle 10g on Unix, daily database and archivelog backup to Vista NetBackup server. Retention policy is 2. Old backup files are copied from NetBackup server to the tape for record keeping.
    I want to restore a database to a point in time. Because our retention policy is setup to 2. The backup files I need have been copied to the tape. So I should ask SYSTEM ADMIN to copy the backup files back to NetBackup server disk or I can ask him to copy backup files to the Unix server that host my Oracle 10g database. Then I can use Rman to do restore and recover. Is this doable? I know normal procedure is to copy backup files I need back to NetBackup server disk, not directly back to database server. Please put your comments here as early as better. I do appreciate your kind help.

    853153 wrote:
    I have a very basic question for restore and recover Oracle 10g database. Our envirnment settings are:
    Oracle 10g on Unix, daily database and archivelog backup to Vista NetBackup server. Retention policy is 2. Old backup files are copied from NetBackup server to the tape for record keeping.
    I want to restore a database to a point in time. Because our retention policy is setup to 2. The backup files I need have been copied to the tape. So I should ask SYSTEM ADMIN to copy the backup files back to NetBackup server disk or I can ask him to copy backup files to the Unix server that host my Oracle 10g database. Then I can use Rman to do restore and recover. Is this doable? I know normal procedure is to copy backup files I need back to NetBackup server disk, not directly back to database server. Please put your comments here as early as better. I do appreciate your kind help.For sure it is double work, To copy backup files on UNIX host.
    Are you using catalog or nocatalog?
    If the backup information is out of retention, Catalog them again also in netbackup.
    So that you can able to restore database directly without copying those files to host.

  • Oracle 10g + VMware Workstation 6.5 = data block corruption?

    I'm trying to run Oracle 10g on VMWare Workstation 6.5 (host and guest are windows 2003)
    I've noticed a couple times that I easily get block corruptions and wonder if there are some settings to lower the risk.
    Note this is a DEV machine, not a production machine.
    I don't know if Oracle supports the set up but I'm sure many people are running Oracle in Vmware so I'm looking to those who have done so successfully.
    Anyone know of special precautions in either Vmware or Oracle config to limit the risk on block corruption?
    According to VMWare, ESX is a perfect platorm so maybe I should move from Workstation to ESX, maybe it has to do with Windows in VM and Linux would work better.
    Anyone has some info on why Oracle has block corruption on VMware Workstation (windows/windows)?
    Other people with positive/negative experience on VMWare Workstation (mention OS's and Oracle version please)
    (before someone tells me it's not supported, also see these pages on vmware.com:
    http://blogs.vmware.com/performance/2007/11/ten-reasons-why.html
    http://blogs.vmware.com/oracle/2009/03/a-perspective-support-for-vmware-with-oracle.html)
    Edited by: phmeert on Feb 26, 2010 4:27 PM

    Well, it's indeed not for production, I use it for product demos and small development tasks, there is no critical data in my database but I wished I could run Oracle inside a VM on my laptop...
    It works reasonably well (I even have run multiple VM's (Workstation) with Oracle insde on 1 laptop (4 GB Ram, Core Duo), but sooner or later it gives some problems. If there is any setting that can lower the risk would be great.
    I was thinking of installing ORacle VM but apparently my laptop is not compatible with that (nor with ESX for that matter).
    Anyone use plain Xen (which seems to support any processor) + Oracle on Linux ??
    I can't install Oracle natively on the machine directly since I need the capabilities of a VM in respect of easy backup + I have many different applications and databases so depending on what I need to show, I just start a different VM
    The VM provides the capabilities to move back to previous situation, exchaning demos with collegues, have multiple parallel copies with different configurations (depending on customer), etc...
    ... installing natively is too much of hassle, we used to swap hard disks but that's a pain when the hardware changes, at least with VMWare WS you can run it on pretty much any computer.
    How do other people deal with this type of situation?? We have ESX on a hosted environment but internet access is not always available...
    It seems stable enough to run my demos (I'm doing this for quite a while but the block corruption seems to happen sooner or later)
    The problem is that I first need to get the demo installed without corruptions. Once it's installed I can just restart from that situation over and over again, but obviously I don't want to run the risk of having a disk corruption in the middle of a demo.

  • How to block Sql Plus sessions in Oracle 10g

    Hi,
    I want to block all sql plus sessions in oracle 10g, as we have a application and we need each and every one to use this application not the sql plus session.
    Kindly update us as soon as possible. and also thanks in advanced.

    Understand the concept Karl, but a layered defense seldom works in the IP world. If I manage to get through the firewall, then how can you prevent me access, at IP level, at any other ISO stack layer? If you manage to get through, then your firewall policies could just be too weak :) at least you must have some kind of an IDS infrastructure in place..
    what I mean is, you can have infinite number of threats.. and this will be part of your Risk Analysis. Determining all possible threats to the assets, what are being protected and their associated value, and predicting the rate of occurrence.... with all of these you could probably come up with contingency plans and incident response.. And most of all, you should not ignore the fact that people are creative, ingenious, and curious, and they'll prove this to you by testing your security implementations. So you'll have to periodically evaluate your security.. that's why there are audits.. Also, you must balance Security, Performance, Usability, and your Budget.
    Yes, you can argue that if the entire firewall goes down (thus no IP defense), then something like DBV (or even denying IPs in sqlnet) can provide some defense. But is that not then a case of too little too late? It's better too little too late, than no protection at all... Imagine if there's no DBV, or if you have not implemented the concept of "Least Privilege"? or if the backups and exports are not encrypted? That would be more devastating.. that's the importance of database security options and features in providing "defense in depth"
    I question just what purpose and how effective IP packet security is at higher layers. It can never substitute doing this instead at firewall level. Well, it's not all about network security. All facets must be considered and the inter-relationships should be understand. Like the core information security and access management, physical and personnel security, training them, etc... And all of these are equally important in providing a secure ecosystem
    As for security that relies on the client to pass secure data (like executable name or o/s user name)... all this can easily be spoofed. Even if the app and Oracle driver are somehow digitally signed and these signatures can be verified on the server side, we only need to look at Vista to see how secure this really would be. Microsoft attempted to encrypt every single h/w and s/w layer from the physical DVD track to the pixel on the monitor.. and this was defeated. And this was done as o/s kernel level. It is less complex to hack at driver level and even trivial to do it at application level.Security is about risk management. Blocking SQL*Plus does not negate the risk of SQL from the wild being run on a production server. For example, the client is a VB client using ODBC. It is easy to create a proxy that accepts the ODBC connection from the VB client and proxy the OCI packets to the real Oracle server. Now you have a man-in-the-middle than can inspect every single SQL call made to Oracle, and inject any PL/SQL or SQL code it wants.
    Security is far beyond writing a login trigger to deny SQL*Plus sessions and calling that a defense. >
    Yes I agree with you. That's why there are independent organizations and regulating bodies that provides security best practices, to give us a headstart on comming up of strong security policies.
    And one of my favorites is the one provided by IASE (sponsored by Defense Information Systems Agency) where there's lot of content regarding hardening and policies
    http://iase.disa.mil/stigs/stig/index.html
    http://iase.disa.mil/stigs/checklist/index.html
    http://iase.disa.mil/stigs/SRR/index.html
    - Karl Arao
    http://karlarao.wordpress.com

  • How to recover password from Database link in Oracle 10G

    Hi guys,
    How can I get a user password from DBLink in Oracle 10G?
    From sys.link$ the column "PASSWORD" is empty and the crypted data comming from the new column "PASSWORDX" does not work by using "... identified by values..."
    Any idea?
    Thanks...

    Why do you need to know the password? If you need to re-create the link in another database you can use dbms_metadata to generate the DDL for the database link and for a fixed database link the DDL will include an encrypted password that will match the remote database password.
    select dbms_metadata.get_ddl('DB_LINK','Link_name','Owner') from sys.dual
    On version 9.2 it extracts the actual visible plan text password. On 10g+ encrypted representation in values clause
    HTH -- Mark D Powell --

  • How can i recover or reset my oracle 10g user password?

    Hi Scolars,
    How can i reset or recover my oracle 10.2.0 database user password?
    I have system or sys user password for the same database.
    I want to just recover the user password only.
    hlep me please..

    Hello,
    Just execute this:
    alter user identified by <new_password>;Hope this help.
    Best regards,
    Jean-Valentin

  • [help me] Oracle 10G + ASM "ORA-00376: file 5 cannot be read at this time"

    We have used Oracle 10G R2 RAC + ASM on Redhat 4 (EMC cx700 Storage)
    I found below errors on alert log and can't inserted, updated and deleted datas in database.
    Sun May 27 01:12:34 2007
    SUCCESS: diskgroup ARCH was mounted
    SUCCESS: diskgroup ARCH was dismounted
    SUCCESS: diskgroup ARCH was mounted
    SUCCESS: diskgroup ARCH was dismounted
    SUCCESS: diskgroup ARCH was mounted
    SUCCESS: diskgroup ARCH was dismounted
    Sun May 27 01:19:11 2007
    Errors in file /oracle/product/admin/DB/udump/db3_ora_15854.trc:
    ORA-00376: file 5 cannot read at this time
    ORA-01110: data file 5: '+DATA/db/datafile/undotbs3.257.617849281'
    ORA-00376: file 5 cannot be read at this time
    ORA-01110: data file 5: '+DATA/db/datafile/undotbs3.257.617849281'
    ORA-00376: file 5 cannot be read at this time
    ORA-01110: data file 5: '+DATA/db/datafile/undotbs3.257.617849281'
    ORA-00372: file 5 cannot be modified at this time
    ORA-01110: data file 5: '+DATA/db/datafile/undotbs3.257.617849281'
    So:
    I checked and recovered data file
    SQL> select name,status,file# from v$datafile where status ='RECOVER';
    NAME
    STATUS FILE#
    +DATA/db/datafile/undotbs3.257.617849281
    RECOVER 5
    RMAN> run {
    allocate channel t1 type 'SBT_TAPE';
    allocate channel t2 type DISK;
    recover datafile 5;
    recover completed.
    SQL> alter database datafile 5 online;
    Butttttttttttttttttt:
    What is going on?
    I checked EMC storage, not found any disk error.
    I checked alert log of ASM, no found anything.
    I don't know What the problem ?
    Because I had the same problem 2 days ago.
    This day error on undo datafile node 3.
    2 days aGo; error on undo node 4.
    Please please anybody
    What bug or anything wrong ?
    Please introduce me
    trace file:
    /oracle/product/admin/DB/udump/db3_ora_15854.trc
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
    With the Partitioning, Real Application Clusters, OLAP and Data Mining options
    ORACLE_HOME = /oracle/product/10.2.0/db
    System name: Linux
    Node name: db03.domain
    Release: 2.6.9-42.ELsmp
    Version: #1 SMP Wed Jul 12 23:32:02 EDT 2006
    Machine: x86_64
    Instance name: DB3
    Redo thread mounted by this instance: 3
    Oracle process number: 65
    Unix process pid: 15854, image: [email protected]
    *** SERVICE NAME:(DB) 2007-05-27 01:19:11.574
    *** SESSION ID:(591.62658) 2007-05-27 01:19:11.574
    *** 2007-05-27 01:19:11.574
    ksedmp: internal or fatal error
    ORA-00376: file 5 cannot be read at this time
    ORA-01110: data file 5: '+DATA/db/datafile/undotbs3.257.617849281'
    ORA-00376: file 5 cannot be read at this time
    ORA-01110: data file 5: '+DATA/db/datafile/undotbs3.257.617849281'
    ORA-00376: file 5 cannot be read at this time
    ORA-01110: data file 5: '+DATA/db/datafile/undotbs3.257.617849281'
    ORA-00372: file 5 cannot be modified at this time
    ORA-01110: data file 5: '+DATA/db/datafile/undotbs3.257.617849281'
    Current SQL statement for this session:
    INSERT INTO DATA_ALL VALUES (:B1 ,:B2 ,:B3 ,:B4 ,:B5 ,:B6 ,:B7 ,:B8 ,:B9 ,:B10 ,:B11 ,:B12 ,:B13 ,:B14 ,:B15 ,:B16 ,:B17 ,:B18 ,:B19 ,:B20 ,:B21 ,:B22 ,:B23 ,:B24 ,:B25 ,:B26 ,:B27 ,:B28 ,:B29 ,:B30 ,:B31 ,:B32 ,:B33 ,:B34 ,:B35 ,:B36 ,:B37 ,:B38 ,:B39 ,:B40 ,:B41 ,:B42 ,:B43 ,:B44 ,:B45 ,:B46 ,:B47 ,:B48 ,:B49 ,:B50 )
    ----- PL/SQL Call Stack -----
    object line object
    handle number name
    0x21dc2b4b8 780 package body MGR.AC
    0x21e4815b0 3 anonymous block
    ----- Call Stack Trace -----
    calling call entry argument values in hex
    location type point (? means dubious value)
    ksedst()+31 call ksedst1() 000000000 ? 000000001 ?
    7FBFFF7290 ? 7FBFFF72F0 ?
    7FBFFF7230 ? 000000000 ?
    ksedmp()+610 call ksedst() 000000000 ? 000000001 ?
    7FBFFF7290 ? 7FBFFF72F0 ?
    7FBFFF7230 ? 000000000 ?
    ksupop()+3581 call ksedmp() 000000003 ? 000000001 ?
    7FBFFF7290 ? 7FBFFF72F0 ?
    7FBFFF7230 ? 000000000 ?
    opiodr()+3899 call ksupop() 000000002 ? 000000001 ?
    7FBFFF7290 ? 7FBFFF72F0 ?
    7FBFFF7230 ? 000000000 ?
    rpidrus()+198 call opiodr() 000000066 ? 000000006 ?
    .......etc.............................
    Message was edited by:
    HunterX (Surachart Opun)

    To me it looks like your undotbs on node3 is filled and not marking old undo as expired. Use this query to find out if it is labeling old undo as expired.
    SELECT tablespace_name, status, COUNT(*) AS HOW_MANY
    FROM dba_undo_extents
    GROUP BY tablespace_name, status;
    Another thing I noticed from your alertlog is it is only doing that on undotbs3, which I assumes is on node3.
    1) try recreate undotbs on node3
    2) take node3 out of service (stop nodeapps, ASM, instance and finally CRS on node3) and see if you can do DML on your database.
    -Moid

  • Oracle 10g Database course

    Hi Guys, i am currently doing my oracle database 10g, SQL fundamental 1, from NIIT, i have been suggested i do the PL/SQL Course and then appear for the ocp and oca exam and once i pass the exam then i should enroll my self for 10g workshop one and workshop two, and again appear for the oca and ocp exam, my question to u all is what are the oppurtunies of doing the oracle database 10g course?as i dont have any experiance earlier, will i get an job after completing my course? i have done my php and my sql course,it was an certification course no exam was held i have also done java again havnt given any exam. need suggestion's

    Guys, this is what i am being taught at NIIT for oracle 10g
    1.     Oracle 10g: Introduction to SQL Ed 3
    This course is divided in 2 parts:
    1.     Oracle Database 10g: SQL Fundamentals (Part I)
    2.     Oracle Database 10g: SQL Fundamentals (Part II)
    •     Run data manipulation statements (DML) to update data in the Oracle Database 10g
    •     Create tables to store and utilize views to display and retrieve data
    •     Identify the major structural components of Oracle Database 10g
    •     Create reports of sorted, restricted and aggregated data
    •     Employ SQL functions to generate and retrieve customized data
    •     Retrieve row and column data from tables with the SELECT statement
    •     Manage Schema Objects
    •     Manipulate large Datasets
    •     Generate Reports by Grouping Related Data
    •     Retrieve data using Sub-queries
    2.     Oracle Database 10g: PL/SQL Fundamentals
    •     Use PL/SQL programming constructs and conditional control statements
    •     Write PL/SQL code to interface with the database
    •     Design PL/SQL program units that execute efficiently
    •     Handle run-time errors
    3.     Oracle Database 10g: Administration Workshop I
    •     Install Oracle Database 10g and configure a database
    •     Manage the Oracle instance
    •     Manage the Database storage structures
    •     Create and administer user accounts
    •     Perform backup and recovery of a database
    •     Monitor, troubleshoot, and maintain a database
    •     Configure Oracle Net services
    •     Move data between databases and files
    4.     Oracle Database 10g: Administration Workshop II
    •     Use RMAN to create and manage backup sets and image copies
    •     Recover the database to a previous point in time
    •     Use Oracle Secure Backup to backup and recover a database
    •     Use Oracle's Flashback technology to recover your database
    •     Detect block corruptions and take appropriate measures to correct them
    •     Use the various Database advisors and views to monitor and improve database performance
    •     Control database resource usage with the Resource Manager
    •     Simplify management tasks by using the Scheduler
    •     Review database log files for diagnostic purposes
    •     Customize language-dependent behavior for the database and individual sessions
    •     Administer a VLDB
    •     Implement a secure database
    •     Transport data across platforms
    5.     Oracle Database 10g: Backup and Recovery
    •     Plan effective backup and recovery procedures
    •     Use Recovery Manager to create backups and perform recovery operations
    •     Use Oracle Flashback technologies to recover from human error
    •     Install Oracle Secure Backup
    •     Perform an Oracle-suggested backup to tape
    •     Use Oracle Secure Backup to perform a file system backup
    •     Use Oracle Secure Backup to perform a file system restoration
    •     Perform an encrypted database backup and restore
    •     Manage the Oracle Secure Backup environment
    •     Monitor and tune Recovery Manager
    •     Perform tablespace point-in-time recovery
    •     Create a duplicate database
    •     Create and manage a recovery catalog database
    6.     Oracle Database 10g: Performance Tuning
    •     Use the Oracle Database tuning methodology appropriate to the available tool
    •     Utilize database advisors to proactively tune an Oracle database
    •     Use the tools based on the Automatic Workload Repository to tune the database
    •     Use Statspack reports to tune the database
    •     Diagnose and tune common database performance problems
    •     Use Enterprise Manager performance-related pages to monitor an Oracle database
    7.     Oracle Database 10g: Security Release 2
    •     Use basic database security features
    •     Choose a user authentication model
    •     Secure the database and its listener
    •     Use the Enterprise Security Manager tool
    •     Manage users using proxy authentication
    •     Implement Enterprise User Security
    •     Describe the benefits and requirements associated with the Advanced Security Option
    •     Manage secure application roles
    •     Implement fine-grain access control
    •     Manage the Virtual Private Database (VPD)
    •     Implement fine-grain auditing
    •     Use Transparent Data Encryption
    •     Use file encryption
    •     Encrypting and Decrypt table columns
    •     Setup a simple Label Security policy
    8.     Oracle Database 10g: SQL Tuning Workshop
    •     Describe the basic steps in processing SQL statements
    •     Describe the causes of performance problems
    •     Understand where SQL tuning fits in an overall tuning methodology
    •     Describe Automatic SQL Tuning
    •     Use the diagnostic tools to gather information about SQL statement processing
    •     Understand Optimizer behavior
    •     Influence the optimizer behavior
    •     Influence the physical data model so as to avoid performance problems
    Is this enought to qualify for a job as a DBA in a good company?also after this can i qualify for ocp and oca exam?

  • Oracle 10G New Feature........Part 1

    Dear all,
    from last couple of days i was very busy with my oracle 10g box,so i think this is right time to
    share some intresting feature on 10g and some internal stuff with all of you.
    Have a look :-
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Oracle 10g Memory and Storage Feature.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1.Automatic Memory Management.
    2.Online Segment Shrink
    3.Redolog Advisor, checkpointing
    4.Multiple Temporary tablespace.
    5.Automatic Workload Repository
    6.Active Session History
    7.Misc
    a)Rename Tablespace
    b)Bigfile tablespace
    c)flushing buffer cache
    8.ORACLE INTERNAL
    a)undocumented parameter (_log_blocks_during_backup)
    b)X$ view (x$messages view)
    c)Internal Structure of Controlfile
    1.Automatic memory management
    ================================
    This feature reduce the overhead of oracle DBA.previously mostly time we need to set diff oracle SGA parameter for
    better performance with the help of own experience,advice views and by monitoring the behaviour
    of oracle database.
    this was just time consuming activity.........
    Now this feature makes easy life for oracle DBA.
    Just set SGA_TARGET parameter and it automatically allocate memory to different SGA parameter.
    it focus on DB_CACHE_SIZE
    SHARED_POOL_SIZE
    LARGE_POOL
    JAVA_POOL
    and automatically set it as
    __db_cache_size
    __shared_pool_size
    __large_pool_size
    __java_pool_size
    check it in alert_log
    MMAN(memory manager) process is new in 10g and this is responsible for sga tuning task.
    it automatically increase and decrease the SGA parameters value as per the requirement.
    Benefit:- Maximum utlization of available SGA memory.
    2.Online Segment Shrink.
    ==========================
    hmmmmm again a new feature by oracle to reduce the downtime.Now oracle mainly focus on availablity
    thats why its always try to reduce the downtime by intrducing new feature.
    in previous version ,reducing High water mark of table was possible by
    Exp/imp
    or
    alter table move....cmd. but on these method tables was not available for normal use for long hrs if it has more data.
    but in 10g with just few command we can reduce the HWmark of table.
    this feature is available for ASSM tablespaces.
    1.alter table emp enable row movement.
    2.alter table emp shrink space.
    the second cmd have two phases
    first phase is to compact the segment and in this phase DML operations are allowed.
    second phase(shrink phase)oracle shrink the HWM of table, DML operation will be blocked at that time for short duration.
    So if want to shrink the HWM of table then we should use it with two diff command
    first compact the segment and then shrink it on non-peak hrs.
    alter table emp shrink space compact. (This cmd doesn't block the DML operation.)
    and alter table emp shrink space. (This cmd should be on non-peak hrs.)
    Benefit:- better full table scan.
    3.Redolog Advisor and checkpointing
    ================================================================
    now oracle will suggest the size of redo log file by V$INSTANCE_RECOVERY
    SELECT OPTIMAL_LOGFILE_SIZE
    FROM V$INSTANCE_RECOVERY
    this value is influence with the value of FAST_START_MTTR_TARGET .
    Checkpointing
    Automatic checkpointing will be enable after setting FAST_START_MTTR_TARGET to non-zero value.
    4.Multiple Temporary tablespace.
    ==================================
    Now we can manage multiple temp tablespace under one group.
    we can create a tablespace group implicitly when we include the TABLESPACE GROUP clause in the CREATE TEMPORARY TABLESPACE or ALTER TABLESPACE statement and the specified tablespace group does not currently exist.
    For example, if group1 is not exists,then the following statements create this groups with new tablespace
    CREATE TEMPORARY TABLESPACE temp1 TEMPFILE '/u02/oracle/data/temp01.dbf'
    SIZE 50M
    TABLESPACE GROUP group1;
    --Add Existing temp tablespace into group by
    alter tablespace temp2 tablespace group group1.
    --we can also assign the temp tablespace group on database level as default temp tablespace.
    ALTER DATABASE <db name> DEFAULT TEMPORARY TABLESPACE group1;
    benefit:- Better I/O
    One sql can use more then one temp tablespace
    5.AWR(Automatic Workload Repository):-
    ================================== AWR is built in Repository and Central point of Oracle 10g.Oracle self managing activities
    is fully dependent on AWR.by default after 1 hr, oracle capure all database uses information and store in AWR with the help of
    MMON process.we called it Memory monitor process.and all these information are kept upto 7 days(default) and after that it automatically purge.
    we can generate a AWR report by
    SQL> @?/rdbms/admin/awrrpt
    Just like statspack report but its a advance and diff version of statspack,it provide more information of Database as well as OS.
    it show report in Html and Text format.
    we can also take manually snapshot for AWR by
    BEGIN
    DBMS_WORKLOAD_REPOSITORY.CREATE_SNAPSHOT ();
    END;
    **The STATISTICS_LEVEL initialization parameter must be set to the TYPICAL or ALL to enable the Automatic Workload Repository.
    [oracle@RMSORA1 oracle]$ sqlplus / as sysdba
    SQL*Plus: Release 10.1.0.2.0 - Production on Fri Mar 17 10:37:22 2006
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> @?/rdbms/admin/awrrpt
    Current Instance
    ~~~~~~~~~~~~~~~~
    DB Id DB Name Inst Num Instance
    4174002554 RMSORA 1 rmsora
    Specify the Report Type
    ~~~~~~~~~~~~~~~~~~~~~~~
    Would you like an HTML report, or a plain text report?
    Enter 'html' for an HTML report, or 'text' for plain text
    Defaults to 'html'
    Enter value for report_type: text
    Type Specified: text
    Instances in this Workload Repository schema
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    DB Id Inst Num DB Name Instance Host
    * 4174002554 1 RMSORA rmsora RMSORA1
    Using 4174002554 for database Id
    Using 1 for instance number
    Specify the number of days of snapshots to choose from
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Entering the number of days (n) will result in the most recent
    (n) days of snapshots being listed. Pressing <return> without
    specifying a number lists all completed snapshots.
    Listing the last 3 days of Completed Snapshots
    Snap
    Instance DB Name Snap Id Snap Started Level
    rmsora RMSORA 16186 16 Mar 2006 17:33 1
    16187 16 Mar 2006 18:00 1
    16206 17 Mar 2006 03:30 1
    16207 17 Mar 2006 04:00 1
    16208 17 Mar 2006 04:30 1
    16209 17 Mar 2006 05:00 1
    16210 17 Mar 2006 05:31 1
    16211 17 Mar 2006 06:00 1
    16212 17 Mar 2006 06:30 1
    16213 17 Mar 2006 07:00 1
    16214 17 Mar 2006 07:30 1
    16215 17 Mar 2006 08:01 1
    16216 17 Mar 2006 08:30 1
    16217 17 Mar 2006 09:00 1
    Specify the Begin and End Snapshot Ids
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Enter value for begin_snap: 16216
    Begin Snapshot Id specified: 16216
    Enter value for end_snap: 16217
    End Snapshot Id specified: 16217
    Specify the Report Name
    ~~~~~~~~~~~~~~~~~~~~~~~
    The default report file name is awrrpt_1_16216_16217.txt. To use this name,
    press <return> to continue, otherwise enter an alternative.
    Benefit:- Now DBA have more free time to play games.....................:-)
    Advance version of statspack
    more DB and OS information with self managing capabilty
    New Automatic alert and database advisor with the help of AWR.
    6.Active Session History:-
    ==========================
    V$active_session_history is view that contain the recent session history.
    the memory for ASH is comes from SGA and it can't more then 5% of Shared pool.
    So we can get latest and active session report from v$active_session_history view and also get histortical data of
    of session from DBA_HIST_ACTIVE_SESS_HISTORY.
    v$active_session_history include some imp column like:-
    ~SQL identifier of SQL statement
    ~Object number, file number, and block number
    ~Wait event identifier and parameters
    ~Session identifier and session serial number
    ~Module and action name
    ~Client identifier of the session
    7.Misc:-
    ========
    Rename Tablespace:-
    =================
    in 10g,we can even rename a tablespace by
    alter tablespace <tb_name> rename to <tb_name_new>;
    This command will update the controlfile,data dictionary and datafile header,but dbf filename will be same.
    **we can't rename system and sysaux tablespace.
    Bigfile tablespace:-
    ====================
    Bigfile tablespace contain only one datafile.
    A bigfile tablespace with 8K blocks can contain a 32 terabyte datafile.
    Bigfile tablespaces are supported only for locally managed tablespaces with automatic segment-space management.
    we can take the advantage of bigfile tablespace when we are using ASM or other logical volume with RAID.
    without ASM or RAID ,it gives poor response.
    syntax:-
    CREATE BIGFILE TABLESPACE bigtbs
    Flushing Buffer Cache:-
    ======================
    This option is same as flushing the shared pool,but only available with 10g.
    but i don't know, whats the use of this command in prod database......
    anyway we can check and try it on test server for tuning n testing some query etc....
    SQL> alter system flush buffer_cache;
    System altered.
    ++++++++++++++++++
    8.Oracle Internal
    ++++++++++++++++++
    Here is some stuff that is not related with 10g but have some intresting things.
    a)undocumented parameter "_log_blocks_during_backup"
    ++++++++++++++++++++++++
    as we know that oracle has generate more redo logs during hotbackup mode because
    oracle has to maintain the a complete copy of block into redolog due to split block.
    we can also change this behaviour by setting this parameter to False.
    If Oracle block size equals the operating system block size.thus reducing the amount of redo generated
    during a hot backup.
    WITHOUT ORACLE SUPPORT DON'T SET IT ON PROD DATABASE.THIS DOCUMENT IS JUST FOR INFORMATIONAL PURPOSE.
    b)some X$ views (X$messages)
    ++++++++++++++++
    if you are intresting in oracle internal architecture then x$ view is right place for getting some intresting things.
    X$messages :-it show all the actions that a background process do.
    select * from x$messages;
    like:-
    lock memory at startup MMAN
    Memory Management MMAN
    Handle sga_target resize MMAN
    Reset advisory pool when advisory turned ON MMAN
    Complete deferred initialization of components MMAN
    lock memory timeout action MMAN
    tune undo retention MMNL
    MMNL Periodic MQL Selector MMNL
    ASH Sampler (KEWA) MMNL
    MMON SWRF Raw Metrics Capture MMNL
    reload failed KSPD callbacks MMON
    SGA memory tuning MMON
    background recovery area alert action MMON
    Flashback Marker MMON
    tablespace alert monitor MMON
    Open/close flashback thread RVWR
    RVWR IO's RVWR
    kfcl instance recovery SMON
    c)Internal Structure of Controlfile
    ++++++++++++++++++++++++++++++++++++
    The contents of the current controlfile can be dumped in text form.
    Dump Level Dump Contains
    1 only the file header
    2 just the file header, the database info record, and checkpoint progress records
    3 all record types, but just the earliest and latest records for circular reuse record types
    4 as above, but includes the 4 most recent records for circular reuse record types
    5+ as above, but the number of circular reuse records included doubles with each level
    the session must be connected AS SYSDBA
    alter session set events 'immediate trace name controlf level 5';
    This dump show lots of intresting information.
    it also show rman recordes if we used this controlfile in rman backup.
    Thanks
    Kuljeet Pal Singh

    You can find each doc in html and pdf format on the Documentation Library<br>
    You can too download all the documentation in html format to have all on your own computer here (445.8MB)<br>
    <br>
    Nicolas.

  • Oracle 10g Installation Problem on SUSE Linux 10

    Hello Friends,
    I want to install SAP Solution Manager 7.0 with Oracle 10g on SUSE Linux 10.0.
    But, while starting the Installation i am getting following Errors.
    Starting Oracle Universal Installer...
    Checking installer requirements...
    Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1,
    asianux-2 or SuSE-10
                                          Passed
    All installer requirements met.
    Preparing to launch Oracle Universal Installer from /tmp/OraInstall2009-04-22_03-59-38PM. Please wait ...
    Error in writing to directory /tmp/OraInstall2009-04-22_03-59-38PM. Please ensure that this directory is
    writable and has atleast 60 MB of disk space. Installation cannot continue.
    : Success
    I have checked the Permissions and the Size of /tmp Directory, which is as followed:
    drwxr-xr-x  11 root root    0 2009-04-22 21:19 sys
    drwxrwxrwt  52 root root 1824 2009-04-22 16:00 tmp
    drwxr-xr-x  15 root root  408 2009-04-19 14:43 usr
    Filesystem           1K-blocks      Used Available Use% Mounted on
    /dev/sda10             2104376     73112   2031264   4% /tmp
    I am starting the Oracle 10g Installation within orasm7 User which is a member of dba, users, disk groups.
    The directories which are created upon starting the Oracle Installation in /tmp directory are having the situations as followed:
    drwxr-xr-x 3 orasm7   dba          128 2009-04-21 18:41 OraInstall2009-04-21_06-41-14PM
    drwxr-xr-x 3 orasm7   dba          128 2009-04-21 18:41 OraInstall2009-04-21_06-41-25PM
    drwxr-xr-x 3 orasm7   dba          128 2009-04-22 15:59 OraInstall2009-04-22_03-59-38PM
    The Oracle Installation log is as follwoed:
    Using paramFile: /home/MyData/51031676/database/install/oraparam.ini
    Checking installer requirements...
    Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1, asianux-2 or SuSE-10
                                          Passed
    All installer requirements met.
    The commandline for unzip:
    /home/MyData/51031676/database/install/unzip -qqq ../stage/Components/oracle.swd.jre/1.4.2.0.8
    /1/DataFiles/\*.jar -d /tmp/OraInstall2009-04-22_03-59-38PM
    I have set DISPLAY variable in this way before starting Installation:
    DISPLAY=$HOSTNAME:0.0
    export DISPLAY
    I tried to search the solution over the internet for this kind of problem, but i am not able to find its solution. Even i tried to start the Orale installation using this parameter: ./runInstaller ignoreSysPrereqs, but still it is giving the same unexpected error.
    I have a doubt on File/Directory permissions which are created for Installation in /tmp. The umask setiing of the system is 0022.
    Please, help me for this issue.
    Thanks & Regards,
    Bhavik G. Shroff

    Hi Markus,
    How are you ?
    Thank you very much for your reply.
    I was executing wrong runInstaller file. RUNINSTALLER is right file for starting the execution. But still i am facing the same error, which is as followed.
    Preparing response files. Please wait:
    ======================================
    Working on /home/MyData/51031676/database/SAP/SVRCUSTOM.RSP
    /home/MyData/51031676/database/SAP/SVRCUSTOM.RSP --> /tmp/.orainst_rsp.27450: Done
    Starting Oracle Universal Installer...
    Checking installer requirements...
    Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1, asianux-2 or SuSE-10
                                          Passed
    All installer requirements met.
    Preparing to launch Oracle Universal Installer from /home/orasm7/tmpora/OraInstall2009-04-22_05-25-26PM. Please wait ...
    Error in writing to directory /home/orasm7/tmpora/OraInstall2009-04-22_05-25-26PM. Please ensure that
    this directory is writable and has atleast 60 MB of disk space. Installation cannot continue.
    : Success
    SHROFF:~ # cd /home/orasm7/tmpora/
    SHROFF:/home/orasm7/tmpora # ll
    total 0
    drwxr-xr-x 3 orasm7 dba 128 Apr 22 17:25 OraInstall2009-04-22_05-25-26PM
    SHROFF:/home/orasm7/tmpora # cd OraInstall2009-04-22_05-25-26PM/
    SHROFF:/home/orasm7/tmpora/OraInstall2009-04-22_05-25-26PM # ll
    total 4
    drwxr-xr-x 2 orasm7 dba 304 Apr 22 17:25 images
    -rwxr-xr-x 1 orasm7 dba 504 Apr 22 17:25 installActions2009-04-22_05-25-26PM.log
    SHROFF:/home/orasm7/tmpora/OraInstall2009-04-22_05-25-26PM #
    I have a doubt on tmp_netca_file & tmp_dbca_file variable.
    Please give your suggestion for the same.
    Regards,
    Bhavik G. Shroff
    Edited by: Bhavik G. Shroff on Apr 22, 2009 2:10 PM

  • Repeated ORA-12547 Messages after installing Oracle 10g

    Hi,
    I installed Oracle 10g on a Redhat ES 3 box, and the install went okay, but when I try and interact with the server I get the message:
    ORA-12547: TNS: lost contact
    For example, if I use the Database Configuration Assistant to attempt to create a database, I will see the above message when it begins the database creation process, or if I try to interact with the Oracle server using sqlplus I will see the above message after each command entered.
    I had recently tried to install Oracle 8.1.7 on the same box, but abandoned that after deciding that the effort required to link Oracle 8 on RHES3 just wasn't worth it. I have been told that this previous partial installation may be the cause of the problem, and have been advised to uninstall Oracle 8, uninstall Oracle 10g, and reinstall Oracle 10g. I find it hard to believe that it would require such an action to solve this problem. Is there any configuration changes I can make to resolve it? Also, what does this message actually mean?
    I am new to Oracle, so thanks for any help with this problem.
    Colm.

    My last message asking for a grater degree of specificity was not overly specific, hence I am posting the kernel parms that I have set with the hopes that you will spot one that I set improperly or one that I neglected to set.
    [root@awyr ~]# cat /proc/sys/kernel/shmmax
    2147483648
    [root@awyr ~]# cat /proc/sys/kernel/shmmni
    4096
    [root@awyr ~]# cat /proc/sys/kernel/shmall
    2097152
    [root@awyr ~]# ipcs -lm |grep "min seg size"
    min seg size (bytes) = 1
    [root@awyr ~]# cat /proc/sys/kernel/sem | awk '{print $1}'
    250
    [root@awyr ~]# cat /proc/sys/kernel/sem | awk '{print $2}'
    32000
    [root@awyr ~]# cat /proc/sys/kernel/sem | awk '{print $3}'
    100
    [root@awyr ~]# cat /proc/sys/kernel/sem | awk '{print $4}'
    128
    [root@awyr ~]# cat /proc/sys/fs/file-max
    65536
    [root@awyr ~]# cat /proc/sys/net/ipv4/ip_local_port_range
    1024 65000
    [oracle@awyr Desktop]$ ulimit -n
    63536
    [oracle@awyr Desktop]$ ulimit -u
    4091
    [oracle@awyr Desktop]$ ulimit -a
    core file size (blocks, -c) 0
    data seg size (kbytes, -d) unlimited
    file size (blocks, -f) unlimited
    max locked memory (kbytes, -l) 32
    max memory size (kbytes, -m) unlimited
    open files (-n) 63536
    pipe size (512 bytes, -p) 8
    stack size (kbytes, -s) 8192
    cpu time (seconds, -t) unlimited
    max user processes (-u) 4091
    virtual memory (kbytes, -v) unlimited
    from sysctl -a
    my fs.file-max = 65536
    in my limits.conf I added:
    oracle soft nofile 4096
    oracle hard nofile 63536
    in my (1) /etc/pam.d/system-auth (2) /etc/pam.d/sshd (3) /etc/pam.d/su (4) /etc/pam.d/login
    files I added:
    session required pam_limits.so
    and verified that it exists
    in my limits.conf I added
    oracle soft nproc 2047
    oracle hard nproc 16384
    my /etc/oratab has:
    orcl:/usr/local/oracle/app/oracle/oracle/product/10.2.0/db_1:N
    I tried to change the N at the end to a Y but to no avail
    my /etc/oraInst.loc has:
    inventory_loc=/usr/local/oracle/app/oracle/oraInventory
    inst_group=oinstall
    Thanks again for your atention
    Richard

  • Hanging with Oracle 10g release 2 on Windows XP !!!

    Hi,
    I am trying to Install Oracle 10g release 2(10.2.0.1.0) on Windows XP Professional(SP2).
    Existing environment:
    1. Java(SDK & Runtime Environment) 6 update 1.
    2. Configured Eclipse.
    The installed procedure:
    1. Downloaded "10201_database_win32.zip" from Oracle website.
    2. Unzip it and run setup.exe
    3. It gives an error like below :
    "javaw.exe - Entry Point Not Found"
    "The procedure entry point longjmp could not be located in the dynnamik link library orauts.dll."
    Installation completed(forcefully) without the below.
    1. Oracle Net Configuration Assistant (Failed)
    2. Oracle Database Configuration Assistant (Failed).
    and in services: "No Oracle process exist".
    I tried the below:
    A. Change the environment variables (remove ORACLE_HOME/ORACLE_SID etc)
    B. 2 to 5 times un-install oracle(including registry, directory etc) and install.
    C. Uninstall Java SDK & Runtime Env. Then install Oracle.
    D. Installing Personal edition, Enterprise edition etc etc.
    E. Checked the orauts.dll in 3 places(i. BIN ii. out/bin iii. oui/lib/win32
    F. Copied the orauts.dll to system32 directory.
    What ever I do the above appers all the time and installation is incomplete.
    Due to this problem I couldn't move further, please do help me in solving this.
    Thanks a lot in advance.

    Hey Guys,
    I am Srinivas Here who had been trying to install Oracle Database 10G on Windows X86 on Windows XP Professional.
    If you have Win-XP Professional as your Operating System. Do not download the oracle Database using windows - XP Professional because XP will block certain installation files while downloading. In your machine install Windows 2000 or any other Windows version as a dual boot. First the download Database Zip files using your other version of Windows Operating system and then when you Unzip the files it will create a folder called Database and all the files will be present in it.If you want to store the same to cd for having to install the 10G Rel 2 database through CD then copy the contents of the unzipped database folder and store only the contents of the database folder and write them to CD's. Please see to it that while writing on cd's do not copy the folder itself .
    After this, restart the system and get into windows XP Professional (Your XP Professional should be with Service Pack 2 in order to install 10G Database on windows XP - The Basic requirements for Oracle Database 10G on Windows X86).
    I request you to check the software and hardware requirements from oracle Documents before you install the Oracle Database 10G on Windows x86 as well as Oracle Database 10G on Linux X86 or any other operating systems.
    Finally, After you run the Oracle Universal installer in the last you will get messages for all products installed Success and finally it will ask the password for DBA and open the password management and give the password and reenter password and on the left you will have to unlock the items you would like to use.
    In the last it will give you various URL links for Isqlplus, DBA, Enterprise Manager and a log report stored into oracle directory stored in your C:\Program files\Oracle folders. The correct link will be given at the end and you will have to watch the installation carefully.You can find DBCA and other options working. Try login in to Oracle through Command prompt, Sqlplus prompt availabe in Start ->Programs->Orahome10G->application Development-sqlplus as well as login through isqlplus link- Before this you should login at the command prompt as SYSDBA. YOU CAN SEE THAT YOUR DATABASE IS NOW WORKING IN WINDOWS XP PROFESSIONAL.
    THANKS IN ADVANCE TO ALL FORUM MEMBERS WHO GAVE ME IDEA AND SUPPORT
    REGARDS,
    SRINIVAS

  • ORA-12154 while installing Oracle 10g on windows 7

    Hi,
    I am trying to install Oracle 10g express edition on my machine (core 2 duo 2.93) running on Windows 7.
    The installation moves on perfectly for the 1st step and while running the 2nd step (Net configuration Assistant), it gives the ORA-12154 error.
    The contents of my configuration files at this point are as follows:
    Listener.ora
    =============
    SID_LIST_ORCL =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = ORCL)
    (ORACLE_HOME = F:\oracle\product\10.2.0\db_1)
    (PROGRAM = extproc)
    ORCL =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    =============
    And that of tnsnames.ora is:
    =============
    ORCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = ORCL)
    =============
    After some googling around, I have found and installed the Microsoft Loopback adapter too (since my LAN is DHCP enabled) and also tried to turn on the firewall on my machine to check if it is not a problem with the port 1521 being blocked by the firewall.
    However, even after all that I still get the error "ORA-12154: TNS:could not resolve the connect identifier specified." while running the Net configuration Assistant and/or running SQL Plus to connect to the SID - ORCL.
    I can only see one service running in my services by the name : OracleOraDb10g_home1TNSListenerORCL
    Any suggestions or advice on the error would be much welcome.
    Is it anything related to Windows 7 ? Because I have managed to install using the same installer on another machine which runs Windows XP and everything seems fine there.
    Thanking you all in anticipation.
    Shreyas

    user12753151 wrote:
    Hmmm.. but then I'd have expected some installation error. I have read around that people have managed to install oracle on windows 7.
    The error displayed seems to be indicating that there is some configuration or permissions issue.Check that the user has permission to write in the ORACLE_HOME\network\admin - UAC might be blocking that.
    Install with software only, and run netca & dbca separately to create the database after the s/w install. (That's the way it is done in production anyway, so get used to it.)
    But yes - you still may have problems. Those who did fake it out on Windows 7 usually understand what to do. If you are smart enough to actually do it, my hat is off to you.

Maybe you are looking for