Query in adding a datafile to the tablespace ?
Hi All,
A small qry? Suppose i am having a datafile .DBF of Size 26 GB , and now i want to add another Datafile to the tablespace. Then how to stop insertion of data into that 26 GB file , while the 2nd Datafile should start accepting the data. Is it an automatic process or we have to issuse some commands ??. Kindly provide some document links.
Regards
Thanks for the reply sir
But if we declare 3 datafiles at the time of DB
Creation then how is three datafiles handled.
Insertion of data is simultaneous in all of the three
files or in a single file?????The Insertion of data in the datafile can't be handled be you. Oracle manages automatically. To elaborate further the freelist in the segments are response the data insertion. Better solution for your scenario is create tablespace with ample no. of datafiles and then export and import utility.
with regards
kccrga
Similar Messages
-
Adding a datafile to a tablespace?
hi all,
what are the prequisites of adding a datafile to a tablespace
& how is it performed? pls help?
regards,
vivek.Hi,
prequisites of adding a datafile to a tablespace
1. check for Tablespace Threshold level should be more than 90%(in db02 tcode).
2. There shd be no backup running while adding datafile to Tablespace.
3. check for the size of datafile should be added to Tablespace.
Goto Brtools--->login as sidadm
BR*Tools main menu
1 = Instance management
2 - Space management
3 - Segment management
4 - Backup and database copy
5 - Restore and recovery
6 - Check and verification
7 - Database statistics
8 - Additional functions
9 - Exit program
select option 2 - Space management.> Then select 1 = Extend tablespace> 3 ~ Tablespace name (tablespace) ... []-->
5 - Size of the new file in MB (size) ..... [3500] then continuosly select c-continue
With this steps your datafile will be added to Tablespace.
Thanks,
Ramakrishna. -
Query on adding custom fields of the BP Screen
Hi Group,
I have a requirement to add a couple of new fields to <b>BP</b> screen.
I came to know that, <b>EEWB</b> is not a recommended way of doing this, as if some error occurs it is difficult to revert back.
And also, <b>BDT tool</b> also cannot be a useful solution as the proposed requirement cannot be achieved.
So other than the 2 ways, is there any other way through which I can achieve my requirement?
Thanks in advance.
Regards,
Vishnu.is that BP screen in PCUI ? or in SAP-GUI ?
do clarify
Regards,
Raviraj -
How to drop the datafile in a tablespace
hi,
I need to drop the datafile in a tablespace.How to drop the datafile in the tablespace.If iam able to drop the datafile and is it possible to create the datafiles with the same name.could u pls help me out..
Thanks in advance,
R.Ratheeshsql > alter database <datafile> offline drop ;
sql > alter database open ;What if the datafile have the segments in it, I believe users will not be able to access them. And system will put the datafile to Recovry mode not drop it.
Dropping a datafle is possible only in 10G. In 9i you can reduce the size of file below the size of your min extents so that the space wont be allocated from that datafile or you may need to recreate a new tablespace copy all the segments from old tablespace and drop old one.
Cheers -
Query : Addition of extra fields in the User Registration page of portal.
Hi All,
I have a query, about adding extra fields in the new user registration page of portal.
If you can suggest the required source files in details,inorder to incorporate two more fields.
Say, AGE and COMPANY,with the existing fields in the same page.
Along with this,can you please send the details of retrieving those information from backend and the backend functionalities associated with the SUBMIT button on the registration page.
Regards,
SudeepHi,
Your query is divided into two parts.
The first part is adding new fields into existing form. This feature comes under Branding of portal. Plz use the link below understanding the same and related help :
http://help.sap.com/saphelp_erp2005vp/helpdata/en/79/affe402a5ff223e10000000a155106/frameset.htm
The second part is retrieving the values from backend.Here it will be the UME database. You need to develop a logon.par file and replace the same in your portal.
Happy Customizing.
Sukanta Rudra -
Query changes are not reflecting in the Workbook.
Hi All,
I have modified the query by adding attributes. But the changes are not reflecting in the workbook.
Do i need to insert the query again in the workbook or is there any option that will reflect the changes in the workbook
Thanks in Advance,
Suneel.Hello Suneel,
if you insert the query again, it will work, but it is not the best way to delegate the query changes to the workbook.
Just open your query from within your workbook (BEx menu 'change global definition') and use the green button at the top left in order to transfer the new query structure to the workbook. The query will be executed and you should see the changes.
Don't forget to save the workbook afterwards.
Regards,
Kirill -
Lost of datafile to 2 tablespaces, no rman but expdp image
Hello,
We lost 2 datafiles to 2 tablespaces in our non-production database. We can not open the database because of the missing 2 datafiles on the same mountpoint. The database is mounted. How to drop these 2 tablespaces and datafiles so the database can be open? We do not have rman but do have expdp files as backup. Thank you.Offline drop the datafiles,drop the tablespaces,recreate them,import the data.
ALTER DATABASE DATAFILE '<full_path_file_name>' OFFLINE DROP;
ALTER DATABASE OPEN;
DROP TABLESPACE <tablespace_name> INCLUDING CONTENTS;
CREATE TABLESPACE <tablespace_name> DATAFILE
'<datafile_full_path_name'> SIZE <required_size>;
impdp .....
Werner -
How to add a datafile in the temp tablespace
how i can add a datafile in the temp tablespace.
becuase i am getting tyhe following error
SQL> select aa.question_desc,a.answer_desc from answer a ,
2 (select * from question_t where rownum <=100 order by dbms_random.random) aa
3 where a.question_id = aa.question_id
4 /
select aa.question_desc,a.answer_desc from answer a ,
ERROR at line 1:
ORA-01652: unable to extend temp segment by 256 in tablespace TEMPselect * from question_t where rownum <=100 order by dbms_random.random<br>After all the discussion about random select a random generated number... why don't you go for one of the suggestion like :<br>
select *
from (select * from question_t order by dbms_random.random)
where rownum <=100 The result is different.<br>
In your query, you take 100 rows and order randomly, in the second query, order randomly, and take 100 first rows...<br>
As you can see above, with your last query, output row are always same, but in different order :<br>
SCOTT@demo102> select ename from emp where rownum<=5 order by dbms_random.random;
ENAME
SMITH
ALLEN
MARTIN
JONES
WARD
SCOTT@demo102> /
ENAME
MARTIN
JONES
SMITH
ALLEN
WARD
SCOTT@demo102> /
ENAME
JONES
ALLEN
MARTIN
SMITH
WARD
SCOTT@demo102> /
ENAME
ALLEN
SMITH
WARD
MARTIN
JONES
SCOTT@demo102> <br>
Anyway, I don't restart this discussion here.<br>
For your actual problem, Pierre has already give you a suggestion.<br>
<br>
Nicolas. -
I have a list with almost 10000 items. I have a view that should be returning 8 items. For me, the Farm Admin, I see the full set of expected values. The message "Displaying only the newest results below. To view all results, narrow your query by
adding a filter" shows for other users. This makes no sense -
there ARE filters on this view. I'd rather not increase the throttle limit.
Anthony KellyHi Ajk,
Check that the list is not scoped by an audience; but, I'm afraid that either way admin, (e.g. non Farm admin or site collection admin)
I'd recommend exporting to excel, create two new spreadsheets and then import as custom lists.
Best of luck and cheers,
Stacy Anothersharepointblog.blogspot.com -
Drop a partition with a corrupt datafile in the associated tablespace
Hello,
I desperately need to drop a partition. However, I am unable to do so as the datafile in the associated tablespace for the partition is corrupt. When I attempt to drop the partition, I receive the following error:
ORA-00376: file 16 cannot be read at this time.
ORA-01110: data file 16: '/data3/oradata/cdn/data/tran_part_20051115.dbf'
Is there any way to get rid of the corrupted datafile so that I can successfully drop the partition? Maintaining the data is not a concern at this point. The priority is to solve this issue, so data loss is not a concern for me.
Any assistance would be greatly appreciated!
Thanks,
ScottDoes the file '/data3/oradata/cdn/data/tran_part_20051115.dbf' exist on the disk?
What does; select distinct status from V$recover_file indicate?
Thanks
Chandra Pabba -
Deleted undo datafile before dropping the tablespace.
i had accidently deleted a undo datafile which was no more needed before dropping the tablespace.
i started up the database in mount stage by making that datafile offline.
now while dropping the database it is giving an error.
SQL> drop tablespace UNDOTBS1 ;
drop tablespace UNDOTBS1
ERROR at line 1:
ORA-01548: active rollback segment '_SYSSMU1$' found, terminate dropping tablespace
Do someone have a resolution. I dnt need this tablespace anymore.http://www.my-whiteboard.com/oracle-dba/how-to-drop-and-recreate-oracle-undo-tablespace-and-its-data-files.html may be helpful to you.
-
Hi,
In one of my list there are 33,000 records.
It gives message "Displaying only the newest results below. To view all results, narrow your query by adding a filter."
I don't want to change my threshold limit. Can anybody please tell me steps to resolve this issue?
Regards,
Amit KhatriI have a list of 11,000 items. Even though I have setup filters on it and it shows all 10 records based on that filter, it still shows that warning on top. For some items, even with those filters, I don't see the list items at all. How do I deal with
this situation. I don't want to change my threshold limits from CA either. Please help.
MAK -
How to query the tablespace size increment speed?
Hello,
Do you have any directions or ideas on how to know the tablespace size increments history. or how to know the frequency of tablespace size increment.
when I went into new database, I never managed this database before, i want to know the tabelspace size increments speed for do the reasonable space extend.
so could you please give us a guide thanks!RLUO wrote:
Hello,
Do you have any directions or ideas on how to know the tablespace size increments history. or how to know the frequency of tablespace size increment.
when I went into new database, I never managed this database before, i want to know the tabelspace size increments speed for do the reasonable space extend.
so could you please give us a guide thanks!Hi, there good way is using DBMS_SPACE.OBJECT_GROWTH_TREND as Rajesh mentioned that.But also you can use some AWR views to getting this information.Seee below link.
tablespaces' growth trend -
Add a new datafile to the standby database
Hi,
i have a standby database in recovery managed mode.
Now i must add a new datafile on the production database and i would like
to know how i realized adding the new datafile on the stanby database.
is it right when i do the follow steps?
Before i add a datafile to the primary database,
cancel the recovery on the standby database.
-> add the new datafile on the primary database
after all archived redo logs have been applied, cancel managed recovery:
alter database recover managed standby database cancel;
startup nomount
alter database mount standby database;than
ALTER DATABASE CREATE DATAFILE '/oracle/DB1/db1_9/data9' as '/oracle/DB1/db1_9/data9';
alter database recover managed standby database disconnect;Thanks8.4.1.1 Adding a Tablespace and a Datafile When STANDBY_FILE_MANAGEMENT Is Set to AUTO
The following example shows the steps required to add a new datafile to the primary and standby databases when the STANDBY_FILE_MANAGEMENT initialization parameter is set to AUTO.
Add a new tablespace to the primary database:
SQL> CREATE TABLESPACE new_ts DATAFILE 't_db2.dbf'
2> SIZE 1m AUTOEXTEND ON MAXSIZE UNLIMITED;
Archive the current redo log so it will get copied to the standby database:
SQL> ALTER SYSTEM ARCHIVE LOG CURRENT;
Verify that the new datafile was added to the primary database:
SQL> SELECT NAME FROM V$DATAFILE;
NAME
/disk1/oracle/dbs/t_db1.dbf
/disk1/oracle/dbs/t_db2.dbf
Verify that the new datafile was added to the standby database:
SQL> SELECT NAME FROM V$DATAFILE;
NAME
/disk1/oracle/dbs/s2t_db1.dbf
/disk1/oracle/dbs/s2t_db2.dbf
8.4.1.2 Adding a Tablespace and a Datafile When STANDBY_FILE_MANAGEMENT Is Set to MANUAL
The following example shows the steps required to add a new datafile to the primary and standby database when the STANDBY_FILE_MANAGEMENT initialization parameter is set to MANUAL. You must set the STANDBY_FILE_MANAGEMENT initialization parameter to MANUAL when the standby datafiles reside on raw devices.
Add a new tablespace to the primary database:
SQL> CREATE TABLESPACE new_ts DATAFILE 't_db2.dbf'
2> SIZE 1m AUTOEXTEND ON MAXSIZE UNLIMITED;
Verify that the new datafile was added to the primary database:
SQL> SELECT NAME FROM V$DATAFILE;
NAME
/disk1/oracle/dbs/t_db1.dbf
/disk1/oracle/dbs/t_db2.dbf
Perform the following steps to copy the tablespace to a remote standby location:
Place the new tablespace offline:
SQL> ALTER TABLESPACE new_ts OFFLINE;
Copy the new tablespace to a local temporary location using an operating system utility copy command. Copying the files to a temporary location will reduce the amount of time that the tablespace must remain offline. The following example copies the tablespace using the UNIX cp command:
% cp t_db2.dbf s2t_db2.dbf
Place the new tablespace back online:
SQL> ALTER TABLESPACE new_ts ONLINE;
Copy the local copy of the tablespace to a remote standby location using an operating system utility command. The following example uses the UNIX rcp command:
%rcp s2t_db2.dbf standby_location
Archive the current redo log on the primary database so it will get copied to the standby database:
SQL> ALTER SYSTEM ARCHIVE LOG CURRENT;
Use the following query to make sure that managed recovery is running. If the MRP or MRP0 process is returned, managed recovery is being performed.
SQL> SELECT PROCESS, STATUS FROM V$MANAGED_STANDBY;
Verify that the datafile was added to the standby database after the redo log was applied to the standby database.
SQL> SELECT NAME FROM V$DATAFILE;
NAME
/disk1/oracle/dbs/s2t_db1.dbf
/disk1/oracle/dbs/s2t_db2.dbf
From Oracle Docs... -
Unable to Extend the Tablespace in BW Production Server
Hello Gurus,
I am unable to extend the tablespace - PSAPODSD in our BW production server.
While extending it throws this error
BR1052E File odsd.data53 is already used by the database - this can cause problems in backups
I am attaching the log for your reference
Options for extension of tablespace PSAPODSD (1. file)
1 * Last added file name (lastfile) ....... [/oracle/PBW/sapdata3/odsd_52/odsd.data52]
2 * Last added file size in MB (lastsize) . [2000]
3 - New file to be added (file) ........... [/oracle/PBW/sapdata2/odsd_53/odsd.data53]
4 ~ Raw disk / link target (rawlink) ...... []
5 - Size of the new file in MB (size) ..... [2000]
6 - File autoextend mode (autoextend) ..... [no]
7 # Maximum file size in MB (maxsize) ..... []
8 # File increment size in MB (incrsize) .. []
9 - SQL command (command) ................. [alter tablespace PSAPODSD add datafile '/oracle/PBW/sapdata2/odsd_53/odsd.data53' size 2000M autoextend off]
Standard keys: c - cont, b - back, s - stop, r - refr, h - help
BR0662I Enter your choice:
BR0280I BRSPACE time stamp: 2009-05-04 07.32.04
BR0663I Your choice: 'c'
BR0259I Program execution will be continued...
BR1052E File odsd.data53 is already used by the database - this can cause problems in backups
BR0669I Cannot continue due to previous warnings or errors - you can go back to repeat the last action
BR0280I BRSPACE time stamp: 2009-05-04 07.32.04
BR0671I Enter 'b[ack]' to go back, 's[top]' to abort:
BR0280I BRSPACE time stamp: 2009-05-04 07.32.10
BR0257I Your reply: 'b'
BR0673I Going back to the previous menu...
Please guide us to resolve this issue .
Imp - backup is completed successfully, I checked through sqlplus V$backup there is no active files
Thanks & Regards
ShishirHi,
login as ora<SID> and run this
sqlplus "/as sysdba"
sql> select FILE_NAME from dba_data_files where TABLESPACE_NAME='PSAPODSD';
This will show the list of the files located at os level and check whether the "odsd.data53" is present in which sapdata*. If this exist then add a new datafile.
Thanks
Arun
Maybe you are looking for
-
Volume on External Hard Drive Suddenly Disappeared
Hello I'm having problems with an external hard disk which i partitioned into two volumes several months ago. Since this afternoon one of the volumes will NOT mount on the desktop of OSX 3.9 The other volume on the same external drive DOES mount. I r
-
Invalid_path exception while using UTL_FILE.FOPEN
Hi I am getting invalid_path exception while using the UTL_FILE.fopen subprogram. I tried finding out the reason but could not solve it. Please help. Below is my piece of code. create directory utldr as 'e:\utldir'; declare f utl_file.file_type; s va
-
Unable to import large AVI files
I make flash animations and then turn them into AVI files. When the avi file is bigger than 2gb, I am unable to import it to the timeline. If I then go back in flash and cut it in two and make two avi files, I can import them. I seem to be missing a
-
Dear Gurus, I am having problem with TAX Code, input Tax is not allowed to be posted to G/L accounts. When we use the amount split in MM invoice it picks the TAX Code automatically against each amount. Which is not required and it does not allow to p
-
Saving song data on a mix disc?
I can't find any information on this anywhere. I made a mix disc for a friend of mine, and I want her to be able to pop it into iTunes and have the track info come up automatically, instead of just "Track 01", etc. I've tried the "submit to CDDB" opt