Lookup transformation - Performance Issue -Please help!

Hi,
 I have a Source table with 5 million rows. I am pulling all the rows from the source table, then doing the lookup with 5 different tables one by one.
I use Full cache as the lookup table size is very less only. I used 'Ignore Failure' option in lookup table as I need to do the left join. That means, even if there is NO match, those records also should be passed to the bottom.
 Now, the problem is it is taking a lot of time. To load 1,00,000 records, it is taking 1 hour. The how about 5 Million rows? 50 hours? Could you please help me to find out what is the  mistake i am doing here?

Is the performance still very poor if you only add for example a row count transformation after your source?
How many rows are there in the lookup tables? Are you only selecting the columns you need? Is the data type of the selected columns very large?
Please mark the post as answered if it answers your question | My SSIS Blog:
http://microsoft-ssis.blogspot.com |
Twitter

Similar Messages

  • Need help with premiere pro cs6 having performance issues please help

    need help with premiere pro cs6 having performance issues please help

    Welcome to the forum.
    First thing that I would do would be to look at this Adobe KB Article to see if it helps.
    Next, I would try the tips in this ARTICLE.
    If that does not help, a Repair Install would definitely be in order.
    Good luck,
    Hunt

  • Mid 2010 15" MBP i5 A1286 POWER ISSUE-PLEASE HELP-

    The MBP works fine when mains connected but the only issue is every time I take the charger out it shuts down on me!!! So I have checked with a multitester & looks good the only thing i find hard to check for power is the battery itself as its hard to get a good connection, also I took to local Apple store & they checked with a new battery but said its still same issue so the guy disconnected nearly all the connecters off to check if they causing issue & he said now the battery is charging.
    So they still have the laptop to do further tests etc, but I’m not sure what could be the problem hear as maybe there is some component which is bad so the battery’s not charging or what else could be the issue please help & advice as I’m really confused as if it was something to do with the logic board then surely it would not even charge even after checking with the multitester or like Apple genius done by disconnecting other components...
    ANY HELP OR ADVICE WOULD BE HELPFULL,
    THANKS GUYS

    THANKS FOR THE HELP GUYS!!! BEEN AROUND 5 DAYS & NOT ONE PERON HAS HELPED...
    BUT YEAH THANKS AGAIN...
    WASTE OF TIME THIS IS...

  • Trackpad Issue - Please Help!

    Hi there,
    Hope you can help me out here.
    I've recently purchased a 15" i7 Macbook pro. The machine is but 3 weeks old &, of course, very well looked after.
    A few days ago, the built-in trackpad started behaving eratically. Cursor moving by itself, not responding to touch, clicking and opening things involuntarily. Not good at all. Many users seem to have had this exact same issue.
    These problems seemed to miraculously stop after a few re-boots and possibly a software update? I really couldn't tell you what resolved the problem.
    Unfortunately I now have a totally different problem.
    There is a thin, possibly 8 to 10mm horizontal strip across the centre of the trackpad that no longer responds to touch. If I move my finger from the botom of the trackpad upwards (or vice versa), the cursor will stop momentarily as it passes over the horizontal strip. The buttons are fine and the rest of the trackpad is fine. For the moment, I've increased the cursor acceleration so that I can at least navigate round the screen with a smaller area of the trackpad. USB magic mouse seems to work fine.
    If anyone else has experienced this &/or found a solution for this issue, please help me out here. I have rifled through endless threads about MBP trackpad issues with little success & do not live close to an apple store/genius bar.
    This is a 3 week old machine that cost me a small fortune. To be getting software/hardware issues so early on in it's lifespan is really rather worrying for the future.
    Appreciate your help here.
    J

    I'm not sure what caused this, but I extended my lunch break and drove the machine down to the Westfield apple store. I didn't have an appointment with the Genius Bar but I managed to persuade one of the staff to speak to a technician in the workshop. She came back into the store and told me that they had replacement trackpads and that , considering the machine was only 3 weeks old, the technicians kindly sandwiched the repair into their timetable at zero cost. 2 Hours later, I now have a perfectly functioning trackpad/machine.
    I can't thank them enough.
    My only gripe is that I couldn't speak to a technician to find out what the problem was, how they resolved it or what causes these issues for future reference. Understanding why these problems occur often helps to build your own framework of understanding. Most of the threads i've read about trackpad issues are largely unresolved with people only speculating the problem/solution.
    The initial issue I had with the trackpad's erratic behaviour seemed to be a well known problem that many are associating with a trackpad firmware update. Unless by pure coincidence I had an immediate & major hardware fault after it, which is unlikely, my personal guess is that the two issues were related.

  • Transport Issue Please help

    Hello,
    I have got a major prolen during transport.
    I have GEMPLOYE1 Which is a time dependient master data. which has Attribute called 0COUNTRY_ID.
    I have a custome attribute Called Actual PSGroup/Grade GPAYSCGR which has a compounpunding attribute 0COUNTRY_ID
    Now when I am trying to transport PSGroup/Grade GPAYSCGR to QA that transport is failing , the log massage is
    Characteristic GEMPLOYE1: Attribute GPAYSCGR compounded to 0COUNTRY_ID has a diff. time-dpdncy
    If any one saw this issue, please help me to fix the same.
    Samit

    Hi Venu,
    We can't add authorisation objects on Individual servers.We need to add authorisations on BWD ie Dev system and transport to BWI QUA system.This is the Process we need to follow as per our rule set.
    So,As the problem mentioned above if i add some auth. objects on BWD DEV system and transport it to BWI QUA system,it is getting transported Successfully to BWI,but the auth.objects what i have added on BW DEV system is not found on BW QUA system.
    What could be the problem for that,Is that the problem with transports like TP error or is it related with some tables of auth.objects...................
    Could u please analyse the problem and tell me the solution for this..........
    Thanks Much
    Swapna.D

  • Headerrenderer issue -Please help

    Headerrenderer issue -Please help
    hi
    I have a datagrid and I am  doing a custom sorting on the grid(by getting data from DB).
    I achieve this by capturing the headerrelease event of datagrid .In thee venthandler I will query from DB and do event.preventdefault to prevent standard grid sorting.
    Now I need to display my own custom ascending/descending arrows in the header.i have created an header renderer for this,
    In the headerrenderer I am lsitening to the headerrelease event of datagrid and in the eventlistener, as per the sortfield, i am trying to make the sort arrow visible/invisible.
    But somehow making the sort arrows visible/invisible is not working.The initial arrow works fine.it is shown the correct column(Name) as done in the init() method.
    The eventhandler is invoked on clicking the column headers and all the alerts are shown.
    Please see the headerrenderer code below and help me.(code is not complete only the relevant part is included)
    <?xml version="1.0" encoding="utf-8"?><mx:HBox   
    xmlns:mx="http://www.adobe.com/2006/mxml" width="100%" height="100%" horizontalScrollPolicy="off" creationComplete="init()" implements="mx.controls.listClasses.IDropInListItemRenderer">  
    public function init():void{
     headerLabel = dataField.label; 
    _dataGrid.addEventListener(DataGridEvent.HEADER_RELEASE,sortChanged,false);  
    if(_dataField.localeCompare('Name')==0)asc.visible=true; } 
    private function sortChanged(e:DataGridEvent){
     var dg:DataGrid=e.currentTarget asDataGrid;
    varcolumn:DataGridColumn = DataGridColumn(e.currentTarget.columns[e.columnIndex]);if(_dataField.localeCompare(e.dataField)==0)
    if(asc.visible ||(!asc.visible&&!desc.visible))
    Alert.show( 
    'in..');
    asc.visible=false;
    desc.visible=true;
    else if(desc.visible){
    asc.visible= true;
    desc.visible=
    false;
    else{
    asc.visible= 
    false;
    desc.visible=
    false;
    ]]>
    </mx:Script>
    <mx:Text text="{_headerLabel}" />
    <mx:Image source="{ascIcon}" id='asc' visible="false">
    <mx:Image source="{descIcon}" id='desc' visible="false"/>
    </mx:HBox>

    I got the solution!!
    i need to assign the headerrendereer to the columns dynamically inorder for this to work:
    if anybody wants to know details of solution let  me know

  • Can someone help me diagnose a strange stored procedure performance issue please?

    I have a stored procedure (posted below) that returns message recommendations based upon the Yammer Networks you have selected. If I choose one network this query takes less than one second. If I choose another this query takes 9 - 12 seconds.
    /****** Object: StoredProcedure [dbo].[MessageView_GetOutOfContextRecommendations_LargeSet] Script Date: 2/18/2015 3:10:35 PM ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE PROCEDURE [dbo].[MessageView_GetOutOfContextRecommendations_LargeSet]
    -- Parameters
    @UserID int,
    @SourceMessageID int = 0
    AS
    BEGIN
    -- variable for @HomeNeworkUserID
    Declare @HomeNeworkUserID int
    -- Set the HomeNetworkID
    Set @HomeNeworkUserID = (Select HomeNetworkUserID From NetworkUser Where UserID = @UserID)
    -- SET NOCOUNT ON added to prevent extra result sets from
    -- interfering with SELECT statements.
    SET NOCOUNT ON
    -- Begin Select Statement
    Select Top 40 [CreatedDate],[FileDownloadUrl],[HasLinkOrAttachment],[ImagePreviewUrl],[LikesCount],[LinkFileName],[LinkType],[MessageID],[MessageSource],[MessageText],[MessageWebUrl],[NetworkID],[NetworkName],[PosterEmailAddress],[PosterFirstName],[PosterImageUrl],[PosterName],[PosterUserName],[PosterWebUrl],[RepliesCount],[Score],[SmallIconUrl],[Subjects],[SubjectsCount],[UserID]
    -- From View
    From [MessageView]
    -- Do Not Return Any Messages That Have Been Recommended To This User Already
    Where [MessageID] Not In (Select MessageID From MessageRecommendationHistory Where UserID = @UserID)
    -- Do Not Return Any Messages Created By This User
    And [UserID] != @UserID
    -- Do Not Return The MessageID
    And [MessageID] != @SourceMessageID
    -- Only return messages for the Networks the user has selected
    And [NetworkID] In (Select NetworkID From NetworkUser Where [HomeNetworkUserID] = @HomeNeworkUserID And [AllowRecommendations] = 1)
    -- Order By [MessageScore] and [MessageCreatedDate] in reverse order
    Order By [Score] desc, [CreatedDate] desc
    ENDThe Actual Execution Plan Shows up the same; there are more messages on the Network that is slow, 2800 versus 1,500 but the difference is ten times longer on the slow network.Is the fact I am doing a Top 40 what makes it slow? My first guess was to take the Order By Off and that didn't seem to make any difference.The execution plan is below, it takes 62% of the query to look up theIX_Message.Score which is the clustered index, so I thought this would be fast. Also the Clustered Index Seek for the User.UserID take 26%which seems high for what it is doing.
    I have indexes on every field that is queried on so I am kind of at a loss as to where to go next.
    It just seems strange because it is the same view being queried in both cases.
    I tried to run the SQL Server Tuning Wizard but it doesn't run on Azure SQL, and my problem doesn't occur on the data in my local database.
    Thanks for any guidance, I know a lot of the slowness is due to the lower tier Azure SQL we are using, many of the performance issues weren't noticed when were on the full SQL Server, but the other networks work extremely fast so it has to be something to
    with having more rows.
    In case you need the SQL for the View that I am querying it is:
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE VIEW [dbo].[MessageView]
    AS
    SELECT M.UserID, M.MessageID, M.NetworkID, N.Name AS NetworkName, M.Subjects, M.SubjectsCount, M.RepliesCount, M.LikesCount, M.CreatedDate, M.MessageText, M.HasLinkOrAttachment, M.Score, M.WebUrl AS MessageWebUrl, U.UserName AS PosterUserName,
    U.Name AS PosterName, U.FirstName AS PosterFirstName, U.ImageUrl AS PosterImageUrl, U.EmailAddress AS PosterEmailAddress, U.WebUrl AS PosterWebUrl, M.MessageSource, M.ImagePreviewUrl, M.LinkFileName, M.FileDownloadUrl, M.LinkType, M.SmallIconUrl
    FROM dbo.Message AS M INNER JOIN
    dbo.Network AS N ON M.NetworkID = N.NetworkID INNER JOIN
    dbo.[User] AS U ON M.UserID = U.UserID
    GO
    The Network Table has an Index on Network ID, but it non clustered but I don't think that is the culprit.
    Corby

    I marked your response as answer because you gave me information I didn't have about the sort. I ended up rewriting the query to be a join instead of the In's and it improved dramatically, about one second on a very minimal Azure SQL database, and before
    it was 12 seconds on one network. We didn't notice the problem at all before we moved to Azure SQL, it was about one - three seconds at most.
    Here is the updated way that was much more efficient:
    CREATE PROCEDURE [dbo].[Procedure Name]
    -- Parameters
    @UserID int,
    @SourceMessageID int = 0
    AS
    BEGIN
    -- variable for @HomeNeworkUserID
    Declare @HomeNeworkUserID int
    -- Set the HomeNetworkID
    Set @HomeNeworkUserID = (Select HomeNetworkUserID From NetworkUser Where UserID = @UserID)
    -- SET NOCOUNT ON added to prevent extra result sets from
    -- interfering with SELECT statements.
    SET NOCOUNT ON
    ;With cteMessages As
    -- Begin Select Statement
    Select (Fields List)
    -- Join to Network Table
    From MessageView mv Inner Join NetworkUser nu on MV.NetworkID = nu.NetworKID -- Only Return Networks This User Has Selected
    Where nu.HomeNetworkUserID = @HomeNeworkUserID And AllowRecommendations = 1
    -- Do Not Return Any Messages Created By This User
    And mv.[UserID] != @UserID
    -- Do Not Return The MessageID
    And mv.[MessageID] != @SourceMessageID
    ), cteHistoryForThisUser As
    Select MessageID From MessageRecommendationHistory Where UserID = @UserID
    -- Begin Select Statement
    Select Top 40 (Fields List)
    -- Join to Network Table
    From cteMessages m Left Outer Join cteHistoryForThisUser h on m.MessageID = h.MessageID
    -- Do Not Return Any Items Where User Has Already been shown this Message
    Where h.MessageID Is Null
    -- An Order By Is Needed To Get The Best Content First
    Order By Score Desc
    END
    GO
    The Left Outer Join to test for null was the biggest improvement, but it also helped to join to the NetworkUser table instead of do the In sub query.

  • Perplexing connectivity issue Please help

    Hello,
    I am a frequent user of skype and last week itself, on thurs and friday i had two international sessions of two hours that were uninterrupted. Today, i tried the same on skype and it kept disconnecting and dropping. I thought it was a skype issue, and I tried google hangouts and same errors on both sides. Both of our internet connections are stable and working. He is utilizing skype from his mobile phone because we are utilizing teamviewer for remote desktop viewings... Someone please help me with this issue of connectivity. I performed all necessary updates for my yosemite (mac) and also reset my router and internet. went to speedtest.net am at 65mbps and 4mbps respectively..... I dont know what is going on its quite frustrating. 
    There are no firewalls being implemented btw....

    hello please help 

  • Performance Issue ---Need help

    Hello Friends,
    Could you guys please help me in improving the performance. This query takes 2 minutes to run and I was wondering if you guys can just take a look and suggest something. I would really appreciate your help on this
    ALTER PROCEDURE [dbo].test
    @loginid int,
    @branchid int,
    @asofdate datetime,
    @ageperiod int,
    @showdetails bit,
    @programstatus INT,
    @propertytype INT,
    @sortby nvarchar(100)
    AS
    BEGIN
    SET FMTONLY OFF -- will allow temp tables on procedures for fyi reporting
    SET NOCOUNT ON
    SELECT
    mecdate = CONVERT( DATETIME, CONVERT(NVARCHAR(4),monthendyear) + '-' + CONVERT(NVARCHAR(2),monthendmonth) + '-1 00:00:00.000' ),
    branchid
    INTO
    #mecs
    FROM
    tmonthendcompleted
    WHERE
    companyid = 1 -- we should put it as parameter but we only have one company
    AND
    @branchid = -999
    OR branchid = @branchid
    --Create temp table
    CREATE TABLE #tmpAR
    branchid int not null default (0),
    accountid int not null default (0),
    siteid int not null default (0),
    programid int not null default (0),
    routeid int not null default(0),
    invoiceid int not null default (0),
    paymentid int not null default(0),
    transactiondate datetime not null,
    eventname nvarchar(50) not null,
    agingbucketnumber int not null default (0),
    invoicetotal money not null default (0),
    paymenttotal money not null default (0),
    prepay money not null default (0),
    prepayid int not null default(0)
    --Get pending invoices
    INSERT INTO
    #tmpAR (branchid, accountid, siteid, programid, routeid, invoiceid, transactiondate, eventname, agingbucketnumber, invoicetotal)
    SELECT
    invitem.servicecenterid, inv.accountid, est.siteid, invitem.programid,
    ISNULL((select top 1 routeid from tprogramvalue WHERE programid = invitem.programid AND effectivedate <= @asofdate and routeid > 0 order by effectivedate desc, utctimestamp desc), 0),
    inv.invoiceid, inv.invoicedate, max(invitem.itemdescription),
    -- go to first day of invoice month, get max MEC date and datediff to get bucket # (according to asofdate)
    ISNULL((DATEDIFF(MONTH, DATEADD(month, DATEDIFF(month, 0, inv.invoicedate), 0), (SELECT MAX(mecdate) FROM #mecs WHERE branchid = invitem.servicecenterid AND mecdate <= @asofdate)) ),0),
    SUM(invitem.subtotalregular + invitem.fedtaxregular + invitem.statetaxregular + invitem.localtaxregular)
    FROM
    tinvoiceitem invitem
    INNER JOIN tinvoice inv ON invitem.invoiceid = inv.invoiceid
    INNER JOIN tprogram prog ON invitem.programid = prog.programid
    INNER JOIN tprogramsetup ON prog.programtypeid = tprogramsetup.programtypeid
    INNER JOIN testimate est ON prog.estimateid = est.estimateid
    INNER JOIN vreportlogin on invitem.servicecenterid = vreportlogin.branchid
    INNER JOIN ttempkeyid tmpkey on tprogramsetup.reportcategory=tmpkey.keyid and tmpkey.typeid=64 and tmpkey.loginid = @loginid
    WHERE
    vreportlogin.loginid = @loginid
    AND (@branchid=-999 or vreportlogin.branchid = @branchid)
    AND inv.invoicedate < @asofdate
    GROUP BY
    invitem.servicecenterid, inv.accountid, est.siteid, invitem.programid, inv.routeid,
    inv.invoiceid, inv.invoicedate
    HAVING
    (ROUND(SUM(ISNULL([subtotalregular],0) + ISNULL([fedtaxregular],0) + ISNULL([statetaxregular],0) + ISNULL([localtaxregular],0)),2)
    ROUND(ISNULL((select sum(tpaymentitem.amount)
    from tpaymentitem
    inner join tpayment on tpayment.paymentid = tpaymentitem.headerid
    where invoiceid=inv.invoiceid
    and tpayment.datereceived < @asofdate),0)
    ,2)
    ) > 0
    --Get payments to pending invoices
    INSERT INTO
    #tmpAR (branchid, accountid, siteid, programid, routeid, invoiceid, paymentid, transactiondate, eventname, agingbucketnumber, paymenttotal)
    SELECT
    payitem.servicecenterid, pay.accountid, est.siteid, payitem.programid,
    ISNULL((select top 1 routeid from tprogramvalue WHERE programid =payitem.programid AND effectivedate <= @asofdate and routeid > 0 order by effectivedate desc, utctimestamp desc), 0),
    payitem.invoiceid, pay.paymentid, pay.datereceived,
    (select max(tinvoiceitem.itemdescription) from tinvoiceitem where invoiceid = payitem.invoiceid),
    -- go to first day of invoice month, get max MEC date and datediff to get bucket # (according to asofdate)
    ISNULL((DATEDIFF(MONTH, DATEADD(month, DATEDIFF(month, 0, inv.invoicedate), 0), (SELECT MAX(mecdate) FROM #mecs WHERE branchid = payitem.servicecenterid AND mecdate <= @asofdate)) ),0),
    SUM(payitem.amount)
    FROM
    tpaymentitem payitem
    INNER JOIN tpayment pay ON payitem.headerid = pay.paymentid
    INNER JOIN tprogram prog ON payitem.programid = prog.programid
    INNER JOIN tprogramsetup ON prog.programtypeid = tprogramsetup.programtypeid
    INNER JOIN testimate est ON prog.estimateid = est.estimateid
    INNER JOIN tinvoice inv ON payitem.invoiceid = inv.invoiceid
    INNER JOIN vreportlogin on payitem.servicecenterid = vreportlogin.branchid
    INNER JOIN ttempkeyid tmpkey on tprogramsetup.reportcategory=tmpkey.keyid and tmpkey.typeid=64 and tmpkey.loginid = @loginid
    WHERE
    vreportlogin.loginid = @loginid
    AND (@branchid=-999 or vreportlogin.branchid = @branchid)
    AND payitem.invoiceid in (select invoiceid from #tmpAR)
    AND pay.datereceived < @asofdate
    GROUP BY
    payitem.servicecenterid, pay.accountid, est.siteid, payitem.programid, inv.routeid,
    payitem.invoiceid, inv.invoicedate, pay.paymentid, pay.datereceived
    --Get payments to cop
    INSERT INTO
    #tmpAR (branchid, accountid, siteid, programid, routeid, prepayid, transactiondate, eventname, prepay)
    SELECT
    payitem.servicecenterid, pay.accountid, est.siteid, payitem.programid,
    ISNULL((select top 1 routeid from tprogramvalue WHERE programid =payitem.programid AND effectivedate <= @asofdate and routeid > 0 order by effectivedate desc, utctimestamp desc), 0) as routeid,
    pay.paymentid, pay.datereceived, max(progname.programname), SUM(payitem.amount)
    FROM
    tpaymentitem payitem
    INNER JOIN tpayment pay ON payitem.headerid = pay.paymentid
    INNER JOIN tprogram prog ON payitem.programid = prog.programid
    INNER JOIN tprogramsetup ON prog.programtypeid = tprogramsetup.programtypeid
    INNER JOIN tprogramsetupname000 progname ON progname.programtypeid = prog.programtypeid
    INNER JOIN testimate est ON prog.estimateid = est.estimateid
    INNER JOIN vreportlogin on payitem.servicecenterid = vreportlogin.branchid
    INNER JOIN ttempkeyid tmpkey on tprogramsetup.reportcategory=tmpkey.keyid and tmpkey.typeid=64 and tmpkey.loginid = @loginid
    WHERE
    vreportlogin.loginid = @loginid
    AND (@branchid=-999 or vreportlogin.branchid = @branchid)
    AND pay.datereceived < @asofdate
    AND payitem.invoiceid = 0
    GROUP BY
    pay.paymentid, payitem.servicecenterid, pay.accountid, est.siteid, payitem.programid, pay.datereceived
    CREATE TABLE #tmpAR2
    branchid int not null default (0),
    accountid int not null default (0),
    siteid int not null default(0),
    programid int not null default(0),
    routeid int not null default(0),
    invoiceid int not null default(0),
    paymentid int not null default(0),
    prepayid int not null default(0),
    transactiondate datetime,
    transactiondescription nvarchar(200),
    eventname nvarchar(50),
    InBucket01 money default (0),
    InBucket2 money default (0),
    InBucket3 money default (0),
    InBucket4 money default (0),
    InBucket5 money default (0),
    prepay money default (0),
    ProgramInBucket01 money not null default(0),
    ProgramInBucket2 money not null default(0),
    ProgramInBucket3 money not null default(0),
    ProgramInBucket4 money not null default(0),
    ProgramInBucket5 money not null default(0),
    ProgramDebit money not null default(0),
    ProgramCredit money not null default(0),
    ProgramBalance money not null default(0),
    RouteInBucket01 money not null default(0),
    RouteInBucket2 money not null default(0),
    RouteInBucket3 money not null default(0),
    RouteInBucket4 money not null default(0),
    RouteInBucket5 money not null default(0),
    RouteDebit money not null default(0),
    RouteCredit money not null default(0),
    RouteBalance money not null default(0),
    BranchInBucket01 money not null default(0),
    BranchInBucket2 money not null default(0),
    BranchInBucket3 money not null default(0),
    BranchInBucket4 money not null default(0),
    BranchInBucket5 money not null default(0),
    BranchDebit money not null default(0),
    BranchCredit money not null default(0),
    BranchBalance money not null default(0)
    update #tmpAR
    set agingbucketnumber = 4
    where agingbucketnumber > 4
    --Bucket 0 INVOICES
    INSERT INTO #tmpAR2 (branchid, accountid, invoiceid, transactiondate, transactiondescription, eventname, InBucket01, siteid, programid, routeid)
    SELECT branchid, accountid, invoiceid, transactiondate, dbo.fngetTransactionDescription(invoiceid,1) as description, eventname, invoicetotal, siteid, programid, routeid
    FROM #tmpAR
    WHERE agingbucketnumber = 0
    AND invoicetotal > 0
    --Bucket 0 PAYMENTS
    INSERT INTO #tmpAR2 (branchid, accountid, paymentid, transactiondate, transactiondescription, eventname, InBucket01, siteid, programid, routeid)
    SELECT branchid, accountid, paymentid, transactiondate, dbo.fngetTransactionDescription(paymentid,2) as description, eventname, paymenttotal*-1, siteid, programid, routeid
    FROM #tmpAR
    WHERE agingbucketnumber = 0
    AND paymenttotal <> 0
    --Bucket 1 INVOICE
    INSERT INTO #tmpAR2 (branchid, accountid, invoiceid, transactiondate, transactiondescription, eventname, InBucket2, siteid, programid, routeid)
    SELECT branchid, accountid, invoiceid, transactiondate, dbo.fngetTransactionDescription(invoiceid,1) as description, eventname, invoicetotal, siteid, programid, routeid
    FROM #tmpAR
    WHERE agingbucketnumber = 1
    AND invoicetotal > 0
    --Bucket 1 PAYMENT
    INSERT INTO #tmpAR2 (branchid, accountid, paymentid, transactiondate, transactiondescription, eventname, InBucket2, siteid, programid, routeid)
    SELECT branchid, accountid, paymentid, transactiondate, dbo.fngetTransactionDescription(paymentid,2) as description, eventname, paymenttotal*-1, siteid, programid, routeid
    FROM #tmpAR
    WHERE agingbucketnumber = 1
    AND paymenttotal <> 0
    --Bucket 2 INVOICES
    INSERT INTO #tmpAR2 (branchid, accountid, invoiceid, transactiondate, transactiondescription, eventname, InBucket3, siteid, programid, routeid)
    SELECT branchid, accountid, invoiceid, transactiondate, dbo.fngetTransactionDescription(invoiceid,1) as description, eventname, invoicetotal, siteid, programid, routeid
    FROM #tmpAR
    WHERE agingbucketnumber = 2
    AND invoicetotal > 0
    --Bucket 2 PAYMENT
    INSERT INTO #tmpAR2 (branchid, accountid, paymentid, transactiondate, transactiondescription, eventname, InBucket3, siteid, programid, routeid)
    SELECT branchid, accountid, paymentid, transactiondate, dbo.fngetTransactionDescription(paymentid,2) as description, eventname, paymenttotal*-1, siteid, programid, routeid
    FROM #tmpAR
    WHERE agingbucketnumber = 2
    AND paymenttotal <> 0
    --Bucket 3 (91-120 days) INVOICES
    INSERT INTO #tmpAR2 (branchid, accountid, invoiceid, transactiondate, transactiondescription, eventname, InBucket4, siteid, programid, routeid)
    SELECT branchid, accountid, invoiceid, transactiondate, dbo.fngetTransactionDescription(invoiceid,1) as description, eventname, invoicetotal, siteid, programid, routeid
    FROM #tmpAR
    WHERE agingbucketnumber = 3
    AND invoicetotal > 0
    --Bucket 3 (91-120 days) PAYMENTS
    INSERT INTO #tmpAR2 (branchid, accountid, paymentid, transactiondate, transactiondescription, eventname, InBucket4, siteid, programid, routeid)
    SELECT branchid, accountid, paymentid, transactiondate, dbo.fngetTransactionDescription(paymentid,2) as description, eventname, paymenttotal*-1, siteid, programid, routeid
    FROM #tmpAR
    WHERE agingbucketnumber = 3
    AND paymenttotal <> 0
    --Bucket 4 (over 120 days) INVOICES
    INSERT INTO #tmpAR2 (branchid, accountid, invoiceid, transactiondate, transactiondescription, eventname, InBucket5, siteid, programid, routeid)
    SELECT branchid, accountid, invoiceid, transactiondate, dbo.fngetTransactionDescription(invoiceid,1) as description, eventname, invoicetotal, siteid, programid, routeid
    FROM #tmpAR
    WHERE agingbucketnumber = 4
    AND invoicetotal > 0
    --Bucket 4 (over 120 days) PAYMENTS
    INSERT INTO #tmpAR2 (branchid, accountid, paymentid, transactiondate, transactiondescription, eventname, InBucket5, siteid, programid, routeid)
    SELECT branchid, accountid, paymentid, transactiondate, dbo.fngetTransactionDescription(paymentid,2) as description, eventname, paymenttotal*-1, siteid, programid, routeid
    FROM #tmpAR
    WHERE agingbucketnumber = 4
    AND paymenttotal <> 0
    --Prepay
    INSERT INTO #tmpAR2 (branchid, accountid, prepayid, transactiondate, transactiondescription, eventname, prepay, siteid, programid, routeid)
    SELECT branchid, accountid, prepayid, transactiondate, dbo.fngetTransactionDescription(prepayid,2) as description, eventname, prepay*-1, siteid, programid, routeid
    FROM #tmpAR
    WHERE prepay <> 0
    DECLARE @InBucket01Total money
    DECLARE @InBucket2Total money
    DECLARE @InBucket3Total money
    DECLARE @InBucket4Total money
    DECLARE @InBucket5Total money
    DECLARE @DebitBalance money
    DECLARE @CreditBalance money
    DECLARE @Balance money
    --PROGRAM TOTALS
    SELECT
    INTO
    #tmpProgramTotals
    FROM
    #tmpAR2
    DECLARE @programid int
    DECLARE @routeid int
    WHILE (select COUNT(*) from #tmpProgramTotals) > 0
    BEGIN
    select top 1 @programid = programid, @routeid = routeid from #tmpProgramTotals
    --Get Program Totals
    select
    @InBucket01Total = SUM(InBucket01),
    @InBucket2Total = SUM(InBucket2),
    @InBucket3Total = SUM(InBucket3),
    @InBucket4Total = SUM(InBucket4),
    @InBucket5Total = SUM(InBucket5),
    @DebitBalance = SUM(InBucket01) + SUM(InBucket2) + SUM(InBucket3) + SUM(InBucket4) + SUM(InBucket5),
    @CreditBalance = SUM(prepay),
    @Balance = ((SUM(InBucket01) + SUM(InBucket2) + SUM(InBucket3) + SUM(InBucket4) + SUM(InBucket5)) + SUM(prepay))
    from #tmpProgramTotals where programid = @programid and routeid = @routeid
    UPDATE
    #tmpAR2
    SET
    ProgramInBucket01 = @InBucket01Total,
    ProgramInBucket2 = @InBucket2Total,
    ProgramInBucket3 = @InBucket3Total,
    ProgramInBucket4 = @InBucket4Total,
    ProgramInBucket5 = @InBucket5Total,
    ProgramDebit = @DebitBalance,
    ProgramCredit = @CreditBalance,
    ProgramBalance = @Balance
    WHERE
    programid = @programid
    AND routeid = @routeid
    delete #tmpProgramTotals where programid = @programid and routeid = @routeid
    END
    DROP TABLE #tmpProgramTotals
    CREATE TABLE #tmpIncludedprepay (paymentid int)
    SELECT
    INTO
    #tmpProgramCredits
    FROM
    #tmpAR2
    WHILE (select COUNT(*) from #tmpProgramCredits) > 0
    BEGIN
    select top 1 @programid = programid, @routeid = routeid from #tmpProgramCredits
    declare @programcreditbalance money
    select @programcreditbalance = ProgramCredit from #tmpAR2 where programid = @programid and routeid = @routeid
    while @programcreditbalance < 0
    BEGIN
    declare @creditamount money
    declare @paymentid int
    select top 1 @creditamount = prepay, @paymentid = prepayid
    from #tmpAR2
    where programid = @programid and routeid = @routeid
    and prepayid <> 0 and prepayid not in (select paymentid from #tmpIncludedprepay)
    and prepay < 0
    order by transactiondate desc
    insert into #tmpIncludedprepay values (@paymentid)
    if @programcreditbalance - @creditamount > 0
    BEGIN
    UPDATE
    #tmpAR2
    SET
    prepay = @programcreditbalance
    WHERE
    prepayid = @paymentid
    END
    set @programcreditbalance = @programcreditbalance - @creditamount
    END
    delete #tmpProgramCredits where programid = @programid and routeid = @routeid
    END
    DROP TABLE #tmpProgramCredits
    DELETE FROM #tmpAR2
    WHERE prepayid <> 0 AND prepayid not in (select paymentid from #tmpIncludedprepay)
    DROP TABLE #tmpIncludedprepay
    SELECT
    acct.accountid,
    acct.accountnum,
    br.branchid,
    br.branchname,
    r.routeid,
    r.routename,
    CASE scontact.businessname WHEN '' THEN scontact.lastname + '. ' + scontact.firstname ELSE scontact.businessname END as Name,
    sphone.phonenumber,
    CASE WHEN prog.canceldate is not null THEN 'Cancelled'
    ELSE CASE WHEN prog.pendingcanceldate is not null THEN 'Pending Cancel'
    ELSE CASE WHEN prog.warrantyexpirationdate <= @asofdate THEN 'Expired'
    ELSE 'Active' END
    END
    END as programstatus,
    CASE WHEN prog.canceldate is not null THEN 3
    ELSE CASE WHEN prog.pendingcanceldate is not null THEN 4
    ELSE CASE WHEN prog.warrantyexpirationdate <= @asofdate THEN 2
    ELSE 1 END
    END
    END as programstatus_indicator,
    prog.programid,
    convert(varchar, transactiondate, 101) as transactiondate,
    transactiondescription,
    eventname,
    (CASE WHEN prepay <> 0 then prepay else InBucket01 END) as InBucket01,
    InBucket2,
    InBucket3,
    InBucket4,
    InBucket5,
    ProgramDebit,
    ProgramCredit,
    ProgramBalance,
    ProgramInBucket01,
    ProgramInBucket2,
    ProgramInBucket3,
    ProgramInBucket4,
    ProgramInBucket5,
    RouteInBucket01,
    RouteInBucket2,
    RouteInBucket3,
    RouteInBucket4,
    RouteInBucket5,
    RouteDebit,
    RouteCredit,
    RouteBalance,
    BranchInBucket01,
    BranchInBucket2,
    BranchInBucket3,
    BranchInBucket4,
    BranchInBucket5,
    BranchDebit,
    BranchCredit,
    BranchBalance,
    Detail = 1,
    Age = CASE @ageperiod
    WHEN 0 THEN 'Debits'
    WHEN 1 THEN 'Credits'
    WHEN 2 THEN '31-60 Days and older'
    WHEN 3 THEN '61-90 Days and older'
    WHEN 4 THEN '91-120 Days and older'
    WHEN 5 THEN '120 Days and older'
    WHEN -999 THEN 'All Balance'
    END,
    PropertyType = CASE sit.propertytype
    WHEN 1 THEN 'Residential'
    WHEN 2 THEN 'Commercial'
    WHEN 5 THEN 'National'
    ELSE ''
    END
    INTO
    #results
    FROM
    #tmpAR2
    INNER JOIN taccount acct ON acct.accountid = #tmpAR2.accountid
    INNER JOIN tbranch br ON br.branchid = #tmpAR2.branchid
    INNER JOIN troute r ON r.routeid = #tmpAR2.routeid
    INNER JOIN tprogram prog ON prog.programid = #tmpAR2.programid
    INNER JOIN testimate est ON est.estimateid = prog.estimateid
    INNER JOIN tsite sit ON sit.siteid = est.siteid
    INNER JOIN tcontact scontact on acct.primarycontactid = scontact.contactid
    INNER JOIN taddress saddr on acct.billingaddressid = saddr.addressid
    LEFT JOIN tcontactphonenumber sphone ON scontact.primaryphoneid = sphone.phoneid
    WHERE
    --Debit Balance
    (@ageperiod <> 0 OR ProgramBalance > 0)
    --Credit Balance
    AND (@ageperiod <> 1 OR ProgramBalance < 0)
    --31-60 Days and older
    AND (@ageperiod <> 2 OR (ProgramInBucket2 > 0 or ProgramInBucket3 > 0 or ProgramInBucket4 > 0 or ProgramInBucket5 > 0))
    --61-90 Days and older
    AND (@ageperiod <> 3 OR (ProgramInBucket3 > 0 or ProgramInBucket4 > 0 or ProgramInBucket5 > 0))
    --90 Days and older
    AND (@ageperiod <> 4 OR (ProgramInBucket4 > 0 or ProgramInBucket5 > 0))
    --120 Days and older
    AND (@ageperiod <> 5 OR ProgramInBucket5 > 0)
    -- property type
    AND (@propertytype = -999 OR sit.propertytype = @propertytype)
    --Need to add a line with null values for the timeline if details are not showing
    IF @showdetails = 0
    BEGIN
    INSERT INTO
    #results
    SELECT DISTINCT
    --TFS-8903 .. JL ... 2/12/2014
    accountid,
    accountnum, branchid, branchname, routeid, routename, Name,
    phonenumber, programstatus,programstatus_indicator,programid, null, null, null,
    null, null, null, null, null,
    ProgramDebit,ProgramCredit, ProgramBalance,
    ProgramInBucket01, ProgramInBucket2, ProgramInBucket3, ProgramInBucket4, ProgramInBucket5,
    RouteInBucket01, RouteInBucket2, RouteInBucket3, RouteInBucket4, RouteInBucket5,
    RouteDebit, RouteCredit, RouteBalance,
    BranchInBucket01, BranchInBucket2, BranchInBucket3, BranchInBucket4, BranchInBucket5,
    BranchDebit, BranchCredit, BranchBalance,
    0, Age, PropertyType
    FROM
    #results
    DELETE FROM #results
    WHERE Detail = 1
    END
    IF @programstatus <> -999 AND @programstatus <> 1 -- ACTIVE
    BEGIN
    DELETE r
    FROM
    #results r
    INNER JOIN tprogram p
    ON r.programid = p.programid
    WHERE
    r.programstatus_indicator = 1
    END
    IF @programstatus <> -999 AND @programstatus <> 2 -- Expired
    BEGIN
    DELETE r
    FROM
    #results r
    INNER JOIN tprogram p
    ON r.programid = p.programid
    WHERE
    r.programstatus_indicator = 2
    END
    IF @programstatus <> -999 AND @programstatus <> 3 -- CANCELLED
    BEGIN
    DELETE r
    FROM
    #results r
    INNER JOIN tprogram p
    ON r.programid = p.programid
    WHERE
    r.programstatus_indicator = 3
    END
    IF @programstatus <> -999 AND @programstatus <> 4 -- PENDING CANCEL
    BEGIN
    DELETE r
    FROM
    #results r
    INNER JOIN tprogram p
    ON r.programid = p.programid
    WHERE
    r.programstatus_indicator = 4
    END
    SELECT
    branchid,
    routeid
    INTO
    #branchesRoutes
    FROM
    tbranchroute
    IF @branchid <> -999
    BEGIN
    DELETE FROM #branchesRoutes
    WHERE branchid <> @branchid
    END
    SELECT
    accountid = ISNULL(res.accountid,0),
    accountnum = ISNULL(res.accountnum, ''),
    branchid = b.branchid,
    branchname = b.branchname,
    routeid = r.routeid,
    routename = r.routename,
    Name = ISNULL(Name,''),
    phonenumber,
    programstatus,
    programid = ISNULL(programid,0),
    transactiondate = transactiondate,
    transactiondescription,
    eventname,
    detail0to30 = InBucket01,
    detail31to60 = InBucket2,
    detail61to90 = InBucket3,
    detailOver90 = InBucket4,
    detailOver120 = InBucket5,
    ProgramDebit = ISNULL(ProgramDebit,0),
    ProgramCredit = ISNULL(ProgramCredit,0),
    ProgramBalance = ISNULL(ProgramBalance,0),
    Program0to30 = ISNULL(ProgramInBucket01,0),
    Program31to60 = ISNULL(ProgramInBucket2,0),
    Program61to90 = ISNULL(ProgramInBucket3,0),
    ProgramOver90 = ISNULL(ProgramInBucket4,0),
    ProgramOver120 = ISNULL(ProgramInBucket5,0),
    Route0to30 = ISNULL(RouteInBucket01,0),
    Route31to60 = ISNULL(RouteInBucket2,0),
    Route61to90 = ISNULL(RouteInBucket3,0),
    RouteOver90 = ISNULL(RouteInBucket4,0),
    RouteOver120 = ISNULL(RouteInBucket5,0),
    RouteDebit = ISNULL(RouteDebit,0),
    RouteCredit = ISNULL(RouteCredit,0),
    RouteBalance = ISNULL(RouteBalance,0),
    Branch0to30 = ISNULL(BranchInBucket01,0),
    Branch31to60 = ISNULL(BranchInBucket2,0),
    Branch61to90 = ISNULL(BranchInBucket3,0),
    BranchOver90 = ISNULL(BranchInBucket4,0),
    BranchOver120 = ISNULL(BranchInBucket5,0),
    BranchDebit = ISNULL(BranchDebit,0),
    BranchCredit = ISNULL(BranchCredit,0),
    BranchBalance = ISNULL(BranchBalance,0),
    ISNULL((select top 1 tfinancestatussetup.financestatus
    from tevent inner join tfinancestatussetup on tevent.financestatusid = tfinancestatussetup.financestatusid
    inner join tprogram on tevent.programid = tprogram.programid
    inner join #results r2 on r2.programid = tprogram.programid
    inner join testimate on testimate.estimateid = tprogram.estimateid
    where testimate.accountid = res.accountid
    order by tevent.submitteddate desc), '') as racstatus,
    Detail = ISNULL(Detail,0),
    Age,
    Case
    when (acc.allowautobill = 1) or
    (select count(accp.programid) from taccountebaprogram accp
    where accp.accountid = acc.accountid ) > 0 then 'Auto Pay'
    else ''
    END as StatusNote,
    CASE @sortby
    WHEN 'name' THEN 1
    ELSE 0
    END as Sort,
    PropertyType,
    hasservices = CASE WHEN res.accountid IS NULL THEN 0 ELSE 1 END
    INTO
    #results2
    FROM
    #results res
    inner join taccount acc on acc.accountid=res.accountid
    inner join #branchesRoutes br on br.routeid = res.routeid AND br.branchid = res.branchid
    inner join troute r ON r.routeid = br.routeid
    inner join tbranch b on b.branchid = br.branchid
    --Set Route Totals
    SELECT
    routeid,
    SUM(ProgramInBucket01) as RouteInBucket01,
    SUM(ProgramInBucket2) as RouteInBucket2,
    SUM(ProgramInBucket3) as RouteInBucket3,
    SUM(ProgramInBucket4) as RouteInBucket4,
    SUM(ProgramInBucket5) as RouteInBucket5, --xx
    SUM(ProgramDebit) as RouteDebit,
    SUM(ProgramCredit) as RouteCredit,
    SUM(ProgramBalance) as RouteBalance
    INTO
    #routetotals
    FROM
    (select distinct
    routeid, programid, ProgramInBucket01, ProgramInBucket2, ProgramInBucket3, ProgramInBucket4, ProgramInBucket5, ProgramDebit, ProgramCredit, ProgramBalance
    from
    #results
    ) t
    GROUP BY
    routeid
    UPDATE
    #results2
    SET
    Route0to30 = t.RouteInBucket01,
    Route31to60 = t.RouteInBucket2,
    Route61to90 = t.RouteInBucket3,
    RouteOver90 = t.RouteInBucket4,
    RouteOver120 = t.RouteInBucket5,
    RouteDebit = t.RouteDebit,
    RouteCredit = t.RouteCredit,
    RouteBalance = t.RouteBalance
    FROM
    #results2
    INNER JOIN #routetotals t on t.routeid = #results2.routeid
    --Set Branch Totals
    SELECT
    branchid,
    SUM(Route0to30) as BranchInBucket01,
    SUM(Route31to60) as BranchInBucket2,
    SUM(Route61to90) as BranchInBucket3,
    SUM(RouteOver90) as BranchInBucket4,
    SUM(RouteOver120) as BranchInBucket5,
    SUM(RouteDebit) as BranchDebit,
    SUM(RouteCredit) as BranchCredit,
    SUM(RouteBalance) as BranchBalance
    INTO
    #branchtotals
    FROM
    (select distinct
    branchid, routeid, Route0to30, Route31to60, Route61to90, RouteOver90, RouteOver120, RouteDebit, RouteCredit, RouteBalance
    from
    #results2
    ) t
    GROUP BY
    branchid
    UPDATE
    #results2
    SET
    Branch0to30 = t.BranchInBucket01,
    Branch31to60 = t.BranchInBucket2,
    Branch61to90 = t.BranchInBucket3,
    BranchOver90 = t.BranchInBucket4,
    BranchOver120 = t.BranchInBucket5,
    BranchDebit = t.BranchDebit,
    BranchCredit = t.BranchCredit,
    BranchBalance = t.BranchBalance
    FROM
    #results2
    INNER JOIN #branchtotals t on t.branchid = #results2.branchid
    SELECT * FROM #results2 -- order by routeid, branchid
    drop table #branchesRoutes
    drop table #tmpAR
    drop table #branchtotals
    drop table #routetotals
    drop table #tmpAR2
    drop table #results
    drop table #results2
    drop table #mecs
    END

    Use this tool on my web site:
    http://www.sommarskog.se/sqlutil/sqltrace.html
    The stored procedure sp_sqltrace sets up a trace filtered for you own spid, and accepts a command batch, which in your case is a call to your stored procedure. It will aggregrate the data per statement. This procedure helps you identify what is taking time.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • New Infinity connect issues - please help

    We are having ongoing issues with getting BT infinity installed to our new house.  I really need someone that can actually help us find out what is wrong and how we can resolve the issues we are having.
    It all started a few months ago when we ordered BT infinity and a new phone line to our new Chapel conversion house.
    Initially there were some issues with the engineer being unable to get the phone line to the house. After numerous phone calls and several engineers visits, we these have now been resolved and we do have a working telephone.
    The problem seems to be with the Infinity. Nobody can give me an answer as to why we have not yet got a connection.
    When the phone engineer visited he said that he would try and connect the Infinity in the green box. – When he went to do this he tried to obtain our patching information and was informed that there was no live order for infinity on our number… As there was nothing more he could do he left.
    We then checked with BT and they confirmed that we do have an order for infinity and that there was a problem that needed and engineer to look at. (We have a box and are paying for the service already…
    We were told last week that an engineer was going to attend on Monday 13th Jan and that we definitely would have a connection by last Monday at the latest… - no engineer attended despite my wife spending her 3rd day in the house waiting for an engineer!
    She phone BT on Tuesday and was told that there was a problem and she would be contacted by Thursday Morning at the latest. – Needless to say , No phone call!!
    We really need to sort this connection out.  Is there anyone who can take this and run with it until it’s sorted? – We are getting nowhere talking to random individuals who have no real history of our connection history.
    Please Help!
    Doug

    Hi dougchapel,
    Thanks for posting and welcome!
    I'm sorry for the problems you're having getting set up on BT Infinity.  I can help get you sorted from here.  Click on my username and under the "about me" section you'll see the link to get in touch with us.
    Cheers,
    Robbie
    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 that 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 :-)
    If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’.

  • EP6 sp12 Performance Issue, Need help to improve performance

    We have a Portal development environment with EP6.0 sp12.
    What we are experiencing is performance issue, It's not extremely slow, but slow compared to normal ( compared to our prod box). For example, after putting the username and password and clicking the <Log on> Button it's taking more than 10 secs for the first home page to appear. Also currently we have hooked the Portal with 3 xAPPS system and one BW system. The time taken for a BW query to appear ( with selection screen) is also more than 10 secs. However access to one other xAPPS is comparatively faster.
    Do we have a simple to use guide( Not a very elaborate one) with step by step guidance to immediately improve the performance of the Portal.
    Simple guide, easy to implement,  with immediate effect is what we are looking for in the short term
    Thanks
    Arunabha

    Hi Eric,
      I have searched but didn't find the Portal Tuning and Optimization Guide as you have suggested, Can you help to find this.
    Subrato,
      This is good and I would obviously read through this, The issue here is this is only for Network.
      But do you know any other guide, which as very basic ( may be 10 steps) and show step by step the process, it would be very helpful. I already have some information from the thread Portal Performance - page loads slow, client cache reset/cleared too often
    But really looking for answer ( steps to do it quickly and effectively) instead of list of various guides.
    It would be very helpful if you or anybody( who has actually done some performance tuning) can send  a basic list of steps that I can do immediately, instead of reading through these large guides.
    I know I am looking for a shortcut, but this is the need of the hour.
    Thanks
    Arun

  • XML Publisher Issue - Please help.

    I am getting the following error when running the XML Report . The program is completing in warning message.
    “Beginning post-processing of request 235281769 on node RMOHSDCGR02 at 19-OCT-2010 10:27:33.
    Post-processing of request 235281769 failed at 19-OCT-2010 10:27:34 with the error message:
    One or more post-processing actions failed. Consult the OPP service log for details.”
    I have checked the OPP file
    SELECT fcpp.concurrent_request_id req_id, fcp.node_name, fcp.logfile_name
    FROM fnd_conc_pp_actions fcpp, fnd_concurrent_processes fcp
    WHERE fcpp.processor_id = fcp.concurrent_process_id
    AND fcpp.action_type = 6
    AND fcpp.concurrent_request_id = 235281769;
    file_details
    [10/9/10 2:18:18 PM] [main] Starting GSF service with concurrent process id = 76893.
    [10/9/10 2:18:18 PM] [main] Initialization Parameters: oracle.apps.fnd.cp.opp.OPPServiceThread:2:0:max_threads=5
    [10/9/10 2:18:18 PM] [Thread-16] Service thread starting up.
    [10/9/10 2:18:18 PM] [Thread-17] Service thread starting up.
    [10/18/10 11:57:11 AM] [OPPServiceThread0] Post-processing request 235281598.
    [10/18/10 11:57:11 AM] [76893:RT235281598] Executing post-processing actions for request 235281598.
    [10/18/10 11:57:12 AM] [76893:RT235281598] Starting XML Publisher post-processing action.
    [10/18/10 11:57:12 AM] [76893:RT235281598]
    Template code: XXDC_MM_UPL_CREDIT_PROF
    Template app: XXDC
    Language: en
    Territory: 00
    Output type: PDF
    [101810_115712335][][EXCEPTION] [DEBUG] ------- Preferences defined PreferenceStore -------
    [101810_115712335][][EXCEPTION] [DEBUG] ------- Environment variables stored in EnvironmentStore -------
    [101810_115712336][][EXCEPTION] [DEBUG] [FND_JDBC_IDLE_THRESHOLD.LOW]:[-1]
    [101810_115712336][][EXCEPTION] [DEBUG] [SECURITY_GROUP_ID]:[0]
    [101810_115712336][][EXCEPTION] [DEBUG] [FND_JDBC_BUFFER_DECAY_INTERVAL]:[300]
    [101810_115712336][][EXCEPTION] [DEBUG] [NLS_CHARACTERSET]:[UTF8]
    [101810_115712336][][EXCEPTION] [DEBUG] [RESP_APPL_ID]:[-1]
    [101810_115712336][][EXCEPTION] [DEBUG] [NLS_LANGUAGE]:[AMERICAN]
    [101810_115712336][][EXCEPTION] [DEBUG] [FND_JDBC_BUFFER_MIN]:[1]
    [101810_115712336][][EXCEPTION] [DEBUG] [FND_JDBC_BUFFER_MAX]:[2]
    [101810_115712337][][EXCEPTION] [DEBUG] [NLS_NUMERIC_CHARACTERS]:[.,]
    [101810_115712337][][EXCEPTION] [DEBUG] [APPS_JDBC_URL]:[jdbc:oracle:thin:@(DESCRIPTION=(LOAD_BALANCE=YES)(FAILOVER=YES)(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=rmohsdcgr07.oracleoutsourcing.com)(PORT=10710))(ADDRESS=(PROTOCOL=tcp)(HOST=rmohsdcgr02.oracleoutsourcing.com)(PORT=10710)))(CONNECT_DATA=(SID=DDCGRI)))]
    [101810_115712337][][EXCEPTION] [DEBUG] [RESP_ID]:[-1]
    [101810_115712337][][EXCEPTION] [DEBUG] [FND_MAX_JDBC_CONNECTIONS]:[500]
    [101810_115712337][][EXCEPTION] [DEBUG] [FND_JDBC_USABLE_CHECK]:[false]
    [101810_115712337][][EXCEPTION] [DEBUG] [USER_ID]:[-1]
    [101810_115712337][][EXCEPTION] [DEBUG] [NLS_TERRITORY]:[AMERICA]
    [101810_115712337][][EXCEPTION] [DEBUG] [FND_JDBC_PLSQL_RESET]:[false]
    [101810_115712337][][EXCEPTION] [DEBUG] [FND_JDBC_CONTEXT_CHECK]:[true]
    [101810_115712338][][EXCEPTION] [DEBUG] [NLS_DATE_FORMAT]:[DD-MON-RR]
    [101810_115712338][][EXCEPTION] [DEBUG] [FND_JDBC_BUFFER_DECAY_SIZE]:[5]
    [101810_115712338][][EXCEPTION] [DEBUG] [FND_JDBC_IDLE_THRESHOLD.HIGH]:[-1]
    [101810_115712338][][EXCEPTION] [DEBUG] [NLS_SORT]:[BINARY]
    [101810_115712338][][EXCEPTION] [DEBUG] [NLS_DATE_LANGUAGE]:[AMERICAN]
    [101810_115712338][][EXCEPTION] [DEBUG] [LOGIN_ID]:[-1]
    [101810_115712338][][EXCEPTION] [DEBUG] ------- Properties stored in Java System Properties -------
    [101810_115712338][][EXCEPTION] [DEBUG] [APPLTMP]:[ddcgri/applcsf/tmp]
    [101810_115712339][][EXCEPTION] [DEBUG] [java.runtime.name]:[Java(TM) 2 Runtime Environment, Standard Edition]
    [101810_115712339][][EXCEPTION] [DEBUG] [sun.boot.library.path]:[ddcgri/applmgr/common/util/java/1.5/j2sdk1.5.0_06/jre/lib/i386]
    [101810_115712339][][EXCEPTION] [DEBUG] [java.vm.version]:[1.5.0_06-b05]
    [101810_115712339][][EXCEPTION] [DEBUG] [OVERRIDE_DBC]:[true]
    [101810_115712339][][EXCEPTION] [DEBUG] [dbcfile]:[ddcgri/applmgr/11510/fnd/11.5.0/secure/DDCGRI_rmohsdcgr02/ddcgri.dbc]
    [101810_115712339][][EXCEPTION] [DEBUG] [java.vm.vendor]:[Sun Microsystems Inc.]
    [101810_115712339][][EXCEPTION] [DEBUG] [java.vendor.url]:[http://java.sun.com/]
    [101810_115712339][][EXCEPTION] [DEBUG] [path.separator]:[:]
    [101810_115712339][][EXCEPTION] [DEBUG] [APPLCSF]:[ddcgri/applcsf]
    [101810_115712340][][EXCEPTION] [DEBUG] [java.vm.name]:[Java HotSpot(TM) Server VM]
    [101810_115712340][][EXCEPTION] [DEBUG] [file.encoding.pkg]:[sun.io]
    [101810_115712340][][EXCEPTION] [DEBUG] [user.country]:[US]
    [101810_115712340][][EXCEPTION] [DEBUG] [sun.os.patch.level]:[unknown]
    [101810_115712340][][EXCEPTION] [DEBUG] [java.vm.specification.name]:[Java Virtual Machine Specification]
    [101810_115712340][][EXCEPTION] [DEBUG] [user.dir]:[ddcgri/applcsf/log/DDCGRI_rmohsdcgr02]
    [101810_115712340][][EXCEPTION] [DEBUG] [java.runtime.version]:[1.5.0_06-b05]
    [101810_115712340][][EXCEPTION] [DEBUG] [java.awt.graphicsenv]:[sun.awt.X11GraphicsEnvironment]
    [101810_115712341][][EXCEPTION] [DEBUG] [java.endorsed.dirs]:[ddcgri/applmgr/common/util/java/1.5/j2sdk1.5.0_06/jre/lib/endorsed]
    [101810_115712341][][EXCEPTION] [DEBUG] [os.arch]:[i386]
    [101810_115712341][][EXCEPTION] [DEBUG] [JTFDBCFILE]:[ddcgri/applmgr/11510/fnd/11.5.0/secure/DDCGRI_rmohsdcgr02/ddcgri.dbc]
    [101810_115712341][][EXCEPTION] [DEBUG] [java.io.tmpdir]:[tmp]
    [101810_115712341][][EXCEPTION] [DEBUG] [line.separator]:[
    [101810_115712341][][EXCEPTION] [DEBUG] [java.vm.specification.vendor]:[Sun Microsystems Inc.]
    [101810_115712341][][EXCEPTION] [DEBUG] [os.name]:[Linux]
    [101810_115712341][][EXCEPTION] [DEBUG] [FND_JDBC_BUFFER_MIN]:[1]
    [101810_115712341][][EXCEPTION] [DEBUG] [cpid]:[76893]
    [101810_115712342][][EXCEPTION] [DEBUG] [sun.jnu.encoding]:[ANSI_X3.4-1968]
    [101810_115712342][][EXCEPTION] [DEBUG] [java.library.path]:[ddcgri/applmgr/common/util/java/1.5/j2sdk1.5.0_06/jre/lib/i386/server:/ddcgri/applmgr/common/util/java/1.5/j2sdk1.5.0_06/jre/lib/i386:/ddcgri/applmgr/common/util/java/1.5/j2sdk1.5.0_06/jre/../lib/i386:/ddcgri/product/iAS/lib:/ddcgri/product/806/network/jre11/lib/i686/native_threads:/ddcgri/product/806/network/jre11/lib/linux/native_threads:/ddcgri/applmgr/11510/cz/11.5.0/bin:/ddcgri/product/806/lib:/usr/X11R6/lib:/usr/openwin/lib]
    [101810_115712342][][EXCEPTION] [DEBUG] [java.specification.name]:[Java Platform API Specification]
    [101810_115712342][][EXCEPTION] [DEBUG] [java.class.version]:[49.0]
    [101810_115712342][][EXCEPTION] [DEBUG] [sun.management.compiler]:[HotSpot Server Compiler]
    [101810_115712342][][EXCEPTION] [DEBUG] [os.version]:[2.6.9-89.0.26.0.1.ELlargesmp]
    [101810_115712342][][EXCEPTION] [DEBUG] [LONG_RUNNING_JVM]:[true]
    [101810_115712342][][EXCEPTION] [DEBUG] [user.home]:[ddcgri/product]
    [101810_115712342][][EXCEPTION] [DEBUG] [user.timezone]:[Europe/London]
    [101810_115712343][][EXCEPTION] [DEBUG] [java.awt.printerjob]:[sun.print.PSPrinterJob]
    [101810_115712347][][EXCEPTION] [DEBUG] [file.encoding]:[ANSI_X3.4-1968]
    [101810_115712347][][EXCEPTION] [DEBUG] [java.specification.version]:[1.5]
    [101810_115712347][][EXCEPTION] [DEBUG] [CACHEMODE]:[DISTRIBUTED]
    [101810_115712348][][EXCEPTION] [DEBUG] [java.class.path]:[ddcgri/applmgr/common/util/java/1.5/j2sdk1.5.0_06/jre/lib/rt.jar:/ddcgri/applmgr/common/util/java/1.5/j2sdk1.5.0_06/lib/dt.jar:/ddcgri/applmgr/common/util/java/1.5/j2sdk1.5.0_06/lib/tools.jar:/ddcgri/applmgr/common/util/java/1.5/j2sdk1.5.0_06/jre/lib/charsets.jar:/ddcgri/applmgr/common/java/appsborg2.zip:/ddcgri/product/806/forms60/java:/ddcgri/applmgr/common/java]
    [101810_115712348][][EXCEPTION] [DEBUG] [user.name]:[apddcgri]
    [101810_115712348][][EXCEPTION] [DEBUG] [DBCFILE]:[ddcgri/applmgr/11510/fnd/11.5.0/secure/DDCGRI_rmohsdcgr02/ddcgri.dbc]
    [101810_115712348][][EXCEPTION] [DEBUG] [java.vm.specification.version]:[1.0]
    [101810_115712348][][EXCEPTION] [DEBUG] [java.home]:[ddcgri/applmgr/common/util/java/1.5/j2sdk1.5.0_06/jre]
    [101810_115712348][][EXCEPTION] [DEBUG] [sun.arch.data.model]:[32]
    [101810_115712348][][EXCEPTION] [DEBUG] [user.language]:[en]
    [101810_115712348][][EXCEPTION] [DEBUG] [java.specification.vendor]:[Sun Microsystems Inc.]
    [101810_115712349][][EXCEPTION] [DEBUG] [java.vm.info]:[mixed mode]
    [101810_115712349][][EXCEPTION] [DEBUG] [logfile]:[ddcgri/applcsf/log/DDCGRI_rmohsdcgr02/FNDOPP76893.txt]
    [101810_115712349][][EXCEPTION] [DEBUG] [java.version]:[1.5.0_06]
    [101810_115712349][][EXCEPTION] [DEBUG] [java.ext.dirs]:[ddcgri/applmgr/common/util/java/1.5/j2sdk1.5.0_06/jre/lib/ext]
    [101810_115712349][][EXCEPTION] [DEBUG] [sun.boot.class.path]:[ddcgri/applmgr/common/util/java/1.5/j2sdk1.5.0_06/jre/lib/rt.jar:/ddcgri/applmgr/common/util/java/1.5/j2sdk1.5.0_06/jre/lib/i18n.jar:/ddcgri/applmgr/common/util/java/1.5/j2sdk1.5.0_06/jre/lib/sunrsasign.jar:/ddcgri/applmgr/common/util/java/1.5/j2sdk1.5.0_06/jre/lib/jsse.jar:/ddcgri/applmgr/common/util/java/1.5/j2sdk1.5.0_06/jre/lib/jce.jar:/ddcgri/applmgr/common/util/java/1.5/j2sdk1.5.0_06/jre/lib/charsets.jar:/ddcgri/applmgr/common/util/java/1.5/j2sdk1.5.0_06/jre/classes]
    [101810_115712349][][EXCEPTION] [DEBUG] [java.vendor]:[Sun Microsystems Inc.]
    [101810_115712349][][EXCEPTION] [DEBUG] [FND_JDBC_BUFFER_MAX]:[2]
    [101810_115712349][][EXCEPTION] [DEBUG] [file.separator]:[]
    [101810_115712349][][EXCEPTION] [DEBUG] [java.vendor.url.bug]:[http://java.sun.com/cgi-bin/bugreport.cgi]
    [101810_115712350][][EXCEPTION] [DEBUG] [sun.io.unicode.encoding]:[UnicodeLittle]
    [101810_115712350][][EXCEPTION] [DEBUG] [sun.cpu.endian]:[little]
    [101810_115712350][][EXCEPTION] [DEBUG] [APPLOUT]:[out/DDCGRI_rmohsdcgr02]
    [101810_115712350][][EXCEPTION] [DEBUG] [sun.cpu.isalist]:[]
    [10/18/10 11:57:13 AM] [UNEXPECTED] [76893:RT235281598] java.io.FileNotFoundException: /tdcg1i/applmgr/common/temp/xdoQBnr8m42XW101810_1157132190.fo (No such file or directory)
         at java.io.FileOutputStream.open(Native Method)
         at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
         at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
         at oracle.apps.xdo.common.tmp.TmpFile.createTmpFileJDK118(TmpFile.java:146)
         at oracle.apps.xdo.common.tmp.TmpFile.createTmpFile(TmpFile.java:113)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:987)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
         at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1657)
         at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:967)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5888)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3438)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3527)
         at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:247)
         at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:153)
    [10/18/10 11:57:13 AM] [76893:RT235281598] Completed post-processing actions for request 235281598.
    [10/18/10 12:09:20 PM] [OPPServiceThread1] Post-processing request 235281600.
    [10/18/10 12:09:20 PM] [76893:RT235281600] Executing post-processing actions for request 235281600.
    [10/18/10 12:09:20 PM] [76893:RT235281600] Starting XML Publisher post-processing action.
    [10/18/10 12:09:20 PM] [76893:RT235281600]
    Template code: XXDC_MM_UPL_CREDIT_PROF
    Template app: XXDC
    Language: en
    Territory: 00
    Output type: PDF
    [10/18/10 12:09:20 PM] [UNEXPECTED] [76893:RT235281600] java.io.FileNotFoundException: /tdcg1i/applmgr/common/temp/xdoTQ3qo0WVAG101810_1209202901.fo (No such file or directory)
         at java.io.FileOutputStream.open(Native Method)
         at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
         at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
         at oracle.apps.xdo.common.tmp.TmpFile.createTmpFileJDK118(TmpFile.java:146)
         at oracle.apps.xdo.common.tmp.TmpFile.createTmpFile(TmpFile.java:113)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:987)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
         at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1657)
         at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:967)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5888)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3438)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3527)
         at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:247)
         at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:153)
    [10/18/10 12:09:20 PM] [76893:RT235281600] Completed post-processing actions for request 235281600.
    [10/18/10 12:18:30 PM] [OPPServiceThread0] Post-processing request 235281602.
    [10/18/10 12:18:30 PM] [76893:RT235281602] Executing post-processing actions for request 235281602.
    [10/18/10 12:18:30 PM] [76893:RT235281602] Starting XML Publisher post-processing action.
    [10/18/10 12:18:30 PM] [76893:RT235281602]
    Template code: XXDC_MM_UPL_CREDIT_PROF
    Template app: XXDC
    Language: en
    Territory: 00
    Output type: PDF
    [10/18/10 12:18:30 PM] [UNEXPECTED] [76893:RT235281602] java.io.FileNotFoundException: /tdcg1i/applmgr/common/temp/xdomVNG5CUiJU101810_1218307062.fo (No such file or directory)
         at java.io.FileOutputStream.open(Native Method)
         at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
         at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
         at oracle.apps.xdo.common.tmp.TmpFile.createTmpFileJDK118(TmpFile.java:146)
         at oracle.apps.xdo.common.tmp.TmpFile.createTmpFile(TmpFile.java:113)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:987)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
         at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1657)
         at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:967)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5888)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3438)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3527)
         at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:247)
         at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:153)
    [10/18/10 12:18:30 PM] [76893:RT235281602] Completed post-processing actions for request 235281602.
    [10/18/10 1:45:05 PM] [OPPServiceThread1] Post-processing request 235281611.
    [10/18/10 1:45:05 PM] [76893:RT235281611] Executing post-processing actions for request 235281611.
    [10/18/10 1:45:05 PM] [76893:RT235281611] Starting XML Publisher post-processing action.
    [10/18/10 1:45:05 PM] [76893:RT235281611]
    Template code: XXDC_MM_UPL_CREDIT_PROF
    Template app: XXDC
    Language: en
    Territory: 00
    Output type: PDF
    [10/18/10 1:45:05 PM] [UNEXPECTED] [76893:RT235281611] java.io.FileNotFoundException: /tdcg1i/applmgr/common/temp/xdonSDr1Lclur101810_0145054643.fo (No such file or directory)
         at java.io.FileOutputStream.open(Native Method)
         at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
         at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
         at oracle.apps.xdo.common.tmp.TmpFile.createTmpFileJDK118(TmpFile.java:146)
         at oracle.apps.xdo.common.tmp.TmpFile.createTmpFile(TmpFile.java:113)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:987)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
         at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1657)
         at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:967)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5888)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3438)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3527)
         at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:247)
         at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:153)
    [10/18/10 1:45:05 PM] [76893:RT235281611] Completed post-processing actions for request 235281611.
    [10/18/10 2:19:06 PM] [OPPServiceThread0] Post-processing request 235281617.
    [10/18/10 2:19:07 PM] [76893:RT235281617] Executing post-processing actions for request 235281617.
    [10/18/10 2:19:07 PM] [76893:RT235281617] Starting XML Publisher post-processing action.
    [10/18/10 2:19:07 PM] [76893:RT235281617]
    Template code: XXDC_MM_UPL_CREDIT_PROF
    Template app: XXDC
    Language: en
    Territory: 00
    Output type: PDF
    [10/18/10 2:19:07 PM] [UNEXPECTED] [76893:RT235281617] java.io.FileNotFoundException: /tdcg1i/applmgr/common/temp/xdoyj5TzkRids101810_0219070714.fo (No such file or directory)
         at java.io.FileOutputStream.open(Native Method)
         at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
         at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
         at oracle.apps.xdo.common.tmp.TmpFile.createTmpFileJDK118(TmpFile.java:146)
         at oracle.apps.xdo.common.tmp.TmpFile.createTmpFile(TmpFile.java:113)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:987)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
         at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1657)
         at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:967)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5888)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3438)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3527)
         at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:247)
         at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:153)
    [10/18/10 2:19:07 PM] [76893:RT235281617] Completed post-processing actions for request 235281617.
    [10/19/10 5:56:25 AM] [OPPServiceThread0] Post-processing request 235281736.
    [10/19/10 5:56:25 AM] [76893:RT235281736] Executing post-processing actions for request 235281736.
    [10/19/10 5:56:25 AM] [76893:RT235281736] Starting XML Publisher post-processing action.
    [10/19/10 5:56:25 AM] [76893:RT235281736]
    Template code: XXDC_MM_UPL_CREDIT_PROF
    Template app: XXDC
    Language: en
    Territory: 00
    Output type: PDF
    [10/19/10 5:56:25 AM] [UNEXPECTED] [76893:RT235281736] java.io.FileNotFoundException: /tdcg1i/applmgr/common/temp/xdocZqznUyg1C101910_0556251555.fo (No such file or directory)
         at java.io.FileOutputStream.open(Native Method)
         at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
         at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
         at oracle.apps.xdo.common.tmp.TmpFile.createTmpFileJDK118(TmpFile.java:146)
         at oracle.apps.xdo.common.tmp.TmpFile.createTmpFile(TmpFile.java:113)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:987)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
         at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1657)
         at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:967)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5888)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3438)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3527)
         at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:247)
         at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:153)
    [10/19/10 5:56:25 AM] [76893:RT235281736] Completed post-processing actions for request 235281736.
    [10/19/10 6:07:04 AM] [OPPServiceThread1] Post-processing request 235281738.
    [10/19/10 6:07:04 AM] [76893:RT235281738] Executing post-processing actions for request 235281738.
    [10/19/10 6:07:04 AM] [76893:RT235281738] Starting XML Publisher post-processing action.
    [10/19/10 6:07:04 AM] [76893:RT235281738]
    Template code: XXDC_MM_UPL_CREDIT_PROF
    Template app: XXDC
    Language: en
    Territory: 00
    Output type: PDF
    [10/19/10 6:07:04 AM] [UNEXPECTED] [76893:RT235281738] java.io.FileNotFoundException: /tdcg1i/applmgr/common/temp/xdoZmwsSPwwBh101910_0607047996.fo (No such file or directory)
         at java.io.FileOutputStream.open(Native Method)
         at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
         at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
         at oracle.apps.xdo.common.tmp.TmpFile.createTmpFileJDK118(TmpFile.java:146)
         at oracle.apps.xdo.common.tmp.TmpFile.createTmpFile(TmpFile.java:113)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:987)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
         at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1657)
         at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:967)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5888)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3438)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3527)
         at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:247)
         at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:153)
    [10/19/10 6:07:04 AM] [76893:RT235281738] Completed post-processing actions for request 235281738.
    [10/19/10 6:25:28 AM] [OPPServiceThread1] Post-processing request 235281741.
    [10/19/10 6:25:28 AM] [76893:RT235281741] Executing post-processing actions for request 235281741.
    [10/19/10 6:25:28 AM] [76893:RT235281741] Starting XML Publisher post-processing action.
    [10/19/10 6:25:28 AM] [76893:RT235281741]
    Template code: XXDC_MM_UPL_CREDIT_PROF
    Template app: XXDC
    Language: en
    Territory: 00
    Output type: PDF
    [10/19/10 6:25:28 AM] [UNEXPECTED] [76893:RT235281741] java.io.FileNotFoundException: /tdcg1i/applmgr/common/temp/xdoe1cxbJpotK101910_0625284827.fo (No such file or directory)
         at java.io.FileOutputStream.open(Native Method)
         at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
         at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
         at oracle.apps.xdo.common.tmp.TmpFile.createTmpFileJDK118(TmpFile.java:146)
         at oracle.apps.xdo.common.tmp.TmpFile.createTmpFile(TmpFile.java:113)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:987)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
         at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1657)
         at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:967)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5888)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3438)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3527)
         at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:247)
         at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:153)
    [10/19/10 6:25:28 AM] [76893:RT235281741] Completed post-processing actions for request 235281741.
    [10/19/10 7:13:07 AM] [OPPServiceThread0] Post-processing request 235281746.
    [10/19/10 7:13:07 AM] [76893:RT235281746] Executing post-processing actions for request 235281746.
    [10/19/10 7:13:07 AM] [76893:RT235281746] Starting XML Publisher post-processing action.
    [10/19/10 7:13:07 AM] [76893:RT235281746]
    Template code: XXDC_MM_UPL_CREDIT_PROF
    Template app: XXDC
    Language: en
    Territory: 00
    Output type: PDF
    [10/19/10 7:13:07 AM] [UNEXPECTED] [76893:RT235281746] java.io.FileNotFoundException: /tdcg1i/applmgr/common/temp/xdopfFpKMviMC101910_0713079968.fo (No such file or directory)
         at java.io.FileOutputStream.open(Native Method)
         at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
         at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
         at oracle.apps.xdo.common.tmp.TmpFile.createTmpFileJDK118(TmpFile.java:146)
         at oracle.apps.xdo.common.tmp.TmpFile.createTmpFile(TmpFile.java:113)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:987)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
         at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1657)
         at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:967)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5888)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3438)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3527)
         at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:247)
         at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:153)
    [10/19/10 7:13:08 AM] [76893:RT235281746] Completed post-processing actions for request 235281746.
    [10/19/10 7:22:56 AM] [OPPServiceThread1] Post-processing request 235281748.
    [10/19/10 7:22:56 AM] [76893:RT235281748] Executing post-processing actions for request 235281748.
    [10/19/10 7:22:56 AM] [76893:RT235281748] Starting XML Publisher post-processing action.
    [10/19/10 7:22:56 AM] [76893:RT235281748]
    Template code: XXDC_MM_UPL_CREDIT_PROF
    Template app: XXDC
    Language: en
    Territory: 00
    Output type: PDF
    [10/19/10 7:22:56 AM] [UNEXPECTED] [76893:RT235281748] java.io.FileNotFoundException: /tdcg1i/applmgr/common/temp/xdoLVImdiAcDq101910_0722563869.fo (No such file or directory)
         at java.io.FileOutputStream.open(Native Method)
         at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
         at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
         at oracle.apps.xdo.common.tmp.TmpFile.createTmpFileJDK118(TmpFile.java:146)
         at oracle.apps.xdo.common.tmp.TmpFile.createTmpFile(TmpFile.java:113)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:987)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
         at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1657)
         at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:967)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5888)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3438)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3527)
         at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:247)
         at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:153)
    [10/19/10 7:22:56 AM] [76893:RT235281748] Completed post-processing actions for request 235281748.
    [10/19/10 8:00:28 AM] [OPPServiceThread0] Post-processing request 235281752.
    [10/19/10 8:00:28 AM] [76893:RT235281752] Executing post-processing actions for request 235281752.
    [10/19/10 8:00:28 AM] [76893:RT235281752] Starting XML Publisher post-processing action.
    [10/19/10 8:00:28 AM] [76893:RT235281752]
    Template code: XXDC_MM_UPL_CREDIT_PROF
    Template app: XXDC
    Language: en
    Territory: 00
    Output type: PDF
    ------ I could not paste the entire file. Please let me know if it is required.
    [10/19/10 10:52:06 AM] [76893:RT235281774] Completed post-processing actions for request 235281774.
    Please help to fix this issue .
    Thanks,
    Am

    Hi,
    What is the application release? Database version? OS?
    Please see these docs.
    XMl Publisher Reports Fail with java.io.FileNotFoundException on Temp Directory After Cloning [ID 1189764.1]
    JAVA.IO.FILENOTFOUNDEXCEPTION NO SUCH FILE FOR EXCEL FORMAT [ID 428855.1]
    XML Publisher Requests Fail Due To java.io.FileNotFoundException - No such file or directory [ID 1072383.1]
    When Running PDF Report, Getting Error File Is Not Accessable From Node/Machine Or java.io.FileNotFoundException [ID 398897.1]
    Thanks,
    Hussein

  • !!!Very Urgent-Production Issue -Please help

    Hello IDMers,
    We are facing an issue in production, we updated the AD Process form yesterday. Two fields- Employee Type and Employee ID field in AD User Process form got refreshed for all existing users. Those two fields are empty now for all users.
    But these fields have appropriate value in the Xellerate User Table for all users. Now I need to some how populate the Employee Type and Employee ID field for all employees from User Table to AD Process form.
    for example: Consider an Employee called Peter- His emp type is Full Time and Emp ID is 100; which i have it in OIM User Table, but this user is provisioned with AD and now i will have to update his AD Process form so that these two fields are populated. I need to do this for all users in OIM. I guess the prepop adapter triggers only when the form is created for the first time. Please suggest me some ideas.
    Is there a easy way to do this task?
    What my thinking is, I need to have a scheduled task that basically loops through all users and updates their employee type and id field in AD User Form from Xellerate User Table.
    Please help me with this as it is highly important.
    Thanks again every one for your support all the while.
    Regards,
    ~VSN

    hey,
    i was doing lots of migration from one OIM box to another during our last release. I guess something would have gone wrong while doing an import/export from one OIM system to another.
    What I learned was while doing an import the vulnerable object is AD USER (or any resource of OIM) Object (both Process form and process definition), because those are the two objects which you need to import fully no matter how big a change you have done.
    So when you do an import watch out for USER DEFINED FIELDS in the process form because for me the two fields which disappeared were user defined/custom created by me. So make sure you export the latest version;even if you didnt make any changes to them better create a new version copy of the form and then export it.
    Hope that helps.
    ~VSN

  • Join with count() issue, please help!

    Hello All,
    I have this (probably really simple) issue that I cannot seem to resolve...I have 2 tables here (tbl_system_engineer and tbl_task_request)...(only relevant columns are listed below)
    tbl_system_engineer
    - id NUMBER
    - full_name VARCHAR2
    tbl_task_request
    - tr_number NUMBER
    - submitted_on_date DATE (date task was submitted)
    - ass_comp_date DATE (date task is due)
    - closed_date DATE (date task was officially closed)
    - requestor NUMBER (the system engineer id, the person who created this task)
    The query is supposed to summarize how many of the system engineers tasks are as followed:
    - "past completion date" - how many tasks have tbl_task_request.closed_date > tbl_task_request.ass_comp_date OR SYSDATE > tbl_task_request.ass_comp_date for the engineer
    - "Approaching Completion Date" - how many tasks have a tbl_task_request.ass_comp_date in this month but not "past completion date" for the engineer
    - "On Schedule" - how many tasks have a tbl_task_request.ass_comp_date > the end of SYSDATE month and year
    The result set rows are supposed to look like...
    "System Engineer full name", past completion date count, approaching completion date count, on schedule count
    Please help!

    Hi,
    Welcome to the forum!
    That's an example of a Pivot , where you want to GROUP BY a combination of columns, and have some of the columns appear as different columns, not different rows.
    The way to do that is to GROUP BY the expression(s) for which you want rows, and use CASE expressions for the others.
    For example:
    SELECT       e.full_name
    ,       COUNT ( CASE
                   WHEN  r.closed_date     > r.xyz_comp_date
                   OR    SYSDATE          > r.xyz_comp_date
                   THEN  1
                  END
                )     AS overdue
    ,       COUNT ( CASE
                   WHEN  xyz.comp_date     <  ADD_MONTHS ( TRUNC(SYSDATE, 'MONTH')
                                                      , 1
                   AND   r.closed_date     <= r.xyz_comp_date
                   AND   SYSDATE          <= r.xyz_comp_date
                   THEN  1
                  END
                )     AS approaching
    ,       COUNT ( CASE
                   WHEN  xyz.comp_date     >= ADD_MONTHS ( TRUNC(SYSDATE, 'MONTH')
                                                      , 1
                   THEN  1
                  END
                )     AS on_schedule
    FROM       tbl_system_engineer     e
    JOIN       tble_task_request     r     ON     r.requestor     = e.id
    GROUP BY  e.full_name
    ;I don't have versions of your tables, so I can't actually test this. I suspect that some consideration for NULLs needs to be added to the CASE conditions.
    if you post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) then people can test their ideas.
    Sometimes, especially when the columns are mutually exclusive, it's simpler to calculate a value in a sub-query, telling with which column of output each row is associated. That computed value is then used in very simple CASE expressions in the main query,
    Among the annoying features of this site is ithat ir replaces what it thinks are naughty words with s.  I suspect that happend in your post.  I assume all the columns with ** are the same, for which I substituted above.

  • SAP R/3 issue- Please Help

    Hi All,
    Please help in making suggestions on an R/3 issue. The Problem is  we have a standard cube 0PUR_C08 (Purchase Order Item Service Level). Could you please suggest the appropriate ODS and Standard Datasources required to load data into the target cube.
    If possible , please suggest which are the most appropriate R/3 standard tables

    Hi,
    ODS 0PUR_O01 used to load data to cube 0PUR_C08 and the following 4 DS's are used depends on the requierements
    2LIS_02_ITM Purchase Order Items
    2LIS_02_SGR Allocation Schedule Line with Goods Receipt
    2LIS_02_CGR Allocation Confirmation with Goods Receipt
    2LIS_02_SCN Allocation Schedule Line with Confirmation
    Refer the below link for more info.,
    http://help.sap.com/saphelp_nw04/helpdata/en/77/5c27cf43b290408efe91148095d7ff/content.htm
    Regs,
    VACHAN

Maybe you are looking for

  • Adobe Photoshop 7 & Leopard Incompatibilities

    Hi. I wonder if anyone else is having this problem. After installation of Leopard on my intel imac and G5 Tower (PPC) my version of Photoshop 7 simply refuses to work giving an error message of 'an unexpected and unrecoverable problem has occurred be

  • Can iTunes share purchased content across Apple IDs within one household, OR

    QUESTION ONE Will iTunes share purchased content using TWOApple IDs, across different devices within one household? QUESTION TWO Should each device with a separate user have its own iCloud ID? CONCURRENTLY, should each device belonging to the SAME us

  • Fix error in iMessage system. Anyone can help me?

    Hello my friends, My iPhone 4s don't send messages using the iMessage system in Wi-fi connection. How can I fix this error?? Before, the iMessage is available, but when I sent the message, the message be in green color. Now, the blue color never avai

  • 8320 red light blinks twice then wont turn on

    I tried to do a data backup and software update but it quit right in the middle now my phone wont even turn on please help my husband is going to kill me

  • How to save image files into SQL Server?

    Hello, All: Does anyone know how to save image files into SQL Server? Does the file type have to be changed first?? Please help me! Thank you!