Is there a way to improve the performance of cmdlet New-AdvancedSetting?

I used PowerCLI 5.5 on a server to update ESXi 5.0 3.  It seems to work ok, but the New-AdvancedSetting cmdlet is very slow.

I implement VMX settings in the guide for each of my virtual machines VMware hardening.  Things like:

insulation. Tools.Copy.Disable = TRUE

isolation.diskShrink.diable = TRUE

log.keepold = 10

log.rotatesize = 10000

etc there are about 50 parameters

I can read all the key/valules from a file and put successfully using the New-AdvancedSetting command (thanks, Luc relaxing!):

{foreach ($option in $OptionList)

New-AdvancedSetting - $vmObject entity - name $option.key-$option.value value - confirm: $false - ea 0 - force | Out-Null

}

Updated the VM settings, but it is very slow.  It takes 5 minutes to adjust these settings.

Is it possible to speed up this process?  Is this a side effect of my mixed environments?

Thanks for any help,

Maureen

The only way I can see to speed the process is to use the underlying ReconfigVM method directly.

The advantage is that you avoid any fresh cmdlet generals, but also and especially that you can specify all the advanced options at one time through the ExtraConfig property in VirtualMachineConfigSpec object.

An option of the cmdlet should have

Try something like this

$opts = @)

Options.csv Import-Csv - UseCulture | %{

$opt = new-Object VMware.Vim.OptionValue

$opt.key = $_. Key

$opt.value = $_. Value

$opts += $opt

}

$spec = new-Object VMware.Vim.VirtualMachineConfigSpec

$spec. ExtraConfig = $opts

Notice-EEG - ViewType VirtualMachine. %{

$_. ReconfigVM ($spec)

}

This assumes you have a CSV file that contains all the options, and that looks like this

"Key", "value".

"isolation.tools.copy.disable", "true".

"isolation.diskShrink.disable", "true".

Tags: VMware

