-
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...
-
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|