Is there a safe way to disableversioning

Is there a safe way to disableversioning on a schema with ~100 tables, where both indexes and constraints had length > 26 when versionenabling?
I've tried to use the dbms_wm.alterversionedtable to ajust the indexes and constraints but still have problems in totally disabling versioning.

What are the errors when you call disableversioning? Only commitDDL does not support constraints and index name lengths > 26 characters.
If the tables are related to each other by referential integrity constraints, then you only need to call disableversioning once, by including the entire table set in the procedure call.
Regards,
Ben

Similar Messages

  • Is there a safe way to get a password using bash?

    Hey, I need to safely get a password in my bash script for encrypting some files. Currently my script just listens on a named pipe for something to come through and uses that for encrypting (I wasn't sure if it was safe to type a password in a shell script).
    I would prefer something non-interactive if at all possible. This is going to be a cron job, so if it has to be interactive, it should be able to get my input without a terminal emulator. Any suggestions?

    fukawi2 wrote:
    Non-interactive is counter-intuitive to what passwords are for...
    What is the problem you're trying to solve?
    I need a cron job to encrypt something with a password. If I store the password in plain text, I lose security. If it requires input, then it's not very useful to schedule it. I wasn't really thinking that hard when I asked this question. I should have known that there wasn't really any way to reconcile these two needs.
    Maybe I'll just go with the "security through obscurity" route... my root partition is encrypted anyways, and with proper permissions on the file I could be pretty sure that nobody will read the password. Throw in some obfuscated code and hope that nobody really, really smart gets ahold of my computer while it's running.

  • What is the "other" component of my storage breakdown and is there a safe way to reduce it?

    I have a MBP retina (mid 2012) running OSX Yosemite 10.10.3 with 250Gb of flash storage. I am constantly battling with limited space on my drive. Of the 250Gb, 103Gb is classified as "other". What is it and am I able to reduce some of it safely? I have a 1Tb external drive that has plenty of space if I am able to transfer any of that onto it.
    Any help is much appreciated!!

    For information about the Other category in the Storage display, see this support article. If the display seems to be inaccurate, try rebuilding the Spotlight index.
    Empty the Trash if you haven't already done so. If you use iPhoto, empty its internal Trash first:
              iPhoto ▹ Empty Trash
    In Photos:
              File ▹ Show Recently Deleted ▹ Delete All
    Do the same in other applications, such as Aperture, that have an internal Trash feature. Then restart the computer. That will temporarily free up some space.
    According to Apple documentation, you need at least 9 GB of available space on the startup volume (as shown in the Finder Info window) for normal operation—not the mythical 10%, 15%, or any other percentage. You also need enough space left over to allow for growth of the data. There is little or no performance advantage to having more available space than the minimum Apple recommends. Available storage space that you'll never use is wasted space.
    When Time Machine backs up a portable Mac, some of the free space will be used to make local snapshots, which are backup copies of recently deleted files. The space occupied by local snapshots is reported as available by the Finder, and should be considered as such. In the Storage display of System Information, local snapshots are shown as  Backups. The snapshots are automatically deleted when they expire or when free space falls below a certain level. You ordinarily don't need to, and should not, delete local snapshots yourself. If you followed bad advice to disable local snapshots by running a shell command, you may have ended up with a lot of data in the Other category. Ask for instructions in that case.
    See this support article for some simple ways to free up storage space.
    You can more effectively use a tool such as OmniDiskSweeper (ODS) or GrandPerspective (GP) to explore the volume and find out what's taking up the space. You can also delete files with it, but don't do that unless you're sure that you know what you're deleting and that all data is safely backed up. That means you have multiple backups, not just one. Note that ODS only works with OS X 10.8 or later. If you're running an older OS version, use GP.
    Deleting files inside a photo or iTunes library will corrupt the library. Changes to such a library must be made from within the application that created it. The same goes for Mail files.
    Proceed further only if the problem isn't solved by the above steps.
    ODS or GP can't see the whole filesystem when you run it just by double-clicking; it only sees files that you have permission to read. To see everything, you have to run it as root.
    Back up all data now.
    Install the app in the Applications folder as usual. Quit it if it's running.
    Triple-click anywhere in the corresponding line of text below on this page to select it, then copy the selected text to the Clipboard by pressing the key combination command-C.
    For ODS:
    security execute-with-privileges /A*/OmniDiskSweeper.app/*/M*/* 2>&-
    For GP:
    security execute-with-privileges /A*/GrandPerspective.app/*/M*/* 2>&-
    Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad and start typing the name.
    Paste into the Terminal window by pressing command-V. You'll be prompted for your login password.
    The application window will open behind other open windows. When you scan a volume, the window will eventually show all files in all folders, sorted by size. It may take a few minutes for the app to finish scanning.
    I don't recommend that you make a habit of doing this. Don't delete anything as root. If something needs to be deleted, make sure you know what it is and how it got there, and then delete it by other, safer, means. When in doubt, leave it alone or ask for guidance.
    When you're done with the app, quit it and also quit Terminal.

  • If I change my apple id and password on my desktop, will the new id and password be automatically changed in my laptop, my iPad and my iPhone?  If not, is there a safe way to consolidate ids, passwords, etc."

    Question: Is there a way to consolidate Apple IDs and passwords on my desktop, laptop, ipod, ipad and iphone?  I waste too much time trying to remember something different for each device or operation.

    This knowledge base article is the AppleID Faq...I recently changed my AppleID password, not the ID iteself, and the passward was synced across all devices.
    You cannot consolidate AppleIDs so you have to just establish one that will be used for all activities.  And keep in mind, app purchases are tied to the AppleID used for the purchase so updates have to be made using that ID.

  • Is there a safe way to add to the dispatcher.any file?

    As far as I know with Cloud Manager, if you ever need to 'Stop' a cloud, even if you have it backed up using the services provided, any changes to the dispatcher will be removed - is this correct?  The reason I'm asking is because we need to allow some very specific paths on our instance that wouldn't be allowed by default, and I'm unsure how to do that, while having those changes persist.  I searched through the FAQ, and couldn't find anything on this...

    Hi,
    Correct, if you make changes to the Dispatcher instance, they will be lost if you Stop and Restore the cloud from a backup.
    Currently, there is no mechanism to persits those changes in Cloud Manager. Probably a good feature to add

  • I want to erase the data from my iphone so I can trade it in for a new one.  However, my husband and I share a calendar and address book.  I don't want to lose all his contact info--is there a safe way to do this?

    I need to upgrade my phone.  But my husband and I somehow ended up sharing our contacts and calendar.  So I'm afraid if I wipe my phone, his phone will get wiped, as well.  How do I make sure that he doesn't lose all his info when I clear my phone out?

    It will not delete his items if you erase you're phone.

  • Safe way to cancel queries in dbxml shell utility?

    Is there a (safe) way of cancelling a query you're running in the dbxml shell? Because I'm using a throwaway test container I've gone and used Ctrl-C a couple of times but it exits the shell completely so may be leaving the open container in a mess.
    If I had a working container properly set up with transaction support, locking, logging etc. and I wanted to test new XQueries from the shell afterwards, how would I interrupt queries which were slow, contained typos seen to late, etc.?
    There's an "abort" command but I don't think that's what I'm looking for as I'm not trying to stop transactions.
    Tim

    Tim,
    I assume you are adding some documents, then querying, and when that takes a long time, hitting ^C. In the 2.2.13 dbxml shell, the best way to ensure that your container is consistently on disk is to create the container, add documents, and then exit the shell.
    After that, you can restart the shell, open the container, and query/^C away and the container will still be intact. The reason is that exiting the shell closes the environment, which flushes the cache to the disk.
    As John mentioned, the upcoming 2.3 release has better ^C support in the shell. It also has a "sync" subcommand that flushes the cache to disk.
    Regards,
    George

  • SSRS - Is there a multi thread safe way of displaying information from a DataSet in a Report Header?

     In order to dynamically display data in the Report Header based in the current record of the Dataset, we started using Shared Variables, we initially used ReportItems!SomeTextbox.Value, but we noticed that when SomeTextbox was not rendered in the body
    (usually because a comment section grow to occupy most of the page if not more than one page), then the ReportItem printed a blank/null value.
    So, a method was defined in the Code section of the report that would set the value to the shared variable:
    public shared Params as String
    public shared Function SetValues(Param as String ) as String
    Params = Param
    Return Params 
    End Function
    Which would be called in the detail section of the tablix, then in the header a textbox would hold the following expression:
    =Code.Params
    This worked beautifully since, it now didn't mattered that the body section didn't had the SetValues call, the variable persited and the Header displayed the correct value. Our problem now is that when the report is being called in different threads with
    different data, the variable being shared/static gets modified by all the reports being run at the same time. 
    So far I've tried several things:
    - The variables need to be shared, otherwise the value set in the Body can't be seen by the header.
    - Using Hashtables behaves exactly like the ReportItem option.
    - Using a C# DLL with non static variables to take care of this, didn't work because apparently when the DLL is being called by the Body generates a different instance of the DLL than when it's called from the header.
    So is there a way to deal with this issue in a multi thread safe way?
    Thanks in advance!
     

    Hi Angel,
    Per my understanding that you want to dynamic display the group data in the report header, you have set page break based on the group, so when click to the next page, the report hearder will change according to the value in the group, when you are using
    the shared variables you got the multiple thread safe problem, right?
    I have tested on my local environment and can reproduce the issue, according to the multiple safe problem the better way is to use the harshtable behaves in the custom code,  you have mentioned that you have tryied touse the harshtable but finally got
    the same result as using the ReportItem!TextBox.Value, the problem can be cuased by the logic of the code that not works fine.
    Please reference to the custom code below which works fine and can get all the expect value display on every page:
    Shared ht As System.Collections.Hashtable = New System.Collections.Hashtable
    Public Function SetGroupHeader( ByVal group As Object _
    ,ByRef groupName As String _
    ,ByRef userID As String) As String
    Dim key As String = groupName & userID
    If Not group Is Nothing Then
    Dim g As String = CType(group, String)
    If Not (ht.ContainsKey(key)) Then
    ' must be the first pass so set the current group to group
    ht.Add(key, g)
    Else
    If Not (ht(key).Equals(g)) Then
    ht(key) = g
    End If
    End If
    End If
    Return ht(key)
    End Function
    Using this exprssion in the textbox of the reportheader:
    =Code.SetGroupHeader(ReportItems!Language.Value,"GroupName", User!UserID)
    Links belowe about the hashtable and the mutiple threads safe problem for your reference:
    http://stackoverflow.com/questions/2067537/ssrs-code-shared-variables-and-simultaneous-report-execution
    http://sqlserverbiblog.wordpress.com/2011/10/10/using-custom-code-functions-in-reporting-services-reports/
    If you still have any problem, please feel free to ask.
    Regards
    Vicky Liu

  • Is there a quick way to fit everything in the Title/Action Safe Areas ?

    Hi,
    (sorry in advance for my english, I'm a french canadian)
    I built a complete DVD without realizing that I should consider the "Safe Areas" (see my first post : "Formatting in 4:3 but image is still stretched on a 4:3 TV. What the... ?"), so now I'm stuck with a 12 hours project that show only some part on TV.
    Something strange too is that I first thought what was shown corresponded to the "Action Safe Area", but I just realized that both sides are cut like the "Title Safe Area" and top/bottom are cut like the "Action Safe Area". It's not one or the other, it's a mix of both. What causes that ?
    What I need to know now is if there is a way to compress all the DVD or make everything to fit quickly in the viewable area so I will not have to fit everything one by one.
    Thanks for your help.
    P.S.
    The 4:3 simulation mode should specifiate the overscanning process in the application when we use it, so it would solve a lot of problem in the first place.

    http://discussions.apple.com/thread.jspa?messageID=9695813#9695813
    x

  • Is this a "safe" way to upgrade to lion and transfer apps/data to new imac?

    I have an older imac running 10.6.8 and I am considering buying a new one.
    I read a link with guidleines to upgrade to lion. My question is:
    After upgrading to lion, I am going to buy a new imac and want to move to the new imac with the least inconvenience. I have a lot of music app/usb interfaces so the time to reconfigure everything would be very time consuming.
    So is the "safe" way to do it?
    Do a time machine backup of current configuration.
    Follow the link I saw outlining upgrading from 10.6.8 to lion on my current imac.
    Get everything working again on the current imac with mountain lion.
    Do a time machine backup of the lion configuration.
    Get the new imac and on first boot, elect to restore from the time machine backup wiping out what came installed on the new imac.
    Another time machine backup on the new imac.
    I should be done?
    or is there a better /safer way?
    I have been putting this off for almost year because of the number of apps I am running and devices I have connected. a short list.
    file servers off firewire 800 and 400 ( I know I will need the thunderbolt to firewire adapters).
    approx 12-18 usb devices all connected either directly or daisy chained through usb controllers connected to usb controllers.
    about 10 external USB drives.
    vmware
    midi interfaces for piano/guitar.
    m-audio fast track ultra
    multiple DVD/blu-ray reader/writers
    Hence my concern for a smooth transition
    thanks in advance.

    There is really no need to update the older iMac running 10.6 to Lion, especially if you have multiple backups of your User Data. You can easliy move or migrate data from any one of your External HDs or Server to the new iMac.
    As for your current iMac:
    If you plan on selling the older iMac, Lion is not transferable and you will want to sell it with a clean install of 10.6 and let the new owner upgrade.
    If you plan on keeping the older iMac around for others to use and it supports Mountain Lion, then in my humble opinion Mountain Lion is the better upgrade.
    As for your other devices:
    • Yes, Thunderbolt to FireWire adapter
    • Yes, external USB 2.0 and 3.0 devices are backwards compatible
    • Sorry, I don't use vmware
    • Sorry, I don't use midi interfaces
    • Sorry, I don't use m-audio
    • Yes, my external DVD drives work with various Mac's running 10.6 thru 10.8
    Sorry I can't better answer your Audio questions. If no one else comes along with the answers here, then you might try starting another ASC question focused on those transitions.

  • Safari and Others Hang. Is there a good way to diagnose which process is being a trouble maker?

    I have a peculiar problem that has been developing for some time now.
    Current Symptoms:
      Safari (Any Version 5.0-Current) will load but WebProcess.app Opens to 100%
               on one core of CPU (Non-Responsive) and no web-pages will load.
      VLC.app launches in the same fashion, one process pegs to 100%.
      iMovie.app hangs.  Not crashing, but failing to successfully launch.
      Apple Script saved as an application behaves in the same way.
    Attempted Diagnosis:
          I'm currently running OS 10.7.3 on a Early 2009 Mac Pro.
         I have tried:
      Deleted Preferences, and Saved Application States. Then realized the
    problem can't be in ~/Lib/Prefs. because it also is a problem on a clean user
    profile I created to check. So I also looked in /Sys/Lib/Prefs. with no Success.
      I have run disk permissions more times that I can count. 
                    This comes up with regularity but solves nothing:
      Group differs on “Library/Preferences/com.apple.alf.plist”; should be 80; group is 0.
      Repaired “Library/Preferences/com.apple.alf.plist”
      Permissions differ on “usr/lib/ruby”; should be lrwxr-xr-x ; they are drwxr-xr-x .
      Repaired “usr/lib/ruby”
      Reinstalled 10.7.3 from the Combo Updater from apples website.  No Help.
      I did find launching any affected App from the Unix Exe File in the .app
             bundles (So it launches in terminal)  will open them and allow them to
             runwithout issue (yea! temporary fix)! 
    Finally I booted with -x into Safe Mode.  There the problem vanished.  Hooray
            it's another piece of  software or an extension I have loaded (Could  be any over
            the past 6 months or so)!
    So, I rebooted and tried to launch Safari immediately. It worked!  Only after a
            minute or so, when the GUI and background Apps had finished
            loading, the problem returns.
    What I need help with:
    Is there any good way to tell what application is causing the problem or what
    these four apps have in common?  I have looked at Console Logs, Crash Reports,
    etc. etc. but admittedly am not sure what to look for.  I would be happy to post logs
    or reports or more detailed info, if it would help.
    Otherwise Thank-you to anyone who reads this and has any good ideas short
    of a fresh install. Cheers!

    Hi...
    Reinstalled 10.7.3 from the Combo Updater from apples website.
    The only way to reinstall the Mac OS X or repair the startup disk running v10.7.3 Lion, is to use Lion Recovery The combo update does not do that.
    How much free space on the startup disk? Not enough free space can account for the problems with your apps.
    Right or control click the MacintoshHD icon. Click Get Info. In the Get Info window you will see Capacity and Available. Make sure there's a minimum of 15% free disk space.
    and no web-pages will load.
    Try using OpenDNS as suggested here >  Safari 5.0.1 or later: Slow or partial webpage loading, or webpage cannot be found
    Use OpenDNS for better speed, more security, includes anti phishing filters, prevents browser redirects, and it's free.
    Open System Preferences / Preferences then select the Network tab. Click the Advanced tab then click the DNS tab.
    Click +
    Enter these addresses exactly as you see them here.
    208.67.222.222
    Click +
    208.67.220.220
    Then click OK.
    edited by:  cs

  • Can I install arche in "safe" way from other worki

    Can I install arche in "safe" way from other working distro?
    Like Debootstrap for example.
    I don't like regular install that I don't have control of the installation procees and It work as root alone so It's need very careful in the partition level.
    It is possible?

    Lone_Wolf wrote:Check Install_Arch_from_within_another_distro
    I want to install again arch but now there isn't pacman.static.
    What should I do?
    Solved:
    I install pacman and libdownload and now I can install with normal pacman
    Last edited by nadavvin (2008-08-19 17:12:16)

  • Safe way to edit system configuration files?

    What is a safe way to edit a system configuration file? I mean I did this twice: I edited rc.conf, rebooted and the system failed to boot. Then I had to edit out the typos with a LiveCD.
    Is there like a visudo (that edits /etc/sudoers) for rc.conf, xorg.conf, fstab and so on?
    Thanks!

    Majorix wrote:
    No I am of course editing those files with sudo. But the problem is, gedit won't check the file for possible errors, thus if you too oversee it and try to reboot using those system files, you will fail.
    visudo checks you while you edit, so if you make an error it will warn you in the end.
    I was asking if there was a similar tool for the rest of the configuration files.
    Sorry for not being clear.
    Oh -- a kind of a babysitter, you mean?
    j/k, i screw up config files all the time.
    No, as far as I know there is nothing like that for most files. some do have functionality like that, like I think lilo warns you when you write to lilo.conf and the file has errors. and you can run something like testparm for the smb.conf file, and I think there something similar to check apache config files, etc. but for the standard system config files or arch-specific files like rc.conf, fstab, etc. I don't think there is anything. you just have to be sure not to make any mistakes!

  • My power button has stopped working is there any other way of taking a screenshot

    My power button has stopped working is there any other way of taking a screenshot

    If the power adapter is already plugged into your computer, the AC power cord is likely to spark as you attempt to plug it in.  The power adapter is designed to shut down when a potentially damaging situation occurs.  The "sparking" can cause over-current and over-voltage protection circuits to turn the power adater off.  When this occurs, you should unplug the power adapter from the wall, unplug the power adapter from the computer, wait 15 seconds, plug the power adapter into a properly-grounded AC wall outlet, and then plug the DC output cable into the Mag-safe connector.

  • I received the error (in iCal on my iMac): "The server responded with an error". The error message is very large, and if there is a way to acknowledge and close it I can't find it. Because this error message is open, I can't do anything in iCal. Any sugge

    I received the error (in iCal on my iMac): "The server responded with an error". The error message is very large, and if there is a way to acknowledge and close it I can't find it. Because this error message is open, I can't do anything in iCal. Any suggestions on how I could kill this error message? Thanks.
    iMac, Mac OS X (10.7.2)
    Basically i tried to enter too much information into my calendar and it has crashed  now i can not get rid of the error message or use the calendar  can anyone help please

    did you find ou how to get rid of it i can't

Maybe you are looking for

  • I can't see who's calling me it appears as unknown and i have already saved the contact

    I have a problem, I just buy an iphone 4, i created a contacts list in my macbook in the contacts app and sync it to the iphone. But when a contact calls me it appears as unknown. What's the problem??? What can I do???

  • I can't get Bryce 5.0 to install..Please Help!

    I downloaded Bryce 5.0 for my son new class at school as requested by his teacher. But when I try to install it, the Disk Utility page pops open and I dont know what to do? Im not (obviously,lol) very apt at this, but this should have been a no-brain

  • Podcast Feed Showing Up as Blank Icon

    Can someone help me troubleshoot why I cannot get my icon to appear in iTunes?  Below are the links to my show and the feedburner feed: http://itunes.apple.com/us/podcast/elegant-workflow/id525298655 http://feeds.feedburner.com/elegantworkflow Thank

  • Trouble with ipod classic!!!

    Hi all, i am having trouble with my ipod and i hope you can help me I have a 80gb iPod classic and i am updated to the latest version of itunes. When i plug in my ipod, itunes stalls for a minute or two and when it finally comes back, itunes does not

  • I can't sign into FaceTime or iMessage using my Apple ID.

    I Have been trying to sign into both iMessage and FaceTime on all my apple devices. And it won't sign into either one of them. I know the password is correct because I am able to use iTunes and iCloud. but its only with my Apple ID. I signed into Fac