Removing unused columns - pre and post checks

Friends...

DB: 11.2.0.3

OS: Linux

I have a few quick questions in relation to removing unused columns which I intend to do on the production database (5 tables 20 GB each)

The columns are already defined as unused tables, but I'm trying to get a backup plan for this tables if something goes wrong, while editing the table.

Could some experts share their experience with me?

1. What backup plan, I can have 5 tables to retrieve them in case something goes wrong?

(I thought about import export, but I think import will fail if I try to import after that "alter table drop unused column" did not order)

Also some tables have 500 lines and taking the export compliance will be problematic.

2. any request to know in advance which package could be invalid after the fall of the column?

3. statistical does is invalid?

(According to my knowledge, I think that it won't affect his stats and also tested this and stale_stats column was not after a column.)

4. do I need to scan the table or rebuild indexes to ensure that this drop column does not affect the performance of the application?

5. any other minor/major that keep them in check after a fall unused column?

Thank you

Mike

@rp0428... I understand your doubts and yes it's true, there were 5 tables of 20 GB each and additionally 5 tables, there are a few smaller tables I thought won't create a problem. For large tables, I did used control point.

As always, I have tested plan in dev environment with the same size/data lines but a unused fall was quick and no problem with cancellations is why during production, it took me surprise.

I had cancellation of 32 GB, so obviously, I was confident of small tables)<5 gb)="" should="" definitely="" fit="" in="" 32gb="" (but="" it="" wasn't="" the="">

OK - but we can only go through the information you post and you don't post anything of this.

If you had my question would be why you do not use "checkpoint" when you tested and why you didn't used it for this 5 GB table in production that generated 100 GB of REMAKING?

My next question would be: what PROBLEM have you tried to solve by dropping the unused columns? Your application was working fine so why was the decision taken?

And the reason for this question is that ANY significant changes to a table (standard partitions, add virtual columns, split partition, etc.) is ONLY suitable for technical purposes.

There are almost always other changes that could / should be made and it is usually beneficial to make all these changes as a whole. Common examples include 1) get rid of the old data (dilation), 2) addition of such constraints as NOT NULL, 3) a table partitioning, 4) adding new columns - perhaps with NOT NULL value and/or default values constraints.

Since 'other' someof these changes can be problematic if done online, it is generally advised to do a thorough analysis to make sure that you have identified ALL the changes you want, you can then do all at once. Often the best solution is to re-create the table and data using the DEC.

1. a normal 'drop unused' rewrites all the blocks. It's not moving lines to other blocks - it essentially tightens just online content in order to remove all the content of the unused column.

2. a normal 'drop unused', even if you use control points, leaving the "unusable" table until the WHOLE picture was treated. This means you NEED to perform the operation before normal re-use of this table, you can resume

3. a normal life 'unused drop' will NOT free space which can be used by other objects - the same lines occupy the same blocks - the lines are just "small". Therefore, there is NO space to release.

Creating a table (e.g. DEC) you can use a bulk loading and parallel operations and move lines of new blocks. It can also if take care of these 'other' I mentioned with little or no extra charge of the changes.

Tags: Database

