Decrease Datafile Dimension

Hi experts.
I'm using ORACLE 10g and Enterprise manager. I need to decrease a datafile dimension (4,5 GB) to 600 MB. For normal extent it's ok.... but decreasing datafile can give me some problem. I need a coalesce? or coalescing is automatically done when i change dimension in Enterprise Manager?
What can i do for decrease datafile space?
Thanks!

ok, i'm trying this pocedure that seems to work:
alter table SYS.WRH$_OPTIMIZER_ENV move tablespace SYSAUX;
Then, Its index will be invalid, so i must do:
alter index SYS.WRH$_OPTIMIZER_ENV_PK rebuild tablespace SYSAUX online;
But i receive this error:
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-01502: index 'SYS.WRH$_OPTIMIZER_ENV_PK' or partition of such index is
in unusable state
I've tried to drop, rebuild the index but there's always an error:
ERROR at line 1:
ORA-02429: cannot drop index used for enforcement of unique/primary key

Similar Messages

  • Trouble while decreasing Datafile Size?

    Hi Dears,
    I have a Tablespace TEMP which has only one datafile TEMP_01.dbo, Its initial size is about 2 GB, But it is not used more than 50 MB, I used these statements to decrease its size
    Alter Tablespace Temp Coalesce
    Alter Database Datafile 'path\temp_01.dbo' resize 500 MB
    but there is an error message, ORA-03297 file contains used data beyond requested RESIZE value
    I checked it upto 1.5 GB to resize, But this error appears Every Time.
    Your co-operation will be appreciated.
    Thanks in Advance.

    This error appears cause Oracle choose by himself where he writes the datas in the file and in your case, it seems that he wrote it "at the end" of the datafile so you cant deacrease its size.
    Drop/Create the tablespace will solve your problem
    Fred

  • Maximise button (green) does not work on Quicktime

    Anyone else seen this problem or know how to fix it? For some time now, the green maximise button on my Quicktime application window has failed to work... Clicking on it produces no reaction whatsoever. Previously, clicking on the green button used to expand QT to expand to its maximum size within the screen. Now, no more - the only way I can do it now is to use command-3....
    Anyone suggest what might have gone wrong and how to fix it?

    The green + button merely "restores" the Player window state to a previously used dimension.
    You can drag the lower right corner or use the keyboard shortcuts to increase or decrease the dimension and then use the green + button to toggle between states.
    This is the expected behavior.
    Use the keyboard shortcuts Command + 0, 1, 2, 3 and F to change the window size.

  • How to compress .MOV files?

    So, I have a monster 4GB folder full of .MOV files shot on an iPhone 4 that I need to compress small enough to fit on two or three 700MB discs - or a 2GB flash drive. However, I don't really know how to it. I used the Archive Utility to zip it and the folder is still the same size as the original, so I assume that doesn't truly "compress" things. Is it possible to compress in iMovie (and if so, how), or will I need freeware to do it? Or is it even possible at all?

    Is it possible to compress in iMovie (and if so, how), or will I need freeware to do it? Or is it even possible at all?
    The basic answer here is that any converter app that exports the audio + video data to a lower combined total data rate will produce a small file. However, there is a limit to your ability to decrease the data rates and still produce useable output. In general, decreasing the data rate will drecrease quality unless you also decrease the dimensions of the targeted encoding matrix and/or otherwise modify the distribution of data per unit of time. In most cases the basic strategy is to use a high effeciency codec export option that allows the user to manually modify the export settings to produce the most compact file with a level of quality that the user "can live with." How low you can go will usually depend on the preferences of the specific user. Since your iPhone files are already highly compressed, my personal recommendation in your case would really be to move up to higher density optical media (e.g., DVD) or break down and spend the $10-$20 it would take to upgrade to a 16 GB or 32 GB drive.

  • Editing high resolution photos based on lower ones?

    Hi Photoshopper,
    I have taken 500 photos (in highest resolution, JPG, each ~5 MBytes) and want to crop them individually. With fewer ones I opened eg 30 at once, made my changes (eg cropping) and exported/saved these images via an action. But this method -- esp. opening the files -- took some time even on a "faster" computer, 16 GB RAM.
    Now the idea (or wish ):
    1st step: decrease the dimensions of the images (maybe 840 x 540)
    2nd: opening eg 60 at once (much faster...)
    3rd: editing/cropping picture by picture
    and in the last step: let PS do these changes on the original / high resolution images automatically
    Are there plugins or other methods (or programs) for doing this?
    Few years ago I tried programs like http://ekot.dk/programmer/JPEGCrops/  or http://people.via.ecp.fr/~remi/soft/rphoto/rphoto_en.php3?lid=317
    But the handling for selecting the area  to be cropped was not very comfortable as it is in PS
    Thanks!
    mtemp
    using version Photoshop CS6

    Thanks for your tipps and hints.
    I tried my above mentioned programs again. But even it's not possible to crop the files losslessly in Photoshop, I opened just for a minute 54 files of the 500 files (276 MB) in Photoshop for doing it "my old way".
    And, yes, I am running the 64 bit version (win7/64).
    I tried Lightroom some months ago (or years...) for editing raw files. But, "again", the handling of this program was a mistery for me ... hmm...
    Maybe I will take a second look   at this program... but not now, with these 54 files opened

  • How to create Buttons for Excel,Print & help!

    Hi Experts
      Anyone has an experience how to create a Buttopn Group for the following options.
    1.Excel
    2.Printchart
    3.Printtable
    4.Printreport
    5.Help
    Pls revert to me <removed by moderator>.
    Thanks
    BI Learner
    Edited by: Siegfried Szameitat on Dec 1, 2008 10:46 AM

    Hi,
    Your PDF output and the output of the Template on Web should be similar, ideally. But, if the width of the 2 reports are bigger and that cannot fix in one page, then the PDF output will not be as you require it to be.
    You have to decrease the dimensions of the Analysis item in the Template and see how the output size varies in the Web.
    Also, when you have defined the command for converting to PDF, select the checkbox which allows you to see the "Page Setup" while you are converting it to PDF in the Web, ie in the output of the template. Here, set the margins to the minimum (Left, right, top and bottom). This also ensures that the Analysis item gets the maximum area in the output.
    Just try this piece of code too,
    <bi:CAPTION value="Print PDF" />
    <bi:TOOLTIP value="Print to PDF Document" />
    <bi:ACTION type="CHOICE" value="INSTRUCTION" >
    <bi:INSTRUCTION >
    <bi:EXPORT >
    <bi:REPEAT_KEYCOL value="" />
    <bi:PAPER_ORIENTATION value="LANDSCAPE" />
    <bi:MARGIN_RIGHT value="10" />
    <bi:MARGIN_LEFT value="10" />
    <bi:MARGIN_TOP value="10" />
    <bi:MARGIN_BOTTOM value="10" />
    Here the margins are set to 10. You can even try decreasing this depending on your requirement.

  • How to make thumbnails smaller on Mozilla Firefox start page

    thumbnails of websites I visited are too large, just few of them fit on the screen, I want to make them smaller

    Firefox should adjust the size of the thumbnails automatically to make them all nine fit in the browser window
    I can decrease the dimensions of the about:newtab window to 700x624 without seeing scroll bars.
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    You can check for problems with the localstore.rdf file.
    *http://kb.mozillazine.org/Corrupt_localstore.rdf

  • TestStand-only function?

    Hi,
    Is there a TestStand API function that I can use in CVI 5.5.1 that
    performs the same function as the InsertElements() function that I can
    use in a TestStand expression? I want to add elements to an array that I
    have in stationglobals from a CVI function instead of making a TestStand
    statement step to do it for me. For example, I want to create an empty
    array and add elements as I go along to an array in StationGlobals from
    CVI.
    Thanks,
    Emile Semmes
    | Emile Semmes |
    | Tellabs Operations, Inc. \------------\
    | MTS 1 |
    | BMG NPI Support |

        Here I reported a problem when I tried to change the dimension of arrary(Step.Blocks[i]) in Teststand by using TS_PropertySetDimensions in CVI.Below is my codes. The problem is Teststand could not upgrade the array if I decrease array dimension. I'm wondering whether it's a Teststand bug or my fault?
    Thanks!
    Jacky
       sprintf(tempX,"[%d]",g_NoofBlocks-1);
       tsErrChk(TS_PropertySetDimensions (g_seqContextCVI,&errorInfo, "Step.Blocks", 0, "[0]", tempX));
       for (j=1; j<=g_NoofBlocks; j++)
         sprintf(tempX1,"Step.Blocks[%d].TxStr",j-1);
         TS_PropertyNewSubProperty (g_seqContextCVI, &errorInfo, tempX1, TS_PropValType_Number, VTRUE, "", 0);
         sprintf(tempX2,"Step.Blocks[%d].Size",j-1);
         TS_PropertyNewSubProperty (g_seqContextCVI, &errorInfo, tempX2, TS_PropValType_Number, VFALSE, "", 0);
         sprintf(temp,"Step.Blocks[%d].Size",(j-1));
         tsErrChk(TS_PropertySetValNumber (g_seqContextCVI, &errorInfo, temp, 0,(double) (g_TxStr_Size[j-1])));
         size=g_TxStr_Size[j-1];
         strcat(tempX1,"");
         strcat(tempX2,"");
         sprintf(tempX1,"Step.Blocks[%d].TxStr",j-1);
         sprintf(tempX2,"[%d]",size-1);
         tsErrChk(TS_PropertySetDimensions (g_seqContextCVI, &errorInfo, tempX1, 0, "[0]", tempX2));
         for (i=0; i<size; i++)
          sprintf(temp,"Step.Blocks[%d].TxStr[%d]",(j-1),i);
          tsErrChk(TS_PropertySetValNumber (g_seqContextCVI, &errorInfo, temp, 0,(double) g_TxStr[j-1][i]));

  • 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

  • Issue Processing Account Dimension When Number of Levels Decreases

    Hello.
    We have an issue processing the account dimension. It started at 8 levels, then decreased to 6 levels. However, the processing errors out. If we add some dummy members to bring it back to 8 levels, then it process fine.
    Any ideas?
    Thanks, Nancy

    Hi Nancy,
    the numbers of levels is not important.
    I think the changes done into your dimensions are wrong and adding dummy members is doing correction of that error.
    To be able to understand the issue I need to know what version of BPC are you using and it will be good to see also the dimension.
    Do you have more than one hierarchy?
    Regards
    Sorin Radulescu

  • 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.

  • [svn:osmf:] 9861: Fixing bug where sizing pixel from the previous run of updateIntrinsicDimensions would prevent the dimensions from being decreased .

    Revision: 9861
    Author:   [email protected]
    Date:     2009-08-31 23:08:03 -0700 (Mon, 31 Aug 2009)
    Log Message:
    Fixing bug where sizing pixel from the previous run of updateIntrinsicDimensions would prevent the dimensions from being decreased.
    Modified Paths:
        osmf/trunk/framework/MediaFramework/org/openvideoplayer/layout/LayoutContextSprite.as

  • How to use AttributeHierarchyOptimizedState property with Primary Key of the Dimension?

    I'm reading the article about increasing SSAS performance. http://www.mssqltips.com/sqlservertip/2567/ssas--best-practices-and-performance-optimization--part-3-of-4/
    I would like to increase processing performance of Customer Dimension with CustomerID as the primary key. It is a good practice to set AttributeHierarchyOptimizedState to NotOptimized to CustomerID attribute. What are the implications to the query
    performance?
    Please advise.

    Hi,
       Since the CustomerID is the primary key (surrogate key) and the usual practice is to hide the surrogate keys in client tools. It is the best practice to set the AttributeHierarchyOptimizedState to NotOptimized to CustomerID attribute. As specified
    in the article SSAS will not create Bitmap indexes on top of that attribute and it saves a lot of processing time and decreases the cube size.
    Regards,
    Venkata Koppula

  • Logical grouping of dimensions

    Hi,
    What is criteria to enter dimension into the cube and what does mean by logical grouping of dimensions
    Thanks in advance
    krish

    Hi,
    While designing the dimensions, you must ask to yourself that "What will be the size of dimension table if I add this characteristic to this dimension?".The smaller ratio of size of dimension table/ fact table means  better performance.For this ratio, 20% is dangerous and 10% is preffered.
    If the characteristics included in one dimension have mxn relationship, then your dimension table will be too big(specially if those charactersitics are already big) and performance will be decreased.Therefore, 2 characteristics that have mxn relationship(e.g sales document and sales document item) must be in seperate dimensions i.e two characteristics that have nx1 relationship(e.g material and material group) may be put into one dimension(Not logically related(groupped) characteristics, this is not a criteria)Two characteristics that have nx1 relationship in one dimension will add only m+n rows to dimension table instead of mxn.To sum up, you must create the dimensions by considering the relationships of characteristics that will be included in the cube.I propose you to activate some SAP cubes(e.g 0FIAR_C03) from BI content to view their dimensions.You can see the logic there.
    You can see the size of dimension table and fact table by executing the program SAP_INFOCUBE_DESIGNS in se38.
    Useful threads:
    Regards,
    Güneş

  • How to combine two dimension in dashboard??

    Dear experts,
    I have a requirement that i need two combine two dimension in dashboard.
    Ex:-
    -  I have two different providers (Query1 and Query2) and both is having common dimension called Plant.
    - The plant from both query is having different values (for example, Query1 Plant = A,B,C and Query2 Plant = D,E,F,G)
    - Now I want the total list of plants from both query and list of plants will be used as filter on combo box in dashboard.
    Note: List of values for Plant (dimension) may increase or decrease from both query.
    Thanks and regards
    Vijay Muniraj

    Hi Vijay,
    How can you combine the 2 queries as a single query in dashboard?If i understood the query,use a Multiprovider for your requirement and get the combined results in single query and use Plant as single prompt in the dashboard(If you are getting data from BI).You cannot merge this behaviour in the dashboard.(In Web Intelligence you can merge it based on common dimension values only).
    Regards,
    Venkat

