CREATE TABLESPACE PROBLEM
I'm unable to get sqlplus to recognize predefined Windows environment variables. For example:
CREATE TABLESPACE PRODUCT DATAFILE '%ORACLE_DIR%\oradata\xxx\PRODUCT.DAT' SIZE 1M AUTOEXTEND ON NEXT 1M;
%ORACLE_DIR% = C:\bas\db\oracle
After trying to execute this statement the following error gets returned:
ERROR at line 1:
ORA-01119: error in creating database file
'BAS_ORACLE_HOME\oradata\bas\PRODUCT.DAT'
ORA-27040: skgfrcre: create error, unable to create file
OSD-04002: unable to open file
O/S-Error: (OS 3) The system cannot find the path specified.
However, when I enter the command as:
CREATE TABLESPACE PRODUCT DATAFILE 'C:\bas\db\oracle\oradata\xxx\PRODUCT.DAT' SIZE 1M AUTOEXTEND ON NEXT 1M;
The tablespace gets completed successfully.
Therefore, how do I get the CREATE TABLESPACE statement to recognize ORACLE_DIR?
Thank you in advance for your help!
I sometimes pass in filenames as parameters to SQL*Plus
and then use the argument substitution variables.
For example:
sqlplus system/manager @myscript.sql c:\mydir\myfile
Where myscript.sql contains
create .... datafile '&1' ...
Another common solution is to construct the script
in a shell environment that does the the OS variable
expansion before the script is passed to SQL*Plus.
Typically this is with a "here document". In Perl
it would be something like:
sqlplus -s <<EOF;
system/manager
create ... datafile $ENV{'ORACLE_DIR'} ...
exit
EOF
-- C
Similar Messages
-
hi,
I have installed oracle9i in HP-USserver.its installed successfully.
I ahve created the instance too with datafiles.but the problem is that due to shortage of disk space,iam unable to store datas.so i have dropped the tablespaces and tried to create to a new file system (in the sense a new hard drive) in the same server.while creating the tablespaces alone in a different path its
showing error as
SQL*Plus: Release 9.2.0.2.0 - Production on Sat Jul 28 13:18:44 2007
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Enter user-name: sys as sysdbas
Enter password:
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.2.0 - 64bit Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.2.0 - Production
SQL> CREATE TABLESPACE DATAXML
2 LOGGING DATAFILE
3 '/server47/Bankareas/CFC/oracledatafiles/globusdataxml01.dbf' SIZE 2048M AUTOEXTEND ON MAXSIZE UNLIMITED,
4 '/server47/Bankareas/CFC/oracledatafiles/globusdataxml02.dbf' SIZE 2048M AUTOEXTEND ON MAXSIZE UNLIMITED,
5 '/server47/Bankareas/CFC/oracledatafiles/globusdataxml03.dbf' SIZE 2048M AUTOEXTEND ON MAXSIZE UNLIMITED
6 EXTENT MANAGEMENT LOCAL
7 SEGMENT SPACE MANAGEMENT AUTO;
CREATE TABLESPACE DATAXML
ERROR at line 1:
ORA-01119: error in creating database file
'/server47/Bankareas/CFC/oracledatafiles/globusdataxml01.dbf'
ORA-27086: skgfglk: unable to lock file - already in use
HPUX-ia64 Error: 13: Permission denied
Additional information: 8
i want to know whether the tablespaces can be created in a seperate path apart from where oracle is installed?
anything to be exported??
can anybody please help me out in solving this problem.
thanks in advance ,
RatheeshYou state you have dropped the tablespace (which does not necessarily automatically drop the datafiles in version 9i); and
You state you are trying to locate the tablespace's datafiles in a new file system where no files should exist.
Please post response to
ls -ld /server47/Bankareas/CFC/oracledatafiles
ls -l /server47/Bankareas/CFC/oracledatafiles/globusdataxml01.dbf -
Machine has the following configuration,
Oracle 10g 10.2.0
Solaris 10
Sparc v9-64 bit
I have mounted NAS(Network attached Storage) device on solaris using NFS file system. The device has been mounted using sharity software.
The problem is that when i execute the following command in sqlplus,
create tablespace test datafile '/storage/test.dbf' size 1m autoextend on
(/storage is the mount point for NAS device)
then i get the following error message
ORA-01119: error in creating database file '/storage/test.dbf'
ORA-27054: NFS file system where the file is created or resides is not mounted with correct options.
Additional Information:2this is the document
http://download-uk.oracle.com/docs/cd/B19306_01/install.102/b15660/app_nas.htm#BCFEAHIC
and this will help either
10gR2 "database backup" to nfs mounted dir results in ORA-27054 NFS error -
Not able to Create TABLESPACE PSAPROLL|PSAPUNDO with 728 MB
Hi Experts,
When i an trying to upgrade PI 7.0 to pi 7.1 with EHP1 in checks roadmap in abap it throws error like
ERROR> Insufficient free space in the database as follows:
Create TABLESPACE PSAPROLL|PSAPUNDO with 728 MB
INFO> To adjust the size of your tablespaces, you may use the commands
in file '/oracle/stage/upg/abap/log/ORATBSXT.LST' using the 'brspace' utility.
Please copy the file before making changes, as it may be
overwritten in subsequent upgrade phases.
In the location
'/oracle/stage/upg/abap/log/ORATBSXT.LST
These are examples for brspace commands to extend/create the required
tablespaces. You can adapt them according to your own needs.
Add option '-c force' to call the commands in batch mode.
Change option '-autoextend' to 'yes' and set '-maxsize' and '-incrsize'
to create autoextensible segments.
brspace -function tscreate -tablespace PSAPROLL|PSAPUNDO -owner SAPSR3 -size 728 -autoe
xtend no
info while creating : PSAPUNDO: Command not found.
with the help of this above command i am not able to create the tablespace.
My Existing tabelspaces are
PSAPSR3
PSAPSR3700
PSAPSR3DB
PSAPSR3USR
PSAPTEMP
PSAPUNDO1
SYSAUX
SYSTEM
Plz help me on this ASAP.
Thanks,
HariYour real problem is that PSAPUNDO does not exist. For an unknown reason you are using PSAPUNDO1. so, you must fix this:
shutdown your DB.
rename tablespace PSAPUNDO1 to PSAPUNDO. this can be done with:
brspace -c force -f tsalter -a rename -t PSAPUNDO1 -n PSAPUNDO
you will also need to change parameter undo_tablespace to PSAPUNDO
if using initSID.ora, change this manually. or else, do this:
alter system set undo_tablespace=PSAPUNDO scope=both;
you might need to restart your database.
good luck. -
Import database from Linux to Windows fails with creating tablespaces
Using (Oracle10g/Linux) user/schema (i think)"Sys" i exported succesfully full database and produced a log file which looks like this:
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Export done in UTF8 character set and AL16UTF16 NCHAR character set
server uses AL32UTF8 character set (possible charset conversion)
Note: table data (rows) will not be exported
About to export the entire database ...
exporting tablespace definitions
exporting profiles
exporting user definitions
exporting roles
exporting resource costs
exporting rollback segment definitions
exporting database links
. exporting sequence numbers
exporting directory aliases
exporting context namespaces
exporting foreign function library names
exporting PUBLIC type synonyms
exporting private type synonyms
exporting object type definitions
exporting system procedural objects and actions
exporting pre-schema procedural objects and actions
exporting cluster definitions
about to export SYSTEM's tables via Conventional Path ...
exporting table DEF$_AQCALL
exporting table DEF$_AQERROR
exporting table DEF$_CALLDEST
EXP-00091: Exporting questionable statistics.
Export terminated successfully with warnings.Now (in Oracle10 Express/ Windows) i'm importing the dmp-file using user/schema System, following errors occur:
Connected to: Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
Export file created by EXPORT:V10.02.01 via conventional path
Warning: the objects were exported by SYS, not by you
import done in AL32UTF8 character set and AL16UTF16 NCHAR character set
export client uses UTF8 character set (possible charset conversion)
. importing SYSTEM's objects into SYSTEM
IMP-00017: following statement failed with ORACLE error 1119:
"CREATE UNDO TABLESPACE "UNDOTBS1" BLOCKSIZE 8192 DATAFILE '/u01/app/oracle"
"/oradata/live/undotbs01.dbf' SIZE 251658240 AUTOEXTEND ON NEXT 524288"
"0 MAXSIZE 32765M EXTENT MANAGEMENT LOCAL "
IMP-00003: ORACLE error 1119 encountered
ORA-01119: error in creating database file '/u01/app/oracle/oradata/live/undotbs01.dbf'
ORA-27040: file create error, unable to create file
OSD-04002: unable to open file
O/S-Error: (OS 3) The system cannot find the path specified.
IMP-00015: following statement failed because the object already exists:
"CREATE TABLESPACE "SYSAUX" BLOCKSIZE 8192 DATAFILE '/u01/app/oracle/oradat"
"a/live/sysaux01.dbf' SIZE 346030080 AUTOEXTEND ON NEXT 10485760 MAXS"
"IZE 32765M EXTENT MANAGEMENT LOCAL AUTOALLOCATE ONLINE PERMANENT SEGMENT"
" SPACE MANAGEMENT AUTO"
IMP-00000: Import terminated unsuccessfullyWhy i get those errors when importing? Seems like the main problem is that the export was done in Linux which have it's own directories like '/u01/app/oracle/oradat' and others but in my Windows OS those folders don't exist? The whole import fails because tablespaces couldn't be created, later Schemas couldn't be created and tables also. Can i get the import work somehow?
I runned the import as following:
C:\Users\charlesr>imp userid=system/a FULL=Y FILE=exp_ddl.dmp log=imp.logMy Oracle 10 XE is installed into folder:
D:\oraclexe\app\oracle\product\10.2.0Maybe i should run the import command in drive D where my Oracle lives, not in drive C as i did?
And now when i tried to run the import on drive C, seems like my database user "system/a" is corrupted or password corrupted:
C:\Users\charlesr>d:
D:\>imp userid=system/a FULL=Y FILE=exp_ddl.dmp log=imp.log
Import: Release 10.2.0.1.0 - Production on R Sept 10 17:32:25 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
IMP-00058: ORACLE error 1017 encountered
ORA-01017: invalid username/password; logon deniedUsername:I think i don't have on OS level rights to write to C-drive, that's why i got errors. But now i can't log in with system/a, why so?
Edited by: CharlesRoos on Sep 10, 2010 7:38 AMCharlesRoos wrote:
Why i get those errors when importing? Seems like the main problem is that the export was done in Linux which have it's own directories like '/u01/app/oracle/oradat' and others but in my Windows OS those folders don't exist? The whole import fails because tablespaces couldn't be created, later Schemas couldn't be created and tables also. Can i get the import work somehow?Precreate tablespaces. You could use import option show=y to capture import run statements and find CREATE TABLESPACE statements. Keep in mind your target database already has undo, temp system, etc. tablespaces so you do not need to precreate them. Then rerun import.
SY. -
Create Tablespace on different disk
Hi!
I am about to upgrade SAP ERP 6.0 to EHP4.
As one of failed cheks was the insufficient free space in the database.
The recommendation given by Tool (EHP Installer) was:
> Create TABLESPACE PSAPSR3701 with 53181 MB
I also found in the ORATBSXT the appropriate SQL commandos
brspace -function tscreate -tablespace PSAPSR3701 -owner SAPSR3 -data both -size 20000 -autoextend no
brspace -function tsextend -tablespace PSAPSR3701 -size 20000 -autoextend no
brspace -function tsextend -tablespace PSAPSR3701 -size 13181 -autoextend no
My problem is that I do not have 53181 MB free space on my Oracle disk.
Therefore I mounted other disk with 70 GB free space and created there the appropriate path
F:\oracle\<sid>\sapdata7\sr3701_1
Question:
What is the SQL commando to create a new tablespace with 53181 MB on new partittion F:\oracle\<sid>\sapdata7\sr3701_1?
Someting like:
>brspace -function tscreate -tablespace PSAPSR3701 -owner SAPSR3 -data both -size 53181 datafile 'F:\oracle\<sid>\sapdata7\sr3701_1\sr3701.data1' -autoextend no
Thank you very much!
regardsHai,
Use BRTools to create the New Tablespace.
http://help.sap.com/saphelp_nwpi71/helpdata/en/46/ba3930d28a1513e10000000a114a6b/frameset.htm
Regards,
Yoganand.V -
Create tablespace with extend, etc.
Hi guys,
I am typing the following commands bellow: (ORACLE_HOME and ORACLE_SID is set up correctly).
#sqlplus sys/<sys-password> as sysdba ==> worked very well, of course !
SQL> create tablespace imm datafile $ORACLE_HOME/oradata/$ORACLE_SID/imm01.dbf size 100M autoextend on next 100M;
ERROR at line 1:
ORA-01034: ORACLE not available
I have the below scripts set up correctly. Any one know how can I solve this problem ?!
Any help is appreciate !
# dbstart
SQL*Plus: Release 9.2.0.1.0 - Production on Fri Apr 7 16:46:24 2006
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
SQL> Connected to an idle instance.
SQL> ORACLE instance started.
Total System Global Area 672223892 bytes
Fixed Size 455316 bytes
Variable Size 268435456 bytes
Database Buffers 402653184 bytes
Redo Buffers 679936 bytes
Database mounted.
Database opened.
SQL> Disconnected from Oracle9i Release 9.2.0.1.0 - Production
JServer Release 9.2.0.1.0 - Production
Database "immdb" warm started.
# lsnrctl start
LSNRCTL for Solaris: Version 9.2.0.1.0 - Production on 07-APR-2006 16:46:46
Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
Starting /apps/oracle/OraHome//bin/tnslsnr: please wait...
TNSLSNR for Solaris: Version 9.2.0.1.0 - Production
System parameter file is /apps/oracle/OraHome/network/admin/listener.ora
Log messages written to /apps/oracle/OraHome/network/log/listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=gama2)(PORT=1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Solaris: Version 9.2.0.1.0 - Production
Start Date 07-APR-2006 16:46:46
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security OFF
SNMP OFF
Listener Parameter File /apps/oracle/OraHome/network/admin/listener.ora
Listener Log File /apps/oracle/OraHome/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=gama2)(PORT=1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "immdb.gama2" has 1 instance(s).
Instance "immdb", status UNKNOWN, has 1 handler(s) for this service...
Service "oradb.gama2" has 1 instance(s).
Instance "oradb", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
Cheers,
MuriloCan i perhaps add Operating system environment variable to DATAFILE value somehow? I don't want to create tablespace with full file path, starting from drive name and ending with file name.You can use variables in dbca when you create a database (I already can hear you say you don't want that)
You can also use Oracle Managed Files for the entire database ( I already can hear you say you don't want that)
You can not use relative paths, which begs the question why you don't want to use an absolute path, assuming you seldomly create a tablespace.
I don't want to see posts like yours with unjustified 'complaints', yet I do respond to it.
Sybrand Bakker
Senior Oracle DBA -
Hello,
I need some help. I need to create new tablespace in Oracle 10g. Since we are using ASM technology. I can't see the exact path to create tablespace...I query to see the location of the datafile it gave me following path.
+ASMDG1/ORACLE/USERS.DBF
Can you guys help me out to create new tablespace.
REGARDS,Hi,
I location of datafiles and tablespace as well but it is showing the following path.
+ASMDG1/ORACLE/USERS.DBF . The problem is when i use this path to create tablespace like:
CREATE TABLESPACE CARE
DATAFILE '+ASMDG1/ORACLE/CARE.DBF' SIZE 10G;
It show the error that path doesn't exist.
Can anybody help me out to solve this problem. I tried possible ways but couldn't create tablespace.
Regards -
Creating tablespace and databasefiles
I am creating a tablespace with sets of database files within it with the following option
I get the following error:
CREATE SMALLFILE TABLESPACE "CLAIMS_NEW"
DATAFILE
'D:\ORACLE\PRODUCT\10.2.0\ORADATA\QAIDM2\CLAIMS_NEW1.DBF' SIZE 4096M REUSE AUTOEXTEND ON NEXT 8192K MAXSIZE 4096M,
'D:\ORACLE\PRODUCT\10.2.0\ORADATA\QAIDM2\CLAIMS_NEW2.DBF' SIZE 4096M REUSE AUTOEXTEND ON NEXT 8192K MAXSIZE 4096M,
'D:\ORACLE\PRODUCT\10.2.0\ORADATA\QAIDM2\CLAIMS_NEW3.DBF' SIZE 4096M REUSE AUTOEXTEND ON NEXT 8192K MAXSIZE 4096M,
'D:\ORACLE\PRODUCT\10.2.0\ORADATA\QAIDM2\CLAIMS_NEW4.DBF' SIZE 4096M REUSE AUTOEXTEND ON NEXT 8192K MAXSIZE 4096M,
'D:\ORACLE\PRODUCT\10.2.0\ORADATA\QAIDM2\CLAIMS_NEW5.DBF' SIZE 4096M REUSE AUTOEXTEND ON NEXT 8192K MAXSIZE 4096M,
'D:\ORACLE\PRODUCT\10.2.0\ORADATA\QAIDM2\CLAIMS_NEW6.DBF' SIZE 4096M REUSE AUTOEXTEND ON NEXT 8192K MAXSIZE 4096M,
'D:\ORACLE\PRODUCT\10.2.0\ORADATA\QAIDM2\CLAIMS_NEW7.DBF' SIZE 4096M REUSE AUTOEXTEND ON NEXT 8192K MAXSIZE 4096M,
'D:\ORACLE\PRODUCT\10.2.0\ORADATA\QAIDM2\CLAIMS_NEW8.DBF' SIZE 4096M REUSE AUTOEXTEND ON NEXT 8192K MAXSIZE 4096M,
'D:\ORACLE\PRODUCT\10.2.0\ORADATA\QAIDM2\CLAIMS_NEW9.DBF' SIZE 4096M REUSE AUTOEXTEND ON NEXT 8192K MAXSIZE 4096M,
'D:\ORACLE\PRODUCT\10.2.0\ORADATA\QAIDM2\CLAIMS_NEW10.DBF' SIZE 4096M REUSE AUTOEXTEND ON NEXT 8192K MAXSIZE 4096M,
'D:\ORACLE\PRODUCT\10.2.0\ORADATA\QAIDM2\CLAIMS_NEW11.DBF' SIZE 4096M REUSE AUTOEXTEND ON NEXT 8192K MAXSIZE 4096M,
'D:\ORACLE\PRODUCT\10.2.0\ORADATA\QAIDM2\CLAIMS_NEW12.DBF' SIZE 4096M REUSE AUTOEXTEND ON NEXT 8192K MAXSIZE 4096M,
'D:\ORACLE\PRODUCT\10.2.0\ORADATA\QAIDM2\CLAIMS_NEW13.DBF' SIZE 4096M REUSE AUTOEXTEND ON NEXT 8192K MAXSIZE 4096M,
'D:\ORACLE\PRODUCT\10.2.0\ORADATA\QAIDM2\CLAIMS_NEW14.DBF' SIZE 4096M REUSE AUTOEXTEND ON NEXT 8192K MAXSIZE 4096M,
'D:\ORACLE\PRODUCT\10.2.0\ORADATA\QAIDM2\CLAIMS_NEW15.DBF' SIZE 4096M REUSE AUTOEXTEND ON NEXT 8192K MAXSIZE 4096M
NOLOGGING EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO;
Error:
Error at Command Line:1 Column:0
Error report:
SQL Error: ORA-00059: maximum number of DB_FILES exceeded
00059. 00000 - "maximum number of DB_FILES exceeded"
*Cause: The value of the DB_FILES initialization parameter was exceeded.
*Action: Increase the value of the DB_FILES parameter and warm start.
I am not sure how to rectify this error ? Do I have to reduce number of database files ?
Please advise
Thanks
JayCause of The Problem
You have reached the limit of DB_FILES parameter. Before entering into solution part let's have an idea about DB_FILES and MAXDATAFILES parameter.
The DB_FILES parameter limits the maximum number of datafile can exist in oracle database. We can't change this parameter dynamically. We have to change it spfile by using ALTER SYSTEM .... SCOPE=SPFILE or in the pfile.
And the MAXDATAFILES parameter you can find with the CREATE DATABASE command or in CREATE CONTROLFILE command. It is also a limitation of maximum number of datafiles can be in the datafile. But starting from oracle 8 this hard limit parameter can be easily expanded up to DB_FILES parameter. So, if you attempt to add a new file whose number is greater than MAXDATAFILES, but less than or equal to DB_FILES, the MAXDATAFILES parameter of the control file will expand automatically to accommodate more files.
So, if you are after oracle 8i then we should just forget about MAXDATAFILES parameter. We should rather think about DB_FILES parameter.
Solution of The Problem
If you use pfile to startup the database then edit pfile and add/modify the DB_FILES parameter to a greater value so that it can accommodate higher number of datafiles. Then start the database using that pfile.
If you use spfile to startup the database then issue,
SQL> alter system set db_files=300 scope=spfile;
System altered.
Then start your database and either create tablespace or add datafile to an existing tablespace. Hopefully it will work.source:-
http://arjudba.blogspot.com/2008/08/maxdatafiles-dbfiles-parameters-and-ora.html
also refer,
http://laurentschneider.com/wordpress/2006/01/change-maxdatafiles-malogfiles-maxinstances-maxlogmembers-without-downtime.html -
Thread : created tablespace not seen wihle querying database
hi there,
I have create tablespace but when i queried database it is not showing its existence
here are steps which i used to create tablespace------
create tablespace ts_corrupt
datafile '/PGHProdDB/oradata/paceview/ts_corrupt01.dbf'
size 10m autoextend on next 5m
extent management local
segment space management auto
tablespace created.
create user usr_corrupt identified by usr_corrupt
default tablespace ts_corrupt
quota unlimited on ts_corrupt
User created.
grant connect , resource to usr_corrupt
Grant succeeded.
conn usr_corrupt/usr_corrupt
Connected.
create table t_corrupt as select * from all_objects
table created
but when i query to see the appropriate datafile
conn / as sysdba
SQL> select * from v$dbfile;
FILE#
NAME
5
/PGHProdDB/oradata/paceview/example01.dbf
4
/PGHProdDB/oradata/user00.dbf
3
/PGHProdDB/oradata/paceview/sysaux.dbf
FILE#
NAME
2
/PGHProdDB/oradata/paceview/undotbs1.dbf
1
/PGHProdDB/oradata/paceview/system.dbf
and run rman backup-------------
rman terget /
RMAN> backup incremental level 1 cumulative database;
Starting backup at 28-AUG-12
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=28 devtype=DISK
channel ORA_DISK_1: starting incremental level 1 datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
input datafile fno=00001 name=/PGHProdDB/oradata/paceview/system.dbf
input datafile fno=00003 name=/PGHProdDB/oradata/paceview/sysaux.dbf
input datafile fno=00002 name=/PGHProdDB/oradata/paceview/undotbs1.dbf
input datafile fno=00004 name=/PGHProdDB/oradata/user00.dbf
input datafile fno=00005 name=/PGHProdDB/oradata/paceview/example01.dbf
channel ORA_DISK_1: starting piece 1 at 28-AUG-12
it is not showing "t_corrupt" tablespace while taking backup
now problem is arising where is my newly created datafile ?
thanks
regards
Edited by: abdul_ora on Aug 29, 2012 11:08 AMi did what you people suggest me---
mr. Yasir Hashmi as you asked --
If it is not in the alert log, oracle has no record of it.
Are you sure you really created it?
Create it again and verify it from alert log.so i have created it again and this time its showing in alertlog.
mr. harry76 as you asked---
It will be in uppercase in the logfile if it is there?no, not at all i havent find it .
:There must be 2 databases involved here - and the initial scripts you ran must be against the other database.I am fated that i have run that command on specific database as USER is still exist which i had created.
Can you recall your command history?history showing me that i corrupted the one of that tablespace(ts_corrupt) block to recover it from recoverblock command
by the way i know you people are helping me out so much that i learn alot from this kind of mistakes
thank you for giving me your precious consideration and scarce time :) and need more as my curiosity is increasing
Edited by: abdul_ora on Aug 28, 2012 4:52 PM -
Hi all
I am trying to create a tablespace, but i am getting the following error.
ORA-00604: error occurred at recursive SQL level 1
ORA-06553: PLS-213: package STANDARD not accessible
This is my command
create tablespace dummy_ts
logging
datafile '/home/oracle/admin/content/dummy_tblsp.dbf'
size 32m
autoextend on
next 32m maxsize 2048m
extent management local;
I dont know the reason why its happening.connect to the database as sys.
alter package dbms_standard compile
should resolve it.
However this message is usually a sign of bigger problems.
In that case you should run
$ORACLE_HOME/rdbms/admin/catalog.sql and
$ORACLE_HOME/rdbms/admin/catproc.sql
Sybrand Bakker
Senior Oracle DBA -
(10g) Possible to create tablespace on USB hard drive?
I've been trying unsuccessfully to get something to work, without success so far. After the hurricanes of recent years we realized that with widespread power outages and network problems, being able to put our database on standalone laptops would be very useful for our field people. The full database is too large, but if I exclude the stored documents, it becomes manageable. Unfortunately, my management wants to have the option of including some documents. My thought was to create a separate tablespace to hold just that table, and put the tablespace on a USB hard drive, so if the field scientist didn't want the documents, they could just leave the external hard drive in the office. But I can't create the tablespace to test this out - I keep getting an ORA-27044 "unable to write header block" followed by "There is not enough space on the disk". I'm trying to create a 10GB tablespace, the external drive has 300GB free. Am I running into a Windows/USB restriction?
(I know there would be a problem with not having the tablespace available if the field guy didn't take the USB drive, but I'm trying to get past this problem first)
Thanks,
HarryI currently have a 4GB pendrive but not a USB external hard disk.
I have been able to create a tablespace on this pen drive (I ensured that the pen drive always mounts with a particular drive letter only). I am using Oracle 11.1.0.6.0 on Windows XP Professional 32 bit SP2.
In following example, J: drive is my pen drive.
SQL> create tablespace test datafile 'j:\data01.dat' size 1M;
Tablespace created.
SQL> select * from v$tablespace;
TS# NAME INC BIG FLA ENC
0 SYSTEM YES NO YES
1 SYSAUX YES NO YES
2 UNDOTBS1 YES NO YES
4 USERS YES NO YES
3 TEMP NO NO YES
6 EXAMPLE YES NO YES
7 TEST YES NO YES
7 rows selected.
SQL> create table testtable (id number) tablespace test;
Table created.
SQL> insert into testtable select object_id from user_objects;
29730 rows created.
SQL> commit;
Commit complete.
SQL> drop tablespace test including contents and datafiles;
Tablespace dropped.
SQL> select * from v$tablespace;
TS# NAME INC BIG FLA ENC
0 SYSTEM YES NO YES
1 SYSAUX YES NO YES
2 UNDOTBS1 YES NO YES
4 USERS YES NO YES
3 TEMP NO NO YES
6 EXAMPLE YES NO YES
6 rows selected. -
MCOD installation fails during Database instance phase "CREATE TABLESPACES
We are installing solution manager 3.2 using MCOD option on windows 2003/oracle. Installation fails during Database instance phase "CREATE TABLESPACES" step without any error. Interesting thing is no error message in installation log or oracle alert log.
Installation Details
First instance: SMD / Instance number: 00 / schema: sapsmd / Database SID: SMD
Second instance; SMQ / Instance number: 01 / schema: sapsmq / Database SID: SMD
Did any one come across this issue? Any help is greatly appreciated.
ThanksHi,
Did u checked for the Space utilization on the drives.Normally when installation fails there will be some intimation of the cause in the log files written in the sapinst directory.IF it is failing in the tablespace creation phase the that means that the data files cannot be created.
It depends on the database you use: Data files(Oracle), Containers (DB2).
Do check in the sapdata directories whethere the data file have created.
If its not giving you any error then the installation might got stuck bcoz of some memory problems during the "create tablespace phase"
Regards
Ashly. -
Would clicking the load button while NSS Internal PKSS #11 Module is selected and accepting the pop-up window without filling in any more information create a problem for the Firefox 8 program?
Quote from: lcwhitlock on 04-April-14, 13:44:09
Hello darkhawk,
Thank you for the recommendation. I somewhat understand what a MS DOS disk is, but I'm not sure how to go about creating one. I've seen where you can use a program, like Rufus, to create a usb one - but I'm leery about using 3rd-party programs (especially ones I'm not familiar with). I've come across a couple of 'how-to' tuts, but they didn't clarify what files (if any) I would need to include on the disk (for my particular situation). Right now I don't have any blank cds, nor any extra flash/thumb drives - wish I did, but hadn't needed these for years. There has only been one other time where I needed to re-install Windows, but that was over 15 years ago - I did it through BIOS, reformatting my drives, and then reinstalled via the Windows XP disk. Windows 8 is an entirely different breed, which has left me feeling a bit stumped, at times. If there was a way I could perform it (successfully), similar to the first time I did it years ago, I'd give it a try - but at the same time, I'm a bit reluctant, because if it doesn't work, then I'm stuck without any internet access to get further help.
Ask and ye shall receive. This should be doable in Windows 7 and Windows 8 on another PC. I recommend using a USB Flash drive like in this tutorial, but I'm sure you could use something else.
If you want, you could also use Hiren's BootCD to make a bootable CD with many options and programs on it (I keep one, just for certain situations) that will allow you to do the same things.
http://www.hiren.info/pages/bootcd
Also very useful for sorting out virus's as long as it's downloaded and made on another PC that is virus free...... -
Due to a misunderstanding with [email protected] in September of 2010, many of my applications and important files were put into the trash during a cleaning. The trash hadn't been deleted, so a CleanApp rep told me to drag my important files to a folder on my desktop. They were unable to help me with anymore advice with the exception that if I followed the pathway of the application, I could manually restore it to its proper location.
This was asking a lot of me because I didn't have the experience or knowledge of undertaking such a massive restoration. However, I did the best I could. What had been put in the trash was not just a few files -- there were hundreds of files or apps that I discovered in the trash. As I said, this was a misunderstanding. I was left feeling devastated at what had happened.
Since then, my iMac Intel Core Duo has been running on its last legs. I'm surprised I can even get to my email. As far as using the software that I bought with my iMac, I can't. I just do the basics.
What I have been wanting to do is to upgrade to the next level. However, I worry that if I upgrade a crippled OS X 10.4.11 Tiger, I would be creating more problems than what I already have. Do you agree that an upgrade would make matters worse?It won't necessarily make it worse, but may not make it better. I am not familiar with the utility you usedm though anything that cleans or maintains your Mac should be avoided unless you know what you are doing and what it does. Probably re-installing software from the official sources (download or CDs) is the best way to ensure missing parts are all replaced.
If this is a core duo and not a core 2 duo then the highest you can go is Snow Leopard 10.6 Get more information about your computer. Go to the Apple in the upper left corner of any window, then "About This Mac", then "More Info..." Copy and paste the information here, but omit the serial number and Hardware UUID (if present).
Maybe you are looking for
-
CheckedInputStream + DataOutputStream problem
Hi. I've been working on a simple File transfer / IM program using tcp sockets. I decided to add a checksum calc to the file transfer process, but this led into problems. Here's the problem in detail (code snippet simplified): File sender code: <code
-
I have many Java POJOs imported as facts. In each of these POJOs there is at least 1 date property. How am I to use these dates in my rules. for example: pojo.date > '08/22/06' pojo.date < today println(pojo.date) Although I have imported the java da
-
Mailto: using a form button?
I have a page that has a mailto: link for an email address. I would like to add a form-type button and assign a link to an email address. I have tried, but not very successfully. Is this even possible?
-
Abot loss online Redo log group
Hi, Is there different from recovering between loss CURRENT online redo log group and ACTIVE online redo log group? Both of them are needed to incomplete recovery, right?
-
Windows 8 apps wont connect to the internet
I just bought a new computer last Friday. None if the apps that came installed on the computer will connect to the internet and the app store will also not connect.I have done some basic research on trying to figure out why this is the case and it se