Can I use shrink for an asset (perform insert very-delete operations) table

Hello guys,.

I have a very simple question. According to an article (link: http://www.dba-oracle.com/t_automatic_segment_space_management.htm) the following quote is written
Beware:  Using ASSM can hinder database DML performance, and most Oracle experts will use manual freelists and freelist groups.  Click here for details on automatic segment space management internals.

Using automatic segment space management is great for almost all Oracle applications, with the exception being super-high update tablespaces, which would use traditional freelists with multiple freelist groups.
I just want to use shrink my table in order to reclaim the unused space. However, I play a lot insert and delete operations on the table (not update, insert and delete). So, I wonder, if I use shrink, my table will affect seriously? Because I insert and remove thousands of rows in this table every day.


And my second question is how can I know that my table is in SAMS (automatic segment space management) to use retractable? Because I was told that my table shoul be in SAMS to use retractable?
select * from v$version;
Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production
PL/SQL Release 11.2.0.1.0 - Production
"CORE 11.2.0.1.0 Production."
AMT for 64-bit Windows: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production
best regards
Charlie

970992 wrote:
I just want to use shrink my table in order to reclaim the unused space.

Ok. You are sure that there is some unused space and that Oracle will not reuse space automatically? If you are constantly inserting and removing a table, unless you remove constantly more data that you insert or you use direct-path inserts to prevent Oracle to reuse the space freed by deletions, there is no reason to believe that there is unused space in the table.

However, I play a lot insert and delete operations on the table (not update, insert and delete). So, I wonder, if I use shrink, my table will affect seriously? Because I insert and remove thousands of rows in this table every day.

Thousands of lines is enough little activity.

If you want to shrink the table, you generally want to do while there is little or no activity on the table since you will need to at least briefly to acquire a lock on the table. If you do only a few thousand a day race DML operations, it shouldn't be difficult to find a window where the shrink will not be a significant impact on DML.

But, back to my first point, I would tend to wait that you don't need to shrink the table in the first place.

And my second question is how can I know that my table is in SAMS (automatic segment space management) to use retractable? Because I was told that my table shoul be in SAMS to use retractable?

Assuming that you know what the table tablespace is in

SELECT segment_space_management
  FROM dba_tablespaces
 WHERE tablespace_name = <>

Justin

Tags: Database

Similar Questions

  • Unable to take backup on Windows 7 get error code 0 x 81000019 and message backup Windows found errors on the media during a backup on it and can't use it for additional backups.

    Original title: backup Windows found errors on the media during a backup.

    original title: backup errors

    Whenever I try to do my monthly backup I get the following messages

    Backup Windows found errors on the media during a backup on it and can not use it for additional backups.

    Pleas write the following label on a blank media and insert it into D: /.

    I did and then he asked me to get in shape, I say OK and I get the same message on the media errors and I put another disc and get the same problems again. I can't find out what the problem is, what can I do to fix this problem and get a new backup?

    I now have an error 0 x 81000019

    Hello

    You did changes to the computer before the show?

    Method 1: Check if the shadow copy volume is running
    (a) click Start.
    (b) in the search box, type Services.msc.
    shadow copy Volume c) right-click and go to properties.
    (d) select Auto (Delayed) in the start menu type in the menu drop-down.

    Method 2: Clean boot
    When the computer starts to boot, programs non-Microsoft will not be started and would avoid any interruption of their share.

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7
    http://support.microsoft.com/kb/929135.

    Note: Once you are done with the boot, follow step 7 of article to reset your computer to normal startup.

    Method 3:

    Check all your drives to NTFS.

    This problem may occur if the drive is not NTFS format.

    Please follow the steps mentioned below to convert the reader:

    Using the Convert command

    1. click on the "Start" button, click "all programs" and click on "Accessories".

    2. right click on "command prompt" and click "run as administrator".

    3. in the window "Administrator: command prompt", type the following command and press ENTER.

    CONVERT %Drive% letter: / FS: NTFS

    letter of %Drive% is the driver that you want to convert. For example, type the following command to convert drive F to NTFS:

    CONVERT F:/FS: NTFS

    4. when the following message appears in the command prompt window, type the volume label of the drive that you are converting, and then press ENTER:

    The type of the file system is FAT.

    Enter the name of the current volume of reader letter %Drive%:

    Type any string of characters for the Volume name. If you simply press ENTER, it will affect 'Local disk' as the default Volume name.

    5. when the conversion to NTFS is complete, the following line appears in the command prompt window:

    "Complete conversion".

    6. restart the computer and check the result.

    Hope this information is useful.

  • How can I use statistics for all the tables in a schema in SQL Developer? and how long will it take on average?

    Hello

    How can I use statistics for all the tables in a schema in SQL Developer? and how long will it take on average?

    Thank you

    Jay.

    Select the connection and right-click on it and select schema statistics collection

  • Can I use it for packaging?

    Can I use it for packaging?

    Hello

    Yes, you can.  Please check the license terms for more information - Royalty free images, pictures and graphics. Adobe Stock

    Thank you

    Bev

  • can I use tiff for HDR files in 'fusion HDR Pro' PS cc

    can I use tiff for HDR files in 'fusion HDR Pro' PS cc

    Yes.

  • I know that I get 2 downloads. I have one on my Mac. Can I use one for my laptop?

    I know that I get 2 downloads. I have one on my Mac. Can I use one for my laptop?

    Hello david,.

    That is right. Cloud software can be installed on Mac or Windows for no extra cost. No platform swap process is necessary.

    On the Mac log you just to creative.adobe.com with your Adobe ID and download the software. Same thing as you did on the PC.

    Hans-Günter

  • "' Adobe digital edition:" E_ACT_TOO_MANY_Activations "real dear: Please reset my accounts of more than 6 of cero, that I can open my books for reading? Thank you very much

    "' Adobe digital edition:" E_ACT_TOO_MANY_Activations "real dear: Please reset my accounts of more than 6 of cero, that I can open my books for reading? Thank you very much

    Ask for the reset of the adobe on the Chat ID: Contact customer service

  • [tools help] what tool can be used to move files? and update the row in table?

    I need help to find out what tool can help me in the next task:
    #1 moving file
    situation: after the extraction of a file, the file is moved to another directory.

    Update SQL #2
    Situation: what mapping tool can be used to update existing record / execute sql
    as UPDATED VALUE TABLE WHERE... or REMOVE...

    Take the employee data form table and connect name, id, "incative" (from constant) to the target table.
    Replace the update target property, and then set the properties of column-level.

    Find out what

    Update/Insert into mapping

    See you soon
    Katia

  • Can I use SetFld for GenPrint of page banner fields?

    I have a form of page banner with several fields of variable top to display information specific to the batch it is included with (for the area of publication after manipulation). Currently, I put these values by assigning variables of the same name (as fields) in a DAL script called as my BachBannerBeginScript for this batch. The fields on the page banner form/section have a NOOPFUNC rule, so without that happening assign process during script DAL, they are intrinsically worthless. This has worked well so far.

    Now I have a new banner to a different batch/process page, and its purpose is to be a "synthesis report" of sorts, detailing on the banner page of General information about each document included in this batch. I take information from the batch (bch) file, read in an additional external file and aggregate the data in GVMs (to form a table, essentially) during the BatchBannerBeginScript. The problem I have now is that I have an array of variable size (based on the document time in my batch file), but I know I can't use functions allotted to me in GenData, and so I basically have to predefine as many instances of the section (if I make a report by section line) or field (if I make an article with all instances of the field about it) that I think are possible (max-scenario essentially).

    However, after that I have my article/fields defined, I always use DAL script to populate these fields. I tried to use SetFld to fill, but values do not appear in my output, leading me to believe this rule function does not work in GenPrint. Is there a better way to put all these fields that explicitly assign each instance of a field? I'd rather have a few moments in a loop that takes to a PTC instance and assigns a variable field name than to have hundreds of assign statements where I assign explicitly each possible field.

    Thank you

    Gregg

    Yes you can. In fact, it is not a rare thing to do. You just need to use the script associate banner option to identify the DAL routine to perform to make your mapping. This assumes that you have already enabled support for printing banner page. Say that the lot will have the script is the CLIENT, he would do something like this:

    < customer="">

    TransBannerBeginScript = MyScript.DAL

    I'm reasonably sure that you can declare a global script by using this same option under the < printer=""> group.  That would run on any package recipient who does not otherwise specify a different script.

  • No problem at all. Company I work with that use IE w / their software online. Can I use IE for that and Firefox for all the rest?

    This company online system has been tested with IE. I met a little trouble trying to disconnect. When I log out, it takes me to the login screen, but I'm not disconnected and can not reconnect. I'll try using IE and see if the problem goes away. If so, can I use IE just for this company and use FF for everything else?

    Yes, you can even use IE as you are using Firefox, if you wish.

  • PC card - can I use it for?

    Excuse my ignorance, but I have a slot for pc card on the side of my laptop (equium L20). What kind of job could I use it for? Some of my games does not work, I put some sort of bulletin of upgrade?

    Google for PC cards and you will find many solutions of PCMCIA cards.
    Lucky suggested that PCMCIA cards can be used as wireless network card, save etc, tuner TV, adapter, support of information there are many possibilities.
    But unfortunately I don t think you will be able to use these cards with all the games.

  • Qosmio F20-111: need drivers Vista-&gt; Can I use drivers for F30?

    I couldn't find a driver for my laptop vista. Can I use F30 drivers for my laptop F20?

    Thank you

    Hello

    Of course, you can try to install the drivers of Qosmio F30 but the question is: drivers Vista F30 will work?
    I think you should be able to install Vista on your F20.
    But you will not be able to use the additional features of Toshiba Toshiba controls, keys FN, etc.

    PS: I found very beautiful thread in the Qosmio G20 section.
    Some of the guys discussed about Vista on the G20. Now for the G20 Vista drivers are not available, but FranciscoJr has handled this problem.

  • I can't use iCloud for backup of data from third-party applications

    I use an iPod touch 6th generation and I wanted to use iCloud for backup of Twitter, IG, Pinterest etc. I've tried searching steps. So far I've been finding the same set of instructions:

    Settings > iCloud > storage > select your iDevice > turn on apps you want to iCloud to save

    But after clicking on the storage, I don't see that 'manage storage' and below, the option 'change of Plan '. Why does my iPod not not the option choose iDevice? I can see the option to save the data of integrated applications, but not applications, third-party. My iCloud that unit is on but my Photos under icloud is disabled. I really need the extra space. What seems to be the problem?

    Click Manage store (settings > iCloud > storage > Storage manage and you see what moves backup iCloud storage.)

  • Hi can I use xp for dv2000 recovery disk to downgrade a dv2000 with preinstalled vista thank you

    Hello

    I have 2 laptops of dv2000 with different model No, s

    one with xp factory mounted and the other with factory installed vista

    can I use the xp from the computer recovery disks laptop xp

    to downgrade vista to xp or is it better to install windows 7 please

    Thank you very much

    maggieglanville

    Hello:

    You probably have to downgrade your laptop from Vista to XP, but you do not have a license (right to downgrade) to do with Microsoft.

    Normally, the desktop and professional laptops only received rights to downgrade to XP due to risk of operations undertaken grinding halt because of software with some programs and Vista incompatiblities.

    Personally, it is best to switch to Windows 7.

    Since your laptop with Vista, it can run Windows 7. For all the missing drivers you may need to you can use normally drivers Vista on the support page and the driver of your laptop.

    In addition, you can read through this guide for dv2000 for Windows 7 upgrade.

    http://h30434.www3.HP.com/T5/notebook-operating-systems-and/Windows-7-upgrade-guide-for-DV2000-models/TD-p/186936

    Paul

  • Can I use java for the development of the playbook?

    Hi I'm new in blackberry development. I've owned playbook and that you want to develop playbook apps, but I can only develop in java. Please, someone tell me what I can use java for the development of the Tablet?

    Bilal

    # You can convert by android android applications, run-time.

    Explore these links

    https://developer.BlackBerry.com/

    https://developer.BlackBerry.com/Java/

