I need a script to reduce the size of the Fra which has used 34 gb in space

I need an rman script to reduce the size of the Fra:
SQL> select * from v$flash_recovery_area_usage;
FILE_TYPE PERCENT_SPACE_USED PERCENT_SPACE_RECLAIMABLE NUMBER_OF_FILES
CONTROL FILE 0 0 0
REDO LOG 0 0 0
ARCHIVED LOG 0 0 0
BACKUP PIECE 0 0 0
IMAGE COPY 0 0 0
FLASHBACK LOG 69.99 19.33 2357
FOREIGN ARCHIVED LOG 0 0 0
7 rows selected.
SQL> SELECT
2 ROUND((A.SPACE_LIMIT / 1024 / 1024 / 1024), 2) AS FLASH_IN_GB,
3 ROUND((A.SPACE_USED / 1024 / 1024 / 1024), 2) AS FLASH_USED_IN_GB,
4 ROUND((A.SPACE_RECLAIMABLE / 1024 / 1024 / 1024), 2) AS FLASH_RECLAIMABLE_GB,
5 SUM(B.PERCENT_SPACE_USED) AS PERCENT_OF_SPACE_USED FROM
6 V$RECOVERY_FILE_DEST A,
7 V$FLASH_RECOVERY_AREA_USAGE B
8 GROUP BY
9 SPACE_LIMIT,
10 SPACE_USED ,
11 SPACE_RECLAIMABLE ;
FLASH_IN_GB FLASH_USED_IN_GB FLASH_RECLAIMABLE_GB PERCENT_OF_SPACE_USED
50 34.99 11.14 69.99

