Can we decrease the size of existing datafile?

Hi,
can we decrease the size of existing datafile?
Thanks,

It is a very nice script.
But it does not deal with something that appears to be being 'pushed' by some contributors (OK, one, really) to this forum as a suitable 'fix' for some performance problems: using multiple block sizes in one database. It's not surprising the script doesn't deal with this, though, because Tom Kyte has never particularly approved of using multiple blocksizes like that.
Being specific, the script at Ask Tom queries for the setting of db_block_size parameter and uses that to work out what a datafile can be shrunk to. If you have datafiles using non-standard block sizes, however, then that script will not work correctly for them.
It's always potentially dangerous making use of 5-year old scripts found on the internet, even somewhere as good as Ask Tom.
It's also a good demonstration as to why, for at least one reason, it's potentially dangerous following Mr. Burleson's advice on multiple block sizes.

Similar Messages

  • How can I  decrease the size of a green-screened image relative to its background image?

    In iMovie 9.0.9 if it possible to reduce the size of a green-screen image relative to the  size of its background image?  Using KenBurns and Crop I  can somewhat enlarge the green-screen image.  But is there any way(s) to shrink it?

    FrecklesandEmeralds schrieb:
    Ridiculous or not, it's what I'm working with...is there any way to do what I'm asking?
    I gave you the answer:
    But you are not aware that an EPUB is a ZIP file.
    FrecklesandEmeralds schrieb:
    It's just huge, even before I zip it...how can I see what item is taking up the most space?
    I did not write that you should zip.
    I wrote UNzip it. And have look into the package, what is inside which is causing the size.

  • How can I reduce the size images on a PDF?

    I need to reduce a 25MB document to under 20MB. I am using Acrobat X Pro. When I try to reduce the size of a PDF a conversion warning pops up saying the PDF document contained image masks that were not downsampled.

    Assuming you have a number of high quality images in your document odds are you can reduce the quality of the images quite a bit before they become visibly noticeable - so long as the images are relatively small - say 1/3 page or less.
    If you knock down either the SIZE, QUANTITY or the QUALITY of the images (use GIMP, save as jpgs for pictures, pngs for text-y images to get max file compression) you can dramatically decrease the size of your file.
    I took a 12 MB file down to under 3MB with a little selective editing. It CAN be done.

  • Can we decrease the datafile size in 8.1.7.4

    Hello All-
    I have created a sample db with table space with datafile size of 2 GB. I may be needing hundreds of mb only.It is eating up the space on unix box server.
    Is there any way I can decrease the size of the datafile attached to the tablespace in Oracle 8.1.7.4.
    Any help would be appreciated.
    Thanks
    Vidya R.

    Yes you surelly can
    SQL> ALTER DATABASE DATAFILE '/u02/oracle/rbdb1/stuff01.dbf'
    RESIZE 100M;
    Cheers !!
    Jagjit

  • Can anyone explain what the 'other' storage consists of and how I can decrease the size please?

    Can anyone explain what the 'other' storage consists of and how I can decrease the size please?

    Welcome to Apple Support Communities
    "Other" refers to OS X files, caches, downloads, documents. See Other in this website > http://pondini.org/OSX/LionStorage.html
    I would not worry about Other because they contain files that you need, but if you want to decrease the size, start deleting downloads and documents

  • Decrease the size of a series marker on a bar chart

    I am trying to decrease the size of a square series marker on a bar chart in crystal reports.
    Usually this can be achieved through the 'appearance' tab in the 'chart options' menu.
    However as I have changed one of the series(bar) on the graph into a line, this no longer seems possible.
    Is there a way around this?
    Thanks

    Hi Natalie
    In order to decrease the size of a square series marker after changing the series into line, you can use Format Series Marker -> Border -> Thickness.
    Hope this helps!
    Regards
    Poonam Thorat

  • I am trying to decrease the size of my aperature library on my MB Pro HD.  I used  file\ relocate master to move files to my External HD(EHD) and this worked.  However, the size of my MBP library has not decreased.

    I am trying to decrease the size of my aperature library on my MB Pro HD.  I used  file\ relocate master to move files to my External HD(EHD) and this worked.  However, the size of my MBP library has not decreased.  I do not want to delete the files on my MB Pro until I am confident Aperature can see the files on the EHD.  It looks like the relocate master fxn just copies the masters and data to another location. 

    Relocate master (or original in newer versions) does move and not copy the master file. Jut to make sure I just ram a test and moved some images out of the library to an external drive and they were definitely gone from the Aperture library.
    If you look at the images in the library that you moved do they have the referenced file badge? If you run a filter on your library looking for referenced files do the images you relocated show up? If you select one of the images and do a Show in Finder what does it show? Finally if you select the images and do Locate Referenced files do they appear listed as being on the volume you put them on?
    You could go into the library and look for the masters you moved to see if they are still there but if all the above show you they were relocated then I don;t think you will find them.
    How are you checking the library size? Have you quit Aperture and restarted it (better would be to log out and log back in) and then checked the size? It is possible that some of that data is cached and won't get updated till you restart.
    Finally you could do a library repair in case something got 'stuck'.

  • The fonts are too small on my imac desktop and web browsers.  Where can I increase the size?

    The fonts are too small on my imac desktop and web browsers.  Where can I increase the size?

    babowa wrote:
    The only way to increase the fonts on your desktop would be system wide by going down a notch on the resolution. Some people won't do it because it increases the pixel size so the fonts won't be quite as sharp; I decided I'd rather have that than having to squint continuously. Go to System Preferences > Displays > Scaled > this will give you all resolution options available. No harm in trying - just check the default (top) choice again if you don't like any of the others.
    It's a b*&^ch getting old .  I still use the screen zoom instead of decreasing resolution, but maybe soon ...

  • How can I decide the size of HANA server when using DMO of SUM ?

    Hi expert,
    I want to execute DB migration from MS SQL to SAP HANA by using DMO of SUM.
    So I have a question.
    How can I decide the size of HANA server when using DMO of SUM ?
    Now I have MS SQL in windows server.
    But in order to use HANA , I have to prepare Linux server.
    I want to know How can I decide the size of this Linux server.
    Can I expect the function of data compression in HANA ?
    Thanks in advance .
    Kazuki.

    Kazuki,
    Please take attetion:
    Your linux box already created = Application server:
    Application Server
    Based on the measurements SAP doesn't expect any changes concerning CPU, memory and network requirements for the ABAP application server. This means that the existing hardware and network infrastructure can still be used. Please check the PAM (www.service.sap.com/pam) for further details.
    SAP HANA Appliance ( porvided by your hardware partner)
    Consider SAP Note recommendation for HANA Main Memory, HANA CPU and HANA Disk Space.
    Regards,
    Edinaldo Junior

  • How can I reduce the size of the jvm?

    I would like to decrease the size of a jvm; I've found a program that makes it, but you don't know how does it works (and you have to pay for it), I'm talking about VM Optimizer 2.0, from Invirtus.
    Can anyone tell me how can I reduce the size of the jvm?
    Thanks a lot.

    I assume you mean the size of a JVM instance in memory and not the size of the JRE which is on the disk.
    I don't believe that there is any way at present for your Java code to change the amount of memory available to the JVM. This shouldn't matter too much, though. Firstly, you can control the size of the JVM from the command prompt with the -Xms and -Xmx options. Secondly, any remotely reasonable operating system is going to wait until the JVM has requested memory before allocating all of it. If you start a JVM with a 2Gb heap, it does not occupy 2Gb of physical memory straight away.
    Finally, I did a Google on InVirtus VM Optimizer and must request some information. What does that software have to do with Java? It's designed to reduce the size of a virtual computer as created by a prorgam such as VMWare. It has nothing to do with the Java virtual machine.

  • Where can I Increase the size limit for attachments

    Good Morning:
    I am working in OCS R2 (9.0.4). Where can I Increase the size limit for attachments in the messages sent. Also can I set this parameters to user level or the change affect every user in the system?
    Thanks a lot.

    babowa wrote:
    The only way to increase the fonts on your desktop would be system wide by going down a notch on the resolution. Some people won't do it because it increases the pixel size so the fonts won't be quite as sharp; I decided I'd rather have that than having to squint continuously. Go to System Preferences > Displays > Scaled > this will give you all resolution options available. No harm in trying - just check the default (top) choice again if you don't like any of the others.
    It's a b*&^ch getting old .  I still use the screen zoom instead of decreasing resolution, but maybe soon ...

  • Decrease the size of REDOLOG members

    respected members,
    GROUP#     MEMBER          STATUS MB
    1     D:\ORACLE\ORADATA\SID\REDO01.LOG     CURRENT     100
    2     D:\ORACLE\ORADATA\SID\REDO02.LOG     INACTIVE     100
    3     D:\ORACLE\ORADATA\SID\REDO03.LOG     INACTIVE     100
    THIS IS ON WINDOWS SERVER 2003 ORACLE 9I RELEASE 2.
    i want to reduce the size of redolog to 10 MB.
    how i can reduce the size .
    1>     Add new redo log groups...(provide the new location and names that u wish)
    2>     Check v$log view
    3>     > alter system switch logfile (do it as per the no of redo logs that u have)
    4>     > Again query v$log to check that the recentely added log groups is current
    5>     > Its now safe to drop the old redo logs
    is this the right way.
    plz suggestions and advises
    regards

    >
    how i can reduce the size .
    1> Add new redo log groups...(provide the new location and names that u wish)
    2> Check v$log view
    3> > alter system switch logfile (do it as per the no of redo logs that u have)
    4> > Again query v$log to check that the recentely added log groups is current
    5> > Its now safe to drop the old redo logs
    >
    Yes. But use SQL statements for the drop!
    alter database drop logfile group <number of the group to drop>;Don't worry, you can not drop groups with that command that are still needed by the system.
    Besides, 10m is very small for log groups. Most DBAs would consider to increase the size from 100m to a higher value instead of decreasing the size.
    Kind regards
    Uwe
    http://uhesse.wordpress.com

  • Can I edit the size of my photo when setting up an email signature?

    Can I edit the size of my photo when setting up an email signature?

    Not sure what you mean by "photo screen?" Do you mean your Photo Stream?
    In the Photos app there are several ways to view the photos. Tap on Albums. Your Photo Stream is one Album but there may be others including the Camera Roll, albums made on the iPad with photos from the Camera Roll, and albums of photos copied to your iPhone by syncing with your computer.
    To remove albums from the Camera Roll, tap on the Camera Roll album to see the small thumbnails of the photos there. Tap on Select, tap on the photos to delete, then tap on the trashcan. The photos will then be moved to another album called Recently Deleted. They remain there for 30 days to allow you time to reconsider whether you really want to delete them or not. After 30 days they will automatically be deleted from your iPhone. But if you are sure you want the photos deleted from your iPhone delete them again from the Recently Deleted album.
    Albums created on the iPad with photos from the Camera Roll can be deleted in the same way.
    To delete albums copied to your iPhone by syncing with your computer running iTunes are deleted by doing another sync. But before you click on Sync deselect the albums in iTunes. Then when you click on Apply or Sync the albums will be removed from your iPhone but they will remain on your computer.

  • How Can I Determine the Size of the 'My Documents' Folder for every user on a local machine using VBScript?

    Hello,
    I am at my wits end into this. Either I am doing it the wrong way or it is not possible.
    Let me explain. I need a vb script for the following scenario:
    1. The script is to run on multiple Windows 7 machines (32-Bit & 64-Bit alike).
    2. These are shared workstation i.e. different users login to these machines from time to time.
    3. The objective of this script is to traverse through each User Profile folder and get the size of the 'My Documents' folder within each User Profile folder. This information is to be written to a
    .CSV file located at C:\Temp directory on the machine.
    4. This script would be pushed to all workstations from SCCM. It would be configured to execute with
    System Rights
    I tried the script detailed at:
    http://blogs.technet.com/b/heyscriptingguy/archive/2005/03/31/how-can-i-determine-the-size-of-the-my-documents-folder.aspx 
    Const MY_DOCUMENTS = &H5&
    Set objFSO = CreateObject("Scripting.FileSystemObject")
    Set objShell = CreateObject("Shell.Application")
    Set objFolder = objShell.Namespace(MY_DOCUMENTS)
    Set objFolderItem = objFolder.Self
    strPath = objFolderItem.Path
    Set objFolder = objFSO.GetFolder(strPath)
    Wscript.Echo objFolder.Size
    The Wscript.Echo objFolder.Size command in the script at the above mentioned link returned the value as
    '0' (zero) for the current logged on user. Although the actual size was like 30 MB or so.
    I then tried the script at:
    http://www.experts-exchange.com/Programming/Languages/Visual_Basic/VB_Script/Q_27869829.html
    This script returns the correct value but only for the current logged-on user.
    Const blnShowErrors = False
    ' Set up filesystem object for usage
    Set objFSO = CreateObject("Scripting.FileSystemObject")
    Set objShell = CreateObject("WScript.Shell")
    ' Display desired folder sizes
    Wscript.Echo "MyDocuments : " & FormatSize(FindFiles(objFSO.GetFolder(objShell.SpecialFolders("MyDocuments"))))
    ' Recursively tally the size of all files under a folder
    ' Protect against folders or files that are not accessible
    Function FindFiles(objFolder)
    On Error Resume Next
    ' List files
    For Each objFile In objFolder.Files
    On Error Resume Next
    If Err.Number <> 0 Then ShowError "FindFiles:01", objFolder.Path
    On Error Resume Next
    FindFiles = FindFiles + objFile.Size
    If Err.Number <> 0 Then ShowError "FindFiles:02", objFile.Path
    Next
    If Err.Number = 0 Then
    ' Recursively drill down into subfolder
    For Each objSubFolder In objFolder.SubFolders
    On Error Resume Next
    If Err.Number <> 0 Then ShowError "FindFiles:04", objFolder.Path
    FindFiles = FindFiles + FindFiles(objSubFolder)
    If Err.Number <> 0 Then ShowError "FindFiles:05", objSubFolder.Path
    Next
    Else
    ShowError "FindFiles:03", objFolder.Path
    End If
    End Function
    ' Function to format a number into typical size scales
    Function FormatSize(iSize)
    aLabel = Array("bytes", "KB", "MB", "GB", "TB")
    For i = 0 to 4
    If iSize > 1024 Then iSize = iSize / 1024 Else Exit For End If
    Next
    FormatSize = Round(iSize, 2) & " " & aLabel(i)
    End Function
    Sub ShowError(strLocation, strMessage)
    If blnShowErrors Then
    WScript.StdErr.WriteLine "==> ERROR at [" & strLocation & "]"
    WScript.StdErr.WriteLine " Number:[" & Err.Number & "], Source:[" & Err.Source & "], Desc:[" & Err.Description & "]"
    WScript.StdErr.WriteLine " " & strMessage
    Err.Clear
    End If
    End Sub
    The only part pending, is to achieve this for the 'My Documents' folder within each User Profile folder.
    Is this possible?
    Please help.

    Here are a bunch of scripts to get folder size under all circumstances.  Take your pick.
    https://gallery.technet.microsoft.com/scriptcenter/site/search?query=get%20folder%20size&f%5B0%5D.Value=get%20folder%20size&f%5B0%5D.Type=SearchText&ac=2
    ¯\_(ツ)_/¯

  • How can I view the size of a particular event in iPhoto '11?

    How can I view the size of a particular event in iPhoto '11? The 'Get Info' option is not displaying the size of the event like it used to in iPhoto 8.

    But the event does not really have a size - you can export the photos and make the size pretty much what you want - while it is in iPhoto it is an event
    I guess that iPhoto could report the size of the original photos as imported - or the size of the modified photos if exported as JPEGs - or the size of the modified photos if exported with a maximum dimension of 1080 - but the event simply is photos and does not have a "size" until you export it
    Obviously you want to know the size but the question was
    what is your puprose for knowing the size?
    WIth that information maybe there is a way to get you what you want
    But the basic answer is simply that an event does not have a size - an event is a collection of photos and each photo has either two or three versions in the iPhoto library and each photo can be exported for outside use in several formats and at any size
    LN

Maybe you are looking for