Calculate the performance of an activity according to the hours worked

Hi for all,
I need to calculate the performance of an activity according to the hours worked by anyone. Someone could tell me how can I do this?
timetable of staff
ID  HR1  HR2  HR3  HR4   DAY
1   492  720  780  1080  Monday
1   612  720  780  1200  Tuesday
1   492  720  780  1080  Wednesday
1   612  720  780  1200  Thursday
1   492  720  780  1080  Friday
2   492  720  780  1080  Monday
3   492  720  780  1080  Saturday
SQL> Select to_date(to_char(trunc(sysdate) + 492/1440,'dd/mm/yyyy HH24:MI:SS' ), 'dd/mm/yyyy HH24:MI:SS') from dual;
TO_DATE(TO_CHAR(TRUNC(SYSDATE)
20/01/2011 08:12:00
Table Holidays
ID DATE_HOLIDAY HOLIDAY
1  01/01/2011   Holiday X
1  03/15/2011   Holiday Y
1  07/04/2011   Holiday Z
2  01/01/2011   Holiday X
Input Values
Start Date : 17/01/2011
Qtd Days   : 0
Qtd Hours  : 11
Qtd Minutes: 0
Result
18/01/2011 13:24Regards,

Okay here is my second attempt.
With schedule_of_work As
     Select 1 ID, 492 HR1, 720 HR2, 780 HR3, 1080 HR4, 'Monday'    Day_of_week from dual union all
     Select 1 ID, 612 HR1, 720 HR2, 780 HR3, 1200 HR4, 'Tuesday'   Day_of_week from dual union all
     Select 1 ID, 492 HR1, 720 HR2, 780 HR3, 1080 HR4, 'Wednesday' Day_of_week from dual union all
     Select 1 ID, 612 HR1, 720 HR2, 780 HR3, 1200 HR4, 'Thursday'  Day_of_week from dual union all
     Select 1 ID, 492 HR1, 720 HR2, 780 HR3, 1080 HR4, 'Friday'    Day_of_week from dual
), parameters AS
        /* Creating a single row of input values that can be used multiple times */
        SELECT TO_DATE(:job_start_date,'MM/DD/YYYY HH24:MI')             AS job_start_date
             , TRUNC(TO_DATE(:job_start_date,'MM/DD/YYYY HH24:MI'),'IW') AS beginning_of_week
             , NVL(:days,0)
             + NVL(:hours,0)/24
             + NVL(:minutes,0)/(60*24)                                   AS job_length
        FROM   dual
), holidays AS
        SELECT TO_DATE('01/01/2011','MM/DD/YYYY') AS dt FROM DUAL
), date_range AS
        /* Trying to generate a date range that should encompass the maximum date it would take
         * to complete the task. Rough estimate is number of 8 hour work days plus a padding of 10 days.
         * You may want to adjust this to something more suitable for your business or set it to an artificially
         * high value. Be aware of possible performance implicications the higher you set it.
        SELECT TRUNC(job_start_date) + (ROWNUM - 1) AS dts
        FROM   parameters
        CONNECT BY ROWNUM <= TRUNC(job_length*24/8) + 10
), schedule_as_dates AS
        SELECT sowo.id
             , sowo.day_of_week
             , dara.dts
             , holi.dt
             , CASE
                    /* Only perform the effective hours when the day is not a holiday
                    * and it matches a date in the date range. Otherwise set effective hours to midnight
                    * making the running sum below zero.
                  WHEN sowo.day_of_week IS NOT NULL AND holi.dt IS NULL
                   THEN dara.dts + HR1/(60*24)
                   ELSE dara.dts
               END                                    AS start1
             , CASE
                   WHEN sowo.day_of_week IS NOT NULL AND holi.dt IS NULL
                   THEN dara.dts + HR2/(60*24)
                   ELSE dara.dts
               END                                    AS end1
             , CASE
                   WHEN sowo.day_of_week IS NOT NULL AND holi.dt IS NULL
                   THEN dara.dts + HR3/(60*24)
                   ELSE dara.dts
               END                                    AS start2
             , CASE
                   WHEN sowo.day_of_week IS NOT NULL AND holi.dt IS NULL
                   THEN dara.dts + HR4/(60*24)
                   ELSE dara.dts
               END                                    AS end2
        FROM      date_range       dara
        LEFT JOIN schedule_of_work sowo PARTITION BY (sowo.id) ON sowo.day_of_week = TO_CHAR(dara.dts,'FMDay','NLS_DATE_LANGUAGE=English')
        LEFT JOIN holidays         holi                        ON holi.dt          = dara.dts
SELECT
       CASE
       /* This means that we need to go into the second shift (start2-end2) to calculate the end date */
       WHEN  work_remaining > end1 - start1
       THEN  start2 + work_remaining - ( end1 - start1 )
       /* This means we can complete the work in the first shift */
       WHEN  work_remaining < end1 - start1
       THEN  start1 + work_remaining
       END   AS finish_time
