Same variable name causes major issues.....

I would like to get some input and possible direction on the issue below... I am new to PL/SQL. Thanks in advance.....
..... The system is in the middle of processing a “For” step, i.e. a given “For” step is incomplete.
..... The script instructs the system to process a second “For” step with the same “for-loop variable” as the incomplete “For” step.
When the above takes place, the system processes the second “For” step incorrectly. Instead of starting at the first value in the second “For” step’s list of values, the system begins in the middle of the value list.
I need to change the current implementation so that if a "For" loop is encountered that has the same “loop variable” as a “For” loop already being executed, the “state” of the previous “For” step is discarded, and the state for the new “For” step is initialized to the first value in its list.
-- Used for "for" steps
TYPE for_list is table of varchar2(4000) index by binary_integer;
TYPE for_loop_state is record (
list for_list,
next_index integer
TYPE for_loops_list is table of for_loop_state index by steps.output_param%TYPE;
all_for_loops for_loops_list;
procedure for_step(list_string IN varchar2, ret_var_name IN varchar2, end_for_label IN varchar2) is
state for_loop_state;
end_idx number;
list_value varchar2(4000);
begin
pkg_util.log('ret_var_name value after begin: ' || ret_var_name, 'I');
-- get the current for list state, based on its output variable name
if all_for_loops.exists(ret_var_name) then
state := all_for_loops(ret_var_name);
else
state.next_index := 0;
list_value := parse_next_param(list_string, 1, end_idx);
-- end_idx is thrown away; for loops only have 1 input parameter (the list)
state.list := get_for_list(list_value);
all_for_loops(ret_var_name) := state;
end if;
if state.next_index < state.list.count then
pkg_session_values.put(ret_var_name, state.list(state.next_index));
all_for_loops(ret_var_name).next_index := state.next_index + 1;
else
all_for_loops.delete(ret_var_name);
jump(end_for_label);
end if;
end;

There is so much of your code hidden from view it is impossible to tell you anything other than perhaps suggest a methodology.
Create a single variable with a known value and use dbms_output to view it as it steps through each piece of the puzzle. Determine when the value does something you don't want.

Similar Messages

  • Links Pallette Causing MAJOR issues

    Hi Everybody!
    What should have probably been my FIRST place to turn when this issue started occuring, has somehow turned into the last place I have come for answers.
    With that said, hello! Please help me!
    Currently ailing me is my LINKS PALETTE.
    After a long day of prepping a file for some flexo plates (today, for example, I have been working on the same file for upwards of 8 hours, attempting to sandwich 4 different designs into a neat & tidy AI file), my computer tends to get nauseous. Illustrator crashes, and I hope that I've saved my file recently enough that I don't have to go back and re-do a ton of work. Of course, with my fingers perpetually command+s-ing, my file is fine, in the same state it was before my Illustrator hiccup. Or is it?
    Glancing over the file, I realize that the majority of my links are missing. Upon further inspection, I realize that they are not just missing, they are now "blank". And there are now many copies of them, also "blank". Some are left intact, some multiplied one on top of another, and others left to whatever this new "blank" thing is. Totally arbitrary, extremely annoying, and in the flexographic industry, extremely dangerous. The last thing I need is for a file to go to press missing an image! As an operator, it'll be MY head that rolls.
    Currently some of my co-workers are experiencing the same phenomenon, but until today, were a bit leery about admitting to it for fear that it was operator error. Other co-wokers are not experiencing this at all, and are even capable of opening the same files without seeing a disasterous links panel.
    Please see the below screen shot. I haven't the slightest.
    there should only be like 1 or 2 of each of those links.
    Any help is greatly appreciated! Thanks!
    Catie

    CReillyFLG wrote:
    Yes I am.
    it's generally not a good advice to do that.
    For some people working directly on a server works. For others it won't. Illustrator is very prissy about working directly on remote volumes. The technote makes it clear.
    The problem is that trouble may sometimes be caused by very little things or options you least think of. You'll need to double check every piece of hardware and software/drivers involved in order to make this work. It doesn't mean anything if it works for your colleagues. You are connected via a different cable, maybe a different switch or router and maybe your computer is set up differently.
    http://helpx.adobe.com/illustrator/kb/illustrator-support-networks-removable-media.html

  • Update a table using same variable name as the column

    I am not able to update a table column using a local variable which is having same name as the table column. Example of the function is as follows:
    create or replace function trial return integer as
    column1 integer:=99;
    BEGIN
    update firsttable set column1=column1 where column2='john';
    return 0;
    END;
    Existing data in firsttable:
    COLUMN1 COLUMN2
    123 xyz
    123 abcd
    101 john

    Unfortunately table aliasing won't help... Although specifying the procedure will. Somewhat academic I know, since if you can prefix the procedure name on the variable you can just as easily rename it, unless you happen to have a bunch of other code calling it using named notation possibly.
    SQL> select ename, comm from emp where empno = 7934;
    ENAME            COMM
    MILLER
    SQL> create or replace procedure new_comm
      2   (empno in number, comm in number)
      3  is
      4  begin
      5      update emp e
      6      set e.comm = new_comm.comm
      7      where e.empno = new_comm.empno;
      8      dbms_output.put_line('updated '||sql%rowcount||' rows!');
      9  end;
    10  /
    Procedure created.
    SQL> exec new_comm (7934, 100)
    updated 1 rows!
    PL/SQL procedure successfully completed.
    SQL> select ename, comm from emp where empno = 7934;
    ENAME            COMM
    MILLER            100Message was edited by:
    3360
    Colin beat me to it

  • Galaxy S4 KitKat Update Causing Major Issues With Data Speed and Text Messaging

    Dear All,
    My company has over 40 phone users and since the KitKat update has pushed out we are experiencing two major isssues:
    Many of our phones are only getting 3G in places that historically before they had blazing fast 4G.  Most message boards say to power off, remove the SIM card and replace.  This gives only temporary relief.  We get 4G for 10 minutes, and then it reverts to 3G, and it is slow 3G at that.  I have seen where some have gone and gotten a replacement SIM, but they indicate this is not a long term solution.  I have also seen that a hard reset/factory reset is being proposed.  However, this seems ridiculous to do to over 40 devises where the obvious cause is the update.  Has anyone found the answer to this one?
    Many users, including myself are now having outbound text messages fail.  We have to resend them over and over to get them to go through.  This problem is pretty widespread through the device pool.  I am unsure what could be causing this.  The messages fail regardless of if the phone is connected to wireless or not.

    I have had the same problem with my phone. Called tech support and after they contacted Samsung the solution is a factory reset to fix the problem and they are supposedly working on a fix for it. After doing the reset Friday, I have to restart my phone multiple times during the day to get messages to send. I also notice only 3G where we always had 4G. Called tech support again and was given the option to send phone in to have it repaired or get a refurb under warranty. Not sure what I am going to do yet but I can see it is definitely not just my phone. Of course the techs say they have not heard of this before.

  • IE settings causing major issues

    Dear All,
    We have deployed the netweaver EP (2004s) 2 months back on a production environment, mainly with ESS functionality.
    We have around 2000+ users in varying geographical locations in varying business units all controlled through a one network. However, each business on its own may have Active Directory additionally installed. There have been numerous complaints that the portal does not function properly when AD is installed.
    Is there some additional settings that need to be set up where AD is installed?
    We have not faced any difficulties where AD is not installed. However, some users keep complaining that the IE settings have to be reset after some time. i.e clear the temporary internet files etc. Users are not the IT savy and this is causing a major headache for us. Is there a workaround to this?
    Thanks for any assistance in advance,
    Antony.

    Hi Brad,
    Machines with XP SP2 are not facing issues. However, as we have rolled out ESS for 2000+ users, we are facing issues when it comes to IE 7. Java script errors come up and the log off functionality is not working.
    If we apply SP10 i assume these issues will go away. But still users complain that they have to re-delete cookies as the portal is not getting displayed prpoerly after some time. PC's connected to AD environments are forcing the deletion of cookies at the time of machine startups. Is this recommended?
    Antony.

  • Mavericks 10.9.2 is causing major issues with my computer. Bouncing balls, lagging, etc. etc. Should I revert?

    I'm not a techy, but I did see on another thread to run EtreCheck.  I called up Apple Support a few months ago, before Mavericks, as my system was running slower.   The Apple tech said I have plenty of room on my hard drive and to just delete stuff of of my desktop.  So I did - didn't really help. I am assuming my RAM space stinks and that is why it is in red?  What should I do next?  So here is my report:
    Hardware Information:
              MacBook Pro (13-inch, Mid 2009)
              MacBook Pro - model: MacBookPro5,5
              1 2.26 GHz Intel Core 2 Duo CPU: 2 cores
              2 GB RAM
    Video Information:
              NVIDIA GeForce 9400M - VRAM: 256 MB
    System Software:
              OS X 10.9.2 (13C64) - Uptime: 0 days 3:2:38
    Disk Information:
              Hitachi HTS545016B9SA02 disk0 : (160.04 GB)
                        EFI (disk0s1) <not mounted>: 209.7 MB
                        Macintosh HD (disk0s2) / [Startup]: 159.18 GB (28.34 GB free)
                        Recovery HD (disk0s3) <not mounted>: 650 MB
              MATSHITADVD-R   UJ-868 
    USB Information:
              Apple Inc. Built-in iSight
              Apple Internal Memory Card Reader
              Apple Inc. Apple Internal Keyboard / Trackpad
              Apple Computer, Inc. IR Receiver
              Logitech USB Receiver
              Apple Inc. BRCM2046 Hub
                        Apple Inc. Bluetooth USB Host Controller
    Thunderbolt Information:
    Gatekeeper:
              Mac App Store and identified developers
    Kernel Extensions:
              [not loaded] com.Belcarra.iokit.USBLAN_netpart (2.0.2) Support
              [not loaded] com.Belcarra.iokit.USBLAN_usbpart (2.0.2) Support
              [not loaded] com.FTDI.driver.FTDIUSBSerialDriver (2.2.14) Support
              [not loaded] com.RemoteControl.USBLAN.panther (1.6.1) Support
              [not loaded] com.RemoteControl.USBLAN.usbpart (2.0.6) Support
              [not loaded] com.belcarra.iokit.netpart.panther (1.6.1) Support
              [not loaded] com.belcarra.iokit.usbpart.panther (1.6.1) Support
              [not loaded] com.bodymedia.codelessAB185.kext (1) Support
    Launch Daemons:
              [loaded] com.adobe.fpsaud.plist Support
              [running] com.fitbit.galileod.plist Support
              [loaded] com.microsoft.office.licensing.helper.plist Support
    User Launch Agents:
              [loaded] com.adobe.ARM.[...].plist Support
              [loaded] com.adobe.ARM.[...].plist Support
              [failed] com.apple.CSConfigDotMacCert-[...]@me.com-SharedServices.Agent.plist
              [loaded] com.google.keystone.agent.plist Support
              [loaded] com.iLike.Agent.plist Support
    User Login Items:
              SpeechSynthesisServer
              BodyMedia SYNC
              iTunesHelper
              Fitbit Connect Menubar Helper
              HP Scheduler
    Internet Plug-ins:
              FlashPlayer-10.6: Version: 13.0.0.206 - SDK 10.6 Support
              Default Browser: Version: 537 - SDK 10.9
              AdobePDFViewerNPAPI: Version: 11.0.06 - SDK 10.6 Support
              AdobePDFViewer: Version: 11.0.06 - SDK 10.6 Support
              Flash Player: Version: 13.0.0.206 - SDK 10.6 Support
              LogitechHarmony: Version: 1.0.0.1 Support
              QuickTime Plugin: Version: 7.7.3
              SharePointBrowserPlugin: Version: 14.1.0 Support
              GarminGpsControl: Version: 2.9.2.0 Release Support
              Silverlight: Version: 5.1.20913.0 - SDK 10.6 Support
              iPhotoPhotocast: Version: 7.0
    Safari Extensions:
              SocialPlus!: Version: 2.5.2
              Facebook Cleaner: Version: 3.3
              AdBlock: Version: 2.6.30
              GMail Counter: Version: 0.9.3
              Facebook Photo Zoom: Version: 1.1206.11.1
              Pinterest: Version: 1.0
    Audio Plug-ins:
              BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
              AirPlay: Version: 2.0 - SDK 10.9
              AppleAVBAudio: Version: 203.2 - SDK 10.9
              iSightAudio: Version: 7.7.3 - SDK 10.9
    iTunes Plug-ins:
              Quartz Composer Visualizer: Version: 1.4 - SDK 10.9
    User iTunes Plug-ins:
              iLike: Version: 1.0 Support
              PPC Bundle: Version: (null) Support
              iLike Bundle: Version: (null) Support
              Tiger Bundle: Version: (null) Support
    User Internet Plug-ins:
              Move-Media-Player: Version: npmnqmp 071505000006 Support
              fbplugin_1_0_3: Version: (null) Support
              fbplugin_1_0_1: Version: (null) Support
              Picasa: Version: 1.0 Support
    3rd Party Preference Panes:
              BodyMedia SYNC  Support
              Flash Player  Support
    Time Machine:
              Skip System Files: NO
              Auto backup: YES
              Time Machine not configured!
    Top Processes by CPU:
                   3%          WindowServer
                   3%          BodyMedia SYNC
                   0%          Fitbit Connect Menubar Helper
                   0%          Safari
                   0%          fontd
    Top Processes by Memory:
              203 MB          iTunes
              137 MB          Safari
              74 MB          Finder
              61 MB          com.apple.WebKit.WebContent
              57 MB          com.apple.MediaLibraryService
    Virtual Memory Information:
              26 MB          Free RAM
              625 MB          Active RAM
              607 MB          Inactive RAM
              303 MB          Wired RAM
              638 MB          Page-ins
              37 MB          Page-outs

    Hello,
    Yes, your Mac is seriously lacking of RAM. 2 GBs of RAM simply will not cut it on OS X Mavericks.
    The real world working minimum RAM is really 4 GBs and more is better of you can afford it.
    Your year and model Mac can take a total of 8 GBs of RAM.
    Correct and reliable Mac RAM can be purchased from online Mac RAM sources Crucial memory or OWC (macsales.com).
    OWC carries that 8 GB RAM kit.
    http://eshop.macsales.com/shop/memory/Apple_MacBook_MacBook_Pro/Upgrade/Macbook_ selector
    Also, you have some older PowerPC Apps, extensions and plugins that need to be removed as older PowerPC applications no longer work on OS X since the introduction of OS X 10.7 Lion.
    Kernel Extensions:
              [not loaded] com.Belcarra.iokit.USBLAN_netpart (2.0.2) Support
              [not loaded] com.Belcarra.iokit.USBLAN_usbpart (2.0.2) Support
              [not loaded] com.FTDI.driver.FTDIUSBSerialDriver (2.2.14) Support
              [not loaded] com.RemoteControl.USBLAN.panther (1.6.1) Support
              [not loaded] com.RemoteControl.USBLAN.usbpart (2.0.6) Support
              [not loaded] com.belcarra.iokit.netpart.panther (1.6.1) Support
              [not loaded] com.belcarra.iokit.usbpart.panther (1.6.1) Support
              [not loaded] com.bodymedia.codelessAB185.kext (1) Support
    I do not know what all these are for, but if it is for connected hardware devices, you need to see if there are any new updates from each device maker's websites.
    You appear to have two USB LAN remote control extensions that could be causing issues as one is for OS X 10.3 Panther and it is very old. The other one looks old, too!
    If you do not use any of this hardware any longer on your Mac, you can find these to delete and Trash in the System>Library>Extensions folder.
    User iTunes Plug-ins:
              iLike: Version: 1.0 Support
              PPC Bundle: Version: (null) Support
              iLike Bundle: Version: (null) Support
              Tiger Bundle: Version: (null) Support
    These look like older PowerPC Pllugins. for iTunes which will no longer work.
    These are in your User>Library folder which is hidden from the user, now (kinda ironic, that).
    In the Finder, click the Go menu and hold the Option key.  The Library folder will appear under the Go menu until you release the Option key.
    Open this folder and look for the iTunes>Plugins folder and drag these to the Trash and empty.
    Make sure to update all of your installed  third party software if there are OS X Mavericks updates that can be applied.
    You may need to, ACTUALLY, go the third party developers' websites if there are no updates through the Mac App Store.
    Update all of your Web browser Internet plugins, extensions and add-ons also.
    Also, if you have any connected  third party devices, like non-Apple keyboards, mice, drawing tablets, hubs, card  readers, etc, you need to update the drivers for these devices to OS X Mavericks compatible versions by going to the device makers' websites and search for newer software and driver updates.
    After you have completed all these activities (minus the installation of new RAM) restart your Mac.
    Good Luck!

  • Disabling Bonjour causes MAJOR issues with Itunes

    In case anyone doesn't know, Itunes now ships with a service called Bonjour, which shares your files without asking you, online and via bluetooth.
    Disabling this service makes Itunes completely unusable, therefore we are being FORCED to share our personal files without consent... how can this be legal?
    Anyone know where/how/which version of itunes was the last without Bonjour?
    Thanks,
    Andrew

    Wow I really didn't expect this post to be heard let alone be responded to in such detail!  Thanks so much for listening to my frustrations.. 
    Most of all I feel iTunes Match falls just short of what in needs to be because its missing a few minor features. With a minor update to how it works these issues could be completely resolved.  
    The cloud, in my opion, could act as more of a background operation.   If it was just a way to access music not already synced manually, it would allow for users to still control what music gets synced and the rest goes to the cloud.. in the background.  Instead of removing the features that allow users to check with playlist, songs, albums and artists they want to sync, instead keep this option.  The cloud would hold the complete library.
    This minor difference would make it something that would not remove any existing functionality while still enjoying all the benefits of the cloud. 
    Until I get to have control of the sync manually and use the cloud I will have to cancel my itunes match because its causing more problems than it solves.   
    FYI  all of my apple cloud services are currently off because of similar issues.  There needs to be a ballance between simplicity and user control.
    Steve's war with Google doesn't allow me to merge my contacts with theirs becasue you are specifically limiting it to happen. Google has to exploit loopholes to make everything sync by going around Apple's roadblocks.   Its a real bummer.

  • Coreaudiod stack shots freeze audio causing major issues for music performances

    Dear all,
    I've been experiencing a very annoying issue : is several applications (Itunes, Mozilla, Safari, Ableton, etc. - everything that does audio) is get occasional, irregular freezes. The audio would freeze for about 20 sec, videos that are playing would freeze too. After this 20 sec freeze thing continue normally. If for example a track plays in iTunes and freeze at the 1'00" mark, it will continue playing from there after the approx. 20 sec freeze is over.
    Other apps opened in the background (text editor for example) remain functioning.
    The issue is hard to repeat and irregular. I work professionally with audio so this is a nightmare - it ruins recording sessions and I need to be able to count on faultless, stable playback for live  performance.
    OS is 10.8.5 - I cannot upgrade to 10.10 at this moment since my firewire audio interfaces (Mackie Onyx + Motu Ultralite) will most likely not be compatible with the newest mac OS (as stated on the audio interface manufacturer's website).
    Macbook pro model is late 2011, 2,4gHz processor, 8gb Ram
    This issue happens both when using the internal soundcard and when using external audio interfaces.
    Every time this freeze happens,  a list like this appears in console :
    " coreaudiod : Disabled automatic stack shots because audio IO is active"
    " coreaudiod : Disabled automatic stack shots because audio IO is inactive"
    " coreaudiod : Disabled automatic stack shots because audio IO is active"
    " coreaudiod : Disabled automatic stack shots because audio IO is inactive"
    " coreaudiod : Disabled automatic stack shots because audio IO is active"
    " coreaudiod : Disabled automatic stack shots because audio IO is inactive"
    (sometimes the list of enabled-disabled is longer)
    troubleshooting i've tried so far :
    1) I have recently done a clean install of the OS, manually copying the necessary files and installing the applications. I was obliged to do this since my hard disk failed 2 weeks ago and my mac had become very unstable. I've been working on 10.8.5 for a long time and haven't encountered this issue until after the clean install.
    2) updating all necessary firmware
    3) updating adobe flash
    4) creating a com.apple.audio.ServerSettings.plist file  with xcode and placing it in the library/audio folder with this content :
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
      <key>AllowStackShotsDuringIO</key>
      <true/>
    </dict>
    </plist>
    a tip i found here : http://apple.stackexchange.com/questions/91297/coreaudiod-spams-system-log-enabl ed-automatic-stack-shots-because-audio-i… After doing this i didn't have the problem for 1 whole day, afterwards the same issue popped up again.
    5) manually quitting the coreaudiod process in activity monitor and restarting - this also seemed to help for a while but didn't last
    Any hints and help are extremely welcome - I need this issue to be solved asap since i need to be able to depend on a stable audio environment for professional reasons.
    Thanks a lot in advance,
    K

    Oh and I also tried :
    * P-Ram reset
    * repairing permissions, verifying disk and hardware diagnostics - no apparent issues there
    thanks
    k

  • Automatic Red Eye on Import causing major issues

    Hi everyone,
    I am a new user to PSE 7 and the other night I was bringing all my photos into the organizer.  I chose to use the automatic remove red eye on import and to suggest stacks.....everything seemed to go fine, but i noticed after the import that many photos had blue/black blotches on the faces of people near their eyes.  is this some red eye failure of some sort?
    the majority of the ones that this happened to were low quality/low rez pics so I initially chalked it up to that, but i did notice that it did this to some of my high quality high res pics as well.
    so my questions are (1) can this be fixed without redoing the catalog? (2) has anyone else had this happen/ is there something wrong with my install?
    Thanks in advance

    Everyone has this happen, unless they know to turn it off beforehand. (The auto red eye feature has a bad habit of acting like this.) You'll need to disable this in both the photo downloader and the Organizer preferences. Then select the photos with the problem and go to Edit>Version Set>Revert to Original. Luckily, PSE made a version set with your original, so all you need to do is to delete the new versions.
    Since you stacked your photos, you may need to expand the stacks or unstack them to see them all.

  • How difficult is it to load software on to a Mac running Lion that was written for Windows Xp,Vista. Can it be done without causing major issues.

    I am interested in getting a medical simulation program but it is available for Windows only. Is it possible to run it on a Mac system?

    You'll need to buy:
    - a Windows emulator for Mac
    - a version of Windows to run in the emulator
    I dimly remember putting that stuff on my wife's computer several years ago & it's been fine.
    Google: windows emulator macintosh
    Macs used to come with their own Windows emulator, but you had to log off one OS & log on to the other one.  Flipping back & forth was not good.  A better approach allows you to flip between OSs like flipping between applications.
    I seriously down if you can still buy Windows XP.  Stay away from Vista.  Windows 8 gets good press.

  • New email and password causing major issues

    I recently changed my email and password and it is verified on Apple however my iPad and iPhone won't recognize them. My old email keeps popping up and neither my old password nor new one will work! I can't since my devices and can't add any apps etc Help,

    Sign out of old Apple ID and sign in with new Apple ID
    Settings>iTunes and App Store>Apple ID

  • HELP Calibrating causing major issues

    After I calibrated my workouts my average pace has gone WAY up and before I calibrated everything was well and everything seemed pretty well accurate. I don't know how to change it back to the original and I don't even know how calibrating works and why it's screwing everything up!! SOMEBODY PLEASE HELP ME
    Intel Inside Pentium 4   Windows XP  

    Is a treadmill really accurate for calibration? We do have these expensive ($8k) treatmills in the studio. Can I really trust the reading there? My nike+ipod is off by more than 100m against the treatmill on a 1000m run. The treatmill shows 1100m and Paula Redcliff says: You've completed 1 kilometer Thanks for any advice!

  • Ea6300 causing network issues when connecting to web browser on my Mac

    I have had my ea6300 for two months and its causing major issues when connecting to my web broweser before I throw it out the window can someone give me some help.

    Hi bigtimer30, what do you mean by “it’s causing major issues when connecting to my web browser”? Do you mean that the MAC computer is no longer able to access the internet? If yes, is it with both wired and wireless connections? Is this happening to all of your devices? Or just that specific MAC computer? If all the other devices are still able to connect except the MAC, I suggest that you do a power cycle on the computer (if you haven’t done it yet). And you’re having difficulties with the wireless part, try to hard wire the computer straight to your router, and check if you experience the same thing. If the wired connection is okay, you may try playing with the router’s wireless channel. Better if you could give more details for us to give you more suggestions. 

  • More Major Issues with ZFS + Dedup

    I'm having more problems - this time, very, very serious ones, with ZFS and deduplication. Deduplication is basically making my iSCSI targets completely inaccessible to the clients trying to access them over COMSTAR. I have two commands right now that are completely hung:
    1) zfs destroy pool/volume
    2) zfs set dedup=off pool
    The first command I started four hours ago, and it has barely removed 10G of the 50G that were allocated to that volume. It also seems to periodically cause the ZFS system to stop responding to any other I/O requests, which in turn causes major issues on my iSCSI clients. I cannot kill or pause the destroy command, and I've tried renicing it, to no avail. If anyone has any hints or suggestions on what I can do to overcome this issue, I'd very much appreciate that. I'm open to suggestions that will kill the destroy command, or will at least reprioritize it such that other I/O requests have precedence over this destroy command.
    Thanks,
    Nick

    To add some more detail, I've been review iostat and zpool iostat for a couple of hours, and am seeing some very, very strange behavior. There seem to be three distinct patterns going on here.
    The first is extremely heavy writes. Using zpool iostat, I see write bandwidth in the 15MB/s range sustained for a few minutes. I'm guessing this is when ZFS is allowing normal access to volumes and when it is actually removing some of the data for the volume I tried to destroy. This only lasts for two to three minutes at a time before progressing to the next pattern.
    The second pattern is categorized by heavy, heavy read access - several thousand read operations per second, and several MB/s bandwidth. This also lasts for five or ten minutes before proceeding to the third pattern. During this time there is very little, if any write activity.
    The third and final pattern is categorized by absolutely no write activity (0s in both the write ops/sec and the write bandwidth columns, and very, very small read activity. By small ready activity, I mean 100-200 read ops per second, and 100-200K read bandwidth per second. This lasts for 30 to 40 minutes, and then the patter proceeds back to the first one.
    I have no idea what to make of this, and I'm out of my league in terms of ZFS tools to figure out what's going on. This is extremely frustrating because all of my iSCSI clients are essentially dead right now - this destroy command has completely taken over my ZFS storage, and it seems like all I can do is sit and wait for it to finish, which, as this rate, will be another 12 hours.
    Also, during this time, if I look at the plain iostat command, I see that the read ops for the physical disk and the actv are within normal ranges, as are asvc_t and %w. %b, however is pegged at 99-100%.
    Edited by: Nick on Jan 4, 2011 10:57 AM

  • Copy and paste without keeping variable names

    Is it possible to copy and paste frames without keeping the
    same variable names for pieces inside of those frames. something
    like replication without duplication

    isn't there a way to copy and paste text so that it takes the attributes of the recipient appThis is down to the "recipient app" to implement. For example, TextEdit has "Paste and Match Style" which does what you want. Microsoft Word has "Paste Special …" with various options. I don't know Filemaker, so don't know what is on the "Edit" menu.

Maybe you are looking for

  • How to convert Sony camcorder 1080i AIC .mov files to work with Photos app?

    I have a Sony SDR-HD10 camcorder from 2008. It records in 1080i format, and I exported to .mov using the Apple Intermediate Codec, Linear PCM, Timecode format, 1920x1080; Color Profile HD (1-1-1); 2 channel audio. I have 121 files totaling 105GB. The

  • Time Machine full restore to new hard drive

    I'm going to change the internal hard drive of my laptop and before I do that I want to do a full restore of my last backup to the new drive via USB. I restart the computer with the Leopard installation DVD and use the Restore using time machine opti

  • How to update Asset transactions

    Hi FI Experts, I've been updating a asset by providing values for ANLC table during asset creation. The asset summary is getting updated properly for the fiscal year. I can see them under Planned Value tab.. But Transactions is not updated. Could any

  • Update from 6.0.2 to 7.0.1, no URL page loads.'New Tab' only. Revert back and all is OK

    I updated from Firefox 6.0.2 to 7.0.1. When I started Firefox the home page did not load nor did it show in the URL area. I manually entered a URL and not thing happened. The tab only shows 'New Tab' When I revert back to 6.0.2 everything is OK. I am

  • Touch gestures feature stopped working/disappeared two days ago

    I use Photoshop CC on a Surface Pro, and actively use touch gestures experimental feature as part of my workflow. Two days ago, the feature all of the sudden stopped working. I went into Settings, and it's no longer even listed under experimental set