In /gateprd/ARCHIVE/*.arc
This is the script to remove the archives after it has been backup by the netbackup policy named Archive. This policy removes the archives that have been backed up.
/home/oracle/dba/scripts> more rmovarch.sh
#!/bin/ksh
# compress /gateprd/ARCHIVE/*.arc
find /gateprd/ARCHIVE/*.arc -type f ! -exec echo {} > /home/oracl
e/dba/lists/ARCHIVElist \;
if test $(cat /home/oracle/dba/lists/ARCHIVElist|wc -l) -gt 0
then
echo "Hay archives. Se corre script de borrar"
/home/oracle/dba/scripts/ARCHIVE_BACKUP.sh ARCHIVE
else
echo "No archives!!"
fi

Similar Messages

  • Defining the size of swing object which has overriden paint method

    Hi All!
    I have a text and I want to visualize it by my own. I use font type in the drawing which affects the painting size of the component. Before drawing I need to know the size of this component. because I want to handle mouseevents and other stuffs which need the bound size of this component. Therefore I have to set the bounds . But the size will be known at the drawing ... :(
    How can I define the exact size of this component before the drawing?
    eha

    Generally, you should override getMinimumSize() and getPreferredSize(), and let the layout manager set the size of your component. With this approach, you should be prepared for the case where your component is not given its minimum or preferred size, but some other size.
    To calculate the size that you require, you'll need to use a similar strategy to what's in your paint method. For example, you may need to calculate the width and height of your string (using the current font), within getMinimumSize() and getPreferredSize().

  • I am shooting with a Nikon D60 on Fine Format and unable to print larger than 11x14.  I have been able to print larger pictures.  I am told iPhoto reduces the size of the file when uploaded. Is this true? If so how can I change this?  I need 16x20's

    I am shooting with a Nikon D60 on Fine Format and unable to print larger than 11x14.  I have been able to print larger pictures.  I am told iPhoto reduces the size of the file when uploaded. Is this true? If so how can I change this?  I need 16x20's

    I am shooting with a Nikon D60 on Fine Format and unable to print larger than 11x14.  I have been able to print larger pictures.  I am told iPhoto reduces the size of the file when uploaded. Is this true? If so how can I change this?  I need 16x20's

  • How do i reduce the size of the pdf's scanned from my printer

    i scan from my printer to a pdf.  the file comes across way to big (2mb for 4 pages with no pictures & just text, etc.)  i have already re-set the settings on my scanner / printer to try to get the smallest dpi & image possible.  how do i get to the settings on my adobe acrobat to reduce the size of the pdf when saved on my computer or is this not the right place to do that?

    m spires wrote:
    i have already re-set the settings on my scanner / printer to try to get the smallest dpi & image possible.
    You may need to reset that to use higher scan quality for successful OCR.

  • [svn] 3672: Removing the commonly used getUnqualifiedClassName out of the less commonly used utility class to reduce SWF size for the general case .

    Revision: 3672
    Author: [email protected]
    Date: 2008-10-15 16:54:51 -0700 (Wed, 15 Oct 2008)
    Log Message:
    Removing the commonly used getUnqualifiedClassName out of the less commonly used utility class to reduce SWF size for the general case.
    Reviewer: Gordon
    QE: No
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/TextGraphicEleme nt.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UITextField.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Effect.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/EffectInstance.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/NameUtil.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/ObjectUtil.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/OrderedObject.as

    In general theory, one now has the Edit button for their posts, until someone/anyone Replies to it. I've had Edit available for weeks, as opposed to the old forum's ~ 30 mins.
    That, however, is in theory. I've posted, and immediately seen something that needed editing, only to find NO Replies, yet the Edit button is no longer available, only seconds later. Still, in that same thread, I'd have the Edit button from older posts, to which there had also been no Replies even after several days/weeks. Found one that had to be over a month old, and Edit was still there.
    Do not know the why/how of this behavior. At first, I thought that maybe there WAS a Reply, that "ate" my Edit button, but had not Refreshed on my screen. Refresh still showed no Replies, just no Edit either. In those cases, I just Reply and mention the [Edit].
    Also, it seems that the buttons get very scrambled at times, and Refresh does not always clear that up. I end up clicking where I "think" the right button should be and hope for the best. Seems that when the buttons do bunch up they can appear at random around the page, often three atop one another, and maybe one way the heck out in left-field.
    While I'm on a role, it would be nice to be able to switch between Flattened and Threaded Views on the fly. Each has a use, and having to go to Options and then come back down to the thread is a very slow process. Jive is probably incapable of this, but I can dream.
    Hunt

  • Need to know the size of the variable declared as Xstring

    Hi All,
    I have got all the files from the applications server(for a given path) and have zipped all in to one file. But now need to find the size of it and throw a error message if it is less than a byte.
    Variable whick holds all the zipped data is " zip_content ". it is declared as " data: zip_content type xstring ".
    Not sure how to get the size of the variable " zip_content ".  
    When checked around found FM : EPS_GET_FILE_ATTRIBUTES but this requires File name or path. In my case I have only the
    variable.
    Thanks in Advance
    Regards
    Jithu

    Hi,
    When using
    data: l_cnt type i.
    l_cnt = xstrlen( g_zip_content ) .
    xstrlen will return only in byte mode and not in character mode.
    Thus the value l_cnt = 12112 which you got is in bytes which can be used to check your condition.
    Regards,
    Vik
    Edited by: vikred on Jul 29, 2009 4:01 PM

  • IPhone 5 (16GB) iOS 7.0.4 Mail App size is 1GB and continuously increasing. How to reduce the size of the Mail App?

    Hi,
    I am using an iPhone 5 (16GB) iOS 7.0.4.
    Currently the size of the mail app is 1GB and is continously increasing, even though the advanced settings in the mail account have been set as following:
    MOVE DISCARDED MESSAGES INTO:
    Deleted Mailbox
    DELETED MESSAGES:
    Remove: After one day
    INCOMING SETTINGS:
    Delete from Server: When removed from Inbox
    The problem that I am facing is that only a few emails reside on my iPhone as I keep deleting emails, which are also deleted from the server automatically because of the settings as above, which is perfectly fine. The emails are deleted from the Mail app and only a very few of them are visible which I have not deleted as yet, and all is fine till here. The problem is that the size of the Mail app is more than 1GB and is continously increasing, when i check the size of the Mail app in the Settings > General > Usage section.
    When I search for an email that has previously been deleted from the search feature by swiping down in the main page, it still comes up in the search, and upon clicking the searched email, it takes me into the Mail app, however, the mail is not there. I have tried searching for emails which were deleted weeks ago, and they still come up in the search feature, however, they DO NOT open in the Mail app when i click them within the search feature in the main page.
    Up until a couple of months ago, the size of the Mail app was about 5.2GB and at this point I had no space on my 16GB iPhone 5, therefore I resetted my phone two months ago, and after a complete reset of the iPhone 5, the size of the Mail app went back to 0.3KB (like it was brand new out-of the box); however, within a matter of two months the size of the Mail app has now exceeded 1GB and is continously increasing, as I receive alot of emails which is why I delete them on daily basis and even delete them from the Trash folder (mailbox).
    I have read alot of blogs and even checked with other friends using similar settings on the same model, however, I just cant seem to figure this out. I would really appreciate if someone can help me with this issue as I dont want to have to reset it again after another 2-3 months.
    There are practically only 14-15 emails on my Mail app with not alot of KBs for these emails, and the trash folder is also empty, but the size of the Mail app is still not reducing. Please help!!
    Regards,
    Shoaib Malik

    Have you tried restarting or resetting your iPhone?
    Restart: Press On/Off button until the Slide to Power Off slider appears, select Slide to Power Off and, after It shuts down, press the On/Off button until the Apple logo appears.
    Reset: Press the Home and On/Off buttons at the same time and hold them until the Apple logo appears (about 10 seconds).
    Also consider deleting and reinstalling the Mail Account in question.

  • How do I change the size of the tools and the text for the menus in Photoshop?  I need a magnifying glass in order to make out what they are.

    How do I change the size of the tools and the text for the menus in Photoshop?  I need a magnifying glass in order to make out what they are.

    Okay, I've figured it out, so I'm going to answer my own question in hopes that it may help anyone else that would like to actually be able to see what they're doing when using Photoshop CC 2014 on a high resolution screen.
    1.  Open Photoshop.
    2.  Select Preferences from the Edit Menu, then select General.
    3.  Change the HUD Color Picker to Hue Strip (Medium).
    4.  Select Interface from the Preferences menu on the left side of the dialog box.
    5.  Change the UI Font Size to Large in the Text area of the Preferences dialog box.
    6.  Select Experimental Features from the Preferences menu on the left side of the dialog box.
    7.  Select Scale UI 200% for high-density displays (Windows only).
    8.  Click on OK, then Exit/Quit Photoshop.
    9.  Open Photoshop and everything should be readable.

  • I have an imac 27 inch O SX 10.6.8. using iphoto 11 Version 9.1.5. I have scanned some photos at very high resolution with each photo being about 45MB. They're saved to desktop. How can I reduce the size of the scanned photo's they are crashing iphoto

    I have an imac 27 inch O SX 10.6.8. using iphoto 11 Version 9.1.5. I have scanned some photos at very high resolution with each photo being about 45MB. They're saved to desktop. How can I reduce the size of the scanned photo's they are crashing iphoto.

    What format are they? Tiif? Jpeg? You can compress them with a lot of apps - including Preivew and just about any graphics editor out there. I'm not sure that 45mb would crash iPhoto thogh, are yo sure that's the cause? I know that some folks have mentioned pixel dimensions causing issues, as can color profiles.
    Regards
    TD

  • In putting together a book I can move photos onto a page and enlarge the picture but is there a way to reduce the picture size? some cases I want a smaller picture and if I change the size of the picture box I only get a portion of the image. I wnt to red

    picture size...in putting together a book I can move photos onto a page and enlarge the picture but is there a way to reduce the picture size? some cases I want a smaller picture and if I change the size of the picture box I only get a portion of the image. I want to reduce the image to fit the size of the box.

    If you right click on the image on the page in the context menu select photo box alignment and then select one of scale to fit {centered, Left-aligned, Right-aligned}
    That should do what you are loking for.

  • How do you reduce the size of the print diolog box when printing a pdf file?

    How do you reduce the size of the print diolog box when trying to print a PDF file? The print button is below the task bar.

    What is your monitor's screen resolution?  See http://www.adobe.com/products/reader/tech-specs.html

  • How can I reduce the size of the iPhoto app on my iPad?

    The size of the iPhoto app on my iPad is huge (8Gb) although I only have one journal with 50 photos. It looks like it duplicates all the photos I have on my iPad. Hence the huge size! Is there a way to delete photos from iPhoto without deleting them from the iPad? Thanks.

    It looks like it duplicates all the photos I have on my iPad. Hence the huge size! I
    iPhoto does not duplicate all photos on the iPad, it just shows them in one place.
    See:  http://help.apple.com/iphoto/iphone/2.0/?handbuch#blnka7d353af
    Ways to import photos
    All of the photos and video clips in the Photos app on your device automatically appear in iPhoto. You can also import photos into iPhoto from other devices and computers, other apps on the same device, or a digital camera (if you're using iPad).
    What iPhoto will duplicate, are photos that you edit, or tag, or use in journals. The edited versions will appear in a separate "Edited" album,  see:  What are albums?
    To delete edited photos from iPhoto, revert them to "Original", then you can delete them.
    The quickest way to free all space iPhoto is using, would be to uninstall iPhoto and then to reinstall.
    You will need to share all photos that you want to keep to the Camera Roll.

  • Can I reduce the size of the album icons in my library?

    I have a large iTunes library, and it helped tremendously in older versions to be able to adjust the size of the album icons in my library view so that I would not have to scroll for hours to find something. Is there a feature for this in version 11? I have looked but cannot find it.

    You'll need to use a 3rd party editor like one of these:
    Some Image Editors That Support layers:
    Photoshop Elements 11 for Mac - $79
    Rainbow Painter - $30
    Imagerie - $38
    Acorn - $50
    Pixelmator - $60 
    Seashore - Free
    Portraits and Prints - Free
    GIMP for Mac - Free
    Xee 2.1 - free
    My personal preference would be for Photoshop Elements for Mac. Most of these will let you select and copy a head from one photo, paste it into another photo, resize and place where you need it.
    PSE has a specific feature just for that function.  I belive the Adobe site for PSE has a demo video of that feature.
    OT

  • Can we reduce the SIZE of the text in TEXT Module?..Smart form

    Hello,
    Can we reduce the size of the TEXT module in Smart form.
    As the text that I am putting in the Text Module is taking more space and it is displaying in the  next page.
    What are the steps that I can take to display the text in the same page.
    Regards,
    Kittu

    Hi,
    you can do these by two ways,
    1->  By reducing the font size
    2-> reducing the line spacing
    both can be adjust in Smart Style what you are using.
    If you not using any style for this, default style will take.
    Bye

  • HT3986 I initially alotted 20gb for the windows 7 operaig system, as I install additional PC based programs (just a few), will i need to increase the size of the 20 GB partition, or is this done automatically by the system?

    I initally alotted 20GB for a Windows 7 operating system using Boot Camp. As I intend to add a few more PC based programs will the size if the partition that I set up be expanded, or is this something I need to do manually.  Or is the sapce required by the programs and thier data based sit out side of the 20 B partition that I choose in the Boot Camp set-up process?

    20G is far too small (think minimum 60G) and it will not automatically resize.
    Either remove it now and make a larger space or purchase Paragon Camptune, you can resize the installation safely with it.

Maybe you are looking for

  • Mail: sent messages not in sent folder

    Every time I send an email, especially with attachments, the mail is correctly delivered, but it don't appear in the "Sent" folder. If I send a message via webmail, it is correctly synced with the mail client (it appears in the sent folder on the ser

  • RAC setup on VMware Workstation is possible?

    Hi, Is it possible to create a RAC setup on VMware workstation(VMware-workstation-6.5.1-126130) or VMware server is mandatory for such a setup. My planned RAC setup will as show below. OS:Enterprise-R5-U2-Server-i386 Oracle clusterware:10201_clusterw

  • Strage behaviour while executing the Procedure

    Hi All, In Schema "Dwr_trade" we have one procedure Proc1. There is another schema " Dwr_trade_user " this schema has execute privilege on Proc1 of "Dwr_trade" schema. When we are executing the procedure Proc1 from "Dwr_trade" schema as follows Dwr_t

  • Did we lose reader function with iOS 7 upgrade ?

    What happened to " reader" function using Safari ? The function to the right of URL said reader, when clicked opened a clean window with no ads our distracting text or graphics, just the article making it easy to read. I don't see it on my iohone5, i

  • Indesign trouble on a PC

    I cannot select certain tools and palettes in InDesign.  I have a PC and Windows 7.  Is the software not compatible with my operating system?  Any fixes?