Reconstruction of the table should be performed after removal of most of its data?

Hi all
We are on Oracle 10.2.0.4 on Solaris 10. There is a table in my DB of production that has 872944 number of lines. Most of his data is now useless, that it must keep, based on a date column in the table just last a month of rest data and delete data. Thus, after the array will be just 3000 lines.

However, as the table was huge earlier (872 k lines before you remove), the deletion of data releases his oracle blocks and reduced the size of the table? Otherwise, this will help in the reconstruction of the line (redefined online) table so that the query that performs a full scan on this table goes faster?

I checked using an example of a table that simply deleting data does not remove the oracle blocks - they remain in the user_tables for this table and complete the table scan cost remains the same. I think that after this deletion, I have to do a re-definition of table online, which is the right decision so we have a query that makes the full table scan?

Thank you
Advertisement

If read you about the orders, you will find that they require a DDL lock. Your users should not notice this.

Tags: Database

Similar Questions

  • the application needs to restart after removing the application due to .png files.

    When images are imported under res/img /, the application needs to restart after removing the application.

    Even the functions related bitmap are invalidated, the application should always reboot after removing the application.

    recordPic private bitmap is Bitmap.getBitmapResource ("Record-Normal - 1.png");.
    stopPic private bitmap is Bitmap.getBitmapResource ("Player-Stop - 1.png");.
    infoPic private bitmap is Bitmap.getBitmapResource ("Info - 1.png");.
    setupPic private bitmap is Bitmap.getBitmapResource ("setup - 1.png");.
    private bitmap exitPic is Bitmap.getBitmapResource ("exit - 1.png");.
    calibPic private bitmap is Bitmap.getBitmapResource ("calibrate - 1.png");.

    The png files are under 24 KB.

    Does anyone know what is the problem?

    Thank you for your attention,

    After the resolution of the image to 14KO downgrade, the problem is solved.

  • Funds/wallpapers don't fit down to the size of my screen after removing the Dreamscene for Windows 7 64.

    My screen/origins don't fit down to the size of my screen after removing the Dreamscene for Windows 7 64.  I ran a 32-bit uninstall reg. by mistake and now larger images appear only partially filling to the top of the visible area of the screen.  I have a laptop of Toshiba A505 displaying 1366 x 768 with Windows 7 64. Does anyone know the registry tweaks on how to solve this problem? Thank you very much.

    For any question on Windows 7:

    http://social.answers.Microsoft.com/forums/en-us/category/Windows7

    Link above is Windows 7 Forum for questions on Windows 7.

    Windows 7 questions should be directed to the it.

    You are in the Vista Forums.

    See you soon.

    Mick Murphy - Microsoft partner

  • while loading does no data in the table target, odi performance degrades?

    Hello

    I am trying to load some data from the source (Oracle DB1) to the target (Oracle, DB2) table in the same server

    Source table have 45lacks of data. These data must be load in the target table.

    I create interface. I took LKM SQL SQL & IKM SQL for SQL incremental Add.

    yesterday I executed interface, I checked the status in the browser of the operator. "his display like the loading status.

    However, the interface is in State of loading.

    sometimes odi is unresponsive. Plese help me.

    Need to add all the fetch sizes?

    Please solve this problem.

    Thank you and best regards,

    A.Kavya.

    Hello

    As you say, I tried with different knowledge modules. I used the incremental update IKM for db and db 45 do not data loading.

    its really increase performance. with in 10 minutes it will be correctly loaded into the target table. previously, I used SQL & SQL LKM, IKM SQL for SQL control append.it takes a long time. It takes two days also data is not loaded in the target table. really bad performance.

    I used DB loading for better performnace LKM SQL to ORACLE & IKM INCREMENTAL UPDATE.

  • Click a report link, a column in the table should be incremented

    Hi all
    I have a report and a link on the first column if I click the link it will go to another page (i.e. the details of this record).
    Now, every time when I click on the link, a column (SNo_Of_Times) in a table (table 1) should get increased. IE I need to know how time I'm clicking on the link (IE look at this record)
    the TABLE1 table is to have the columns
    Number of SNo
    SName varchar2 (30)
    SADD varchar2 (35)
    Number of SNo_Of_Times

    Thanks in advance
    Good bye
    Sonny_starck

    Hi Sonny_starck,

    I suggest you to have a process on the second page that runs before the header. You can set this as a condition that the primary key field (for example, P1_SNo) is not not null and do something like:

    DECLARE
     vCOUNT NUMBER;
    BEGIN
     SELECT nvl(max(SNo_Of_Times),0) INTO vCOUNT FROM TABLE1 WHERE SNo = :P1_SNo;
     vCOUNT := vCOUNT + 1;
     UPDATE TABLE1 SET SNo_Of_Times = vCOUNT WHERE SNo = :P1_SNo;
    END;
    

    Andy

  • The button should be disabled after a click

    I have Apply button on a page

    After the button is clicked... it must be disabled.

    It is expected that once the user click on the button for how can we achieve

    Add an action listener and use setDisabled (true)

    for example

    getCbButton () .setDisabled (true);
    AdfFacesContext.getCurrentInstance () .addPartialTarget (getCbButton ());

    -Prasad

  • Parent of the values of the Member, not of compensation after removal of the child and running aggregations

    Dear users of Hyperion, we worked on a realignment of store, we are cut and paste shops from one region to the other. We moved all stores except X 1 parent 2 & X 2, so the total of these parents should now be zero. We have updated the cube and'd calc, however Parents always have $ values in them.  Can you please advise how we can fix this because it's doubly adding those numbers in our total entity level. Is there a problem with the type of the members of X 1 and X 2. If it's store or never share then, will not be clearly amounts even after aggregation? It can happen while in the case of stored or never share type of the members of the total still is there on the X 1 and X 2 parents? I'm trying to understand why the values do not go to zero once we got all out of these original parents and stores even after the execution of the aggregation? Please specify. Thank you. Regards, Praveen.

    Hey Praveen

    Glenn has practically put the nail on the head; We stumbled upon this specific scenario a few months back.

    Initially you had children less of X 1 and X 2 so both of these members hold securities aggregated and both of these members have a stored property.  You have moved the children in outline, the X 1 and X 2 have the same aggregated values stored against them.  You run an agg... because there is no child under X 1 and X 2, there is nothing grouped upward to clear the values of these two members and grouped together so the same values are always stored against them.

    Glenn's suggestion for the fix is the same approach that we had to take to resolve it.

    JB

  • Surface RT - password simple features are disabled after mail to office 365 activesync / Exchange with a strong policy cannot use the simple password on device after removing

    I have synced to office365 using mail app and clicking next without letting go I would turn off the simple password feature to connect to surface RT.

    Now I get guest password windows live to connect to my device of surface. (before I used a simple PIN password function)

    I deleted the account office365 from the device and rebooted.

    However, under accounts - sign in options. time characteristics of simple password:

    • Password PIN
    • Picture password

    are both greyed out

    And I can't re enable them, even if the ActiveSync account is no longer connected.

    I also modified the device policy mobile office365 to allow simple passwords. and I tried to connect and you reconnect to the e-mail account in the hope that less stringent policy would somehow find its way to the peripheral surface of RT.

    However, the peripheral surface RT does not restore the original settings.

    How can I reset the surface RT have a simple PIN password again?

    Hello

    -What version of Office 365 is installed on the computer?

    I suggest you to reset the security policies and check if that helps.

    1. press on the Windows key + X.

    2. click on the control of security for the family and Panel\User accounts-user accounts

    3. on the left side, you will see "reset security policies" link.

    4. click on reset security policies , and then click OK in the confirmation box.

    You should now be able to install Picture passwords or password PIN again.

    Please, an update of the results. We will be happy to help you further.

  • How to restore the automatic blocking of sites after ' remove all sites?

    Pop-up blocker, I chose 'Delete all sites' and need to restore the block list

    Sorry, Firefox is not a mechanism to back up data to authorized sites. If you have a backup of your profile, the file that contains these data can be replaced by the saved version...

  • No icons appear on my desktop and when I right click on the desktop, that nothing happens after removing Mal Ware... How can I fix this?

    I removed successfully TShark.exe with the Malawarebyte Malaware program but have can not see all of the icons on the desktop. If I right click on the desktop, nothing happens. All files and programs are still in the appropriate boxes and have not been deleted. I can launch applications and open folders on my computer, but it is very inefficient. Any suggestions?

    Try this tool to remove the flags hidden files and folders.
    http://download.bleepingcomputer.com/grinler/Unhide.exe

    See if this article applies, there are thieves who move the desktop shortcuts to the folder temp\smtmp

    Missing desktop icons - program files empty
    http://www.experts-exchange.com/A_6209.html

  • Is it safe to keep the PC is plugged in after removing the battery?

    As I will not pass my pc for a while, I removed the battery and use the AC power instead.

    But I would like to know if its safe to keep it plugged into the AC 24/7? and if she consumes energy or it damage anything when the pc is turned off?

    its okay, I use to do all the time with the other thinkpads when my battery died on me. It will not damage your laptop.

  • How can I get the program "Philips Songbird' return after remove it?

    I removed by error philips songbird. This program has been installed automatically when I plugged my new mp4 player on my computer. so I have no disk to reinstall. now when I plug in mp4 player nothing happens. is there anything I can do to recover this program?

    original title: I deleted by mistake philips songbird. This program has been installed automatically when I plugged my new mp4 player on my computer.

    How to reinstall Philips songbird.

    http://www.ehow.com/how_8220351_reinstall-Songbird.html

    I hope this helps.

  • Of the data in the table to get a tree using declarative and perform operations above.

    Hello

    I use Jdeveloper 11.1.2.4.

    I'm creating a declarative component. The component is supposed to display the data in a table and allow the user to remove entries of it.

    The table should be included in a pop-.

    From now on, I made a picture of the tree within a collection of panels. I'm creating a tree in the pagedefinition of the ViewController project file and passing the tree of the same model to the component attribute declarative. After binds the attribute passed to table component tree declarative, I am able to fill lines. First please let me know if my approach is correct or not. The user can select any row of the table and press delete. The button must remove the entry from the table. Is it possible to remove operation on the table in the declarative component.

    Thank you

    First of all, please let me know if my approach is correct or not.

    Seems ok

    The user can select any row of the table and press delete. The button must remove the entry from the table. Is it possible to remove operation on the table in the declarative component.

    You have several ways to do this:

    (a) similar to the declarative component attribute, you can bind methods, for example: ADF Essentials eCourse - declarative components ADF: work with methods

    (b) pass the name of the iterator to your component and then use it to remove programmatic in backing bean

    (c) create pageDef declarative component for, something similar to this: ADF practice: liaison for component container declarative

    Dario

  • Reconstruction of the aggregation Tables

    Hello

    In the tutorial of the RTO for the wizard of overall persistence, it tells you to rebuild aggregation Tables by putting a 'aggregates; Remove"command at the beginning of the script. I wonder if it is a common practice for production environments as well. I started working on a project where the person here before put me in place the aggregate the table script but did not remove aggregates; order initially.

    Any ideas?

    Thank you
    Kevin

    Yes,

    You should always clean up first! If there have been copy paste action in the repository on the risk that the aggregation tables have new id "submarine".

    http://obiee101.blogspot.com/2008/11/OBIEE-aggregate-persistence-Wizard.html

    concerning

    John
    http://obiee101.blogspot.com

  • Given CLOB not allowing the size of the table cut!

    Hi Experts,

    Environment: 11.2.0.3. on Solaris 10.

    We have a table that contains the CLOB data and this table takes about 111 GB!

    SQL > desc INFO_MESSAGES

    Name                                      Null?    Type

    ----------------------------------------- -------- ----------------------------

    CLNT_OID NOT NULL VARCHAR2 (16)

    USR_OID NOT NULL VARCHAR2 (16)

    LAST_client_msg_ID VARCHAR2 (36)

    LAST_client_msg_DATE DATE

    LAST_client_msg CLOB

    LAST_USR_MSG_BOD_ID VARCHAR2 (36)

    DATE OF LAST_USR_MSG_DATE

    CLOB LAST_USR_MSG

    Select * of dba_segments order by bytes DESC;

    MIGRTN SYS_LOB0000111131C00008$ $ LOBSEGMENT SAMS DATA1 20690 6 1963 14528000 119013376000 <-the top row

    This segment is to table INFO_MESSAGES. I confirmed by joining in ALL_LOBs.

    This segment: SYS_LOB0000111131C00008$ $ belong to this column: LAST_USR_MSG

    The column LAST_USR_MSG were originally from huge text data, each line having approximately 4 MB in size. To reclaim the space, we have put this column of small as "data truncated" data using an update statement for the half of the rows in the table.

    as:

    Update INFO_MESSAGES set LAST_USR_MSG = "data truncated" where rownum < 25001 (this where clause was based on other criteria on a real mission but he updated 25000 lines - half of the table).

    Now after having done that, the size of the table has not changed!

    The table is still 120 GB. So what should he do to recover the space here? Should we export, truncate, and import the table - or can it be reconstructed (without causing locks and allowing application to access it or there at - it other better options?)

    Thank you

    OrauserN

    You must use dbms_redefintion, at the same time, change BASICFILE (have you been to) to SECUREFILE

    The latter LOBs will reorganize automatically.

    Demo at http://www.morganslibrary.org

    -----------

    Sybrand Bakker

    Senior Oracle DBA

Maybe you are looking for

  • How to reduce spam

    use for some time have others

  • the module has changed my response to identity settings

    Hi, I just installed an addon"BorderColors GT 1.0.7 by Ganymede.and it completely messed up my answer to the addresses to the identityis there an easy way to undo changes?p.s. I do back up profiles per dayIt is urgent because I can't email someone be

  • How can I get my contacts to download on my iPad Air?

    How can I get my contacts to download on my iPad Air?

  • No show options in the stop menu

    original title: a problem with My Windows Vista! When I click on button from the Start Menu, then I put my cursor on the Button(for Shut Down) Lock, it displays a transparent window that is not visible. The option can be used by pressing the U key or

  • Smartphones Bluetooth blackBerry problem

    I don't know if this issue has been published, I checked the other subjects, but I can't find the answer to my problem. I can't transfer or send files from my Sony Ericsson phone to my BB using bluetooth. My BB pairs and says connected but when I try