Maybe you are looking for

  • Macbook Pro 10.6.8 constantly drops my wi-fi network and joins Linksys which works but very slow

    My Macbook Pro constantly drops my network and joins Linksys. It connects to the Internet but is painfully slow. Choosing my network again works for a while than goes back to Linksys. Any sugestions?

  • HT1390 My Apple TV refuses to resume playing after I pause.

    I've had Apple Tv for a couple of months and the last 2 movies I've tried to watch have refused to resume after pausing. When I click 'Resume' I get a yellow triangle and the message 'An error has occurred. Try again later' but of course it never com

  • IPod shutting my computer down.

    Hi. Hope all is well. I have a 30GB iPod Video and it recently started giving me some problems. My iPod would freeze my computer. As seeing other posts, after doing the 5 R's, people did reformats with windows. When I finished, I reset the iPod and p

  • Why don't color values change when using proof colors?

    Hi, i am very interested in obtaining exact replicas of the image in screen (in ProPhoto) and the image printed (using a suitable printer profile). However when I select Proof Colors from the view menu, the appearance changes but the RGBV or Lab colo

  • Nokia 5230 NOT receiving new firmware

    Hi I have Nokia 5230, RM-588. The CODE: 0585713 Hi I have Nokia 5230, RM-588. The CODE: 0585713 I don't seem to be getting the new firmware : 21.6.5 Hi I have Nokia 5230, RM-588. The CODE: 0585713 I don't seem to be getting the new firmware : 21.6.5