More than 8 LAGs

Hi,
I'm curios: what would be the way to go if you needed more than eight LAGs? As I understand, eight is the maximum for both the SG300 and SG500 series.
Thanks!

Is there any other way to achieve link redundancy for more than eight devices (e.g. connecting 9 servers with two cables each)?
Uh-oh.  Houston?  I think we got a problem.  
I think I misunderstood your intention.  I initially thought you want nine and more physical links to form an etherchannel.   Each LAG/Ethernchannel has a maximum of eight physical links.  You're not talking about the physical links.  You're talking about the maximum amount of LAGs/Etherchannels.
Yes, this is very much possible.  The only limitation on how many LAGs/Etherchannels you can have will depend entirely upon the model of your switch.
My sincerest apologies for the confusion.  I have erred.

Similar Messages

  • Macbook Pro mid 2012 starting to lag when running more than one program.

    Firstly mah specs :
    Retina, Mid 2012
    2.3 GHz Intel Core i7
    8gb 1600 MHz DDR3
    NVIDIA GeForce GT 650M / Intel HD 4000
    OS X 10.8.4 (12E55)
    So, i bought this macbook about a year and a month ago and since i bought it everything has run fine, it has always been fast and smooth, until around 2 months ago when it started getting a little laggy in handling more than one program being open. Before this i was able to run Photoshop, Cinema 4D, Second Life and Chrome all at once and recieved no speed decrease what so ever. So i figured that it must just have been a little clogged up maybe, honestly wasnt sure but tried clearing cache, tried freeing up memory with some of the mac memory management tools from the App Store and non of these worked so in the end i backed up what was important and wiped the HD and re installed the OS. Annoyingly i am still having problems, if i have Photoshop open and i am surfing chrome it lags on scrolling web pages or loading links. If i have Second Life open i seem to lag with more than 3 players around me quite badly, even if i put Second Life onto its lowest Graphic Settings i still lag where as before i had this issue i could run it on its highest Graphic Settings and recieve little to no lag what so ever. This happens for most programs that used to run smoothly, if i now open Cinema 4D and try anything else.....the system slows down.
    I COULD take this to the apple store and genuis bar and ask them to have a look at it HOWEVER i am back at Uni in 2 weeks and i need the macbook for my studies as i am currently working on a summer project and need it for research, can any of you Mac Wonders out there suggest anything else for me to try. I have checked the HD and it says its not failing and is verified and found no issues with the partition.

    First, back up all data immediately, as your boot drive might be failing.
    There are a few other possible causes of generalized slow performance that you can rule out easily.
    Reset the System Management Controller.
    If you have many image or video files on the Desktop with preview icons, move them to another folder.
    If applicable, uncheck all boxes in the iCloud preference pane.
    Disconnect all non-essential wired peripherals and remove aftermarket expansion cards, if any.
    Check your keychains in Keychain Access for excessively duplicated items.
    Boot into Recovery mode, launch Disk Utility, and run Repair Disk.
    If you're booting from an aftermarket SSD, see whether there's a firmware update for it.
    Otherwise, take the steps below when you notice the problem.
    Step 1
    Launch the Activity Monitor 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. Click Utilities, then Activity Monitor in the icon grid.
    Select the CPU tab of the Activity Monitor window.
    Select All Processes from the menu in the toolbar, if not already selected.
    Click the heading of the % CPU column in the process table to sort the entries by CPU usage. You may have to click it twice to get the highest value at the top. What is it, and what is the process? Also post the values for % User, % System, and % Idle at the bottom of the window.
    Select the System Memory tab. What values are shown in the bottom part of the window for Page outs and Swap used?
    Next, select the Disk Activity tab. Post the approximate values shown for Reads in/sec and Writes out/sec (not Reads in and Writes out.)
    Step 2
    If you have more than one user account, you must be logged in as an administrator to carry out this step.
    Launch the Console application in the same way you launched Activity Monitor. Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Select the 50 or so most recent entries in the log. Copy them to the Clipboard (command-C). Paste into a reply to this message (command-V). You're looking for entries at the end of the log, not at the beginning.
    When posting a log extract, be selective. Don't post more than is requested.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some personal information, such as your name, may appear in the log. Anonymize before posting. That should be easy to do if your extract is not too long.

  • Firefox lags when it is running more than 16 hours

    I usually do not turn off my pc for weeks. In browser I am running about 20-30 tabs at the same time and I do not want to close it till I decide it is not needed anymore. But in firefox I forced to restart it every 10-12 hours as soon as it starts lagging. No other programs on my pc las. The load of my processor is about 30-40 percent and I have more than 30% of my ram free, so it is not the ardware issues. For example, chrome, at the same time has no lags at all with this kinn of usage. I really like firefox more than chrome and would like to use it, so I would be very grateful for your help!
    P.S: There are only 2 addons for ff installed. They are: ABP and FireBug.

    Firebug is notorious for causing problems like you described.
    Disable it when you don't need it or install it in a 2nd Profile. Then you can launch the 2nd Profile separately to use Firebug and not affect what you are doing in the 1st Profile,

  • XBox Live lagging when connecting more than one la...

    I have the BT Home Hub 2.0 B and when I am on XBox Live with one laptop connected to the hub I have no problems but as soon as more than one laptop is connected I have terrible lagging - please can anyone give me any suggestions. I have the UPnp set to ON and the XBox IP Address is set to always use this IP address on the hub.

    Hi Stevemc5267,
    It sounds to me like you are putting too much demand on your connection. With three devices attached they are all fighting for bandwidth therefore the speed left over for your Xbox live falls causing lag.
    I would guess you are on the up to 8Mbps package. However if this is not the case post your hub stats from http://bthomehub.home and run a test via www.speedtester.bt.com and let us see the results.
    Thx
    Craig
    BTCare Community Mod
    If we have asked you to email us with your details, please make sure you are logged in to the forum, otherwise you will not be able to see our ‘Contact Us’ link within our profiles.
    We are sorry but we are unable to deal with service/account queries via the private message(PM) function so please don't PM your account info, we need to deal with this via our email account :-)”
    td-p/30">Ratings star on the left-hand side of the post.
    If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’.

  • When recording a Video demo slide in Captivate 8, pressing the [END] key takes more than a minute to stop the recording. Why is there such a lag?

    When recording a Video demo slide in Captivate 8, pressing the [END] key takes more than a minute to stop the recording. Why is there such a lag? Additionally, the software I record experiences terrible lag times. For instance, It may take 15 seconds to display a 2-digit number I typed into a blank field. the same software has no lag issues when I'm not recording it.

    Yes and no. The CPTX file is on my PC. Our software that I'm making the demo of is on the network. but I'm not the "IT Guy" so I can't provide specifics; however, I work at a computer software company and we probably have more servers than employees. The network hardware is kept current. I've been making similar tutorials for 10 years and haven't run into this issue until switching to the subscription Captivate.

  • Using i3 - keys start to lag (have to hold key for more than 1 second)

    I'm using i3 and am having trouble with the keys suddenly and I have to restart the session to get it back to normal.  No clue what it could be.  I can use gnome, cinnamon, wmii, and awesome without issue, but i3 is what causes me problems.
    When I type, I have to hold each key for more than 1 second before it registers.  So in order to type "boat" I have to press and hold b for a second, then o for a second or so, same with a and t.  Any idea what I should check first?
    Thanks.
    EDIT:
    It just seems to happen randomly.  When I'm typing, on the web, playing a game, etc.  It's not like it's happening whenever I do a specific task or am running a specific application.
    Last edited by sdouble (2013-04-07 19:30:25)

    UnsolvedCypher wrote:What's your desktop environment?
    Boots into GDM, select my session (i3), and log in that way.  only WM I'm having trouble with this way is i3.
    kaszak696 wrote:Can you see how xev (xorg-xev package) reacts to keypresses? Also, posting relevant configs and logs would be helpful.
    I think i had a similar issue years ago, but i can't remember the details, sorry.
    I haven't checked. I'll check next time it happens.  It happens about once per day.  I'll report back next time.
    Here is my i3 config file.  It's pretty raw, I've really only added a couple things to it (gimp & multimedia keys from keyboard, though I just noticed today that my vol up and down wheel isn't working anymore)
    # This file has been auto-generated by i3-config-wizard(1).
    # It will not be overwritten, so edit it as you like.
    # Should you change your keyboard layout somewhen, delete
    # this file and re-run i3-config-wizard(1).
    # i3 config file (v4)
    # Please see http://i3wm.org/docs/userguide.html for a complete reference!
    set $mod Mod4
    # Font for window titles. Will also be used by the bar unless a different font
    # is used in the bar {} block below. ISO 10646 = Unicode
    font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
    # The font above is very space-efficient, that is, it looks good, sharp and
    # clear in small sizes. However, if you need a lot of unicode glyphs or
    # right-to-left text rendering, you should instead use pango for rendering and
    # chose a FreeType font, such as:
    # font pango:DejaVu Sans Mono 10
    # Use Mouse+$mod to drag floating windows to their wanted position
    floating_modifier $mod
    # start a terminal
    bindsym $mod+Return exec i3-sensible-terminal
    bindsym Control+$mod exec i3-sensible-termi
    # kill focused window
    bindsym $mod+Shift+c kill
    # start dmenu (a program launcher)
    bindsym $mod+p exec dmenu_run
    # There also is the (new) i3-dmenu-desktop which only displays applications
    # shipping a .desktop file. It is a wrapper around dmenu, so you need that
    # installed.
    # bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
    # app launcher
    bindsym $mod+Control+g exec gimp
    # multimedia keys
    bindsym XF86AudioMute exec amixer set Master toggle
    bindsym XF86AudioRaiseVolume exec amixer set Master 2%+
    bindsym XF86AudioLowerVolume exec amixer set Master 2%-
    # change focus
    bindsym $mod+j focus left
    bindsym $mod+k focus down
    bindsym $mod+l focus up
    bindsym $mod+semicolon focus right
    # resizing alternative
    bindsym $mod+Control+Left resize shrink width 5 px or 5 ppt
    bindsym $mod+Control+Down resize grow height 5 px or 5 ppt
    bindsym $mod+Control+Up resize shrink height 5 px or 5 ppt
    bindsym $mod+Control+Right resize grow width 5 px or 5 ppt
    # alternatively, you can use the cursor keys:
    bindsym $mod+Left focus left
    bindsym $mod+Down focus down
    bindsym $mod+Up focus up
    bindsym $mod+Right focus right
    # move focused window
    bindsym $mod+Shift+j move left
    bindsym $mod+Shift+k move down
    bindsym $mod+Shift+l move up
    bindsym $mod+Shift+semicolon move right
    # alternatively, you can use the cursor keys:
    bindsym $mod+Shift+Left move left
    bindsym $mod+Shift+Down move down
    bindsym $mod+Shift+Up move up
    bindsym $mod+Shift+Right move right
    # split in horizontal orientation
    bindsym $mod+h split h
    # split in vertical orientation
    bindsym $mod+v split v
    # enter fullscreen mode for the focused container
    bindsym $mod+f fullscreen
    # change container layout (stacked, tabbed, toggle split)
    bindsym $mod+s layout stacking
    bindsym $mod+w layout tabbed
    bindsym $mod+e layout toggle split
    # toggle tiling / floating
    bindsym $mod+Shift+space floating toggle
    # change focus between tiling / floating windows
    bindsym $mod+space focus mode_toggle
    # focus the parent container
    bindsym $mod+a focus parent
    # focus the child container
    #bindsym $mod+d focus child
    # switch to workspace
    bindsym $mod+1 workspace 1
    bindsym $mod+2 workspace 2
    bindsym $mod+3 workspace 3
    bindsym $mod+4 workspace 4
    bindsym $mod+5 workspace 5
    bindsym $mod+6 workspace 6
    bindsym $mod+7 workspace 7
    bindsym $mod+8 workspace 8
    bindsym $mod+9 workspace 9
    bindsym $mod+0 workspace 10
    # move focused container to workspace
    bindsym $mod+Shift+1 move container to workspace 1
    bindsym $mod+Shift+2 move container to workspace 2
    bindsym $mod+Shift+3 move container to workspace 3
    bindsym $mod+Shift+4 move container to workspace 4
    bindsym $mod+Shift+5 move container to workspace 5
    bindsym $mod+Shift+6 move container to workspace 6
    bindsym $mod+Shift+7 move container to workspace 7
    bindsym $mod+Shift+8 move container to workspace 8
    bindsym $mod+Shift+9 move container to workspace 9
    bindsym $mod+Shift+0 move container to workspace 10
    # reload the configuration file
    bindsym $mod+Shift+q reload
    # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
    bindsym $mod+Shift+r restart
    # exit i3 (logs you out of your X session)
    bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"
    # resize window (you can also use the mouse for that)
    mode "resize" {
    # These bindings trigger as soon as you enter the resize mode
    # Pressing left will shrink the window’s width.
    # Pressing right will grow the window’s width.
    # Pressing up will shrink the window’s height.
    # Pressing down will grow the window’s height.
    bindsym j resize shrink width 10 px or 10 ppt
    bindsym k resize grow height 10 px or 10 ppt
    bindsym l resize shrink height 10 px or 10 ppt
    bindsym semicolon resize grow width 10 px or 10 ppt
    # same bindings, but for the arrow keys
    bindsym Left resize shrink width 5 px or 5 ppt
    bindsym Down resize grow height 5 px or 5 ppt
    bindsym Up resize shrink height 5 px or 5 ppt
    bindsym Right resize grow width 5 px or 5 ppt
    # back to normal: Enter or Escape
    bindsym Return mode "default"
    bindsym Escape mode "default"
    bindsym $mod+r mode "resize"
    # Start i3bar to display a workspace bar (plus the system information i3status
    # finds out, if available)
    bar {
    status_command i3status

  • Replicate from linux to windows(more than 1 db on both server).

    Hello,
    I am having 2 machines :-
    1) Linux - Oracle 11g - GoldenGate 11g - with 2 DB's on it - We are going to use only one i.e. DB name - "SOURCE".
    2) Windows xp - Oracle 11g - GoldenGate 11g - with 2 DB's on it - We are going to use only one i.e. DB name - "REPLICA"
    My major concern is that if both the machines are having more than one DB, then how will it understand that from which db's schema he has to extract & replicate the data ? Also the OS for both the machine is different, will it be any issue ?
    I want to extract data from EMP table of SCOTT user from SOURCE db & replicate it to EMP table of SCOTT user of REPLICA db.
    Below is the extract load1 file from SOURCE :-
    EXTRACT load1
    USERID ggs_owner,PASSWORD ggs_owner
    RMTHOST IFLMUd5HP04W9,MGRPORT 7809
    RMTTASK replicat,GROUP load2
    TABLE scott.emp;Below is the load2 file from the REPLICA db :-
    REPLICAT load2
    USERID ggs_owner,PASSWORD ggs_owner
    ASSUMETARGETDEFS
    MAP scott.emp,TARGET scott.emp;When i started the extract process by the following command :-
    GGSCI (iflmud5im0087) 3> start extract load1
    Sending START request to MANAGER ...
    EXTRACT LOAD1 starting
    GGSCI (iflmud5im0087) 4> info extract load1
    EXTRACT    LOAD1     Initialized   2011-09-02 19:45   Status STOPPED
    Checkpoint Lag       Not Available
    Log Read Checkpoint  Not Available
                         First Record         Record 0
    Task                 SOURCEISTABLEThe view report of the load1 is as follows :-
    2011-09-06 17:00:52  INFO    OGG-01017  Wildcard resolution set to IMMEDIATE because SOURCEISTABLE is used.
                     Oracle GoldenGate Capture for Oracle
            Version 11.1.1.1 OGGCORE_11.1.1_PLATFORMS_110421.2040
       Linux, x64, 64bit (optimized), Oracle 11g on Apr 30 2011 18:52:51
    Copyright (C) 1995, 2011, Oracle and/or its affiliates. All rights reserved.
                        Starting at 2011-09-06 17:00:52
    Operating System Version:
    Linux
    Version #1 SMP Mon Mar 29 22:10:29 EDT 2010, Release 2.6.18-194.el5
    Node: iflmud5im0087.i-flex.com
    Machine: x86_64
                             soft limit   hard limit
    Address Space Size   :    unlimited    unlimited
    Heap Size            :    unlimited    unlimited
    File Size            :    unlimited    unlimited
    CPU Time             :    unlimited    unlimited
    Process id: 7576
    Description:
    **            Running with the following parameters                  **
    EXTRACT load1
    USERID ggs_owner,PASSWORD *********
    RMTHOST IFLMUd5HP04W9,MGRPORT 7809
    RMTTASK replicat,GROUP load2
    TABLE scott.emp;
    Using the following key columns for source table SCOTT.EMP: EMPNO.
    CACHEMGR virtual memory values (may have been adjusted)
    CACHEBUFFERSIZE:                         64K
    CACHESIZE:                                8G
    CACHEBUFFERSIZE (soft max):               4M
    CACHEPAGEOUTSIZE (normal):                4M
    PROCESS VM AVAIL FROM OS (min):          16G
    CACHESIZEMAX (strict force to disk):  13.99G
    Database Version:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE    11.2.0.1.0      Production
    TNS for Linux: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    Database Language and Character Set:
    NLS_LANG environment variable specified has invalid format, default value will be used.
    NLS_LANG environment variable not set, using default value AMERICAN_AMERICA.US7ASCII.
    NLS_LANGUAGE     = "AMERICAN"
    NLS_TERRITORY    = "AMERICA"
    NLS_CHARACTERSET = "WE8MSWIN1252"
    Warning: your NLS_LANG setting does not match database server language setting.
    Please refer to user manual for more information.
    2011-09-06 17:00:52  WARNING OGG-01223  TCP/IP error 111 (Connection refused).
    2011-09-06 17:01:02  WARNING OGG-01223  TCP/IP error 111 (Connection refused).
    2011-09-06 17:01:12  WARNING OGG-01223  TCP/IP error 111 (Connection refused).
    2011-09-06 17:01:22  WARNING OGG-01223  TCP/IP error 111 (Connection refused).
    2011-09-06 17:01:32  WARNING OGG-01223  TCP/IP error 111 (Connection refused).
    2011-09-06 17:01:42  WARNING OGG-01223  TCP/IP error 111 (Connection refused).Please suggest how can i transfer the data from one db to other using golden gate. I am referring Gavin Soorma blog's for implementing golden gate.
    Thanks in advance .

    Thanks for your reply. I have one more query : - I am trying to use the data pump feature of goldengate 11 but facing the below error while staring the replicat process ...
    GGSCI (IFLMUd5HP04W9) 15> start replicat rep1
    Sending START request to MANAGER ...
    REPLICAT REP1 starting
    GGSCI (IFLMUd5HP04W9) 17> info replicat rep1
    REPLICAT   REP1      Last Started 2011-09-07 14:26   Status ABENDED
    Checkpoint Lag       01:51:56 (updated 00:00:12 ago)
    Log Read Checkpoint  File D:\Viru\Software\GoldenGate\Windows\dirdat\rt000000
                         2011-09-07 12:35:00.343037  RBA 1035
    GGSCI (IFLMUd5HP04W9) 18> view report rep1
                     Oracle GoldenGate Delivery for Oracle
            Version 11.1.1.1 OGGCORE_11.1.1_PLATFORMS_110421.2040
            Windows (optimized), Oracle 11g on Apr 22 2011 03:42:37
    Copyright (C) 1995, 2011, Oracle and/or its affiliates. All rights reserved.
                        Starting at 2011-09-07 14:26:55
    Operating System Version:
    Microsoft Windows XP Professional, on x86
    Version 5.1 (Build 2600: Service Pack 3)
    Process id: 3784
    Description:
    **            Running with the following parameters                  **
    REPLICAT rep1
    ASSUMETARGETDEFS
    SETENV (ORACLE_HOME ="D:\Oracle_11g_R2\app\VirajMo\product\11.2.0\dbhome_1")
    Set environment variable (ORACLE_HOME=D:\Oracle_11g_R2\app\product\11.2.
    0\dbhome_1)
    SETENV (ORACLE_SID = "REPLICA")
    Set environment variable (ORACLE_SID=REPLICA)
    USERID ggs_owner, PASSWORD *********
    MAP scott.emp, TARGET scott.emp;
    CACHEMGR virtual memory values (may have been adjusted)
    CACHEBUFFERSIZE:                         64K
    CACHESIZE:                              512M
    CACHEBUFFERSIZE (soft max):               4M
    CACHEPAGEOUTSIZE (normal):                4M
    PROCESS VM AVAIL FROM OS (min):           1G
    CACHESIZEMAX (strict force to disk):    881M
    Database Version:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE    11.2.0.1.0      Production
    TNS for 32-bit Windows: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    Database Language and Character Set:
    NLS_LANG environment variable specified has invalid format, default value will b
    e used.
    NLS_LANG environment variable not set, using default value AMERICAN_AMERICA.US7A
    SCII.
    NLS_LANGUAGE     = "AMERICAN"
    NLS_TERRITORY    = "AMERICA"
    NLS_CHARACTERSET = "WE8MSWIN1252"
    Warning: your NLS_LANG setting does not match database server language setting.
    Please refer to user manual for more information.
    **                     Run Time Messages                             **
    Opened trail file D:\Viru\Software\GoldenGate\Windows\dirdat\rt000000 at 2011-09
    -07 14:26:56
    MAP resolved (entry SCOTT.EMP):
      MAP SCOTT.EMP, TARGET scott.emp;
    Using following columns in default map by name:
      EMPNO, ENAME, JOB, MGR, HIREDATE, SAL, COMM, DEPTNO
    Using the following key columns for target table SCOTT.EMP: EMPNO.
    2011-09-07 14:26:56  WARNING OGG-01004  Aborted grouped transaction on 'SCOTT.EM
    P', Database error 1403 ().
    2011-09-07 14:26:56  WARNING OGG-01003  Repositioning to rba 1035 in seqno 0.
    2011-09-07 14:26:56  WARNING OGG-01154  SQL error 1403 mapping SCOTT.EMP to SCOT
    T.EMP.
    2011-09-07 14:26:56  WARNING OGG-01003  Repositioning to rba 1035 in seqno 0.
    Source Context :
      SourceModule            : [er.main]
      SourceID                : [er/rep.c]
      SourceFunction          : [take_rep_err_action]
      SourceLine              : [16064]
    2011-09-07 14:26:56  ERROR   OGG-01296  Error mapping from SCOTT.EMP to SCOTT.EM
    P.
    *                   ** Run Time Statistics **                         *
    Last record for the last committed transaction is the following:
    Trail name :  D:\Viru\Software\GoldenGate\Windows\dirdat\rt000000
    Hdr-Ind    :     E  (x45)     Partition  :     .  (x04)
    UndoFlag   :     .  (x00)     BeforeAfter:     A  (x41)
    RecLength  :   124 (x007c)    IO Time    : 2011-09-07 12:35:00.343037
    IOType     :    15  (x0f)     OrigNode   :   255  (xff)
    TransInd   :     .  (x03)     FormatType :     R  (x52)
    SyskeyLen  :     0  (x00)     Incomplete :     .  (x00)
    AuditRBA   :          6       AuditPos   : 9487376
    Continued  :     N  (x00)     RecCount   :     1  (x01)
    2011-09-07 12:35:00.343037 FieldComp          Len   124 RBA 1035
    Name: SCOTT.EMP
    Reading D:\Viru\Software\GoldenGate\Windows\dirdat\rt000000, current RBA 1035, 0
    records
    Report at 2011-09-07 14:26:56 (activity since 2011-09-07 14:26:56)
    From Table SCOTT.EMP to SCOTT.EMP:
           #                   inserts:         0
           #                   updates:         0
           #                   deletes:         0
           #                  discards:         1
    Last log location read:
         FILE:      D:\Viru\Software\GoldenGate\Windows\dirdat\rt000000
         SEQNO:     0
         RBA:       1035
         TIMESTAMP: 2011-09-07 12:35:00.343037
         EOF:       NO
         READERR:   0
    2011-09-07 14:26:56  ERROR   OGG-01668  PROCESS ABENDING.
    CACHE OBJECT MANAGER statistics
    CACHE MANAGER VM USAGE
    vm current     =      0    vm anon queues =      0
    vm anon in use =      0    vm file        =      0
    vm used max    =      0    ==> CACHE BALANCED
    CACHE CONFIGURATION
    cache size       = 512M   cache force paging = 881M
    buffer min       =  64K   buffer highwater   =   4M
    pageout eligible size =   4M
    ================================================================================
    RUNTIME STATS FOR SUPERPOOL
    CACHE Transaction Stats
    trans active   =      0    max concurrent =      0
    non-zero total =      0    trans total    =      0
    CACHE File Caching
    disk current   =      0    disk total  =      0
    disk caching   =      0    file cached =      0
    file retrieves =      0
    CACHE MANAGEMENT
    buffer links  =      0   anon gets   =      0
    forced unmaps =      0   cnnbl try   =      0
    cached out    =      0   force out   =      0
    Allocation Request Distribution
    < 128B:       0
    128B:        0         0     | 512B:        0         0
       2K:        0         0     |   8K:        0         0
      32K:        0         0     | 128K:        0         0
    512K:        0         0     |   2M:        0         0
       8M:        0         0     |  32M:        0         0
    128M:        0         0     | 512M:        0         0
       2G:        0         0     |   8G:        0
    Cached Transaction Size Distribution
        0:        0
    < 4K:        0
       4K:        0         0     |  16K:        0         0
      64K:        0         0     | 256K:        0         0
       1M:        0         0     |   4M:        0         0
      16M:        0         0     |  64M:        0         0
    256M:        0         0     |   1G:        0         0
       4G:        0         0     |  16G:        0         0
      64G:        0         0     | 256G:        0         0
       1T:        0         0     |   4T:        0         0
      16T:        0         0     |  64T:        0         0
    256T:        0         0     |1024T:        0         0
    ================================================================================
    CUMULATIVE STATS FOR SUPERPOOL
    CACHE Transaction Stats
    trans active   =      0    max concurrent =      0
    non-zero total =      0    trans total    =      0
    CACHE File Caching
    disk current   =      0    disk total  =      0
    disk caching   =      0    file cached =      0
    file retrieves =      0
    CACHE MANAGEMENT
    buffer links  =      0   anon gets   =      0
    forced unmaps =      0   cnnbl try   =      0
    cached out    =      0   force out   =      0
    Allocation Request Distribution
    < 128B:       0
    128B:        0         0     | 512B:        0         0
       2K:        0         0     |   8K:        0         0
      32K:        0         0     | 128K:        0         0
    512K:        0         0     |   2M:        0         0
       8M:        0         0     |  32M:        0         0
    128M:        0         0     | 512M:        0         0
       2G:        0         0     |   8G:        0
    Cached Transaction Size Distribution
        0:        0
    < 4K:        0
       4K:        0         0     |  16K:        0         0
      64K:        0         0     | 256K:        0         0
       1M:        0         0     |   4M:        0         0
      16M:        0         0     |  64M:        0         0
    256M:        0         0     |   1G:        0         0
       4G:        0         0     |  16G:        0         0
      64G:        0         0     | 256G:        0         0
       1T:        0         0     |   4T:        0         0
      16T:        0         0     |  64T:        0         0
    256T:        0         0     |1024T:        0         0
    QUEUE Statistics:
    num queues    =     15     default index =      0
    cur len       =      0     max len       =      0
    q vm current  =      0     vm max        =      0
    q hits        =      0     q misses      =      0
    queue size  q hits  curlen  maxlen     cannibalized
      0   64K      0       0       0       0
      1  128K      0       0       0       0
      2  256K      0       0       0       0
      3  512K      0       0       0       0
      4    1M      0       0       0       0
      5    2M      0       0       0       0
      6    4M      0       0       0       0
      7    8M      0       0       0       0
      8   16M      0       0       0       0
      9   32M      0       0       0       0
    10   64M      0       0       0       0
    11  128M      0       0       0       0
    12  256M      0       0       0       0
    13  512M      0       0       0       0
    14    1G      0       0       0       0
    ================================================================================
    RUNTIME STATS FOR CACHE POOL #0
    POOL INFO   group: REP1  id: p3784_BLOB
    trans active  =       0   trans concurrent (max) =     0
    trans total   =       0   (0 )
    flag          = 0x00000030
    last error    = (0=<none>)
    Allocation Request Distribution
    < 128B:       0
    128B:        0         0     | 512B:        0         0
       2K:        0         0     |   8K:        0         0
      32K:        0         0     | 128K:        0         0
    512K:        0         0     |   2M:        0         0
       8M:        0         0     |  32M:        0         0
    128M:        0         0     | 512M:        0         0
       2G:        0         0     |   8G:        0
    ================================================================================
    CUMULATIVE STATS FOR CACHE POOL #0
    POOL INFO   group: REP1  id: p3784_BLOB
    trans active  =       0   trans concurrent (max) =     0
    trans total   =       0   (0 )
    flag          = 0x00000030
    last error    = (0=<none>)
    Allocation Request Distribution
    < 128B:       0
    128B:        0         0     | 512B:        0         0
       2K:        0         0     |   8K:        0         0
      32K:        0         0     | 128K:        0         0
    512K:        0         0     |   2M:        0         0
       8M:        0         0     |  32M:        0         0
    128M:        0         0     | 512M:        0         0
       2G:        0         0     |   8G:        0
    QUEUE Statistics:
    num queues    =     15     default index =      0
    cur len       =      0     max len       =      0
    q vm current  =      0     vm max        =      0
    q hits        =      0     q misses      =      0
    queue size  q hits  curlen  maxlen     cannibalized
      0   64K      0       0       0       0
      1  128K      0       0       0       0
      2  256K      0       0       0       0
      3  512K      0       0       0       0
      4    1M      0       0       0       0
      5    2M      0       0       0       0
      6    4M      0       0       0       0
      7    8M      0       0       0       0
      8   16M      0       0       0       0
      9   32M      0       0       0       0
    10   64M      0       0       0       0
    11  128M      0       0       0       0
    12  256M      0       0       0       0
    13  512M      0       0       0       0
    14    1G      0       0       0       0
    ================================================================================
    RUNTIME STATS FOR CACHE POOL #0
    POOL INFO   group: REP1  id: p3784_BLOB
    trans active  =       0   trans concurrent (max) =     0
    trans total   =       0   (0 )
    flag          = 0x00000030
    last error    = (0=<none>)
    Allocation Request Distribution
    < 128B:       0
    128B:        0         0     | 512B:        0         0
       2K:        0         0     |   8K:        0         0
      32K:        0         0     | 128K:        0         0
    512K:        0         0     |   2M:        0         0
       8M:        0         0     |  32M:        0         0
    128M:        0         0     | 512M:        0         0
       2G:        0         0     |   8G:        0
    ================================================================================
    CUMULATIVE STATS FOR CACHE POOL #0
    POOL INFO   group: REP1  id: p3784_BLOB
    trans active  =       0   trans concurrent (max) =     0
    trans total   =       0   (0 )
    flag          = 0x00000030
    last error    = (0=<none>)
    Allocation Request Distribution
    < 128B:       0
    128B:        0         0     | 512B:        0         0
       2K:        0         0     |   8K:        0         0
      32K:        0         0     | 128K:        0         0
    512K:        0         0     |   2M:        0         0
       8M:        0         0     |  32M:        0         0
    128M:        0         0     | 512M:        0         0
       2G:        0         0     |   8G:        0

  • Query taking more than 1/2 hour for 80 million rows in fact table

    Hi All,
    I am stuck in this query as it it taking more than 35 mins to execute for 80 million rows. My SLA is less than 30 mins for 160 million rows i.e. double the number.
    Below is the query and the Execution Plan.
    SELECT txn_id AS txn_id,
    acntng_entry_src AS txn_src,
    f.hrarchy_dmn_id AS hrarchy_dmn_id,
    f.prduct_dmn_id AS prduct_dmn_id,
    f.pstng_crncy_id AS pstng_crncy_id,
    f.acntng_entry_typ AS acntng_entry_typ,
    MIN (d.date_value) AS min_val_dt,
    GREATEST (MAX (d.date_value),
    LEAST ('07-Feb-2009', d.fin_year_end_dt))
    AS max_val_dt
    FROM Position_Fact f, Date_Dimension d
    WHERE f.val_dt_dmn_id = d.date_dmn_id
    GROUP BY txn_id,
    acntng_entry_src,
    f.hrarchy_dmn_id,
    f.prduct_dmn_id,
    f.pstng_crncy_id,
    f.acntng_entry_typ,
    d.fin_year_end_dt
    Execution Plan is as:
    11 HASH JOIN Cost: 914,089 Bytes: 3,698,035,872 Cardinality: 77,042,414      
                                                                                    9 TABLE ACCESS FULL TABLE Date_Dimension Cost: 29 Bytes: 94,960 Cardinality: 4,748
                                                                                    10 TABLE ACCESS FULL TABLE Position_Fact Cost: 913,693 Bytes: 2,157,187,592 Cardinality: 77,042,414
    Kindly suggest, how to make it faster.
    Regards,
    Sid

    The above is just a part of the query that is taking the maximum time.
    Kindly find the entire query and the plan as follows:
    WITH MIN_MX_DT
    AS
    ( SELECT
    TXN_ID AS TXN_ID,
    ACNTNG_ENTRY_SRC AS TXN_SRC,
    F.HRARCHY_DMN_ID AS HRARCHY_DMN_ID,
    F.PRDUCT_DMN_ID AS PRDUCT_DMN_ID,
    F.PSTNG_CRNCY_ID AS PSTNG_CRNCY_ID,
    F.ACNTNG_ENTRY_TYP AS ACNTNG_ENTRY_TYP,
    MIN (D.DATE_VALUE) AS MIN_VAL_DT,
    GREATEST (MAX (D.DATE_VALUE), LEAST (:B1, D.FIN_YEAR_END_DT))
    AS MAX_VAL_DT
    FROM
    proj_PSTNG_FCT F, proj_DATE_DMN D
    WHERE
    F.VAL_DT_DMN_ID = D.DATE_DMN_ID
    GROUP BY
    TXN_ID,
    ACNTNG_ENTRY_SRC,
    F.HRARCHY_DMN_ID,
    F.PRDUCT_DMN_ID,
    F.PSTNG_CRNCY_ID,
    F.ACNTNG_ENTRY_TYP,
    D.FIN_YEAR_END_DT),
    SLCT_RCRDS
    AS (
    SELECT
    M.TXN_ID,
    M.TXN_SRC,
    M.HRARCHY_DMN_ID,
    M.PRDUCT_DMN_ID,
    M.PSTNG_CRNCY_ID,
    M.ACNTNG_ENTRY_TYP,
    D.DATE_VALUE AS VAL_DT,
    D.DATE_DMN_ID,
    D.FIN_WEEK_NUM AS FIN_WEEK_NUM,
    D.FIN_YEAR_STRT AS FIN_YEAR_STRT,
    D.FIN_YEAR_END AS FIN_YEAR_END
    FROM
    MIN_MX_DT M, proj_DATE_DMN D
    WHERE
    D.HOLIDAY_IND = 0
    AND D.DATE_VALUE >= MIN_VAL_DT
    AND D.DATE_VALUE <= MAX_VAL_DT),
    DLY_HDRS
    AS (
    SELECT
    S.TXN_ID AS TXN_ID,
    S.TXN_SRC AS TXN_SRC,
    S.DATE_DMN_ID AS VAL_DT_DMN_ID,
    S.HRARCHY_DMN_ID AS HRARCHY_DMN_ID,
    S.PRDUCT_DMN_ID AS PRDUCT_DMN_ID,
    S.PSTNG_CRNCY_ID AS PSTNG_CRNCY_ID,
    SUM
    DECODE
    PNL_TYP_NM,
    :B5, DECODE (NVL (F.PSTNG_TYP, :B2),
    :B2, NVL (F.PSTNG_AMNT, 0) * (-1),
    NVL (F.PSTNG_AMNT, 0)),
    0))
    AS MTM_AMT,
    NVL (
    LAG (
    SUM (
    DECODE (
    PNL_TYP_NM,
    :B5, DECODE (NVL (F.PSTNG_TYP, :B2),
    :B2, NVL (F.PSTNG_AMNT, 0) * (-1),
    NVL (F.PSTNG_AMNT, 0)),
    0)))
    OVER (
    PARTITION BY S.TXN_ID,
    S.TXN_SRC,
    S.HRARCHY_DMN_ID,
    S.PRDUCT_DMN_ID,
    S.PSTNG_CRNCY_ID
    ORDER BY S.VAL_DT),
    0)
    AS YSTDY_MTM,
    SUM (
    DECODE (
    PNL_TYP_NM,
    :B4, DECODE (NVL (F.PSTNG_TYP, :B2),
    :B2, NVL (F.PSTNG_AMNT, 0) * (-1),
    NVL (F.PSTNG_AMNT, 0)),
    0))
    AS CASH_AMT,
    SUM (
    DECODE (
    PNL_TYP_NM,
    :B3, DECODE (NVL (F.PSTNG_TYP, :B2),
    :B2, NVL (F.PSTNG_AMNT, 0) * (-1),
    NVL (F.PSTNG_AMNT, 0)),
    0))
    AS PAY_REC_AMT,
    S.VAL_DT,
    S.FIN_WEEK_NUM,
    S.FIN_YEAR_STRT,
    S.FIN_YEAR_END,
    NVL (TRUNC (F.REVSN_DT), S.VAL_DT) AS REVSN_DT,
    S.ACNTNG_ENTRY_TYP AS ACNTNG_ENTRY_TYP
    FROM
    SLCT_RCRDS S,
    proj_PSTNG_FCT F,
    proj_ACNT_DMN AD,
    proj_PNL_TYP_DMN PTD
    WHERE
    S.TXN_ID = F.TXN_ID(+)
    AND S.TXN_SRC = F.ACNTNG_ENTRY_SRC(+)
    AND S.HRARCHY_DMN_ID = F.HRARCHY_DMN_ID(+)
    AND S.PRDUCT_DMN_ID = F.PRDUCT_DMN_ID(+)
    AND S.PSTNG_CRNCY_ID = F.PSTNG_CRNCY_ID(+)
    AND S.DATE_DMN_ID = F.VAL_DT_DMN_ID(+)
    AND S.ACNTNG_ENTRY_TYP = F.ACNTNG_ENTRY_TYP(+)
    AND SUBSTR (AD.ACNT_NUM, 0, 1) IN (1, 2, 3)
    AND NVL (F.ACNT_DMN_ID, 1) = AD.ACNT_DMN_ID
    AND NVL (F.PNL_TYP_DMN_ID, 1) = PTD.PNL_TYP_DMN_ID
    GROUP BY
    S.TXN_ID,
    S.TXN_SRC,
    S.DATE_DMN_ID,
    S.HRARCHY_DMN_ID,
    S.PRDUCT_DMN_ID,
    S.PSTNG_CRNCY_ID,
    S.VAL_DT,
    S.FIN_WEEK_NUM,
    S.FIN_YEAR_STRT,
    S.FIN_YEAR_END,
    TRUNC (F.REVSN_DT),
    S.ACNTNG_ENTRY_TYP,
    F.TXN_ID)
    SELECT
    D.TXN_ID,
    D.VAL_DT_DMN_ID,
    D.REVSN_DT,
    D.TXN_SRC,
    D.HRARCHY_DMN_ID,
    D.PRDUCT_DMN_ID,
    D.PSTNG_CRNCY_ID,
    D.YSTDY_MTM,
    D.MTM_AMT,
    D.CASH_AMT,
    D.PAY_REC_AMT,
    MTM_AMT + CASH_AMT + PAY_REC_AMT AS DLY_PNL,
    SUM (
    MTM_AMT + CASH_AMT + PAY_REC_AMT)
    OVER (
    PARTITION BY D.TXN_ID,
    D.TXN_SRC,
    D.HRARCHY_DMN_ID,
    D.PRDUCT_DMN_ID,
    D.PSTNG_CRNCY_ID,
    D.FIN_WEEK_NUM || D.FIN_YEAR_STRT || D.FIN_YEAR_END
    ORDER BY D.VAL_DT)
    AS WTD_PNL,
    SUM (
    MTM_AMT + CASH_AMT + PAY_REC_AMT)
    OVER (
    PARTITION BY D.TXN_ID,
    D.TXN_SRC,
    D.HRARCHY_DMN_ID,
    D.PRDUCT_DMN_ID,
    D.PSTNG_CRNCY_ID,
    D.FIN_YEAR_STRT || D.FIN_YEAR_END
    ORDER BY D.VAL_DT)
    AS YTD_PNL,
    D.ACNTNG_ENTRY_TYP AS ACNTNG_PSTNG_TYP,
    'EOD ETL' AS CRTD_BY,
    SYSTIMESTAMP AS CRTN_DT,
    NULL AS MDFD_BY,
    NULL AS MDFCTN_DT
    FROM
    DLY_HDRS D
    Plan
    SELECT STATEMENT ALL_ROWSCost: 11,950,256 Bytes: 3,369,680,886 Cardinality: 7,854,734
    25 WINDOW SORT Cost: 11,950,256 Bytes: 3,369,680,886 Cardinality: 7,854,734
    24 WINDOW SORT Cost: 11,950,256 Bytes: 3,369,680,886 Cardinality: 7,854,734
    23 VIEW Cost: 10,519,225 Bytes: 3,369,680,886 Cardinality: 7,854,734
    22 WINDOW BUFFER Cost: 10,519,225 Bytes: 997,551,218 Cardinality: 7,854,734
    21 SORT GROUP BY Cost: 10,519,225 Bytes: 997,551,218 Cardinality: 7,854,734
    20 HASH JOIN Cost: 10,296,285 Bytes: 997,551,218 Cardinality: 7,854,734
    1 TABLE ACCESS FULL TABLE proj_PNL_TYP_DMN Cost: 3 Bytes: 45 Cardinality: 5
    19 HASH JOIN Cost: 10,296,173 Bytes: 2,695,349,628 Cardinality: 22,841,946
    5 VIEW VIEW index$_join$_007 Cost: 3 Bytes: 84 Cardinality: 7
    4 HASH JOIN
    2 INDEX FAST FULL SCAN INDEX (UNIQUE) proj_ACNT_DMN_PK Cost: 1 Bytes: 84 Cardinality: 7
    3 INDEX FAST FULL SCAN INDEX (UNIQUE) proj_ACNT_DMN_UNQ Cost: 1 Bytes: 84 Cardinality: 7
    18 HASH JOIN RIGHT OUTER Cost: 10,293,077 Bytes: 68,925,225,244 Cardinality: 650,237,974
    6 TABLE ACCESS FULL TABLE proj_PSTNG_FCT Cost: 913,986 Bytes: 4,545,502,426 Cardinality: 77,042,414
    17 VIEW Cost: 7,300,017 Bytes: 30,561,184,778 Cardinality: 650,237,974
    16 MERGE JOIN Cost: 7,300,017 Bytes: 230,184,242,796 Cardinality: 650,237,974
    8 SORT JOIN Cost: 30 Bytes: 87,776 Cardinality: 3,376
    7 TABLE ACCESS FULL TABLE proj_DATE_DMN Cost: 29 Bytes: 87,776 Cardinality: 3,376
    15 FILTER
    14 SORT JOIN Cost: 7,238,488 Bytes: 25,269,911,792 Cardinality: 77,042,414
    13 VIEW Cost: 1,835,219 Bytes: 25,269,911,792 Cardinality: 77,042,414
    12 SORT GROUP BY Cost: 1,835,219 Bytes: 3,698,035,872 Cardinality: 77,042,414
    11 HASH JOIN Cost: 914,089 Bytes: 3,698,035,872 Cardinality: 77,042,414
    9 TABLE ACCESS FULL TABLE proj_DATE_DMN Cost: 29 Bytes: 94,960 Cardinality: 4,748
    10 TABLE ACCESS FULL TABLE proj_PSTNG_FCT Cost: 913,693 Bytes: 2,157,187,592 Cardinality: 77,042,414

  • Check for gaps of more than 2 days between records

    Hello,
    I have a worksheet table than contains
    PersonId StartDt EndDt
    I must check that for a given person and start/end date range,
    that there are no worksheets that have a gap of more than 2 days between that date range.
    And I must return the EndDt of the record previous of that gap.
    For example check the worksheets between 01/04/2010 and 30/04/2010 for person X
    Worksheets for person X:
    Start                End
    1/4/2010          3/4/2010
    4/4/2010          6/4/2010
    8/4/2010          10/4/2010
    13/4/2010          15/4/2010
    16/4/2010          17/4/2010
    21/4/2010          23/4/2010
    24/4/2010          25/4/2010
    Result: EndDt is 17/4/2010 because between end 17/4/2010 and start 21/4/2010 there is a gap of more than 2 days.
    For example check the worksheets between 01/04/2010 and 30/04/2010 for person X
    Worksheets
    1/4/2010          3/4/2010
    4/4/2010          6/4/2010
    Result: Ok, No gaps of more than 2 days
    How can I do this. I can't figure this out. Thanks.

    Considering Lag than Lead is better in your situation.
    This is demonstration on how it worked yesterday and how it will work considering the begining of the month gap.
    This should work for you.
    --without begining of month gap consideration(As of yesterday)
    SQL> SELECT * FROM WORKSHEETS;
    PERSON_ID START_DT  END_DT
           185 01-APR-10 03-APR-10
           185 04-APR-10 06-APR-10
           185 08-APR-10 10-APR-10
           185 11-APR-10 16-APR-10
           185 21-APR-10 23-APR-10
           185 24-APR-10 25-APR-10
    6 rows selected.
    SQL> SELECT MIN (PREV_END_DT) PREV_END_DATE
      2    FROM (SELECT PERSON_ID
      3                ,A.START_DT
      4                ,A.END_DT
      5                ,NVL (LAG (END_DT) OVER (PARTITION BY PERSON_ID ORDER BY END_DT)
      6                     ,TRUNC (START_DT, 'MM'))
      7                    PREV_END_DT
      8            FROM WORKSHEETS A) G
      9   WHERE START_DT - PREV_END_DT > 3
    10                                  + (SELECT COUNT (*)
    11                                       FROM HOLIDAYS
    12                                      WHERE HOLIDAY BETWEEN G.START_DT AND G.PREV_END_DT);
    PREV_END_
    16-APR-10
    --with begining of month gap consideration(your new requirement)
    SQL> DROP TABLE WORKSHEETS;
    Table dropped.
    SQL> create table worksheets
      2  ( person_id number
      3  , start_dt date
      4  , end_dt date
      5  )
      6  /
    Table created.
    SQL> 
    SQL> Insert into WORKSHEETS
      2     (PERSON_ID, START_DT, END_DT)
      3   Values
      4     (185, TO_DATE('04/05/2010 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('04/06/2010 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
    1 row created.
    SQL> Insert into WORKSHEETS
      2     (PERSON_ID, START_DT, END_DT)
      3   Values
      4     (185, TO_DATE('04/08/2010 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('04/10/2010 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
    1 row created.
    SQL> Insert into WORKSHEETS
      2     (PERSON_ID, START_DT, END_DT)
      3   Values
      4     (185, TO_DATE('04/13/2010 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('04/15/2010 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
    1 row created.
    SQL> Insert into WORKSHEETS
      2     (PERSON_ID, START_DT, END_DT)
      3   Values
      4     (185, TO_DATE('04/16/2010 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('04/17/2010 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
    1 row created.
    SQL> Insert into WORKSHEETS
      2     (PERSON_ID, START_DT, END_DT)
      3   Values
      4     (185, TO_DATE('04/21/2010 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('04/23/2010 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
    1 row created.
    SQL> Insert into WORKSHEETS
      2     (PERSON_ID, START_DT, END_DT)
      3   Values
      4     (185, TO_DATE('04/24/2010 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('04/25/2010 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
    1 row created.
    SQL> SELECT * FROM WORKSHEETS;
    PERSON_ID START_DT  END_DT
           185 05-APR-10 06-APR-10
           185 08-APR-10 10-APR-10
           185 13-APR-10 15-APR-10
           185 16-APR-10 17-APR-10
           185 21-APR-10 23-APR-10
           185 24-APR-10 25-APR-10
    6 rows selected.
    SQL>
    SQL> SELECT MIN (PREV_END_DT) PREV_END_DATE
      2    FROM (SELECT PERSON_ID
      3                ,A.START_DT
      4                ,A.END_DT
      5                ,NVL (LAG (END_DT) OVER (PARTITION BY PERSON_ID ORDER BY END_DT)
      6                     ,TRUNC (START_DT, 'MM'))
      7                    PREV_END_DT
      8            FROM WORKSHEETS A) G
      9   WHERE START_DT - PREV_END_DT > 3
    10                                  + (SELECT COUNT (*)
    11                                       FROM HOLIDAYS
    12                                      WHERE HOLIDAY BETWEEN G.START_DT AND G.PREV_END_DT)
    13    GROUP BY PERSON_ID;  -- For every person   
    PREV_END_
    01-APR-10
    SQL> Hope this helps.
    G.
    Edited by: G. on Mar 5, 2011 2:45 PM

  • Custom Breaking of more than three columns - apex 3.0

    Trying to create an application that has more than 3 columns for break formatting - have read of a technique thats quite long winded using decodes and grouping sets etc - but seems a bit complex for such a (supposedly) simple query.
    Just wondering if anyone else has come across an easy way to do this - including potentially modifying the template etc to allow more than the default values for breaking options?
    Thanks!
    Sam

    Hi,
    Excellent example in this thread of how to achieve what you want using the LAG Function: -
    Re: PL/SQL code for handling more than 3 levels of breaks.
    Cheers,
    Mike

  • HT6058 Will this new update slow down my iphone 4 even more than the last update?

    Will this new update slow down my iphone 4 even more than the last update?

    Thats a hard question to answer.  The iPhone 4 has older technology than newer models which can cause the device to lag.  Depending on what data and settings you have on the device, it could run slower.  I would probably make sure to constantly close apps in multitasking and possible think about restoring the device as a new device.  Make sure to backup your data prior to the restore

  • I have my catalog "Back Up Each Time Lightroom Exits" checked, and always have. That means the catalog should have been backed-up and saved everyday, if not more than once on some dates. So with a a major problem now and needing to use the Catalog backup

    I have my catalog "Back Up Each Time Lightroom Exits" checked, and always have. That means the catalog should have been backed-up and saved everyday, if not more than once on some dates. So with a a major problem now and needing to use the Catalog backup from last Friday, I go to my Lightroom Backups folder - and the most recent one showing not only isn't yesterday, it's OCTOBER 28 !?? Where the hell are the daily backups between October 28 and November 14?

    Oh wow - JET LAG strikes agin - my apologies; I have located the missing weeks of back-ups. After getting home from a 30-day trip to Europe, I had changed the location of my LR catalog back-ups to an external drive, and forgot that I did that. I have found them, and all is good. Never operate Heavy Machinery without enough rest. Cheers

  • Can I put more than one user under one Apple ID account. I want to let other family members use imessage on their own Apple device. Or is there another way to get this end result?

    Can I put more than one user under one Apple ID account. I want to let other family members use imessage on their own Apple device. Or is there another way to get this end result?

    You can seach the net for solutions like this one http://appletvvpn.com/how-to-connect-apple-tv-2-to-vpn/ another idea is to use a PC as the control and fit that with a wireless card and set up a ad hoc wireless network that the Apple TV uses. 

  • Upgraded to iOS 6 and now I can't open anything in the kindle app? I have to say that I have had my ipad3 for 6 months and intensely dislike the problems with using it. Also is there any way of opening more than one screen as it is hopeless otherwise?

    I Have had my iPad for 6 months as I cannot access my work emails using windows. I have to say that it is the most unhelpful device I have ever used and although it looks like there isn't an answer for some of the questions I have asked below, I thought I would try!
    1) I have upgraded to ios6 and the kindle app will open but crashes and disappears when I try to access a book?
    2) is there any way I can open more than one page at a time, as opening one at a time is hopeless?
    3) Is there any way you can replicate the right click function on word? As pasting and copying on the iPad is irritating to say the least!
    4) why can't my Samsung 11 phone connect to my iPad via Bluetooth? A they can't seem to 'see' each other? I may have turned a setting off when I was recently abroad and didn't want huge roaming charges.
    5) Why do the submit buttons on some websites not work and how can I get them to? I never have a problem with windows, but it is often a problem with the iPad.
    6) I have several websites which I have built and usually upgrade on the windows desktop, usually through Internet explorer, but I can't access the sites properly on the iPad (I can see them but can't alter them) and when sending emails through the websites they won't show the page and I can't navigate the page (the size of the email page is bigger than the iPad screen, but I can't either shrink the page to size or move the page around as you normally would on the pad, any ideas?
    7) finally, when roaming abroad recently, I had no problems using the wifi, but when trying to use the cellular data (using the roaming function) I could not get it to work? The ipad seemed to be connected to the network with no problems, but wouldn't actually update the emails? I tried turning it on and off, but that didn't make a difference. My kindle and mobile phone (both also on 3G ) worked great, it was just (as usual) the ipad playing up.
    8) when wanting to alter part of a sentence, I can't always get the cursor in the right place? Sometimes it is simple the wrong line, but often it will only go at the end or start of a word and not where I want it. Is there any way of making it more exact? Again I never have a problem with moving the cursor on windows, either by mouse or on the touch screen function on windows 7. Any ideas? As after pressing the screen multiple times I just want to throw it out of the window!
    IT might just be that I don't have the correct settings (I am a technophobe) but I absolutely hate the iPad and only have it for work emails, it is so annoying that I can get my mobile phone and kindle3g to work fine, but always have problems with the iPad. I am sure it could be good (and for reading emails on the go in the uk it is great, as I like the key board) but it just seems to make everything else difficult.
    i Hope you can help and sorry for asking questions others have, but I am just hoping that something new might have been developed!
    thanks,
    K
    Message was edited by: K Paton

    1) I have upgraded to ios6 and the kindle app will open but crashes and disappears when I try to access a book?
    Try rebooting your iPad, that should fix he issue. I that doesn't work, delete the app and re-download it.  The Kindle books should all be in he Kindle cloud services and you can get them again. I have an iPad2 w/ Kindle app and it works just fine - no issues.
    2) is there any way I can open more than one page at a time, as opening one at a time is hopeless?
    Page as in a kindle book way? turn iPad to landscape position from portrait position. If, however, you mean open more than one application at a time, then no. And not hopeless, as it takes a bit of time to get used to, going from a desktop/laptop format to tablet format.
    3) Is there any way you can replicate the right click function on word? As pasting and copying on the iPad is irritating to say the least!
    It's actually fairly easy. Press down on the word, then you can expand by drawing your finger to cover word/sentence/paragraph/page, hit select or select all then it gives you the option to cut, copy, paste, define. If you want to use a word processing app on the iPad, Pages is a good application.
    4) why can't my Samsung 11 phone connect to my iPad via Bluetooth? A they can't seem to 'see' each other? I may have turned a setting off when I was recently abroad and didn't want huge roaming charges.
    It's the connection on your phone. Samsung Galaxy SII? Android software?  What you have to do is go to the phone's settings and connect via wireless, not Bluetooth. Go to System Settings (on phone) and under Wireless and Networks click 'more' and go to the Tethering and Portable Hotspot option. Set up your mobile wifi hotspot,  name it though it will probably come up with 'AndroidAP', choose a WPA2 security level and put in a password. Go back to previous screen and turn on 'Portable Wi-Fi Hotspot' box. Then on your iPad in the Settings - Wi-Fi section, it should then recognize your phone for tethering. If it's a Windows Phone 7,  I don't know the layout of that software, but presumeably similar.
    5) Why do the submit buttons on some websites not work and how can I get them to? I never have a problem with windows, but it is often a problem with the iPad.
    Sometimes the issue is with the website design, not all websites are optimized for mobile devices - not just iPad but also Android devices. It happens. They're getting there, but occasionally the page might need a refresh.
    6) I have several websites which I have built and usually upgrade on the windows desktop, usually through Internet explorer, but I can't access the sites properly on the iPad (I can see them but can't alter them) and when sending emails through the websites they won't show the page and I can't navigate the page (the size of the email page is bigger than the iPad screen, but I can't either shrink the page to size or move the page around as you normally would on the pad, any ideas?
    It depends on what you use to build the websites on the computer. Recommend a free program on the computer called CoffeeCup Free HTML Editor. I don't recommend using IE period; Firefox or Chrome are my choices on Windows machines. I have two websites that I manage, both using this program. I'm assuming that when you mean you can't access the sites on the iPad you mean to update them? Ostensible there are apps to let you do this. What format are the sites? Without seeing what exactly you mean and what you want to do, it's hard to explain.
    As for seeing full page while emailing within a site, turn iPad to portrait mode, and try to finger-pinch touch the screen to see if that will bring the fuller page  into view. Other option is opening a second tab with same website and just go between tabs to reference material.
    7) finally, when roaming abroad recently, I had no problems using the wifi, but when trying to use the cellular data (using the roaming function) I could not get it to work? The ipad seemed to be connected to the network with no problems, but wouldn't actually update the emails? I tried turning it on and off, but that didn't make a difference. My kindle and mobile phone (both also on 3G ) worked great, it was just (as usual) the ipad playing up.
    If you were outside the US or Canada, my guess is the problem lies within the SIM card in your iPad. If you were outside North America, there are different band levels - I'm guessing you have a SIM thats locked to a particular provider. Band level frequencies differ per country/continent, so a SIM card that will work in Canada/US will not likely work in UK/Europe/Asia/Australia, etc. you will be able to get your emails again when back on a wifi network. Mobile phone may have a different type SIM card (GSM/HSPA) from your iPad SIM. Also, check your email settings.
    8) when wanting to alter part of a sentence, I can't always get the cursor in the right place? Sometimes it is simple the wrong line, but often it will only go at the end or start of a word and not where I want it. Is there any way of making it more exact? Again I never have a problem with moving the cursor on windows, either by mouse or on the touch screen function on windows 7. Any ideas? As after pressing the screen multiple times I just want to throw it out of the window!
    Moving the cursor on a sentence is a matter of putting your finger on the screen where you want it. It's exceptionally easy to do. I'm using the Notes app to write this whole segment and I just need to put my finger where I want to change things and presto it's ready for me to change where I want it.
    Here's a solution: sell your iPad (after you wipe your data off it) to someone who will appreciate it, and put your money towards the Windows Surface Tablet out later this year/early next year, where you can (reportedly) connect a mouse to it. It will have some of the Windows 7/8 functionality that you're more familiar with, or get a netbook.
    - Ceridwyn2

  • How can I use more than one Data Provider in my web Apps

    I am trying to use two different data provider in my web apps to run two different queries from the same table ,the data provider A is working correctly but when I attempt to run data provider B ,It display an error page ,here is the error message : Exception Details :javax.servlet.ServletEx ception
    java.lang.RuntimeException: java.sql.SQLException : Cannot connect .Both dataSourceName and url properties are null.

    Hi,
    You can use more than one data provider in your application. However if you have defined a dataprovider for a particular table already, and wish to bind a component, select the component and use its context menu to Bind to Data...

