Event = "10262......"  in SPFILE

Hi,
I'm in 10G R2 and in note : 39308.1 (mtalink) it is said :
SUGGESTIONS:
  Event 10262 can be set to safely ignore small memory leaks.
  Set the following in init.ora for example to disable space
  leaks less than 4000 bytes:
        event = "10262 trace name context forever, level 4000"
  and stop and restart the database.How can we put it in spfile since we start database with SPFILE.
Thank you.

something like this??
alter system set event = "10262 trace name context forever, level 4000" scope=spfile;Regards

Similar Messages

  • How can I check and change the system set events trace level?

    Dear all:
    How can I check the system set events trace level? I don't want the alert_log so big.
    Regards
    Terry

    Hi Terry;
    Please check :
    How to determine which system events are currently being set? [ID 845043.1]
    How To List All The Named Events Set For A Database [ID 436036.1]
    How to set EVENTS in the SPFILE [ID 160178.1]
    Also check:
    http://www.dba-oracle.com/t_grid_rac_events_in_Oracle.htm
    http://www.akadia.com/services/ora_events.html
    Hope it helps
    Regard
    Helios

  • SGA_MAX_SIZE and AMM

    Hi, all,
    I've been testing using AMM in our newly-upgraded 11gR2 databases. All databases (Prod and non-Prod) are running 11.2.0.3 on AIX 5.3 (64-bit).
    I noticed that despite me explicitly setting the following to 0:
    alter system set db_cache_size = 0 scope=spfile;
    alter system set log_buffer = 0 scope=spfile;
    alter system set pga_aggregate_target = 0 scope=spfile;
    alter system set sga_max_size = 0 scope=spfile;
    alter system set sga_target = 0 scope=spfile;
    alter system set shared_pool_size = 0 scope=spfile;
    alter system set shared_pool_reserved_size = 0 scope=spfile;
    And allowing Oracle 'full control' how it manages all parts of the memory (SGA and PGA)
    -- The 'big' database
    alter system set memory_max_target = 24G scope=spfile;
    alter system set memory_target = 24G scope=spfile;
    -- The 'small' database
    alter system set memory_max_target = 3G scope=spfile;
    alter system set memory_target = 3G scope=spfile;
    I bounce both databases and things seem to come up OK. The only exception is that sga_max_size seems to be set to a specific value:
    For the 'big' database, it's 16Gb (2/3rds of the total memory_target)
    For the 'small' database, it's 1536Mb (1/2 of the total memory_target)
    I don't really understand why this is happening. I've double-checked my SPFILE, I've queried v$spparameter and I've read MOS 443746.1
    +"If MEMORY_TARGET is set to a non-zero value:+
    +If neither is set, they will be auto-tuned without any minimum or default values. We will have a policy of distributing the total memory set by MEMORY_TARGET parameter in a fixed ratio to the the SGA and PGA during initialization. The policy is to give 60% to the SGA and 40% to the PGA at startup."+
    BUT I presume that sga_max_size works in the same way that it did when we weren't using AMM - it's the upper limit of the SGA. Not ideal, to be honest, as I can definitely see times when the SGA needs a LOT of buffer cache in Production (and, therefore, lots of SGA)
    I do see this in the alert.logs whenever I restart the system:
    Using parameter settings in server-side spfile /opt/oracle/product/11.2.0.3/db/dbs/spfilebigdb.ora
    System parameters with non-default values:
    processes                = 600
    sessions                 = 928
    timed_statistics         = TRUE
    resource_limit           = TRUE
    event                    = "10262 trace name context forever, level 160000"
    sga_max_size             = 16G
    So it's suggesting that it's querying the SPFILE and determining that sga_max_size should be set. But I've double-double-checked and that isn't the case.
    Now, I know I can get around this by explicitly setting sga_max_size at memory_target. But I was wondering if anyone else had seen this before too?
    Mark

    Another workaround is to remove the memory components entirely from the SPFILE (instead of having them set to 0, don't have them in the file at all). This seems to also set the sga_max_size to the memory_target - which is expected behaviour given the MOS note.

  • ITS VERY URGENT HEAVY ERROR GOT IN LIVE SERVER

    DEAR EXPERTS,
    WHILE EXECUTION OF QUERY I GOT ERROR AT LIVE SERVER.
    An Oracle ORA-00600 [729] : indicates a memory leak in the UGA. Setting diagnostic events 10262 ignores this error, that is, no ORA-00600 is produced even if a memory leak is detected.
    ORA-00600 [16365] : indicates a Half Duplex Violation. Shared servers and dispatchers cannot both be writing to the same virtual curcuit at the same time because they communicate with a half-duplex protocol (TTC protocol).
    ORA-00600 [kghpih:ds] : and ORA-00600 [17175] may occur in oracle 9.2.0.6 when two processes work on the same library cache object. fixed in oracle 9.2.0.7.. Note:300604.1
    An Oracle ORA-00600 [3020] : Bug.2322620 - RECOVERY HALTED ON PHYSICAL STANDBY WITH ORA-600 AND ORA-10564 Details: ORA-600 [3020] can occur on recovery of LOB data.Fixed in 8.1.7.5 PAtch available. This error occurred on our database recovery on the primary server.
    ora-00600 [12333] : Most probably a network error that may have caused bad data to be received or the client application may have sent the wrong data in the network buffer.
    Oracle ORA-00600 [12700] : Indicates corruption in index, table or the mapping between them. Upon this discovery, oracle marks the whole block as corrupt and users will not have normal access to the data from the corrupted block. This can also break referntial integrity and should be referred to oracle.
    ORA-00600 [lxhcsn] : Shutdown may dump ORA-7445. Known Bug 2311529

    As said earlier, you need to purchase the Oracle software and have the support contract with the Oracle support. Then you get the registration details to metalink.
    Is your live server where error happend is not under oracle support contract?

  • How to resolve ORA-00600 [723][51202][1][51200][][]

    whats this error?
    i cant understand how this error created? i have heard much about it? can anyone plz tell me how to recover from this messs?
    what is the cause of this error?ow to resolve it?/
    thanks and regards
    VD
    Edited by: vikrant dixit on Nov 17, 2008 4:44 AM

    It's generally a good idea to contact Oracle Support in the event of an ORA-600 (or an ORA-7445, for that matter), but there's a lookup tool on MetaLink,
    the ORA-600/7445 Lookup Tool (Doc ID 153788.1), that can help you diagnose the most common problems.
    This error, w/ first argument of 723, is a PGA leak. It does not cause any database corruption, and can probably be safely ignored. If the leak errors are persistent, you could set event 10262 to ignore small leaks below a certain threshold value. Also, you should check out Doc ID 39308.1 for more info on this specific ORA-600.
    -Mark

  • ORA -00600 - Urgent

    I noticed this following error in the alert log. i am not sure how serious this error is.
    Is this is a trigger for concern ? Please advice.
    ORA-00600: internal error code, arguments: [729], [600], [space leak], [], [], [], [], ]

    What's the oracle version?
    Assuming the oracle version is 10g, Refer to Note:31056.1 from metalink.
    SUGGESTIONS:
    Event 10262 can be set to safely ignore small memory leaks.
    Set the following in init.ora for example to disable space leaks less than 4000 bytes:
    event = "10262 trace name context forever, level 4000"
    and stop and restart the database.
    Repeated errors or large memory leaks can be diagnosed further by sending the alert.log and trace files to Oracle support.

  • EVENTS are not updated in SPfile.

    Hi,
    I have changed the EVENTs using below command and create P file from SPfile and restarted the Database. but when i am checking using show parametr event it is not showing. please see the commands ,are they correct.
    but in initSID.ora it is showing.
    ALTER SYSTEM SET
    EVENT="10027 trace name context forever, level 1",  
    "10028 trace name context forever, level 1",
    "10949 trace name context forever, level 2",
    "10162 trace name context forever, level 1",
    "10183 trace name context forever, level 1",
    "10191 trace name context forever, level 1",
    "10629 trace name context forever, level 32",
    "10091 trace name context forever, level 1",
    "10891 trace name context forever, level 1",
    "14532 trace name context forever, level 1",
    "38085 trace name context forever, level 1",
    "38068 trace name context forever, level 100",
    "44951 trace name context forever, level 1024",
    "38087 trace name context forever, level 1",
    "10411 trace name context forever, level 1"
    SCOPE=SPFILE;
    create pfile from spfile;
    Best Regards,
    Avinash Ravut.

    initSID.ora contains
    event='10027 trace name context forever, level 1','10028 trace name context forever, level 1','10091 trace name context forever, level 1','10162 trace name context forever, level 1','10183 trace name context forever, level 1','10191 trace name context forever, level 1','10629 trace name context forever, level 32','10891 trace name context forever, level 1','14532 trace name context forever, level 1','38068 trace name context forever, level 100','38087 trace name context forever, level 1','44951 trace name context forever, level 1024'
    ...So single quote.  For me best way to set this,
    1. take a backup of both SPFILE and P File.
    2.Change Even directly in P file.
    3. Shutdown database
    4. Create SPFILE from P file.
    5. Startup database.
    Or else you can use the procedure you are following..but just with a single quote.
    alter system set event='10027 trace name context forever, level 1','10028 trace name context forever, level 1','10091 trace name context forever, level 1','10162 trace name context forever, level 1','10183 trace name context forever, level 1','10191 trace name context forever, level 1','10629 trace name context forever, level 32','10891 trace name context forever, level 1','14532 trace name context forever, level 1','38068 trace name context forever, level 100','38087 trace name context forever, level 1','44951 trace name context forever, level 1024' scope=spfile;

  • Sharepoint 2013 ItemAdded event receiver for renaming files is not working

    In SP 2013 I coded an event receiver that intercepts the ItemAdded event and it just renames the file.
    It is a synchronous event (I added <Synchronization>Synchronous</Synchronization> in the Elements.xml).
    This is the code:
            public override void ItemAdded(SPItemEventProperties properties)
                SPSecurity.RunWithElevatedPrivileges(delegate()
                    try
                        OutputDebugStringA("Inside ItemAdded");
                        string szHttpUrl = properties.WebUrl + "/" + properties.AfterUrl;
                        SPWeb openedWeb = properties.Web.Site.OpenWeb(properties.Web.ID);
                        SPFile spf = openedWeb.GetFile(szHttpUrl);
                        EventFiringEnabled = false;
                        string szUrl = properties.AfterUrl;
                        szUrl = szUrl + ".renamed";
                        string szNewFileName;
                        if (szUrl.LastIndexOf('\\') != -1) szNewFileName = szUrl.Substring(szUrl.LastIndexOf('\\') + 1);
                        else if (szUrl.LastIndexOf('/') != -1) szNewFileName = szUrl.Substring(szUrl.LastIndexOf('/') + 1);
                        else szNewFileName = szUrl;
                        if (properties.ListItem != null)
                            properties.ListItem["Title"] = szNewFileName;
                            properties.ListItem.Update();
                        spf.MoveTo(szUrl);
                        EventFiringEnabled = true;
                        base.ItemAdded(properties);
                        OutputDebugStringA("Renaming to " + szUrl);
                    catch (System.Exception exception)
                        OutputDebugStringA("ItemAdded ERROR: " + exception.ToString());
    The problem is that when I upload a .txt file using Internet Explorer, just after the renaming is done, IE says that something went wrong and when I inspect the log files I see:
    SPRequest.GetFileAndFolderProperties: UserPrincipalName=i:0).w|s-1-5-21-4050800873-4278272723-3073177257-500, AppPrincipalName= ,bstrUrl=http://sp2013/sites/demo/subsite1 ,bstrStartUrl=Shared Documents/test2.txt ,ListDocsFlags=16400 ,bThrowException=True 0fa7689c-674b-5045-c3a2-b214a5d4cbed
    01/09/2014 15:29:26.75  w3wp.exe (0x1544)                        0x16F4 SharePoint Foundation        
     General                        ai1wu Medium   System.IO.FileNotFoundException: <nativehr>0x80070002</nativehr><nativestack></nativestack>,
    StackTrace:    at Microsoft.SharePoint.SPWeb.GetFileOrFolderProperties(String strUrl, ListDocsFlags listDocsFlags, Boolean throwException, SPBasePermissions& permMask)     at Microsoft.SharePoint.SPFile.PropertiesCore(Boolean
    throwException)     at Microsoft.SharePoint.SPFile.get_Length()     at Microsoft.Office.RecordsManagement.PolicyFeatures.ApplicationPages.UploadPage.OnSubmit(Object o, EventArgs e)     at Microsoft.Office.RecordsManagement.PolicyFeatures.ApplicationPages.UploadExPage.OnSubmit(Object
    o, EventArgs e)     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest(Boolean includeSta... 0fa7689c-674b-5045-c3a2-b214a5d4cbed
    ...gesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest()     at System.Web.UI.Page.ProcessRequest(HttpContext context)     at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()    
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)     at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error)     at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext
    context, AsyncCallback cb)     at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr
    rootedObjectsPointer, IntPtr nativeRequestContex... 0fa7689c-674b-5045-c3a2-b214a5d4cbed
    ...t, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr
    pHandler, RequestNotificationStatus& notificationStatus)     at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr
    rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) 
     0fa7689c-674b-5045-c3a2-b214a5d4cbed
    So it is clear that the fact that I renamed the file is causing an issue in the SharePoint upload logic.
    As a solution what I did was to not declare it as Synchronous, but if I do it then there is another error when Sharepoint shows the Edit Properties dialog... in this case the upload is OK but when it is time to show that Edit Property dialog IE fails and
    says that the file has been already modified, or that "something went wrong".
    If I use a synchronous event I get one problem. If I use the asynchronous event I get another problem... It's very frustating and I am pretty sure that a so important API like Event Receivers should have support renaming files so I hope someone can tell
    me what I am doing wrong.
    Thanks in advance

    May be you want to consider using the following code and see if it works for you.
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/40c78e03-2dca-4083-89d2-a7430099da68/how-do-i-change-the-name-property-of-a-file-in-a-document-library?forum=sharepointdevelopment
    Amit

  • Sharepoint 2013, event receiver to rename files not working

    I coded an event receiver (ItemAdding) that renames for example a .txt file to a .text file (it does not matter the extensions, it is just an example). In my code what I do is to an SPFile.MoveTo operation. It works fine in SP2010 but when I execute
    the same code in SP 2013, when the operation is done using IE I get the text "Sorry, something went wrong" and then "File Not Found".
    In the logs this is what I see:
    12/23/2013 15:48:49.16  w3wp.exe (0x17B0)                        0x0AC8 SharePoint Foundation        
     General                        ai1wu Medium   System.IO.FileNotFoundException: The system cannot find the file specified.
    (Exception from HRESULT: 0x80070002), StackTrace:    at Microsoft.SharePoint.SPWeb.GetFileOrFolderProperties(String strUrl, ListDocsFlags listDocsFlags, Boolean throwException, SPBasePermissions& permMask)     at Microsoft.SharePoint.SPFile.PropertiesCore(Boolean
    throwException)     at Microsoft.SharePoint.SPFile.get_Length()     at Microsoft.Office.RecordsManagement.PolicyFeatures.ApplicationPages.UploadPage.OnSubmit(Object o, EventArgs e)     at Microsoft.Office.RecordsManagement.PolicyFeatures.ApplicationPages.UploadExPage.OnSubmit(Object
    o, EventArgs e)     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessReque... f72b639c-77b1-5045-c3a2-b23f24ae71c0
    It's clear that the Sharepoint upload code tries to do things with the original name and it does not realize that it was renamed.
    Can I do something from my event receiver code like using the AfterProperties to bypass this error?
    Thanks

    Hi Dennis,
    The issue still persists. Here is the code:
            public override void ItemAdded(SPItemEventProperties properties)
                SPSecurity.RunWithElevatedPrivileges(delegate()
                    try
                        OutputDebugStringA("Inside ItemAdded");
                        string szHttpUrl = properties.WebUrl + "/" + properties.AfterUrl;
                        SPWeb openedWeb = properties.Web.Site.OpenWeb(properties.Web.ID);
                        SPFile spf = openedWeb.GetFile(szHttpUrl);
                        EventFiringEnabled = false;
                        string szUrl = properties.AfterUrl;
                        szUrl = szUrl + ".renamed";
                        string szNewFileName;
                        if (szUrl.LastIndexOf('\\') != -1) szNewFileName = szUrl.Substring(szUrl.LastIndexOf('\\') + 1);
                        else if (szUrl.LastIndexOf('/') != -1) szNewFileName = szUrl.Substring(szUrl.LastIndexOf('/') + 1);
                        else szNewFileName = szUrl;
                        if (properties.ListItem != null)
                            properties.ListItem["Title"] = szNewFileName;
                            properties.ListItem.Update();
                        spf.MoveTo(szUrl);
                        EventFiringEnabled = true;
                        base.ItemAdded(properties);
                        OutputDebugStringA("Renaming to " + szUrl);
                    catch (System.Exception exception)
                        OutputDebugStringA("ItemAdded ERROR: " + exception.ToString());

  • Unable to rename document name on ItemAdded event programmatically

    Hi,
    I have developed a Event Receiver on Item Added event basically to update the document name after document gets uploaded to SharePoint Library.
    I have developed below code but its getting failed at on Item.Update(); function call. Referred this
    MSDN Blog.
    public override void ItemAdded(SPItemEventProperties properties)
               base.ItemAdded(properties);
               try
                   SPListItem item = properties.ListItem;
                   string draftAuthor = item["Author"].ToString();
                   int index = draftAuthor.IndexOf("#");
                   string finalAuthor = draftAuthor.Substring(index+1, draftAuthor.Length-index-1);
                   updatedTitle = "My Dashboard- "+  finalAuthor;
                   item.File.CheckOut();
                   item["Name"] = updatedTitle;
    item.Update(); // Getting failed here
                   item.File.CheckIn("File has been renamed");
               catch (Exception ex)
                   string error = "Error in event overriding : " + ex.ToString();
                   myLog.Source = "My Dashboard Extension";
                   myLog.WriteEntry(error, EventLogEntryType.Error, 4700);
    Getting below error
    Error in event overriding : Microsoft.SharePoint.SPException: Invalid data has been used to update the list item. The field you are trying to update may be read only. ---> System.Runtime.InteropServices.COMException (0x80020005): <nativehr>0x80020005</nativehr><nativestack></nativestack>Invalid
    data has been used to update the list item. The field you are trying to update may be read only.
    Please suggest me how can I make this piece of code work.
    Thanks !!!

    Hi,
    We should use the MoveTo method to rename the file name. The following code snippets for your reference.
    base.ItemAdded(properties);
    properties.ListItem["Title"] = properties.ListItem.File.Name;
    properties.ListItem.Update();
    SPFile file = properties.ListItem.File;
    // Get the extension of the file. We need that later.
    string spfileExt = new FileInfo(file.Name).Extension;
    // Rename the file to the list item's ID and use the file extension to keep
    // that part of it intact.
    file.MoveTo(properties.ListItem.ParentList.RootFolder.Url +
    "/" + properties.ListItem["ID"] + spfileExt);
    // Commit the move.
    file.Update();
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Document Library document delete using Event Receiver

    Please suggest your solution for the following scenario:
    A user deletes the document from document library and an e-mail has to be triggered to the admin notifying the information about the document deleted recently along with the option to Approve\Reject. If the Admin approves it, the document stays in Recycle Bin
    and if Rejected, the document gets restored to the document library.
    I came across some articles about 'event receiver' which can trigger an e-mail but couldn't find any coding for the recycle bin and deletion. Is there any other workaround to implement the same?

    Hi,
    In that case, Instead of the deleting the file through code, you can send to recycle using the SPFile.Recycle and SP.CopyTo method.
    SPFile Class
    Murugesa Pandian.,SharePoint 2010| MCPD | MCTS - Configure

  • Event firing at item added and item updated in event receiver?

    Hi All,
    I have created event receiver on item added & item updated on document library.
    1) On Item Added i am updating document library Title column with document Name and i have metadata for the file.
    2) On Item Updated i am move that file with metadata to another document library.
    Now the issue is the event is triggering is twice when an item is added it automatically calls the item updated event
    Need to help please...
    Thanks
    Balaji More

    Hi Thanks for reply.
    I have also write Workflow on Source doc library for document approval.
    In Source doc library i have choice column fields[Status]. Pending,Approved Default is Pending
    when approvers approve the task then i want to update Status: pending to Approved in source doc library using workflow it worked but that time i also want to update destination doc library Status column using Item updated Event receiver but not successed.
    Following is code on Item Added.
    try
    using (SPWeb oWeb = properties.OpenWeb())
    oWeb.AllowUnsafeUpdates = true;
    string UpdateStatus= string.Empty;
    UpdateStatus= properties.ListItem["Status"].ToString();
    SPFile File = properties.ListItem.File;
    SPDocumentLibrary destLib = (SPDocumentLibrary)properties.ListItem.Web.Lists["documents"];
    SPFolder mylibrary = oWeb.GetFolder("Temp");
    SPFile spfile = mylibrary.Files.Add(File, streamWriter, true);
    SPFile newfile = spfile;
    SPListItem item = file.Item;
    item["Status"] = UpdateStatus;
    item.Update();
    oWeb.AllowUnsafeUpdates = true;
    Catch()
    Item Updated when workflow is approved status is changed Pending to Approved
    then i have write a following code but status is not updated when workflow is completed
    try
    using (SPWeb oWeb = properties.OpenWeb())
    oWeb.AllowUnsafeUpdates = true;
    string UpdateStatus= string.Empty;
    SPFile File = properties.ListItem.File;
    if (properties.ListItem["Status"] != null)
    UpdateStatus = properties.ListItem["Status"].ToString();
    SPDocumentLibrary destLib = (SPDocumentLibrary)properties.ListItem.Web.Lists["documents"];
    SPFolder mylibrary = oWeb.GetFolder("Temp");
    SPFile spfile = mylibrary.Files.Add(File, streamWriter, true);
    SPFile newfile = spfile;
    SPListItem item = file.Item;
    item["Status"] = UpdateStatus;
    item.Update();
    oWeb.AllowUnsafeUpdates = true;
    Catch()
    Thanks
    Balaji More

  • Set event 100183 & 10027 in Oracle 11g

    Hi
        I have upgraded the Oracle 10.2.0.4.0 to Oracle 11.2.0.2.0 . while running the script provided by SAP vide note no. 1171650 (Automated Oracle DB Parameter Check) , following recommendation comes after running the scripts
    means change the event to values like 1or 2 or 1024 etc.
    event (38087)     change value to "38087"                     1
    event (10183)     change value to "10183"                     1
    event (10027)     change value to "10027"                     2
    event (10028)     change value to "10028"                     2
    event (10142)     change value to "10142"                     2
    event (38068)     change value to "38068 level 100"     2
    event (38085)     change value to "38085"                     2
    event (44951)     change value to "44951 level 1024"     2
    event (10191)     change value to "10191"     
    event (10995)     change value to "10995 level 2"     
    when i executed the command on sqlplus / as sysdba level
    ALTER SYSTEM SET EVENT=
    '10027 trace name context forever, level 2',
    '10028 trace name context forever, level 2',
    '10191 trace name context forever, level 1',
    '38087 trace name context forever, level 1',
    '10183 trace name context forever, level 1',
    '10142 trace name context forever, level 1',
    '38068 trace name context forever, level 100',
    '38085 trace name context forever, level 2',
    '44951 trace name context forever, level 1024',
    '10995 trace name context forever, level 2'
    COMMENT='SAP RECOMMENDED SETTINGS - 201108' SCOPE=SPFILE;
    thereafter i shutdown the oracle & restart it , it either comes instead of "change" to  "add". It also don't give any error.
    Can anybody be help in sort out that why these are happening. why it is not changing the values.
    Thanks
    Regards

    Stefan Koehler wrote:
    > By the way - the check script of sapnote #1171650 is rubbish in my opinion - even the SAP support uses it, but does not look at the kind of system (OLTP / OLAP) and suggests parameter that are just wrong. I've known it to happen.
    Hi,
    I think this will be the first time I do not agree with you.
    probably you have not read the note.
    the script cannot diferenciate between OLTP and OLAP, it expects that YOU tell him what typwe is and adjust the recommendations to that.
    You can execute the relevant statement without adjustments for OLTP systems. For OLAP systems, you need to replace the string '<OLAP System? [n]>' with 'y'. Depending on the statement, the string may occur several times.
    Of course, as it is "automatic" you haqve to understand the recommendations.
    But i do really think that from that to say that it is rubbish there is a long way

  • Set events parameter in oracle 11g for SAP

    Hi All,
    Recently we have upgraded 10.2.0.4 oracle database to 11.2.0.3 (AIX 7.1) for SAP application.
    Some non-default event parameters were set when Database was running with 10.2.0.4 version. After upgrade to 11.2.0.3, those events were not seen in pfile/spfile. However, post_upgrade log shows that those events were set (and log displays the list of the events as well).
    Now, my concern is whether those event parameters were set already by default (if it is already set after upgrade, not sure why pfile not reflecting them) or do I need to set the parameters manually.
    Thanks in advance for all your help.
    Regards,
    Prakash

    Yes, they seem to be part of the upgrade itself, and SAP seems to set them in multiple places:
    1) During the dbua.sap.sh run, post-processing calls custom scripts which set these events (check the CustomScript.log in $ORACLE_BASE/cfgtoollogs/dbua/SID/upgrade1 and you can see where it is set)
    2) The post_upgrade_status.sql script in $ORACLE_HOME/sap/ora_upgrade/post_upgrade sets them when you run it as directed after the upgrade
    3) The SBP post-patch instructions specify a command to run that sets these in the spfile
    I don't think any of the upgrade steps regenerate the pfile, so if you're looking at one you generated pre-upgrade (like I did earlier today to pull out underscore parameters and user/background_dump_dest) that you then used to startup the database, SAP is definitely changing stuff behind your back. I'd just regenerate the pfile to avoid confusion.

  • Can we update InfoPath field using Event Receiver ItemAdded method

    Hi,
    Can we update InfoPath browser enabled form field using Event Receiver ItemAdded method. Following is the code snippet I used to update the field but it's not updating the field.
    Please help me on this issue.
    public override void ItemAdded(SPItemEventProperties properties)
                base.ItemAdded(properties);
                try
                    //Turn off event firing so we don't end up with a conflict 
                    base.EventFiringEnabled = false;
                    //Run the code elevated so we can rename our item
                    SPSecurity.RunWithElevatedPrivileges(delegate()
                        using (SPSite site = new SPSite(properties.Web.Site.ID))
                            using (SPWeb web = site.OpenWeb(properties.Web.ID))
                                //Grab a new copy of our list and listitem under the new security context
                                SPList list = web.Lists[properties.List.ID];
                                SPListItem item = list.Items.GetItemById(properties.ListItemId);
                                //Change name and title to match item ID
                                item.File.CheckOut();
                                string fieldInternalName = properties.List.Fields["Employee Name"].InternalName;
                                SPUser oUser = web.EnsureUser(Convert.ToString(item["Employee Entry"]).Substring(0, Convert.ToString(item["Employee Entry"]).Length - 2));
                                item[fieldInternalName] = oUser.Name;
                                item.Update();
                                item.File.CheckIn("Changed Employee Name");
                catch (Exception ex)
                    //Log an errors to the ULS
                finally
                    //Turn event firing back on
                    base.EventFiringEnabled = true;
    Srivignesh J

    When you published your infopath form, did you promote the field you are trying to update to a property, and allow updates (its one of the steps in publishing your form, where you pick which fields you want to show as fields in the list view)... 
    Otherwise, how about get the Item.SPFile object, open it as XML, find the field you want to update, and update it that way... 

Maybe you are looking for