FROM
        SELECT b.*
             /* Determine how much work is remaining from the previous days value */
             , job_length - prev_work_time                               AS work_remaining
             /* Calculate the smallest delta value to pick the right day of the week
                to calculate the end date
             , ROW_NUMBER() OVER (partition by B.ID ORDER BY DELTA desc) AS RN
        FROM
                SELECT a.*
                     /* This computation is used to determine which day of the week we need to use
                        to determine the end date of the task
                     , job_length - effective_work_time AS delta
                     /* retrieve the previous effective_work_time. This will be used above */
                     , LAG(effective_work_time) OVER (PARTITION BY ID order by start1) AS prev_work_time
                FROM
                        SELECT job_start_date
                             , job_length
                             , id
                             , day_of_week
                             , start1
                             , end1
                             , start2
                             , end2
                              /* Compute the amount of time an employee can work in any given day. Then take a running total of this */
                             , SUM
                                 CASE
                                     /* When the job_start_date is the same day as the first eligible work day we need to diskount (spam filter misspelled on purpose the
                                      * effective work hours because the job could start in the middle of the day.
                                     WHEN TRUNC(job_start_date) = TRUNC(start1)
                                     THEN
                                          CASE
                                               WHEN job_start_date BETWEEN start1 AND end1
                                               THEN (end1 - job_start_date) + (end2 - start2)
                                               WHEN job_start_date BETWEEN start2 AND end2
                                               THEN (end2 - job_start_date)
                                               WHEN job_start_date < start1
                                               THEN (end2 - start2) + (end1 - start1)
                                               WHEN job_start_date > end2
                                               THEN 0
                                          END
                                     ELSE (end2 - start2) + (end1 - start1)
                                 END
                             ) OVER (PARTITION BY ID order by start1) AS effective_work_time
                        FROM       schedule_as_dates
                        CROSS JOIN parameters
                ) a
        ) b
        /* Only interested in delta less than zero because the positive deltas indicate more work needs to be done. */
        WHERE delta < 0
WHERE RN = 1I got slightly different results then you. My query got me 1/24/2011 at 13:12. I double checked the math and I think that's right.
Hopefully this works out for you. My apologies for any mistakes.
EDIT
Query is fully posted now.