Maybe you are looking for

  • can not detect the iphone after upgrading 12.5.1.21

    Set to update to the latest version of itunes (12.5.1.21) and now itunes does not detect my iphone.  tried to remove the lockdown folder. tried to restart all devices. Windows 10 with all updates installed. Someone at - it suggestions?

  • MacBook Air closed

    Wed Jul 27 13:17:38 2016 Panic report *. panic (cpu 0 0xffffff8018416f72 appellant): Kernel trap at 0xffffff80187e3d94, type 14 = page fault, registers: CR0: 0 X 0000000080010033, CR2: 0 X 0000000000000008, CR3: 0X0000000133A1A055 CR4: 0X000000000016

  • Add-ons - works does not correctly

    Recently (last 4-5 days my modules stopped working properly. Example: Tab Mix Plus shows as installed, but when I select all the options do not affect the behavior of tab; Not appearing LastPass icon is not in the bar of the add-on as it did before;

  • Update iOS 9 bricks ipad 2

    First of all, I would like to point out the ridiculousness of the problems created by this update, I'm sure that many others have already pointed out. Then, the context: my mom owns an iPad 2. Recently the apps refused to work because the latest vers

  • HP Pavilion a320n needs graphics card update.

    I need to update the graphics card for my HP the a320n desktop. I need to know about how to proceed and how much it will cost me... and should I even bother? This old compy me has served well with not a glitch during the last 7 years or so, but now,