Similar Questions

  • I have the computer laptop dv7 - 7227cl of HP Envy, is there a way to improve the performance of game?

    I have windows 8.1, 8 GB ram, amd quad core 4600 a10 m. Is it possible to increase its performance?

    Hello

    You seem to have pretty good specifications in the laptop.

    Even so, I prefer Intel than AMD processors.
    Try playing in low & medium resolution.

    You can go through this document, it can help you in improving the performance: http://support.hp.com/us-en/document/c03340676

    Thank you

  • What is the best way to improve the performance of this all-in-one PC?

    What is the best way to improve the performance of this all-in-one PC?

    Thanks in advance.

    David Barrett.

    Here are a few methods:

    • Run msconfig.exe, and then uncheck the startup tasks that you don't need. No matter what you disable, Windows always starts.
    • Use a light virus scanner, for example Microsoft Security Essentials.
    • Replace your magnetic drive with a Solid State Disk (SSD)
  • Is there a way to make the safari opens a new page every time?

    Hello

    I'm kinda new here and I would like to ask a question. I now use an iPhone as a primary device, instead of Android. But is there a way to make the safari to remove all tabs when you close, and when you open it, it just opened a new page or a blank page? My phone is just laying around sometimes and I let my friends to use. But when I close safari after I order something or when I'm checking my bank account, they can all see when they open up safari...

    All I can think is to close all tabs before close Safari, or use it in private Mode:

    Enable or disable the navigation on your iPhone, iPad or iPod touch - Apple Support

  • Is there a way to improve the quality of the image on the phone available

    I'm working on the layout of the phone for a customer of the restaurant and they want their menus included. Unfortunately when zoomed in they're pixelated and difficult to read. The original images are 612 x 1008 and Muse is resampling to 342 x 563. He is tenacious these to be readable. Thanks in advance for any help you can give, Marcy

    For anyone having problems with this I want to post my solution. The problem was that I had the menus in an Accordion widget and it's what limits the image quality. When I gave each menu is page clean and defined the container over the entire width and image to fit to fill the image quality was back to what I was expecting. I had first to understand why the logo (which has been implemented in full-width) was not blurred but the menus were terrible, so I knew my answer.

  • Is there a way to improve the mixture in this image created in Illustrator?

    This image was created in Illustrator (CS4). The bands are a few paths of different colors.

    Is it possible to combine paths in Photoshop to create a smoother appearance?

    firstbluesphere.jpg

    Unfortunately, this facility is not ideal for the task at hand.

  • Is there a way to move the existing files to new music notes memo?

    I love the new music notes app Apple has just come out.

    I have a ton of chords and riffs recorded in the memos. Is it possible to move these in the musical notes?

    Thank you for your courage!

    He does not appear. I just have a look at the app and so far I don't see how you can import new samples for her. Records appear in iCloud drive in a folder of music notes. The invitation to be audio not compressed with a frequency of 41 000 kHz sampling and the bit depth of 32 bits stored as .caf float

    Conversion of a voice memo to the same format and fall into the same folder does not work, then we can assume that I missed some details so that it can be considered a valid music note.

    The good news is that if I spend a musical note existing relevant iCloud out of the folder, wait what it is to be removed from my device, and then add it back again, it works. It is then may be possible after all, with a little effort.

    Visit https://developer.apple.com/library/mac/qa/qa1534/_index.html to find advice on how to go about the conversion.

    I've been using this command:

    afconvert - v f "caff" d F32@44100 Test.m4a Test.caf

    TT2

  • How to improve the performance of XControl?

    Hi all

    LabVIEW 2009 + DSC

    Following project example, there are 1 XControl and tester.vi. My goal was to display object flexible to build (1 XControl) because my user interface varies a lot depending on the current configuration of the client. The amount of these XControls are in general 100-200 pieces per display. The problem is that this structure of code generates much CPU load (even it's very simple). This can be seen easily when tester.vi is set to run. In general is it a way to improve the perfomance XControl?

    Some ways to improve performance:

    1. Never use a value property when you can use a local variable.  The difference in speed is two or three orders of magnitude.  You have several instances of this.
    2. Consider changing your data structure so that the number of the object and the position of the object are parallel arrays.  This allows to easily search item number using the primitive Research 1 table D , then check out the item appropriate to the position of the object by using the Table of Index.
    3. You should really not have anything in the XControl enabling to stop or delay the execution, because this will block your user interface thread.  Your VI popup for this.  If you need to pop up a dialog, run it with the method run a VI wait until is set to FALSE and Auto have Ref set to TRUE. To communicate the result to the XControl, drop a control hidden on the Panel before the XControl, pass a reference to this control in your dialog box, then use the value (signalling) method to contact the XControl to the dialog box.  Use a change in the value of the hidden control event to manage the receipt of data on the XControl.
  • How can I improve the performance of my compaq presario V2000, its very slow

    How can I improve the performance of my compaq presario V2000, its very slow!

    According to many things (specifications, you have now installed vs the programs he came originally with programs, etc.)-it may or may not work better that ever he does now.  However, in terms of nothing other than the software and others on the subject - there are some things you can do to optimize performance.

    Search for malware:

    Download, install, execute, update and perform analyses complete system with the two following applications:

    Remove anything they find.  Reboot when necessary.  (You can uninstall one or both when finished.)

    Search online with eSet Online Scanner.

    The less you have to run all the time, most things you want to run will perform:

    Use Autoruns to understand this all starts when your computer's / when you log in.  Look for whatever it is you do not know using Google (or ask here.)  You can hopefully figure out if there are things from when your computer does (or connect) you don't not need and then configure them (through their own built-in mechanisms is the preferred method) so they do not - start using your resources without reason.

    You can download and use Process Explorer to see exactly what is taking your time processor/CPU and memory.  This can help you to identify applications that you might want to consider alternatives for and get rid of all together.

    Do some cleaning and dusting off this hard drive:

    You can free up disk space (will also help get rid of the things that you do not use) through the following steps:

    Windows XP should take between 4.5 and 9 GB * with * an Office suite, editing Photo software, alternative Internet browser (s), various Internet plugins and a host of other things installed.

    If you are comfortable with the stability of your system, you can delete the uninstall of patches which has installed Windows XP...
    http://www3.TELUS.NET/dandemar/spack.htm
    (Especially of interest here - #4)
    (Variant: http://www.dougknox.com/xp/utils/xp_hotfix_backup.htm )

    You can run disk - integrated into Windows XP - cleanup to erase everything except your last restore point and yet more 'free '... files cleaning

    How to use disk cleanup
    http://support.Microsoft.com/kb/310312

    You can disable hibernation if it is enabled and you do not...

    When you Hibernate your computer, Windows saves the contents of the system memory in the hiberfil.sys file. As a result, the size of the hiberfil.sys file will always be equal to the amount of physical memory in your system. If you don't use the Hibernate feature and want to reclaim the space used by Windows for the hiberfil.sys file, perform the following steps:

    -Start the Control Panel Power Options applet (go to start, settings, Control Panel, and then click Power Options).
    -Select the Hibernate tab, uncheck "Activate the hibernation", and then click OK. Although you might think otherwise, selecting never under "Hibernate" option on the power management tab does not delete the hiberfil.sys file.
    -Windows remove the "Hibernate" option on the power management tab and delete the hiberfil.sys file.

    You can control the amount of space your system restore can use...

    1. Click Start, right click my computer and then click Properties.
    2. click on the System Restore tab.
    3. highlight one of your readers (or C: If you only) and click on the button "settings".
    4 change the percentage of disk space you want to allow... I suggest moving the slider until you have about 1 GB (1024 MB or close to that...)
    5. click on OK. Then click OK again.

    You can control the amount of space used may or may not temporary Internet files...

    Empty the temporary Internet files and reduce the size, that it stores a size between 64 MB and 128 MB...

    -Open a copy of Microsoft Internet Explorer.
    -Select TOOLS - Internet Options.
    -On the general tab in the section 'Temporary Internet files', follow these steps:
    -Click on 'Delete the Cookies' (click OK)
    -Click on "Settings" and change the "amount of disk space to use: ' something between 64 MB and 128 MB. (There may be many more now.)
    -Click OK.
    -Click on 'Delete files', then select "Delete all offline content" (the box), and then click OK. (If you had a LOT, it can take 2 to 10 minutes or more).
    -Once it's done, click OK, close Internet Explorer, open Internet Explorer.

    You can use an application that scans your system for the log files and temporary files and use it to get rid of those who:

    CCleaner (free!)
    http://www.CCleaner.com/
    (just disk cleanup - do not play with the part of the registry for the moment)

    Other ways to free up space...

    SequoiaView
    http://www.win.Tue.nl/SequoiaView/

    JDiskReport
    http://www.jgoodies.com/freeware/JDiskReport/index.html

    Those who can help you discover visually where all space is used.  Then, you can determine what to do.

    After that - you want to check any physical errors and fix everything for efficient access"

    CHKDSK
    How to scan your disks for errors* will take time and a reboot.

    Defragment
    How to defragment your hard drives* will take time

    Cleaning the components of update on your WIndows XP computer

    While probably not 100% necessary-, it is probably a good idea at this time to ensure that you continue to get the updates you need.  This will help you ensure that your system update is ready to do it for you.

    Download and run the MSRT tool manually:
    http://www.Microsoft.com/security/malwareremove/default.mspx
    (Ignore the details and download the tool to download and save to your desktop, run it.)

    Reset.

    Download/install the latest program Windows installation (for your operating system):
    (Windows XP 32-bit: WindowsXP-KB942288-v3 - x 86 .exe )
    (Download and save it to your desktop, run it.)

    Reset.

    and...

    Download the latest version of Windows Update (x 86) agent here:
    http://go.Microsoft.com/fwlink/?LinkId=91237
    ... and save it to the root of your C:\ drive. After you register on the root of the C:\ drive, follow these steps:

    Close all Internet Explorer Windows and other applications.

    AutoScan--> RUN and type:
    %SystemDrive%\windowsupdateagent30-x86.exe /WUFORCE
    --> Click OK.

    (If asked, select 'Run'). --> Click on NEXT--> select 'I agree' and click NEXT--> where he completed the installation, click "Finish"...

    Reset.

    Now reset your Windows with this FixIt components update (you * NOT * use the aggressive version):
    How to reset the Windows Update components?

    Reset.

    Now that your system is generally free of malicious software (assuming you have an AntiVirus application), you've cleaned the "additional applications" that could be running and picking up your precious memory and the processor, you have authorized out of valuable and makes disk space as there are no problems with the drive itself and your Windows Update components are updates and should work fine - it is only only one other thing you pouvez wish to make:

    Get and install the hardware device last drivers for your system hardware/system manufacturers support and/or download web site.

    If you want, come back and let us know a bit more information on your system - particularly the brand / model of the system, you have - and maybe someone here can guide you to the place s x of law to this end.  This isn't 100% necessary - but I'd be willing to bet that you would gain some performance and features in making this part.

  • Improve the performance of processing image javaFx

    Hello

    I'm working on Image processing with javaFx. I think my code isn't effective favorite (with pictures HD, refresh is very slow). Because I am doing a 'for' on each pixel of my image every time I have to refresh it. But I don't know how else to do.

    So I need help to improve the performance of my treatment.

    This is my code:

    import javafx.application.Application;
    import jvafx.beans.InvalidationListener;
    import javafx.beans.Observable;
    import javafx.beans.property.DoubleProperty;
    import javafx.scene.Scene;
    import javafx.scene.control.ScrollPane;
    import javafx.scene.control.Slider;
    import javafx.scene.image.Image;
    import javafx.scene.image.ImageView;
    import javafx.scene.image.PixelReader;
    import javafx.scene.image.PixelWriter;
    import javafx.scene.image.WritableImage;
    import javafx.scene.layout.AnchorPane;
    import javafx.scene.paint.Color;
    import javafx.stage.Stage;
        
    public class Example extends Application {
    
        private Image src;
        private WritableImage dest;
        private int width;
        private int height;
         int value = 0;
    
        @Override
        public void start(Stage stage) {
            AnchorPane root = new AnchorPane();
            initImage(root);
            Scene scene = new Scene(root);
            stage.setTitle("Demo processing");
            stage.setResizable(false);
            stage.setScene(scene);
            stage.show();
        }
    
        private void initImage(AnchorPane root) {
            src = new Image(
                    "http://mikecann.co.uk/wp-content/uploads/2009/12/ScreenHunter_02-Dec.-10-19.41-1024x484.jpg");
            width = (int) src.getWidth();
            height = (int) src.getHeight();
            root.setPrefSize(800, 800 + 50);
            ScrollPane scrollPane = new ScrollPane();
            scrollPane.setPrefHeight(600);
            scrollPane.setPrefWidth(1000);
            dest = new WritableImage(width, height);
            ImageView destView = new ImageView(dest);
    
            scrollPane.setContent(destView);
    
            root.getChildren().add(scrollPane);
            AnchorPane.setTopAnchor(scrollPane, 0.0);
    
            Slider slider = new Slider(0, 255, 1);
            slider.setPrefSize(800, 50);
            slider.setShowTickLabels(true);
            slider.setShowTickMarks(true);
            slider.setSnapToTicks(true);
            slider.setMajorTickUnit(1.0);
            slider.setMinorTickCount(0);
            slider.setLayoutY(700);
            slider.valueProperty().addListener(new InvalidationListener() {
                @Override
                public void invalidated(Observable o) {
                    value = (int) ((DoubleProperty) o).get();
                    color();
                }
            });
            root.getChildren().add(slider);
            color();
        }
    
        private void color() {
            PixelReader reader = src.getPixelReader();
            PixelWriter writer = dest.getPixelWriter();
            for (int x = 0; x < width; x++) {
                for (int y = 0; y < height; y++) {
                    Color color = reader.getColor(x, y);
                    double red = (double) value * x * y / (width * height) / 255;
                    double green = color.getGreen();
                    double blue = (double) value * ((width * height) - x * y)
                            / (width * height) / 255;
                        writer.setColor(x, y, Color.color(red, green, blue));
                    }
                }
            }
    
            public static void main(String[] args) {
                launch(args);
            }
        }
    

    And that's with full HD picture:

                src = new Image(
                    "http://www.freedomwallpaper.com//nature-wallpaper-hd/hd_sunshine_hd.jpg");
    

    As you change each pixel independently, there really is no other way than to use a loop through the pixels. Working directly with the pixel data, rather than use setColor and getColor (...) (...) seems to give some performance enhancements. And there are some general performance enhancements, you can use (reorder the loops, calculate the value used repeatedly, etc.). The performance of this version seems acceptable on my system:

    import javafx.application.Application;
    import javafx.beans.InvalidationListener;
    import javafx.beans.Observable;
    import javafx.beans.property.DoubleProperty;
    import javafx.scene.Scene;
    import javafx.scene.control.ScrollPane;
    import javafx.scene.control.Slider;
    import javafx.scene.image.Image;
    import javafx.scene.image.ImageView;
    import javafx.scene.image.PixelFormat;
    import javafx.scene.image.PixelWriter;
    import javafx.scene.image.WritableImage;
    import javafx.scene.layout.AnchorPane;
    import javafx.stage.Stage; 
    
    public class ImageProcessingExample extends Application { 
    
        @Override
        public void start(Stage stage) {
            AnchorPane root = new AnchorPane();
            initImage(root);
            Scene scene = new Scene(root);
            stage.setTitle("Demo processing");
            stage.setResizable(false);
            stage.setScene(scene);
            stage.show();
        }
        private void initImage(AnchorPane root) {
    //        Image src = new Image(
    //                "http://mikecann.co.uk/wp-content/uploads/2009/12/ScreenHunter_02-Dec.-10-19.41-1024x484.jpg");
            Image src = new Image(
                    "http://www.freedomwallpaper.com//nature-wallpaper-hd/hd_sunshine_hd.jpg");
            int width = (int) src.getWidth();
            int height = (int) src.getHeight(); 
    
            int[] srcPixels = new int[width*height];
    
            src.getPixelReader().getPixels(0, 0, width, height, PixelFormat.getIntArgbPreInstance(), srcPixels, 0, width);
    
            root.setPrefSize(800, 800 + 50);
            ScrollPane scrollPane = new ScrollPane();
            scrollPane.setPrefHeight(600);
            scrollPane.setPrefWidth(1000);
            WritableImage dest = new WritableImage(width, height);
            PixelWriter pixWriter = dest.getPixelWriter();
    
            ImageView destView = new ImageView(dest);
            scrollPane.setContent(destView);
            root.getChildren().add(scrollPane);
            AnchorPane.setTopAnchor(scrollPane, 0.0);
            Slider slider = new Slider(0, 255, 1);
            slider.setPrefSize(800, 50);
            slider.setShowTickLabels(true);
            slider.setShowTickMarks(true);
            slider.setSnapToTicks(true);
            slider.setMajorTickUnit(1.0);
            slider.setMinorTickCount(0);
            slider.setLayoutY(700);
            slider.valueProperty().addListener(new InvalidationListener() {
                @Override
                public void invalidated(Observable o) {
                    int value = (int) ((DoubleProperty) o).get();
                    color(srcPixels, pixWriter, value, width ,height);
                }
            });
            root.getChildren().add(slider);
            color(srcPixels, pixWriter, 0, width, height);
        }
        private void color(int[] srcPixels, PixelWriter pixWriter, int value, int width, int height) {
            final int area = width * height ;
            final int[] writerPixels = new int[area];
    
            final int a = 0xff00_0000;
            final int greenMask = 0xff00;
    
            for (int y = 0; y < height; y++) {
                final int depthOffset = y * width ;
                for (int x = 0; x < width; x++) {
                    final int xy = x * y;
    final int index = x + depthOffset ;
                    final int red = value * xy  / area ;
                    final int green = srcPixels[index] & greenMask ;
                    final int blue = value * (area - xy)  / area ;
                    writerPixels[index] = a | red << 16 | green | blue ;
                }
            }
            pixWriter.setPixels(0, 0, width, height, PixelFormat.getIntArgbInstance(), writerPixels, 0, width);
        }
            public static void main(String[] args) {
                launch(args);
            }
        } 
    
  • Help improve the performance of a procedure.

    Hello everyone,

    First of all to introduce myself. My name is Ivan and I recently started to learn the SQL and PL/SQL. Then don't go hard on me. :)

    Now let's move on to the problem. What we have here is a table (a large, but we will need only a few fields) with some information about the calls. 'S called it table1. There is also another, absolutely the same structure, which is empty and we must transfer the recordings of the first.
    The calls short (less than 30 minutes) have segmentID = "C1".
    Longer calls (over 30 minutes) are saved as multiple records (1 for every 30 minutes). The first record (the first 30 minutes of the call) a segmentID = "C21". It's the first time we have only one of them for each different call. Then we have the next parts (the middle one) of the appeal, having segmentID = "C22". We have more than 1 middle part and once again the maximum minutes in every 30 minutes. Then we have the last part (new max 30 minutes) with segmentID = "C23. As with the first, we can have that last part.
    So far so good. Now we need to insert these call records in the second table. The C1 are easy - a record = one call. But those partial we must combine so that they become a single whole call. This means that we must be one of the first pieces (C21), find if there is a middle part (C22) with the same caller/called numbers and with the difference in 30 minutes time, then additional research if there is an another C22 and so on. And finally, we search for the last part of the call (C23). As part of this research we sum the length of each part, so we can have the duration of the call at the end. Then, we are ready to be inserted into the new table as a single record, just with the new duration.
    But here's the problem with my code... The table a LOT of files and this solution, despite the fact that it works (at least in tests I've done so far), it is REALLY slow.
    As I said I am new to PL/SQL and I know that this solution is really newbish, but I can't find another way to do this.

    So I decided to come here and ask for some advice on how to improve the performance of this.

    I think you're getting confused already, so I'll just put some comments in the code.

    I know this isn't a procedure as at present, but it will be once I have create better code. I don't think it's important for now.
    DECLARE
    
    CURSOR cur_c21 IS
        select * from table1
        where segmentID = 'C21'
        order by start_date_of_call;     // in start_date_of_call is located the beginning of a specific part of the call. It's date format.
        
    CURSOR cur_c22 IS
        select * from table1
        where segmentID = 'C22'
        order by start_date_of_call;
        
    CURSOR cur_c22_2 IS
        select * from table1
        where segmentID = 'C22'
        order by start_date_of_call;   
        
    cursor cur_c23 is
        select * from table1
        where segmentID = 'C23'
        order by start_date_of_call;
    
    v_temp_rec_c22 cur_c22%ROWTYPE;
    v_dur table1.duration%TYPE;           // using this for storage of the duration of the call. It's number.
    
    BEGIN
    
    insert into table2
    select * from table1 where segmentID = 'C1';     // inserting the calls which are less than 30 minutes long
    
    -- and here starts the mess
    
    FOR rec_c21 IN cur_c21 LOOP        // taking the first part of the call
       v_dur := rec_c21.duration;      // recording it's duration
    
       FOR rec_c22 IN cur_c22 LOOP     // starting to check if there is a middle part for the call 
          IF rec_c22.callingnumber = rec_c21.callingnumber AND rec_c22.callednumber = rec_c21.callednumber AND  
            (rec_c22.start_date_of_call - rec_c21.start_date_of_call) = (1/48)                 
    /* if the numbers are the same and the date difference is 30 minutes then we have a middle part and we start searching for the next middle. */
          THEN
             v_dur := v_dur + rec_c22.duration;     // updating the new duration
             v_temp_rec_c22:=rec_c22;               // recording the current record in another variable because I use it for the next check
    
             FOR rec_c22_2 in cur_c22_2 LOOP
                IF rec_c22_2.callingnumber = v_temp_rec_c22.callingnumber AND rec_c22_2.callednumber = v_temp_rec_c22.callednumber AND  
                  (rec_c22_2.start_date_of_call - v_temp_rec_c22.start_date_of_call) = (1/48)         
    /* logic is the same as before but comparing with the last value in v_temp... 
    And because the data in the cursors is ordered by date in ascending order it's easy to search for another middle parts. */
                THEN
                   v_dur:=v_dur + rec_c22_2.duration;
                   v_temp_rec_c22:=rec_c22_2;
                END IF;
             END LOOP;                      
          END IF;
          EXIT WHEN rec_c22.callingnumber = rec_c21.callingnumber AND rec_c22.callednumber = rec_c21.callednumber AND  
                   (rec_c22.start_date_of_call - rec_c21.start_date_of_call) = (1/48);        
    /* exiting the loop if we have at least one middle part.
    (I couldn't find if there is a way to write this more clean, like exit when (the above if is true) */
       END LOOP;
                  
       FOR rec_c23 IN cur_c23 LOOP              
          IF (rec_c23.callingnumber = rec_c21.callingnumber AND rec_c23.callednumber = rec_c21.callednumber AND 
             (rec_c23.start_date_of_call - rec_c21.start_date_of_call) = (1/48)) OR v_dur != rec_c21.duration           
    /* we should always have one last part, so we need this check.
    If we don't have the "v_dur != rec_c21.duration" part it will execute the code inside only if we don't have middle parts
    (yes we can have these situations in calls longer than 30 and less than 60 minutes). */
          THEN
             v_dur:=v_dur + rec_c23.duration;
             rec_c21.duration:=v_dur;               // updating the duration
             rec_c21.segmentID :='C1';
             INSERT INTO table2 VALUES rec_c21;     // inserting the whole call in table2
          END IF;
          EXIT WHEN (rec_c23.callingnumber = rec_c21.callingnumber AND rec_c23.callednumber = rec_c21.callednumber AND 
                    (rec_c23.start_date_of_call - rec_c21.start_date_of_call) = (1/48)) OR v_dur != rec_c21.duration;                  
                    // exit the loop when the last part has been found. 
       END LOOP;
    END LOOP;
    
    END;
    I'm using version 1.5.5 Developer SQL and Oracle 11 g.

    This is my first post here so I hope it's the right subforum.
    I tried to explain it as deep as possible (sorry if it's too long) and I kinda think that code got a bit hard to read with all these comments. If you want I can delete them.
    I know that I'm missing a lot of knowledge for all the help is really appreciated.

    I thank very you much in advance!

    Hi and welcome to the forums.

    Thanks for posting your code (and using code tags... it's a miracle of a novice!).

    What would be nice would be if you could provide some example data and expected results; as described in the FAQ: {message identifier: = 9360002}

    Your code is very likely to be slow because of the number of nested loops cursor that you use. Which is known in the trade as treatment of rank by rank (more affectionately known as slow-by-slow transformation, as he was known to be slow). It is slow because the PL engine must keep going back and forth between himself and the SQL engine and the INSERT you in a loop called SQL much time to insert data.

    Usually this kind of thing can be achieved by using something like a single INSERT... ... SELECT statement where the SELECT all the treatment that you put in the language PL, or sometimes a SQL MERGE statement if a conditional is sort of insert/update.

    If you post your data so people can get an idea of what is the logic (and have something to test with and know what results should be) then we can help.

  • trying to improve the performance of my loading of the page upward

    In my apex page.i have created tabs...
    I don't know why, it's slow to load pages...

    Also I stored all my images in apex/images folder

    Are there ways to improve the loading time of apex...

    The sql and the plsql are all well.
    can someone give me more ideas on how to improve performance for loading times
    It seems content Central css has a loading time takes about 30 seconds...
    Also these tabs...


    I tested it in another machine, it works fine... Some machines it wont...
    Please tell me how we can on how to improve performance in these scenarios...

    Published by: zycoz100 on November 1, 2012 05:32

    30 seconds? I don't think that CSS itself is the problem.
    If it depends on the machine, can be simple network problems?

    However, try to run the page in debug mode to see what happens and which takes too much time.
    I also advice allows you to use a such as PageSpeed and YSlow Firefox plugin.

  • How to improve the performance of the Intel X 3100 on Satellite L300

    Hello everyone.

    First of all, I don't know if this is an appropriate place to post this thread here or no, but I would like to share with you the experience relating to the improvement of Intel X 3100 (GMA965).

    As we know, there is no driver is good for this chipset from Intel for the moment, especially on VIsta.
    This improvement is made by editing the registry of Intel driver.

    * Steps: *.
    * 1 * open run (Windows + R)
    * 2 * enter Regedit
    * 3 * open the subfolder: * HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contr ol\Video\ *.
    * 4 * from there you'll see lots of subfolders in video, open each one until you see the folder * 0000 * with + _3DMark03.exe +.
    (For example, my is {HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contr ol\Video\ {B5990899-FBCB-45E1-B0B0 *} and reg DWord _3Dmark03.exe lies in two subfolders * 0000 * and * 0001 *})
    * 5 * in * 0000 * and * 0001 *, create two new * DWORD format: * _software.exe* and * ~ software.exe*, value = 1 (hexadecimal). Here, * software * represents the name of the program you want to accelerate as * _photoshop.exe* and * ~photoshop.exe*
    * 6 * in these files, search for * GFX_Options * and change its value to * 1 *.
    * 7 * restart your computer to activate GFX
    * 8 * repeat step 4 to add more programs you want

    Other updates for the drivers are under developed. However, this method will help you to speed up your computer performance with + heavy + graphical software required. I got double FPS on some software on my Toshiba L300 using this method such as Corel, WarcraftIII and Titan Quest (24-32 fps measurement by Fraps)

    Hope it's useful for everyone.
    Best wishes

    Hi Luong Phan

    Thanks a lot for the details and this great instruction.

    I also found this thread. It s your ;)

    + Improve the performance of Satellite L300 graphics software and games-Vista +.
    http://forums.computers.Toshiba-Europe.com/forums//message.jspa?MessageID=119890#119890

    It s the same statement. I am happy. Thank you

  • Anyone have information about the software to improve the performance of a computer called "MECHANICAL SYSTEM"

    original title: windows xp

    has anyone information about the software to improve the performance of a computer called "MECHANICAL SYSTEM"?

    It is located on the website at WWW.IOLO.COM.

    Maybe someone of expertise of knowledge about this software?   or maybe someone has experience with this product?

    There is a similar product, without the costs?

    DO NOT BUY OR INSTALL "SYSTEM MECHANIC".

    IT will bog your system with errors, which would mean probably a complete restoration of your system.

    Dell recommends and sells it from their technical support group and SHAME on THEM for DOING SO.

    THIS SOFTWARE IS A TRAGEDY IN THE MAKING.

    Go to PC Mag reviews and you will see for yourself that there is a very LOW RATING and under normal conditions, you need software to mess with your registry.

    I know someone who has installed this program and we always try to fix all of the errors generated by mechanical system.

    We did a complete restoration and stil having problem.

    Thus he PURCHASE a CERTAINLY DO NOT GOLD INSTALLER CE PROGRAM.

  • is there a way to repair the regestry in vista?

    Is there a way to repair the regestry in vista?

    Hello

    Borrow a DVD of Vista from Microsoft if you do not have one to a friend or acquaintance (not the drive manufacturer recovery) to work and do a repair upgrade Installation:

    "How to perform a repair for Vista Installation"

    http://www.Vistax64.com/tutorials/88236-repair-install-Vista.html

    See you soon.

Maybe you are looking for