Users tablespace - data file is 24.5 GB, only 1.2 GB used - what should I do?
Hi allIn my database I have users tablespace and its data file is users01.dbf. File size is 24.5 GB, but the data used are of 1.2 GB. I got this information from OEM, see image below:
https://picasaweb.Google.com/100555146235257804098/Oracle_a1#5759303022195932370
How I can free unused space of 23GB?
Just to let you know to my knowledge, I am a developer of report OBI.
Thank you!
>
I executed the script sql on your link http://www.oracle-ckpt.com/how-to-shrink-datafiles-adjusting-hwm/
It gives only 7 GB. If I can save only 7 GB so it will not help me. This is the maximum possible savings, you can do.
Do you mean if I load 20 GB of data now in the post above, the database uses the current data file to increase the size of the file? Or it adds to the size of the file, that is to say 25 + 20 = 45 GB?
It seems CanGrow is enabled for the USERS tablespace: CANGROW - YES
If it uses the size of the file, then I can deal with the current structure. If we add to the file so I can't move forward.
Your data file already occupied 23 GB, if you load another 20 GB of data. Of course, it can take another 20 GB, if all 23 GB already existing aid. Have you talked about the link that is mentioned by Sir Jonathan Lewis?
Tags: Database
Similar Questions
-
How to move a specific tablespace data file from one directory to another
Database: 10.2.0.1
OS: generic
Description of the problem: how to move a specific tablespace data file of one directory to another account of the database that is on the installer of Oracle Dataguard
* Oracle is working on this issue, but at the same time opens the topic community so that community members can add their views, experience, or knowledge. This will strengthen again all the knowledge bases, including My Oracle Support and My Oracle Support Communities *.
Published by: ram_orcl on August 16, 2010 21:21Dear ram_orcl,
Please follow the procedures here;
http://download-UK.Oracle.com/docs/CD/B19306_01/server.102/b14239/manage_ps.htm#i1034172
8.3.4 Renaming a Datafile in the Primary Database When you rename one or more datafiles in the primary database, the change is not propagated to the standby database. Therefore, if you want to rename the same datafiles on the standby database, you must manually make the equivalent modifications on the standby database because the modifications are not performed automatically, even if the STANDBY_FILE_MANAGEMENT initialization parameter is set to AUTO. The following steps describe how to rename a datafile in the primary database and manually propagate the changes to the standby database. 1. To rename the datafile in the primary database, take the tablespace offline: SQL> ALTER TABLESPACE tbs_4 OFFLINE; 2. Exit from the SQL prompt and issue an operating system command, such as the following UNIX mv command, to rename the datafile on the primary system: % mv /disk1/oracle/oradata/payroll/tbs_4.dbf /disk1/oracle/oradata/payroll/tbs_x.dbf 3. Rename the datafile in the primary database and bring the tablespace back online: SQL> ALTER TABLESPACE tbs_4 RENAME DATAFILE 2> '/disk1/oracle/oradata/payroll/tbs_4.dbf' 3> TO '/disk1/oracle/oradata/payroll/tbs_x.dbf'; SQL> ALTER TABLESPACE tbs_4 ONLINE; 4. Connect to the standby database, query the V$ARCHIVED_LOG view to verify all of the archived redo log files are applied, and then stop Redo Apply: SQL> SELECT SEQUENCE#,APPLIED FROM V$ARCHIVED_LOG ORDER BY SEQUENCE#; SEQUENCE# APP --------- --- 8 YES 9 YES 10 YES 11 YES 4 rows selected. SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL; 5. Shut down the standby database: SQL> SHUTDOWN; 6. Rename the datafile at the standby site using an operating system command, such as the UNIX mv command: % mv /disk1/oracle/oradata/payroll/tbs_4.dbf /disk1/oracle/oradata/payroll/tbs_x.dbf 7. Start and mount the standby database: SQL> STARTUP MOUNT; 8. Rename the datafile in the standby control file. Note that the STANDBY_FILE_MANAGEMENT initialization parameter must be set to MANUAL. SQL> ALTER DATABASE RENAME FILE '/disk1/oracle/oradata/payroll/tbs_4.dbf' 2> TO '/disk1/oracle/oradata/payroll/tbs_x.dbf'; 9. On the standby database, restart Redo Apply: SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE 2> DISCONNECT FROM SESSION; If you do not rename the corresponding datafile at the standby system, and then try to refresh the standby database control file, the standby database will attempt to use the renamed datafile, but it will not find it. Consequently, you will see error messages similar to the following in the alert log: ORA-00283: recovery session canceled due to errors ORA-01157: cannot identify/lock datafile 4 - see DBWR trace file ORA-01110: datafile 4: '/Disk1/oracle/oradata/payroll/tbs_x.dbf'
Hope that helps.
Ogan
-
How to reduce the temp tablespace data file
Dear all,
I'm using Oracle 11 g on Windows 2003. Due to a SQL select query my temp tablespace data file size has increased significantly. How can I reduce the data temp file?
Thank youhttp://download.Oracle.com/docs/CD/B28359_01/server.111/b28310/tspaces007.htm#CFHJFBBJ
-
I would like to open the PageMaker files in InDesign. Is this possible? If so, what should I do? Thank you.
Only CS6 and earlier can open files of the PM.
CS6 is included in your creative cloud account.
-
How to move a segment in the SYSAUX tablespace data file
Hello
I had a problem with my tablespace SYSAUX growing due to the history of Stats being not properly purged (lots of hits and articles against this known issue). I have since corrected this problem and I did my SYSAUX tablespace so that it is now less than 3 GB. However, the data file unique original behind this tablespace is still 10 GB and I want to reduce again to below 6 GB.
However as a suspect when I try to reduce the data return file I get ORA-03297 file contains data beyond the requested value of RESIZING.
I checked the table dba_extents for this tablespace, which reveals there are approximately 765 segments over my desired fix of 6 GB.
Q1. If there is only 1 or 2 segments above this mark of 6 GB, how would manually move their bottom?
Q2. I gave have 765 segments above this 6 GB brand, what are the recommendations to achieve the mass movement required of these segments?
Thank you
JimThe Alter Table or Alter Index statement will pass all these types of segment?
Lol some are special items.
Here is what I make sure you test something you care to.
And the double test. Frankly, I would like to change the least possible and if I didn't do it, I would avoid.
It might be easily really much, much more trouble than its worth.LOBINDEX
ALTER table
move lob ( ) store (tablespace ); NESTED TABLE
A nested table can be moved to a different tablespace only by moving his table containing storage target.
(Move the parent table, which is only necessary.)PARTITON TABLE
ALTER partitioned table move partition part_2 tablespace
; LOB SEGMENT
ALTER TABLE owner.table_name MOVE LOB (column_name) STORE AS (nom_tablespace);
CLUSTER
I'm not sure.
INDEX PARTITION
example of
ALTER INDEX SYS. I_STREAMS_APPLY_SPILL_MSGS_PT1 CHANGE DEFAULT USERS TABLESPACE ATTRIBUTES;
PARTITION OF LOB
ALTER table
partition of moving
lob ( ) store as (tablespace ); See also - online redefinition of tables
http://Oracle.Su/docs/11g/server.112/e10595/tables007.htm
Oracle Database 10 g Release 2 online data reorganization & redefinition
http://www.Oracle.com/technetwork/database/features/availability/HA-10gR2-online-reorg-TWP-131644.PDF
http://jhdba.WordPress.com/2009/05/19/purging-statistics-from-the-SYSAUX-tablespace/
Best regards
mseberg
-
Tablespace, data file auto-extension
Hi gurus!
I'm new here, I have a dout.
What you recommend me, generate a data file auto-étend or generate more data for a tablespace file?
Is there a problem with the performance?
Rigth now I a tablespace with a self-aggrandizing data file ' extends, with an increment of 10240KB, it of a table with a level of transaction gran space every day, allowed the size of increace?
Thanks in advance879411, I'm not sure I understand everytihing say, but in general you want that data files are rarely extend to 100%. You do not want to set the next is large enough that the file would extend only rarely. You would balance against if at some point, you expect the items being supported in the tablespace to each stop growing or the rate of growth slows down significantly.
Choose a file size which would become perhaps once a week might be a good size to start.
At least the file extend the size should match the object to the extent that is required. In the case of a managed tablespace locally allocated by self, this could be 64 M.
HTH - Mark D Powell.
-
Tablespace, data file, Schmeas in 10 gr 2
Hello
What are v$ views or tables instances where I can join their data files tablepspaces performs and tablespaces to their corresponding schemas?
I need to prepare a report for having overview of all data files and its elements, and I need this information in order to complete the report.
Thank you
Rdba_ts_quotas DESC
DESC DBA_DATA_FILES -
associated tablespace data file
Hello
How can we find out what all the data file associated with a tablespace?Select file_name in dba_data_files where nom_tablespace = «...» » ;
-
Undo tablespace/data files
Oracle 9i
In production, we get the undo data files:
SUM (MAXBYTES) SUM (USER_BYTES)
33554432000 12823953408
This table has 90 million records
I estimated the size of the table:
Num_Rows * avg_row_len = 12875211284
We need to insert records to the new table 55 million. When insert, I want to just run insert in... . Select statement once, only to commit only once.
do you think that undo tablespace is large enough to contain 55 million records based on the data above undo files?
Thank you
S.Also add don't work with it selects only works with INSERT, and you have already created a table in nologging mode. If you are on 10 and your management measure is set to auto, then use it.
create table st.order_temp
TABLESPACE USER_DATA
NOLOGGING
NoCache
noparallel
in select
...
...
all columns
...
...
of st.order_temp
When trunc (insert_date) > = add_months (trunc (sysdate, 'MONTH'),-12);Published by: OrionNet on December 9, 2008 02:19
-
Loss of all control files and two independent of the system tablespace data files.
Hello
Loss of the controlfile and 2 data files: February 25, 2010... 15:00
Database: in Archivelog mode
Backup: controlfile and all (6) datafiles on February 20, 2010 and all archive logs are available up to the failure
-Wanted to recover.Even if the controlfiles are restored from a backup, as long as the archive + online redo logs are available, you can make a FULL recovery.
At the end of the recovery, an OPEN RESETLOGS would update the controlfile with correct information about SNA sequence # and headers of files.
(Of course, the RESETLOGS would mean a new incarnation is created and log sequence numbers start from 1 - if you perform a backup as soon as possible after the RESETLOGS).Hemant K Collette
http://hemantoracledba.blogspot.com -
version 817 / Solaris 8 operating system
There is request the user to disconnect the tablespace and then slide it and its file of data... I'll be able start db without problem after that?
Published by: DBA2011 on March 27, 2012 14:11DBA2011 wrote:
version 817 / Solaris 8 operating system
There is request the user to disconnect the tablespace and then slide it and its file of data... I'll be able start db without problem after that?Published by: DBA2011 on March 27, 2012 14:11
I expect the answer is YES!
-
Lost in the SYSTEM tablespace data file
Version: 10.2.0.5
Platform: AIX 6.1
The only data in the System tablespace file is lost. The DB has crashed.
We have the RMAN backup and the newspaper archive since the last backup of level 1.
With RMAN, where should we go
a. restore, Recover Database
or
b. restore, recover any SYSTEM tablespace?Your database must be mounted State.
RMAN > run {}
allocate channels ch1 disc type;
system restore of tablespace;
recover the system tablespace.
SQL 'ALTER DATABASE OPEN;
}Talip Hakan Öztürk
http://taliphakanozturken.WordPress.com/ -
Try to burn the downloaded video of record, the error message, "file too large to fit on a disc. Disc is DVD - R 4.7 GB 120 min. Home video is 2 videos for a total of 96 min. tried to engrave individually but got the same message. What to do?
Hi Carolyn,
Thanks for posting the request in the Microsoft Community. It seems that you are facing problem when burning a video disc. I will certainly help you to question.
We start with two questions:
1 have had any changes made on the computer before the show?
2. what application you use to burn the disc?
3. What is the size of the video files?
If you use a third-party software or an application to burn the video files, I suggest you to use Windows DVD maker and check if it helps:
Burn a DVD-video using Windows DVD Maker disc
http://Windows.Microsoft.com/en-us/Windows7/burn-a-DVD-video-disc-with-Windows-DVD-Maker
You can also check out the link and check if it helps:
Burn a CD or DVD in Windows Explorer
http://Windows.Microsoft.com/en-us/Windows7/burn-a-CD-or-DVD-in-Windows-Explorer
If the problem is not resolved, please provide more information to help you best.
Thank you.
-
Hello
As for a lot of people, I feel a few glitches and jitters when viewing my website on Safari. I have some effects of roll and Parallax background that I'd really like to keep my site. Then, instead of taking the design completely, I want to duplicate page, delete all the effects and redirect Safari users to this page so they don't have the same movement of nervousness, while Chrome, Firefox etc users still see the design as it should.
Someone recommended hacking scripts in the HTML after the publication of insert the detection of agents user but I don't have a clue how to proceed...?
The site is created in Muse and is hosted on BC. www.ramotion.co.UK
Please could someone help me?
Thank you
This might help you:
http://StackOverflow.com/questions/9847580/how-to-detect-Safari-chrome-IE-Firefox-and-Oper a-browser
Thank you
Sanjit
-
I can't open any programs. When I try opening Quickbooks or Internet Explorer it just sparkles. I used to be able to right click and open, but now the option open is missing. When I tried to open the Excel program, he told me that Windows Installer is not correctly installed. Help, please!
Thank you!
You can reset IE to see if it helps:
Control Panel, Internet Options, Advanced tab, reset
Maybe you are looking for
-
photos logo has a small 1 that she
photos logo has a small 1 by him as if there was a msg but there is not how can I get rid of it Thanks Prin
-
LaserJet M1319F: Driver HP location pages are not available-web page down?
I bought a new computer with Windows 7 64 bit and tries to load the drivers for my HP Laserjet M1319f. I think I need the version of the complete solution of pilots from what I have read on websites. I tried to let the computer find the drivers for t
-
Firewall does not - when I tried to start BFS he sent error 5: access is denied.
I followed the instructions to fix my firewall issues, and then I realized that I have vista instead of 7. When I tried to start BFS he sent error 5: access is denied. Now what should I do?
-
Destination ARCHIVELOG and closing DB space
HelloENV: Oracle 10 g 2 (10.2.0.3) 64-bit on Solaris (not sure OS version)A few days ago, one of process controls failed with 'ORA-03113: end of file on communication channel"in the log file (failure autour mid-night and since what happened in DEV en
-
Can Adobe Pro automatically add the numbers of files?
In our hospital, we went from Nuance PDF Pro to Adobe Acrobat IX. The largest surface that we cannot defeat is defining the Adobe as our default printer and sequencing automatically files. In the PDF of Nuance (DocuCom and ScanSoft) printer drivers