DBAsupport.com Forums - Powered by vBulletin
Results 1 to 2 of 2

Thread: Error Ora-01157

  1. #1
    Join Date
    Sep 2008
    Posts
    3

    Unhappy Error Ora-01157

    Hi,

    When ever I run a query by specifying some coloumn_name like 'select coloumn_name from table_name 'it is showing error "ORA-01157: cannot identify/lock data file - see DBWR trace file"
    If run 'select * from table_name' query , it is displaying entire data in the table . Actually I need to do join operation , even dat also I unable to do . I am facing same above error


    I searche in google but the solyutions are not matching ... i mean no instance is parallely running .

    Q2.How can I check Whether particular table was locked or not?? (I have DBA permissions)

    please help me out...

  2. #2
    Join Date
    Mar 2007
    Location
    Ft. Lauderdale, FL
    Posts
    3,555
    one of your datafiles is not available.

    You are probably getting an Operating System error alongside ORA-01157... check the status of such datafile and it's permissions.

    Also check alertlog and get your Systems guy to check the offending datafile.

    if your database is still open do...
    alter system check datafiles;
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width