Similar Questions

  • How to read digital signals with pre-and post-trigger on a card PCI-6251

    I have 22-bit parallel position of data entering TTL lines to 16 kHz with a pulse of marker that says when the data is valid. I also have a fault line which gives an impulse when an error condition is met. I want to read in the 22 lines of position with 500 positions of pre-event and post-event 500 data when the fault line says. How do I pre and post-déclencher lines digital input on a card PCI-6251?

    If this is not possible on this map, which maps PCI would be possible?


  • Pre and Post build screws

    When generating pre and post screws we have the possibility of running, is possible to get that build spec, they were launched since (that is if you have multiple versions of a project)? Also, is there a way to pull the output through nodes of property directory, or what I need to parse the XML project?

    I did a quick test with a selection of pre-designed programmes VI and the model that is already created by the build specification provides two points you requested by nature.  I'm just wired to the top of some indicators and forced the FP to show test, but I guess you could save in a file or put her in something else needed.

    It comes with LV 2013 (32 bit).

  • SRM controls (pre and Post turn on)

    I'm looking to what hooks are available under SRM to run scripts.

    Ideally, I would like to be able to run scripts Powershell VI Toolkit (which would be pre power on for orders of type VM and post-puissance on orders of type guest VM) and Windows Scripts (post-tensioning).

    I first thought that these scripts (as configured by the VM in the cable group) would run on the virtual machine in question.  I realize that they both run on the host SRM (the manual is not explicitly said, that could be useful!).   To get to the point, what I have to do is to identify the virtual machine that will be started so that I can script events to occur for this virtual machine.  I was looking for variables (i.e. something like VMName and GuestName %) that would allow me to execute commands to reconfigure the computer in question.  Does anything like this exist, or there at - it another way to do this?  If there is not, I consider something of a gap, I spend the VMname as a parameter to the scriot for each virtual computer.

    Thank you

    AX

    Here is an excerpt of an article that I'm working on. I think that table 6 includes the types of

    the variables you are looking for.

    Order steps run with the identity of the local system account on the SRM

    on the recovering site server host. When a step of the command runs, a number of

    environment variables are defined in the runtime environment. Table 5 lists the environment variables that are available for all stages of order.

    Table 5. Environment variables available to all stages of order

    Name

    Value

    Example of

    VMware_RecoveryName

    The name of the recovery plan that runs

    "Plan A".

    VMware_RecoveryMode

    The recovery mode

    'test' or 'recovery '.

    VMware_VC_Host

    The host name of the host to vCenter site recovery

    'vc_hostname.example.com '.

    VMware_VC_Port

    The network port used to communicate with the host to vCenter

    '443 '.

    Additional environment variables listed in table 6, are affected if the step of the order runs on a virtual machine that is recovered.

    Table 6. Environment variables available to the ordering steps running on virtual machines recovered

    Name

    Value

    VMware_VM_Uuid

    UUID used by vCenter to uniquely identify this virtual machine

    VMware_VM_Name

    The name of this virtual machine, as shown on the protected site

    VMware_VM_Ref

    The managed virtual machine object ID

    VMware_VM_GuestName

    The name of the guest OS as defined by the API of VIM.

    VMware_VM_GuestIp

    The IP address of the virtual machine if it is known.

  • quadrant ICS pre and post scores

    I would be interested in your pre - ICS and ICS-post on Quadrant Standard scores. I get between 2800 and 3000 on the MAXX, I think that you guys will get even, maybe even better. Also I was wondering if anyone of you has moved to 1 .2GHz now on ICS. Thank you and hope you enjoy your 'new' Bionic! You can even use the new screen capture feature to post.


  • Video pre and Post 4.3.0

    What I understood from this forum and the documentation is the following:

    Pre - 4.3.0:

    -You can't embed a video player into your application.  You must download the file on the device file system or the SD card, and then launch a browser pointing to the file.

    + 4.3.0:

    -You can provide a stream to a player within your application.

    My questions are:

    (1) is pre in 4.3.0 there a way to control the size of the video when he launched first?  The video is very low, when I open it in the browser.  However, if I go to the media application and open it, it fills the entire video until the buttons play/stop.

    (2) I know that the user can select "full screen", but my clips are very short, and it takes a few seconds before getting full screen.  Is it possible to make the media player to immediately go fullscreen?

    (3) is it possible to ignore the browser and call the media player directly?

    I suspect that the answers are:

    (1) NO.

    (2) NO.

    (3) NO.

    but I thought I would give it a shot.

    Any help would be greatly appreciated.

    1. No, it is not possible.

    2. you can use the EventInjector to inject the button to change mode full screen.

    3. you can use the player play back video in version 4.2.1 and higher of the BlackBerry device software.  The ability to embed the video player within your own screen (as well as your own fields) has been added in version 4.3.0.

  • What is the correct format for a single. File ALX for pre and Post 5.0?

    Hello

    We have an application which works fine on the pre 5.0 BlackBerry OS.  We have one ALX file that uses the _blackberryVersion designation to determine what COD files must be installed to which devices.  We do this because we build separate sets based on the device, for example, the version of the storm is more optimized for the storm devices.  It was all working well, but with the release of BlackBerry OS 5.0 OS versions seem to have changed.  Previously, the storm was 4.7.0.x and when the tour came out it was 4.7.1.x.  Now, however, so the Bold 9700 and Storm 2 are the two 5.0.0.x to the less based on the OS versions for the two simulators available right now.  It is therefore impossible to use the name of _blackberryVersion in the ALX file, at least for us, since we have different files COD for the storm, with touchscreen and other devices without touchscreen.

    So, I try to understand what the appropriate method for the use of a single file ALX is in this case.  From what I can tell the _blackberryVersion element uses only the three first sections of the version, for example 4.7.0 or 5.0.0 so even trying to make it more specific would not work and would also not practice for all minor versions that will be potentially different carriers.

    I did try to use the name of the series, for example , and even that would not work.  I also tried with 9500 | 9530 | 9550 and always had an error in the Application Loader saying there is no compatible software.  At first I thought it was due to some sections of with _blackberryVersion and then some with the series.  But I tried a new ALX file with just the designation of series and still no luck.

    Has anyone found how to do this properly yet?  Are there examples of ALX files which series =? Someone at - it examples of work from ALX files that use the _blackberryVersion and the series?

    Before everyone jumps on me, I'm not the real Director of enforcement, I only update the ALX file.  So I don't think it's possible to have a single file of COD to build, but at that time, that never would have happened so I need to find the best solution with different files of COD, that shouldn't be a problem because she supported and described in the documentation.

    If I need to display the ALX file please let me know.

    Kind regards

    David Dewaele, Jr.

    The correct series attribute for 9500 is "Thunder".

    You can find that where she attributes to all here-(for normal installations)

    C:\Program Files\Common Motion\AppLoader\Device.xml search

  • pre-and post loading maxl script in ODI

    I try to call a maxl script in the ODI interface.

    I did the following chages in the properties of the target:

    PRE_LOAD_MAXL_SCRIPT D:\PLAN\Results\Scripts\ODIpreMaxl.mxl

    I got the folloing error message:

    org.apache.bsf.BSFException: exception of Jython:
    Traceback (most recent call changed):
    File "< string >", line 89, < module >
    at com.hyperion.odi.essbase.ODIEssbaseConnection.executeMaxl (unknown Source)

    at com.hyperion.odi.essbase.AbstractEssbaseWriter.beginLoad (unknown Source)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)


    com.hyperion.odi.essbase.ODIEssbaseException: com.hyperion.odi.essbase.ODIEssbaseException: cannot run the program "essmsh": CreateProcess = 2 error, the system cannot find the file specified

    at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
    at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.execInBSFEngine(SnpScriptingInterpretor.java:346)
    at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.exec(SnpScriptingInterpretor.java:170)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java:2457)
    at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:47)
    at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:1)
    at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2906)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2609)
    at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:537)
    at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:453)
    at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1740)
    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ 2.doAction(StartSessRequestProcessor.java:338)
    at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:214)
    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:272)
    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$ 0 (StartSessRequestProcessor.java:263)
    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ StartSessTask.doExecute (StartSessRequestProcessor.java:822)
    at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:123)
    to oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$ 2.run(DefaultAgentTaskExecutor.java:82)
    at java.lang.Thread.run(Thread.java:662)


    -Raj

    I think I know what the problem is, he's trying to start a Maxl session by running essmsh and he can't find it.
    If you go to the command line and type essmsh what happens?

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • remove unused styles from a single action...

    Hello world

    Is there a faster and better way to remove unused paragraph styles and character in InDesign without closure styles. Here is my script created. Its working fine.

    //-----------------------------

    var doc = app.activeDocument;
    var pStyle = doc.paragraphStyles;

    for (i = pStyle.length - 1; i > = 2; i--) {}
    app.findTextPreferences = app.changeTextPreferences = null;
    app.findTextPreferences.appliedParagraphStyle = pStyle [i];
    var myFind = app.findText (false);
    If (myFind == 0) {}
    pStyle [i] .remove ();
    }
    }
    Alert ("OK");

    //----------------------------

    But in our documents, we have many styles. So above script takes a few minutes to perform the task. It would be better if she has the action runs in a few seconds. Can someone look into this and provide me with a better solution.

    Thanks in advance

    Indana

    Here is how I could do this:

         ArrayCompress=function(array){
              var str = array.sort().join('\r')+'\r'
              str = str.replace(/([^\r]+\r)(\1)+/g,'$1')
              str = str.replace(/\r$/,'')
              return str.split('\r')
         }
         IsInArray = function (item,array){
             for(var i=0;i=0;i--){
         if(IsInArray(allStyles[i].name,names)){
              allStyles.splice(i,1);
         }
    }
    alert(allStyles.length + " unused styles");
    

    Please note: If your tables are tidy header or footer, cells.everyitem () will not work. You will need to loop through the cells to build the table.

    Substances

  • How to find and remove unused files in first Pro CC

    I'm using the first Pro CC (mac) version. I have a project where I need to clear out unused files to make room.

    In the documentation, I often see references to Project menu header but I don't have it.

    Similarly, in the project window, I don't see for video or audio usage columns that are shown.

    Any suggestions (I feel that I have forgotten something obvious)? Thank you.

    If you use first Pro CC (7.0), and then the option to remove unused is under the Edit menu. In the project Panel, if you are in the display of the icon, then files will show the icon of video and/or audio, storm in the thumbnail of the file. If you have preview enabled (in the menu on the right wing) area and select a file, then it will also list how many times the file is used.

  • Error of Facebook, what can I do? Resource://jid0-wpch2liwmumjc8av1vwejwvgjbi-at-Jetpack/qclean-remove-Facebook-ads-suggested-pages-and-posts/data/qclean.js:53

    Facebook maintains the gel, a problem caused by this script resource://jid0-wpch2liwmumjc8av1vwejwvgjbi-at-jetpack/qclean-remove-facebook-ads-suggested-pages-and-posts/data/qclean.js:53

    I tried many solutions suggested, nothing works. Please advse. Thank you.

    Ed

    Hello ed, this error is caused by the qclean addon that you have installed. Please disable or delete or report the problem to the author of the extension...

    Disable or remove modules

  • I have a question why U removed the session of keyboard spelling checker is a very useful sit Apple give it in products. It helps a lot in communicting with others from different countries, even in our studies and the communication

    I have a question why U removed the session of keyboard spelling checker is a very useful sit Apple give it in products. It helps a lot in communicting with others from different countries, even in our studies and communication with our teachers.plz it back... .hope you will do

    Nothing has been deleted. Perhaps if you explain better what it is you are looking for, a person might be able to help. You mean maybe predictive text? All these settings are in settings > general > keyboard.

  • I just started using my new iMac 27 "and in Mail, I can't find the setting to display a column that shows the number of emails in each folder.  Mavericks, I had this column.  I have checked all the menus and preferences and search online.

    I just started using my new iMac 27 "and in Mail, I can't find the setting to display a column that shows the number of emails in each folder.  Mavericks, I had this column.  I have checked all the menus and preferences and search online.

    Click the triangle next to the Inbox to view the Inbox for each account. Then select the desired mailbox and the information will be displayed in the upper part.

    You are entitled to 90 days telephone support from Apple. Try to contact them.

    Apple Support contact

    Apple Support by email or chat

    Contact Apple Support - phone

  • Cannot upload anything get message that the disc is full... Remove unused files and try again

    I can't download anything. I get a message that the disc is full... Remove unused files and try again... I have deleted many, cleaned the register w/Ccleaner, but doesn't seem to be enough... I don't have the original Windows XP CD... Was already installed. I don't have a recovery CD. Can I use this and start all over again to start on a clean slate? Is there something I can do? I can't yet to update anything.

    I have w/Service pack 3 Windows XP. PC is Dell pentium 4.

    I can't download anything. I get a message that the disc is full... Remove unused files and try again... I have deleted many, cleaned the register w/Ccleaner, but doesn't seem to be enough... I don't have the original Windows XP CD... Was already installed. I don't have a recovery CD. Can I use this and start all over again to start on a clean slate? Is there something I can do? I can't yet to update anything.

    I have w/Service pack 3 Windows XP. PC is Dell pentium 4.

    Please do these two simple things and the report on the results.

    A. report of the disc

    1 double click (or click, if it's in the start menu) Workstation

    2. for each drive (you must be at least 'disc' Local (c), right click and select Properties.  Report of the 'space used', 'Free space' and 'capacities '.

    B. know what is using the space

    1. get a USB that has at least 4 MB of space.  You can buy a 4 GB (this is 1,000 times more that you) thumb drive from Staples for $7.99 and connect it to your computer.

    2. download JDiskReport.  Go to http://www.jgoodies.com/downloads/index.html, make a right click on the link 'Win', choose ' save link under ', navigate to your USB key and save the file.

    3. in the installation: uncheck the 3 boxes on the screen "select components"; on the "Choose installation location" screen, click the Browse button and navigate to your USB key so that all the files will be installed on the USB.

    4. when the installation is complete, click on my computer, open the USB key, open the folder named JDiskReport and double-click on the file named jdiskreport - 1.3.2.jar (you don't see the .jar extension).

    5 scan C: and see what is taking place.

  • Remove activate them, deactivate and remove the columns of searchUser.do

    Hello
    What form of jsp I have to modify to remove the option activate, deactivate and remove the columns on the searchUser.do page? I edited tjspSearchUserResultsTiles.jsp but who do not appear to do.
    Thank you

    To do this, you will need to customize JSP. It includes TableGenerator.jsp, so you will need to write your logic here to hide these buttons or you will need to write your own JSP and put it instead of tjspSearchUser.jsp

Maybe you are looking for