Maybe you are looking for

  • Safari won't open in 10.3.9t

    I installed 10.3.9 and the new safari 3.1 on my friend's i mac, which is the blue indigo; however, now we can't open safari. I don't think that safari 3.1 will work with 10.3.9 tiger. When I click Safari nothing happens. The icon bounces up and down

  • SQL query with JSP and WML-parameters

    Hey, Could you help me? I'm trying to do the following. WML deck card 1 send parameter to same WML deck's card help. I try to read the parameter with JSP in card help by putting the parameter to SQL query, but it doesn't work. I can read the paramete

  • PO no Search in SXMB_MONI

    Hi All, I have designed one Interface from ECC 6.0 to SRM SUS Server. it process the purchase orders. I need to search based on PO No's  in SXMB_MONI. So, how to search based on  PO No's in SXMB_MONI? Thanks in advance Mahesh

  • Precalculation Server error after 10 broadcasted workbooks

    Hi gurus, i have a question concerning broadcasting workbooks. We are using the newest precalculation server with patch 13. The first 10 workbooks are calculated and sent via email. The rest of workbooks calculated are sent as a job  but the RSRD_Log

  • How to restore Windows?

    hi there, one i day received nice message - windows failed to start. a recent hardware or software change might be the cause. then im advised to insert windows installation disk. problem is that i dont have such disk. another thing that f8 recovery t