Similar Messages

  • Time and date on the laptop is not in accordance with the current.

    1. Product Name and Number
    HP G42-360TX
    2. Operating System installed (if applicable)
    Windows 7 64-bit
    3. Error message (if any)
    Time and date on the laptop is not in accordance with the current
    4. Any changes made to your system before the issue occurred
    before, I installed windows 7 32bit is no problem, but when i install win 7 64bit new problem emerged.
    Time and date on the laptop is not in accordance with the current. I've tried to change it manually, but it will change back to yesterday's date.
    before, I installed windows 7 32bit is no problem, but when i install win 7 64bit new problem emerged.
    whether it was the CMOS battery is weak? when I bought the notebook in 2011

    Have you tried setting it to synchronize with an internet clock...click the date in the lower right corner...change date and time settings...internet time. Also check the time zone.

  • HTTPS SharePoint site with HTTPS Provider hosted app - The remote certificate is invalid according to the validation procedure

    We have SharePoint 2013 site configured with SSL and we have developed a provider hosted app which interacts with SharePoint list.
    If we try accessing the Provider hosted app from the SharePoint site with HTTP [http://mysharepointsite.com/] there are no any errors thrown.
    But whenever the same Provider hosted app is tried accessing from the same SharePoint site using https address
    [https://mysharepointsite.com/] we are getting below error:
    The remote certificate is invalid according to the validation procedure.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.
    Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
    Stack Trace:
    [AuthenticationException: The remote certificate is invalid according to the validation procedure.]
    System.Net.Security.SslState.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, Exception exception) +2983172
    System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest) +473
    System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest) +86
    System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest) +262
    System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest) +473
    System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest) +86
    System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest) +262
    System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest) +473
    System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest) +86
    System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest) +262
    System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest) +473
    System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest) +8530566
    System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult) +230
    System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) +645
    System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) +9
    System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) +87
    System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result) +1467
    System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size) +84
    System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size) +22
    System.Net.ConnectStream.WriteHeaders(Boolean async) +761
    [WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.]
    System.Net.HttpWebRequest.GetResponse() +8534156
    Microsoft.SharePoint.Client.SPWebRequestExecutor.Execute() +58
    Microsoft.SharePoint.Client.ClientRequest.ExecuteQueryToServer(ChunkStringBuilder sb) +975
    ProviderHostedHTTPSWeb.Default.Page_Load(Object sender, EventArgs e) +348
    System.Web.UI.Control.LoadRecursive() +71
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3178
    We have already added the certificate used for the SharePoint site and the provider hosted app in the SharePoint central admin trusts.
    Any idea's how can I resolve this issue?

    Hi,
    According to your post, my understanding is that you failed to access provider host app using https.
    The reason for this is that SharePoint implements its own certificate validation policy to override .NET certificate validation.
    Fix is to setup a trust between SharePoint and the server requiring certificate validation.
    For more information, you can refer to:
    http://blogs.technet.com/b/sharepointdevelopersupport/archive/2013/06/13/could-not-establish-trust-relationship-for-ssl-tls-secure-channel.aspx
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • I try to backup my Lacie Rugged Thunderbolt with my Time Capsule but the Lacie is not active (grey) in the Time Machine preferences. Why ?

    I try to backup my Lacie Rugged Thunderbolt with my Time Capsule but the Lacie is not active (grey) in the Time Machine preferences. Why ?

    @LaPastenague
    Morning / Afternoon.
    We may have an unfair advantage in that the Internet gets here faster than it does "down there".

  • How to Improve the Performance of SQL Server and/or the hardware it resides on?

    There's a particular stored procedure I call from my ASP.NET 4.0 Web Forms app that generates the data for a report.  Using SQL Server Management Studio, I did some benchmarking today and found some interesting results:
    FYI SQL Server Express 2014 and the same DB reside on both computers involved with the test:
    My laptop is a 3 year old i7 computer with 8GB of RAM.  It's fine but one would no longer consider it a "speed demon" compared to what's available today.  The query consistently took 30 - 33 seconds.
    My client's server has an Intel Xeon 5670 Processor and 12GB of RAM.  That seems like pretty good specs.  However, the query consistently took between 120 - 135 seconds to complete ... about 4 times what my laptop did!
    I was very surprised by how slow the server was.  Considering that it's also set to host IIS to run my web app, this is a major concern for me.   
    If you were in my shoes, what would be the top 3 - 5 things you'd recommend looking at on the server and/or SQL Server to try to boost its performance?
    Robert

    What else runs on the server besides IIS and SQL ? Is it used for other things except the database and IIS ?
    Is IIS causing a lot of I/O or CPU usage ?
    Is there a max limit set for memory usage on SQL Server ? There SHOULD be and since you're using IIS too you need to keep more memory free for that too.
    How is the memory pressure (check PLE counter) and post results.
    SELECT [cntr_value] FROM sys.dm_os_performance_counters WHERE [object_name] LIKE '%Buffer Manager%' AND [counter_name] = 'Page life expectancy'
    Check the error log and the event viewer maybe something bad there.
    Check the indexes for fragmenation, see if the statistics are up to date (and enable trace flag 2371 if you have large tables > 1 million rows)
    Is there an antivirus present on the server ? Do you have SQL processes/services/directories as exceptions ?
    There are lot of unknowns, you should run at least profiler and post results to see what goes on while you're having slow responses.
    "If there's nothing wrong with me, maybe there's something wrong with the universe!"

  • The battery of my iPhone 5 easily discharges even if not in use. This started 11 months after purchase. The unit passed the Apple Battery Health Test Protocol but the performance showed otherwise. What is the problem and how do I solve it?

    The battery of my iPhone 5 easily discharges even when not in use. The unit was tested by Apple and passed the Battery Health Test although the performance showed otherwise. The battery deterioration started 11 months after purchase and is not covered by Apple warranty. What is the problem of the iPhone5 and would appreciate suggestions on how to address this problem. By the way, I have a 2 year old iphone 4S with a battery performance as good as when it was bought two years ago.

    Hi there Dan Laven,
    You may find the information in the article below helpful.
    iPhone and iPod touch: Charging the battery
    http://support.apple.com/kb/ht1476
    About battery life and the battery
    Battery life and number of charge cycles vary by use and settings. Find more information about batteries for iPhone and iPod.
    Find information on how long the battery is expected to last between charges.
    Rechargeable batteries have a limited number of charge cycles and may eventually need to be replaced.
    -Griff W. 

  • Fit the GUI and its components according to the screen resolution

    hi frns,
    i have developed a GUI by using BorderLayout and GUI contains around 7 components.I am primarily working on 1024*768 resolution..THe main problem is when i using 800*600..My interface will run out of shape..How to avoid this. ......reply urgently.
    thanku.

    Have you tried this?
    Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
    And then you can do a setSize method to resize your screen based on what you found out about the screenSize.
    As long as your components are contained in some sort of layout manager, they should resize accordingly as the screen is resize like this also... You might need to do a yourscreen.pack() also....

  • I am working with a pneumatic actuator and I want to control the supply of compressed air according to the load required using labview

    Hello,
         I am working with a pneumatic actuator and this is coupled to a generator. According to the load requirement I want to control the supply of compressed air into the pneumatic actuator. 
    can someone give somehints to write a control program using labview.

    haneeshcb wrote:
    Hello,
         I am working with a pneumatic actuator and this is coupled to a generator. According to the load requirement I want to control the supply of compressed air into the pneumatic actuator. 
    can someone give somehints to write a control program using labview.
    Well....
    What are the inputs and outputs you want to acquisition(voltage, current, TTL signals, load sensing...) and control(analog voltages, TTL signals, drivers,ssr,relays, power fets...)
    Aquiring a Daq is a start or Arduino Uno to read and control your hardware interfaces to your device
    what are the specification requirements and operations...
    Have you done a forum search on key words? "pneumatic"....
    Being general, opens discussion to nebulous assumptions which members don't have the luxury of time to spend..Though they are willing to help, you must put forth more effort in describing your project, requirements, sensing and controlling, but above all..."what is the problem that you are experiencing?"

  • How to filter the output of a query according to the language

    Hi guys,
    I have the following tables joined togheter:  VBAK ,VBKD ,TVZBT.
    The problem is, the output gives any record as many times as many languages exist in table TVZBT
    I tried with the following instruction but it doesn't work,no matter in which event I put it:
    check tvzbt-spras eq sy-langu.
    Thanks,Christian

    Hello Christian Baldari,
    You have to add that check in where clause like :
    select ....
    from ...
    where
    <b>tvzbt~spras eq sy-langu</b>.
    why because in ur select query you are using innerjoin operation. so you are using TILD (~) operator for alias. you have to check the spras using the alias as mentioned above.
    Reward If Hepful.
    Regards
    Sasidhar Reddy Matli.

  • The performance of ABAP programs

    Hey Experts , how can one analyze the performance of ABAP programs apart from using the generic tools such as Trace etc.

    Hi Chakradhar,
    Overview & Introduction
    The runtime analysis tool allows you to examine the performance of any ABAP programs, such as reports, subroutines, function modules or classes, that you create in the ABAP workbench. It saves its results in performance data files, which you can display as lists. You can use these results to identify runtime-intensive statements, to combine table accesses, and show the hierarchy of program calls.
    Normally you use the runtime analysis tool to measure the runtime of complex program segments or complete transactions (if you want to measure the runtime of smaller program segments or individual ABAP statements you can use the ABAP statement GET RUN TIME FIELD ).
    However, we use only simple
    The Programs to be Analyzed
    Let's assume I am a very newbie in ABAP and I have written a tiny little program which is doing the following:
    reading data from a database table
    storing that data in an internal table
    display that data on a list (at the start of the program you have to specify certain key values; only matching data should be displayed later on).
    So here it comes (and it seems to work as designed ...)
    REPORT  y_wlog_atra_1.
    PARAMETERS: p_carrid TYPE sbook-carrid DEFAULT 'LH',
                p_connid TYPE sbook-connid DEFAULT '0400'.
    DATA: wa_sbook TYPE sbook,
          itab_sbook TYPE STANDARD TABLE OF sbook.
    *SELECT * FROM sbook INTO wa_sbook.*
      CHECK: wa_sbook-carrid = 'LH' AND
             wa_sbook-connid = '0400'.
      APPEND wa_sbook TO itab_sbook.
    ENDSELECT.
    LOOP AT itab_sbook INTO wa_sbook.
      WRITE: /,
             wa_sbook-carrid,
             wa_sbook-connid,
             wa_sbook-fldate,
             wa_sbook-bookid,
             wa_sbook-customid,
             wa_sbook-custtype.
    ENDLOOP.
    A nice colleague has thrown a glance at my source code. He has given the hint to use a WHERE clause with the SELECT statement instead of the CHECK statement for reasons of better performance.
    So I have written another program:
    REPORT  y_wlog_atra_2.
    *SELECT * FROM sbook INTO wa_sbook*
      WHERE carrid = 'LH' AND
            connid = '0400'.
      APPEND wa_sbook TO itab_sbook.
    ENDSELECT.
    I am curious about the performance now. Let's compare the 2 variants with the ABAP Runtime Analysis tool.
    ABAP Runtime Analysis: Tool & Procedure
    To start it, choose Test --> Runtime Analysis in the SAP Menu, or use transaction SE30 .
    The runtime analysis procedure consists of two parts:
    Recording performance data (upper part of the screen)
    Analyzing the performance data (lower part of the screen; this part only appears if there are performance data files in place)
    The procedure for the first part (Recording performance data):
    We go to the initial screen of the runtime analysis (transaction code SE30 ) and specify the name of the first program (Y_WLOG_ATRA_1) in the relevant input field. After that we press the button Execute .
    The selection screen of the program Y_WLOG_ATRA_1 (including the 2 input fields) is displayed. At the bottom of the screen we are informed that the measurement has been started. We continue by clicking the Execute button.
    Later on we will see that a file (containing performance data) has been created in parallel.
    Now we repeat that procedure for our second program (Y_WLOG_ATRA_2).
    The second step is the analysis of the generated performance data.
    To do that we have to go to the initial screen of the Runtime Analysis tool again. On the bottom part of the screen you can specify those performance data files you want to analyze.
    You can see some information related to the last measurement run (in our case that was program (Y_WLOG_ATRA_2). By pressing the button Other File we are able to select those performance data files we like to analyze.
    I want to see all the files I have created (user BCUSER).
    I get the relevant list with 2 lines (related to the performance data files of the programs Y_WLOG_ATRA_1 and Y_WLOG_ATRA_2).
    Based on that list you can display the distinct performance data per line. You have to click in the column Object Type of the relevant line.
    As a start the tool displays the evaluation overview (showing the cumulated execution times for the ABAP, database and system-level).
    Here comes the evaluation overview for program Y_WLOG_ATRA_1
    We can do the same for the other program Y_WLOG_ATRA_2
    By comparing the perfomance data of the 2 programs we clearly see that I have done well with listening to the advice of my colleague. The performance of the second program is dramatically better.
    In the next step you can forward to a more detailed display of the performance data (Hitlists). That listing shows the different granular execution steps ( according to your filter adjustments ). Here you can easily identify the most time-consuming progam units.
    And it will also be a good idea to glance at the Tips & Tricks corner. You will find many valuable suggestions about good performance definitely.
    Please use the below link to see the Screen shots of the screens
    [http://searchsap.techtarget.com/tip/0,289483,sid21_gci1265920,00.html|Performance Analysing]

  • Info about the log traces in Activity Data Collector

    Hi,
    I have configured the activity data collector by setting the following properties in ADC and restarted the service
    Activate Data Collection :true
    Additional File Formats: --(not set anythng left blank)
    Base File Name: Portal Activity
    Directory Name: portalActivityTraces
    File Encoding : UTF-8
    Hour in the day to close all files, in GMT : 0
    Main File Format : %Orfo.t(dd-MM-yyyy HH:mm:ss,GMT+5.5)%%Stab%%Orfo.ct%%Stab%%Orfo.in%%Stab%%Orfo.un%%Stab%%Orfo.bt%%Stab%%Orfo.pu%%Stab%%Orfo.rh(referer)%%Snl%
    Max Buffer size :500KB
    Max File Size : 10240 KB
    The files are created in the folder called "Portal Activity Traces" But the issue is with the name of the log files getting created
    Since i have not set any additional file formats, The log files consist of main file formats
    the file names are like this 
    portalActivity_29893750_1254305061537.txt.open in this
    wat  does the time stamp "1254305061537" refer? Plz explain
    some files are of type text document and some are of type "open" wat does tis mean?
    If i set t "Hour in the day to close all files"
    to 0 wen does it write the log files? Is it at 12? after that will it create a new file?
    n in the main file format i have set the time to GMT5.5 (since IST is GMT5.5) but im not getting the proper time format
    Plz help me out
    Thanks in Advance
    Regards,
    Sowmya
    Edited by: Sowmya B on Sep 30, 2009 1:43 PM

    Hi Prasanna,
    Thanks for the reply.
    Actually there are about 3 to 4 files which are of type .open and they have created long back.Are those files still getting populated.If we set the "hour to close all files" to 0 it should close the open files and create the new(fresh) files for the next day right?
    According to the documentation in help portal, "Files may be closed before reaching this limit(Max File Size), as all files are closed at the hour specified in the Hour in the day to close all files property."
    Then how come some old files are still getting populated?
    Midnight means wat time in particular? Plz explain
    About timestamp is it the time the file was created in some format?
    If anyone knows plz explain the format of timestamp
    Edited by: Sowmya B on Sep 30, 2009 2:13 PM

  • After update to IOS 7.1 Mobile Operator decreased the performance of Iphone 5s.

    After update to IOS 7.1 Mobile Operator decreased the performance of Iphone 5s. When  the cell of my current mobile is active Iphone 5s works so bad. It is not fast and it takes 3 seconds when you wanna enter to any section. I have changed my mobile operator and it worked fine after the change.It is so interesting that how it can happen? It happened after IOS7.1. And several people have the same problem with their Iphone 5s after update to IOS7.1. And thay all using the same mobile operator that I used before.
    I have called to the customer service of mobile operator. But they say that there is no any problem with their cell. Buit in fact a lot of people have  problem on their Iphone 5s after IOS 7.1 update and they are all using the same mobile operator

    HOTSPOT Problems with iOS 7.1
    Settings for hotspot connections have been changed by Apple at the request of some carriers.  IF your carrier is not on this list http://support.apple.com/kb/HT1937 then you cannot connect using hotspot.. Complain to your carrier

  • Performance impacts of activating MDTB for MRP lists

    Does anyone have any input on the performance impacts of activating MDTB?  Clearly it will impact performance, but by how much?  What are the main drivers of performance number of MRP elements / MDTB records? 
    What methods can be used to mitigate?  Increasing the DB buffering? 
    Thanks

    Hi,
    I doubt if there could be a generic answer for your query. It would depend on a lot of parameters eg: the number of materials being planned, the frequency of planning, system resources available etc.
    All i could say is, load the entire set of materials into the system & then work with your basis personnel to fine tune the system.
    Regards,
    Vivek

  • Need help in improving the performance for the sql query

    Thanks in advance for helping me.
    I was trying to improve the performance of the below query. I tried the following methods used merge instead of update, used bulk collect / Forall update, used ordered hint, created a temp table and upadated the target table using the same. The methods which I used did not improve any performance. The data count which is updated in the target table is 2 million records and the target table has 15 million records.
    Any suggestions or solutions for improving performance are appreciated
    SQL query:
    update targettable tt
    set mnop = 'G',
    where ( x,y,z ) in
    select a.x, a.y,a.z
    from table1 a
    where (a.x, a.y,a.z) not in (
    select b.x,b.y,b.z
    from table2 b
    where 'O' = b.defg
    and mnop = 'P'
    and hijkl = 'UVW';

    987981 wrote:
    I was trying to improve the performance of the below query. I tried the following methods used merge instead of update, used bulk collect / Forall update, used ordered hint, created a temp table and upadated the target table using the same. The methods which I used did not improve any performance. And that meant what? Surely if you spend all that time and effort to try various approaches, it should mean something? Failures are as important teachers as successes. You need to learn from failures too. :-)
    The data count which is updated in the target table is 2 million records and the target table has 15 million records.Tables have rows btw, not records. Database people tend to get upset when rows are called records, as records exist in files and a database is not a mere collection of records and files.
    The failure to find a single faster method with the approaches you tried, points to that you do not know what the actual performance problem is. And without knowing the problem, you still went ahead, guns blazing.
    The very first step in dealing with any software engineering problem, is to identify the problem. Seeing the symptoms (slow performance) is still a long way from problem identification.
    Part of identifying the performance problem, is understanding the workload. Just what does the code task the database to do?
    From your comments, it needs to find 2 million rows from 15 million rows. Change these rows. And then write 2 million rows back to disk.
    That is not a small workload. Simple example. Let's say that the 2 million row find is 1ms/row and the 2 million row write is also 1ms/row. This means a 66 minute workload. Due to the number of rows, an increase in time/row either way, will potentially have 2 million fold impact.
    So where is the performance problem? Time spend finding the 2 million rows (where other tables need to be read, indexes used, etc)? Time spend writing the 2 million rows (where triggers and indexes need to be fired and maintained)? Both?

  • How to test the performed  SAP SCRIPT

    Hi friends can any one help for
    how to test the performed  SAP SCRIPT. What are the necessary codes or anything else for performing it

    Praveen,
    Can you be much clear with your query? What do you mean by performing? Do you mean how to execute it ?
    Regards,
    Vinod.

Maybe you are looking for

  • HP Driver "Can't install because it is not available from Software Update Server"

    Proplem: Can't use my HP Officejet 6500 E709n on my MacBook Pro, even using USB connection.    I click on sign, get add printer window showing the HP 6500 printer as USB Multifunction.  I select and press 'add'.  I get 'setting up ...' window.  After

  • Alt & scroll wheel not working on Photoshop CC to zoom in / out

    Hey! So i'm using the latest version of Photoshop CC, and i'm also running the Technical Preview of Windows 10. So In Photshop, usually when you hold the alt key and scroll with the scroll wheel on your mouse, it will zoom in / out of the image on Ph

  • Message error ORA-00936 when using JDBC adapter

    Hi all, I'm using the folow scenario: RFC --> XI --> JDBC RFC <-- XI <-- JDBC (response) It's a SYNCHRONOUS interface. RFC call without COMMIT WORK: CALL FUNCTION 'Y_TESTE_NEI'     DESTINATION 'RFC_XI' EXPORTING    DATE_FROM       =  v_data_from    D

  • Financial Hold for students with debt

    hi experts, We have created a financial hold for the students with dunning, this hold is working fine, if a student has any level of dunning we are putting a Hold in the student´s file. The students with this kind of hold won´t be able to register ag

  • I cant access ibooks too after going ios 8 on ipad

    lot and lot of problem are coming. first mutli tasking is slower then some freezes pages and switching during apps. can access apps store, i cloud cant be upgrade manually. and now i cant access ibooks too. it is totally blank like apps store. what c