What happens in Tablespace, when drop any object?

Hi people.

I have a question about the store in tablespace, what happens when you track the taks in the database: c

When you drop a table? Change the size in the tablespace? Reduce the size of the tablespace... ??

What are the difrent between deleting the table and Truncate Table... Change the size in the tablespace? Reduce the size of the tablespace... ??

Thanks a lot for your help and your answers... Because I can clear my mind in different concepts.

Kind regards.

lokimoix wrote:
Hi people.

I have a question about the store in tablespace, what happens when you track the taks in the database: c

When you drop a table? Change the size in the tablespace? Reduce the size of the tablespace... ??

What are the difrent between deleting the table and Truncate Table... Change the size in the tablespace? Reduce the size of the tablespace... ??

Thanks a lot for your help and your answers... Because I can clear my mind in different concepts.

Kind regards.

Well, you pouvez test it for yourself and see for yourself. .

However,.

Nothing you described changes the size of the storage space. These actions simply free up space previously allocated within the storage space, allowing it to be
reused.

DROP TABLE frees all the extensions that have been allocated to this table, which allows the space they occupied to be assigned to any segment which perhaps need - AND DELETED THE TABLE FROM THE DATABASE (which is fine, there are now considerations recyclebin, but that's another issue).

DELETE just deletes rows from a table, freeing space on the blocks that lines busy. All extents allocated to this table are attributed to him, but the space left vacant by the deleted rows is available to be reused by new lines in this table.

TRUNCATE table frees all the extensions that have been allocated to this table, which allows the space they occupied to be assigned to any segment that may be in need, BUT in CONTRAST to the DROP TABLE, the structure of the table remains in place.

The above is just a detailed description of the differences, there are a few details that some people will call me, but for your level of understanding, that these are enough for now. You really, REALLLY need to spend more time in the manual of Concepts.

Tags: Database

Similar Questions

  • What happens to resources when a program ends and garbage

    Hi all
    Could someone tell me what is happening to resources when a program ends?
    Resources such as a "java.sql.Connection' or a 'java.nio.channels.WritableByteChannel" close automatically when an application ends?

    Also, is there some kind of garbage collection that takes place? According to Effective Java 2nd edition point 7, "it is quite possible, even likely, that a program ends without running finalizers on objects that are no longer available." What happens then?

    Thanks in advance!

    Published by: Jujubi on April 12, 2012 10:36

    As stated above, you must always closed no matter what output buffering stream or writer yourself, otherwise you will lose data. You must close the database connections yourself, otherwise you get a commit or abandoned according to you and the seller may not so get the one you want. (You should be close connections to DBMS inside finally blocks actually and using a pool of connections, not held on them forever.)

    There are a few resources you do not need to clean: you don't need to have windows of Swing, for example, and you have not and cannot have MappedByteBuffers.

  • What happens to iMessage when I use a Sim Card in Europe

    I intend to get a prepaid Sim Card for my iPhone 6 s when I travel in Europe in a few weeks.  I wonder if I still have iMessages since most of the people that iMessage use me my (Verizon) cell phone number.  I get all the iMessages on my iPad and computer laptop too through my e-mail, so I guess that the two e mail and cell number are used by the ap.  In addition, what happens to my iMessage when I come back and turn on my regular sim card?

    You will not be able to get the iMessages as when you put in the new SIM card, your iPhone to record with a new number. You can add e-mail addresses to your address list under which you are reachable, then iMessages sent one of these e-mail addresses.

  • What happens in steady when I change a dense dimension in Essbase?

    Hi all

    When I add/change/remove any member of Dimension Dense, what are the files that would be get restructured.

    I know they are otl files, pag and ind but don't know how/why file ind gets restructured.

    (Index files contains the only address to the actual data blocks which are formed by unique combinations of sparse dimension, but when we make changes to Dense dimension why file ind gets restructured).

    Thank you

    Amith

    Amith, the index contains pointers existing blocks - it literally tells Essbase where in the .pag files to find a particular block.  If the blocks change size / move (because they will be in a dense restructuring implied), the updated index.

    Take Sample.Basic for example.  If the block for "NYC"->"100-10" exists from the 1000th byte of ess00001.pag, the index entry for "New York"-> "100-10" will take account of this.  Then, we perform an implicit restructuring by removing a few dense members.  The block for "New York"-> "" 100-10 will always exist, but it might be present in the file from the 500th byte.  The entry of index for "New York" file-> "" 100-10 must be updated.

    See optimizing database restructuring in the database administrator's Guide (Sreekumar post above is actually taken from this section).

  • I have cs6 on my computers - what happens to it when I want to launch creative cloud?

    I currently have Adobe Design and Web Premium CS6 and I was wondering what would happen if I want to go creative cloud?

    Hi Philippe,.

    If you have allowed to stand alone for the CS6, it stay there and work with creative cloud.

    Creative cloud won't overlap or uninstall CS6.

    * If you decide to cancel the membership of creative cloud in the future, his will not affect the CS6 license.

    Your CS6 would work as it works now.

    Hope that answers your query.

  • What happens to users when ISE is charged?

    Hello

    We need to reload ISE and I wonder what would be the terms of use.  Will they be started from the network or the charging will be transparent to them?

    Version: 1.2.0.899
    Hotfix information: 1, 2

    Please let me know if there is more information needed to answer the question.

    Thank you!

    Beth

    Customers, already identified against ISE, should maintain connectivity.

    New authentications will be will be not the hands until the process of ISE is back.

  • I use the butterfly for several years, today, he just disappeared! Whats happening? Address book and any trace of Butterly disappeared.

    I use XP and several years ago MS sent me the butterfly disk. I used it since.

    Opportunities, there has been some problems, but they have always resolved.

    Today, traces of the butterfly DISAPPEARED! As they had never been there. No traces.

    It is something that I did, as I am sometimes clumsy or was there a change

    the MS?

    I would like to return and if possible all data. Possible?

    Hi David,

    In dealing with the problem with MSN mail, I recommend you to contact MSN support for help.

    How to contact MSN customer service

    Hope the helps of information.

  • What happens to objects created by an Admin on that Delete the Admin?

    What happens to the targets, job, udm, reports, etc., in the GRID control that have been created by an administrator when this administrator is removed from the console?

    Hello

    When an administrator is removed which has objects to him, the following options are displayed to delete:

    Remove objects from the administrator:
    This will remove the administrator and all partner Types of jobs, jobs, corrective Actions, report, reports, and models definitions. Targets and power outages will not be deleted.
    OR
    Redirect administrator objects: this will affect the administrator objects to another administrator. Belonging to the administrator credentials will be deleted from the repository before any reallocation takes place.

    The user removing the administrator has the choice to remove all associations to the administrator or reassign them to another administrator.

    The "View objects" button allows the administrator to view the list of objects owned by the Director he'd like to remove.

    Best regards
    Vincent

  • What happens when an examiner saves a shared review file?

    Hello

    I sent PDF files for review of a few people using a link to the shared file on our network in an e-mail. Everything seems to work very well, but one of the reviewers said sometimes must stop his commenting to halfway through, that he does not want to publish his comments again. Thus, it records the review file to its own computer using the "save under". What happens when he does this? It creates a share full version of the file in revision that nobody else can share? If this is the case, is that it should copy his comments in the file shared its own version? Or if it publishes its own version, it will inform the shared file on the network?

    I'm curious to know what is happening with a "save under" it's because often my reviewers are asked if they want to save the file before closing, and they don't know what to do. I know that they can say 'No' and their comments are already saved, but what happens if they say 'Yes'? It records the shared version or create a new one?

    Kind regards

    zerozone110

    1. If the examiner wants to add comments, but not publish them, he can choose to 'Work offline' option drop-down menu button server icon in the bar of yellow color shown on top during the review.

    2 do a "Save as" does not create a new version. All comments added and published in this version will be present in the old control file as well and all other reveiwers. There is no need to copy the comments in return.

    3. If the reviewers add comments and close file without publication, they will be asked to save the file as a draft or publish comments or delete comments. They can choose to save it as a draft and go on adding comments in this copy, come back later and publish the unpublished comments.

    4. If all the commnts are published, there is no need to save the file. All comments can be recovered at any time by making a 'check for new comments.

    Help in answering your questions?

    Thank you

    -Bamboo

  • SkinnablePopUpContainer: What happens when close() is called

    Hello

    When I call close on a SkinnablePopUpContainer, what happens to events for her listeners the variable that contains the reference, the properties defined in it and so on?

    For example, in my app to check if there is a screen I do the following:

    Instantiate

    Popup = new mySkinnablePopUpContainer();

    popup.addEventListener (PopUpEvent.CLOSE, popupClsoe);

    ...

    private void popupClose(event:PopUpEvent):void

    {

    Popup = null;

    }

    And basically, I check if the popup is null. Is there another way to do this?

    Thank you.

    Remove you the earphones and jut certainly reduce to zero any reference you can think. The chances of the object is garbage collected.

    C

  • What happened to the "bookmark this page" in my bookmarks drop down box? I need! I am not computer savy and want to just scroll through all the pa marked with a bookmark

    The toolbar previous at the top of the screen re: bookmarks had the easier and is more agreed for me (and I'm sure MANY OTHERS) to just click, scroll, stop and click and fact! I'm on page that I bookmarked. So now, no? and what happened to the "mark this page" option initially drop down list? It's so easy. I have to develop records, files, plugins, etc...
    What in is he developed a method for people who are geeks high tech click on something that will lead THEM to last orders?

    Add code to the file userChrome.css below default @namespace.

    @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */
    
    /* move "Show All Bookmarks" to the top of the Bookmarks drop-down list */
    #BMB_bookmarksPopup #BMB_bookmarksShowAll {-moz-box-ordinal-group:0}
    
    /* move "Show All History" to the top of the History drop-down list */
    #PanelUI-history > * {-moz-box-ordinal-group:3!important}
    #PanelUI-history > label.panel-subview-header {-moz-box-ordinal-group:1!important}
    #PanelUI-history > #PanelUI-historyMore {-moz-box-ordinal-group:2!important}
    

    The file userChrome.css (UI) customization and userContent.css (Web sites) are located in the folder of chrome in the Firefox profile folder.

    • Create the folder chrome (lowercase) in the .default < xxxxxxxx > profile folder if the folder does not exist
    • Use a text editor such as Notepad to create a userChrome.css (new) file in this folder (the names are case-sensitive)
    • Paste the code in the userChrome.css file in the Editor window and make sure that the userChrome.css file starts with the default @namespace line
    • Make sure that you select "All files" and not "text files" when you save the file via "save file as" in the text editor as userChrome.css. Otherwise, Windows can add a hidden .txt file extension and you end up with one does not not userChrome.css.txt file

    You can use this button to go to the Firefox profile folder currently in use:

    • Help > troubleshooting information > profile directory: see file (Linux: open the directory;) Mac: View in the Finder)
  • iPod is in recovery mode, what happens when I restore it?

    I plugged in my iPod to my computer and iTunes to load and update, but when I looked at the message says that the iPod is in recovery mode and needs to be restored.  What happens to my music?  Should I have any choice but to the restore?

    See Re: corrupted iPod classic. If the iPod is the only device holding your media he still may be a chance to recover.

    TT2

  • What happens when the photo of system library is on an external drive and then the system creates a library of Photos? How do merge you them?

    What happens when the photo of system library is on an external drive and then the system creates a library of Photos? How do merge you them?

    Your library system can be on an external drive, if the drive is Mac OS extended (journaled) format and mounted on-site.

    But you must be careful, your external drive is always connected and available before the Photos and to import new photos.

    If Photos opens a different library, news, you can switch to the library on your external drive by double clicking on an external library. You can have several libraries, no problem.

    But pictures don't have any tools to merge libraries. You can switch between libraries, then open them alternately.  To merge two libraries export the photos of the smallest library and import the photos exported in the largest library.

    Or use third-party "PowerPhotos" to move photos between libraries.  But the merger is not supported in the free trial version. You must purchase the full version. You can download it here: Fat Cat Software

  • What happens when two parallel process call the same VI in an FPGA?

    Hi all

    I was wondering, what happens when say two parallel processes call the same Subvi in an FPGA? I think that the FPGA would create two instances of the Subvi, not sure. Any point of view?

    Thank you

    Altras

    I don't know if the FPGA adds any ordinary special, but in LabVIEW rule and in LabVIEW Real-time, a VI by default is not reentrant.  Therefore, a process that is called when it is already in use is blocked and must wait.

    If the VI is reentrant, however, then you have two (or more) for the VI dataspaces, so that each can run independently.

  • Drive mapping: How can I get my external drive be mapped to F: (as he was once) rather than g: which is what happens when I turn on now.

    How can I get my external drive be mapped to F: (as he was once) rather than g: which is what happens when I turn on now.  I tried to unplug and power, reboot etc.  There is no F: drive connected to the computer.

    Go to start / Control Panel / administrative tools / computer management / "disk management and select external reader by clicking on it and then right-click on it and select change drive letter and paths."  It should show the letter currently assigned (G I guess).  Click the button change.  To the right will be a drop of drive letters box.  Go ahead and select F and click on OK.  That should do it. If F is not available, then it is used by the system for something else.  Check disk management to see if you can find it.  If it is not, and is not available in the list, I'm afraid, you will not be able to change until find you what is using drive letter F and remove it, or change it to something else.

    I hope this helps.  If this isn't the case, after return and we will try to understand what is using F or why it is not available.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

Maybe you are looking for

  • 'Threading' has started on my incoming emails; How can I remove it?

    I want to see all my emails separately - not 'threaded' together in the subject line. I don't have a clue as to why - after years of use - thread just started a few days ago?

  • How fast is an imac with 2.8 ghz

    I would buy an imac for my recording studio for use with logic pro and I would like to know if the 21.5 iMac 2.8 ghz would be enough for music production. Thank you!!

  • Portege R700 - peripheral unknown in hardware

    Hello Win 7 Pro, after installation clean (I installed all the drivers Toshiba again), I have 2 unrecognized currencies left. 1 a:AuthenTec Inc. AES1660Location: Port_ #0002.Hub_ #0003 It works fine, but no driver is shown and it is not recognized by

  • Swim with the sport of Apple Watch 38 mm

    Hello Nice day. I bought a Apple Watch 38 mm sport. I want to know I can wear to swim in the pool? Pls answer me by e-mail. Kind regards. Edmond

  • TDMS files will not correctly import in Matlab

    I am trying to load the content of the TDMS files in MATLAB for post-processing. I'm not too picky on what method to use to achieve this, but I want that he be relatively simplified for processing batch and I want it to work (this is key)! I tried th