A Threshold of 50

We are running ODP.Net 9.2.0.4, IIS 5.0, .Net Framework 1.1, ASP.Net 1.1, IE 6.0, Oracle Server and Client 9.2.0.4, all on Windows 2000 Server service pack 4.
We have discovered a curious problem when the 50th user since IISRESET (aspnet_wp restart) attempts to access certain functions in the application (not at logon, not at initial database access, only when they reach one of a couple of different functions within the application).
Test Procedure: the tester opens a new browser session, logs on with a different userid, navigates to a particular point in the application, and executes one of the offending functions. Then the next tester does the same … and so on. 50+ different userids are employed in this test.
Users 1 – 49 get to and execute the function (which is a cmdExecuteScalar or cmdExecuteReader on different tables). For these first 49, the function executes.
For the 50th and subsequent users, an error is thrown. In different test cycles we used different userids (so the 50th user was not the same userid from test to test).
If connection pooling is OFF (false), the error thrown is “ORA-12560 TNS Protocol Adapter Error”.
If connection pooling is ON (true), the error thrown is “ORA-00942 Table or View does not exist”. This error gets thrown at the 50th distinct user regardless of the min pool size setting.
Furthermore, once beyond the threshold, if we logout some of the earlier 1 – 49 userids and log back in, they still work. If we log them out and try new userids, the new ones throw the error. The original (1 – 49 pool) can still utilize the application.
On the database side, we turned-on full blown logging (lsnrctl trace 16) in an attempt to catch the error. The attempt by the 50th and subsequent user never gets to the database. The ORA errors are thrown before the round-trip from aspnet_wp to the database.
On the web server side, we are about to run another set of tests with ODP.Net tracing on. (I was not aware of this feature on our earlier tests.)
This problem is also in production. The user base is not that big, but it does accumulate past 50 users sometime during the afternoon. It usually occurs around the same time almost every day, depending on activity. Each time, the customer has to bounce IIS. This is not good.
Does anyone out there know of some configuration setting in ODP.Net, IIS, the .Net Config files, or elsewhere that could be a suspect here?

More information.
We set ODP.Net logging and ran through 50 users until we repated the error (again). Unfortunately it was not very illuminating to us. Perhaps someone else will find it so.
These are the lines associated with the "ORA-00942 Table or View not found" that is thrown when using connection pooling. Remember, the 1st through 49th user since aspnet_wp restart ran this query with no issue.
For the 50th (and subsequent) Logon User....
TIME:2004/ 8/27-14:41:48:951 TID: 4c8 (ENTRY) OracleConnection::Open()
TIME:2004/ 8/27-14:41:48:951 TID: 4c8 (EXIT) OracleConnection::Open()
TIME:2004/ 8/27-14:41:48:951 TID: 4c8 (ENTRY) OracleCommand::ExecuteReader()
TIME:2004/ 8/27-14:41:48:951 TID: 4c8 (ENTRY) OpsSqlExecuteReader()
TIME:2004/ 8/27-14:41:48:951 TID: 4c8 (ENTRY) OpsErrAllocCtx()
TIME:2004/ 8/27-14:41:48:951 TID: 4c8 (EXIT) OpsErrAllocCtx(): RetCode=0 Line=185
TIME:2004/ 8/27-14:41:48:951 TID: 4c8 (ENTRY) OpsSqlAllocCtx()
TIME:2004/ 8/27-14:41:48:951 TID: 4c8 (EXIT) OpsSqlAllocCtx(): RetCode=0 Line=80
TIME:2004/ 8/27-14:41:48:951 TID: 4c8 OpsSqlExecuteNonQuery(): SQL: SELECT Request_Type_ID , Description FROM REQUEST_TYPE WHERE SPO_ID = 'C-130' ORDER BY sort_order ASC
TIME:2004/ 8/27-14:41:48:951 TID: 4c8 (EXIT) OpsSqlExecuteReader(): RetCode=-1 Line=308
TIME:2004/ 8/27-14:41:48:951 TID: 4c8 (ENTRY) OpsErrGetOpoCtx()
TIME:2004/ 8/27-14:41:48:951 TID: 4c8 (ERROR) Oracle error code=942
TIME:2004/ 8/27-14:41:48:951 TID: 4c8 (EXIT) OpsErrGetOpoCtx(): RetCode=0 Line=125
TIME:2004/ 8/27-14:41:48:951 TID: 4c8 (ENTRY) OpsSqlFreeValCtx()
TIME:2004/ 8/27-14:41:48:951 TID: 4c8 (EXIT) OpsSqlFreeValCtx(): RetCode=0 Line=154
TIME:2004/ 8/27-14:41:48:951 TID: 4c8 (ENTRY) OpsErrFreeCtx()
TIME:2004/ 8/27-14:41:48:951 TID: 4c8 (EXIT) OpsErrFreeCtx(): RetCode=0 Line=212
TIME:2004/ 8/27-14:41:48:951 TID: 4c8 (ENTRY) OpsSqlFreeCtx()
TIME:2004/ 8/27-14:41:48:951 TID: 4c8 (EXIT) OpsSqlFreeCtx(): RetCode=0 Line=105
TIME:2004/ 8/27-14:41:48:951 TID: 4c8 (ENTRY) OracleConnection::Close()
TIME:2004/ 8/27-14:41:48:951 TID: 4c8 (ENTRY) OpsConCloseProxyAuthUserSession()
TIME:2004/ 8/27-14:41:48:951 TID: 4c8 (EXIT) OpsConCloseProxyAuthUserSession(): RetCode=0 Line=488
TIME:2004/ 8/27-14:41:48:951 TID: 4c8 (ENTRY) OpsConCheckConStatus()
TIME:2004/ 8/27-14:41:48:951 TID: 4c8 (EXIT) OpsConCheckConStatus(): RetCode=0 Line=1444
TIME:2004/ 8/27-14:41:48:951 TID: 4c8 (EXIT) OracleConnection::Close()
TIME:2004/ 8/27-14:41:48:951 TID: 4c8 (ENTRY) OracleConnection::Dispose()
TIME:2004/ 8/27-14:41:48:951 TID: 4c8 (ENTRY) OpsConFreeValCtx()
TIME:2004/ 8/27-14:41:48:951 TID: 4c8 (EXIT) OpsConFreeValCtx(): RetCode=0 Line=587
TIME:2004/ 8/27-14:41:48:951 TID: 4c8 (EXIT) OracleConnection::Dispose()
Again, any help would be greatly appreciated!

Similar Messages

  • How to change default thresholds for some metrics of all targets.

    Hi!
    We have a lot of servers which have to work hard.
    So, our OEM very often generates messages like these:
    "EM Alert: Critical:dbsora90.tsb.kz - CPU Utilization is 99.95%, crossed warning (80) or critical (95) threshold."
    "EM Alert: Critical:dbsora94.tsb.kz - Disk Device c8t60A9800043346C384C344A4A63516D6Ad0(ssd4) is 99.7% busy."
    "EM Alert: Critical:dbsora94.tsb.kz - CPU Load (Run Queue Length averaged over 5 minutes) is 20.78, crossed warning (10) or critical (20) threshold."
    I need to change default tresholds for mentioned metrics but I can't their defenition in SYSMAN.MGMT_*-tables or suitable settings in OEM GUI.
    And I have no time to edit treshholds manually for each target. )

    Modification of Metric Thresholds (as this is what you are referring to), should be done using the Metrics and Policy Settings link (to be found in the Target Home page).
    Don't mess around with the SYSMAN tables!
    Best thing to do here is to start using Monitoring Templates for this.
    Check:
    Oracle® Enterprise Manager Concepts
    11g Release 11.1.0.1
    http://download.oracle.com/docs/cd/E11857_01/em.111/e11982/toc.htm
    Regards
    Rob
    http://oemgc.wordpress.com

  • Alert/Email notification for contract getting expired and threshold limit

    Hello All,
    For Central Contract management SRM 7.0 we have a requirement where an alert or e-mail notification is to be sent to a group of purchaser if following occurs.
    u2022     The validity period of a contract is about to expire
    u2022     The greatest possible release quantity will soon be reached
    u2022     A new contract has been released
    u2022     A purchaser has moved within the organization
    u2022     The processing time for a contract has been exceeded
    Currently one purchaser is responsible for more than one purchasing group hence whenever a contract reaches it threshold limit a notification mail should be send to a group of Purcahser.
    If any one has any one taken care of this type of requirement then please let me know the configuration of how this can be achieved.
    Thanks,
    Yatin

    Hello Massa,
    Thanks for the input.
    We checked with BBP_ALERTING badi and although the communication type could be changed in debugging mode still the final output is that the system checks for the RML set up in SU01 user profile of the recepient.
    For this we took 2 users one with INT setting and other with RML setting.
    Contract created with these two user and the expiry date is less than the threshold limit as a result alert got triggered.
    In Debugging mode, event ( BBP_EVENTS_DET_RECIPIENTS) for both the user the communicaiton type was coming as blank, we forcefully changed the setting to INT.
    But the final result is that the program is checking the SU01 default setting while sending mail, and it send to one user via INT and for other via RML method which should not be the case.
    Can you please let me know exactly where I can do the changes, this is really critical for the project as commnunication type change involves a Global change which business people are relecutant to do so.
    Thanks,
    Yatin
    Edited by: yatendra rawat on Oct 1, 2010 11:48 AM

  • How can I use find coordsys(p​attern)2 to locate for template in an image when the image is threshold-​ed?

    I'm trying to locate for a template in an image, and the image is threshold-ed. I tried to threshold both the template and the image to try if it can locate the template, but there was an error, it said that the template has not enough contrast or something like that? Please help me, thank you.

    Here is what I tried to do, I used a AutoBthreshold2 and I didn't set a value to it. The image is attached below and the template. Thank you.
    Here is the error.
    Attachments:
    pattern.vi ‏51 KB
    template.jpg ‏1 KB
    bb.jpg ‏350 KB

  • Exchange 2013 - The Microsoft Exchange Transport service is rejecting message submissions because the service continues to consume more memory than the configured threshold

    Noticed at about noon that no emails had been received all day. Began to investigate and found that the MS Exchange Transport service had been set to deny email submission because it was using too much memory on the server (91%). 
    The error message makes me think that we may have been getting used by malware or something similar.“The Microsoft Exchange Transport service is rejecting message submissions because the service continues to consume more memory than the
    configured threshold.” 
    There are also several warning messages that list particular IP addresses and say that a connection from that IP was denied because there were already the maximum number of connections (20). 
    From what I can tell, all of the IP addresses are from Taiwan. 
    The time period for which some emails may be missing is from close of business yesterday ( 4/3/2014) through about 12:45 today (4/4/2014). 
    From the time I spent reading and trying to figure out the error, I think we may need to readjust our throttling policies to prevent this from happening. 
    The exchange server is currently running at 90%+ CPU and 50%+ memory usage the majority of the time, and I’m not sure how to fix it.
    Also, I cannot get into EMS I get a access denied message from the destination computer. (Exchange server) I want to get into there to change the throttling policy back to default, since we disabled it.
    The Error reads:
    The WinRM client cannot process the request. The WinRM client tried to use Kerberos authentication mechanism, but the destination computer <Exchange> returned an 'access denied' error. Change the configuration to allow Kerberos authentication
    mechanism to be used or specify one of the authentication mechanism supported by the server. (How do I do this?) To use Kerberos, specify the local computer name as the remote destination. (I'm trying to use EMS while logged into the local Exchange server)
    Also verify that the client computer and the destination computer are joined to a domain. (Exchange is on our domain, and the computer trying to connect is the same computer) To use basic, specify the local computer name as the remote destination, specify
    Basic authentication and provide user mane and password. Possible authentication mechanisms reported by server.
    At line:1 char:1
    + New-PSSession -ConnectionURI "$connectionUri" -ConfigurationName Microsoft.Excha ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotingTransportException + FullyQualifiedErrorId : AccessDenied,PSSessionOpenFailed
    I assumed control of this exchange system already in place and I do not have much experience with exchange 2013 or server 2012. I do know 2008, but that doesn't help very much in this situation.
    Recent changes to the system:
    About three days ago we switch our sessions policy to allow many more connections, and I believe this caused the issue. This is what I changed it to:
    Made the registry DWORD (32-bit) "Maximum Allowed Sessions Per User" and modified the value to 1000. Location of registry change @ HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeIS\ParametersSystem
    I just changed it to 10 from the 1000. I'm hoping this solves this. So far no.
    Also, I am not the best in the shell or command line interfaces. Any help would be wonderful!

    Hi,
    Yes, could be hardware performance issue. Try recycle the Transport process and see if the issue persists.
    Thanks,
    Simon Wu
    TechNet Community Support

  • How to delete the exceed threshold limit list in Sharepoint Online

    In my share point online list having more than 5000 items. It's reached threshold limit.Then
    i am trying to delete the list data using client context in console application. But I got this error message "The attempted operation is prohibited because it exceeds the list view threshold enforced by the administrator."
    If anyone know how to resolve this issue.

    Hi,
    Unfortunately there is no option to override the list threshold in Office 365/SharePoint Online.  One option is to create the folders and move the items to that folders, then try deleting the items.
    And also refer to the following posts.
    http://community.office365.com/en-us/f/154/t/156368.aspx
    Indexing columns
    http://en.community.dell.com/techcenter/sharepoint-for-all/b/blog/archive/2014/04/01/resolving-the-list-view-threshold-when-migrating-to-o365
    http://aaclage.blogspot.de/2014/02/sharepoint-2013-app-manage-list.html
    Please don't forget to mark it as answered, if your problem resolved or helpful.

  • Is there a way to exclude temporary people picker fields from a query when receiving the "List View Lookup Threshold" error.

    Hi All,
    My users require the ability to select a sharepoint group from a drop down list and then be able to select a user from a people picker based on the drop down selection.    The best solution I was able to up with, was create a people picker
    for each drop down selection and set the Sharepoint group field to the selected group.  All people picker filed are hidden except the one that matches the drop down selection.  When creating an entry from the sharepoint list this method
    works perfectly.
    However, when I add the list onto a site page using an "Listview webpart", then add an infopath web part and then finally connect the two parts, I get a "List View Lookup Threshold" error when selecting an entry from the list.  I
    understand from the error and reading that this error is related to the number of People pickers in the list.   Is there a way to exclude temporary people picker fields from a site page query, as they are only temporary fields to allow the users
    to select a person and then assign the name to another field.
    Dwayne

    Hi Dwayne,
    In SharePoint 2013, we could manually create a list for all users. Here are the reference:
    Go to Site Settings >  People and Groups > SiteMembers
    Modify url
    http://sitename/_layouts/15/people.aspx?MembershipGroupId=8 to
    http://sp/sites/tutu/_layouts/15/people.aspx?MembershipGroupId=0 , now you will see All people in this site.
    Change the view to List view, and copy the listview id in the url
    http://sitename/_layouts/15/people.aspx?MembershipGroupId=0&View={viewID}
    Go to Settings > List settings, copy the list id in the url
    http://sitename/_layouts/15/listedit.aspx?List=listeid&Source=....
    Now type the address in IE:
    http://sitename/_vti_bin/owssvr.dll?CS=109&Using=_layouts/query.iqy&List=[LISTID]&View=[VIEWID]&CacheControl , such as
    http://sp/sites/tutu/_vti_bin/owssvr.dll?CS=109&Using=_layouts/query.iqy&List=f3958d27-9c2f-4f8d-b221-89466e816667&View=696BFDC5-0C6E-4E27-818F-0E6292A18407&CacheControl=1
    Save the owssvr.jqy from SharePoint site
    Now you could see the file in your desktop with all users, save it as allusers in Excel.
    Then import it to your SharePoint site, add an app > find an app > import spreadsheet
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Is there a way to enable & configure Volume Discounts via the Product Import Spreadsheet? Is there a way to enable more than 2 Quantity Thresholds?

    Is there a way to enable & configure Volume Discounts via the Product Import Spreadsheet? Is there a way to enable more than 2 Quantity Thresholds?

    Hi Michael,
    You can set the thresholds via an import file. The easiest way to do this (and this goes for all importable data, webapps included, 301 redirects and so on) is this:
    1. go into the Admin and create a single item, in you case create a test product and set the thresholds
    2. export that data - in your case export the product list
    3. take a look at how the data looks like in the export file so you can get an idea of how the format should be like in the import file
    Unfortunately you cannot set more than 2 thresholds, that is not possible at the moment.
    Thanks,
    Mihai

  • How to set threshold value for single tablespace in grid control 11g

    Hi,
    I want to set the threshold value for a single tablespace in grid control 11g,
    please provide me a navigation path.

    Sandy wrote:
    Can you please provide me the full navigation path?go to Targets --> Databases
    Select the Database you like to set this alert for
    Select link Metrics and Policy Settings

  • How to get items from a list that has more items than the List View Threshold?

    I'm using SharePoints object model and I'm trying to get all or a subset of the items from a SharePoint 2010 list which has many more items than the list view threshold (20,000+) using the SPList.GetItems() method. However no matter what I do the SPQueryThrottledException
    always seems to be thrown and I get no items back.
    I'm sorting based on the ID field, so it is indexed. I've tried setting the RowLimit property on the SPQuery object(had no effect). I tried specifying the RowLimit in the SPQuerys ViewXml property, but that still throws a throttle exception. I tried using the
    ContentIterator as defined here:http://msdn.microsoft.com/en-us/library/microsoft.office.server.utilities.contentiterator.aspx,
    but that still throws the query throttle exception. I tried specifying the RowLimit parameter in the ProcessListItems functions, as suggested by the first comment here:http://tomvangaever.be/blogv2/2011/05/contentiterator-very-large-lists/,
    but it still throws the query throttle exception. I tried using GetDataTable instead, still throws query throttle exception. I can't run this as admin, I can't raise the threshold limit, I can't raise the threshold limit temporarily, I can't override the lists
    throttling(i.e. list.EnableThrottling = false;), and I can't override the SPQuery(query.QueryThrottleMode = SPQueryThrottleOption.Override;). Does anyone know how to get items back in this situation or has anyone succesfully beaten the query throttle exception?
    Thanks.
    My Query:
    <OrderBy>
        <FieldRef Name='ID' Ascending='TRUE' />
    </OrderBy>
    <Where>
        <Geq><FieldRef Name='ID' /><Value Type='Counter'>0</Value></Geq>
    </Where>
    My ViewXml:
    <View>
        <Query>
            <OrderBy><FieldRef Name='ID' Ascending='TRUE' /></OrderBy>
            <Where>
                <Geq><FieldRef Name='ID' /><Value Type='Counter'>0</Value></Geq>
            </Where>
        </Query>
        <RowLimit>2000</RowLimit>
    </View>
    Thanks again.

    I was using code below to work with 700000+ items in the list.
    SPWeb oWebsite = SPContext.Current.Web;
    SPList oList = oWebsite.Lists["MyList"];
    SPQuery oQuery = new SPQuery();
    oQuery.RowLimit = 2000;
    int intIndex = 1;
    do
    SPListItemCollection collListItems = oList.GetItems(oQuery);
    foreach (SPListItem oListItem in collListItems)
    //do something oListItem["Title"].ToString()
    oQuery.ListItemCollectionPosition = collListItems.ListItemCollectionPosition;
    intIndex++;
    } while (oQuery.ListItemCollectionPosition != null);
    Oleg
    Hi Oleg, thanks for replying.
    The problem with the code you have is that your SPQuery object's QueryThrottleMode is set to default. If you run that code as a local admin no throttle limits will be applied, but if you're not admin you will still have the normal throttle limits. In my
    situation it won't be run as a local admin so the code you provided won't work. You can simulate my dilemma by setting the QuerryThrottleMode  property to SPQueryThrottleOption.Strict, and I'm sure you'll start to get SPQueryThrottledException's
    as well on that list of 700000+ items.
    Thanks anyway though

  • List View Threshold

    I've asked this question before and got no useable responses so I'm gonna try again...
    (http://social.technet.microsoft.com/forums/sharepoint/en-US/d8b2933f-110f-401a-8cca-2346e4340f76/content-query-web-part-list-view-threshold)
    I'm responsible for an intranet that has two customised CQWP (Content Query Web Parts) present on the home page.
    Both of these web parts aggregate all list items from across the entire site collection and use filters and Audience Targeting to provide a personalised experience to each user.
    One web part is used to show upcoming calendar items and the other shows announcements.
    The problem is that, a while ago, the Calendar query presented an error due to breaching the LVT (List View Threshold), and no matter what I do with the LVT setting in Central Admin, the web part always fails to deliver content.
    I’ve tried increasing the LVT in Central Admin as part of the troubleshooting process but no matter how high I set it I still get the same behaviour.
    If I modify the web part properties so that the query is looking at a single site instead of the entire site collection the web part is fine; if I revert back to querying the entire site collection again, using an account that is a member of the Farm Administrators
    group, I can see the calendar/event items as they should be, because of the LVT setting for Admins/Auditors.
    If I check the page in with the modified CQWP, I still see the correct list of objects in the web part but as soon as I publish the page, the items disappear and this empty web part is then seen by all users.
    Querying the site collection using PowerShell I can see that there are 6637 announcements and only 4658 calendar/event items. The LVT is at its default of 5000.
    Excerpt from the ULS entry for a specific page load.
    CrossListQueryCache::GetSiteData() caught exception (Microsoft.SharePoint.SPQueryThrottledException: The attempted operation is prohibited because it exceeds the list view threshold
    enforced by the administrator. ---> System.Runtime.InteropServices.COMException (0x80070024): The attempted operation is prohibited because it exceeds the list view threshold enforced by the administrator.   
    I think I’d ultimately like to understand what’s going on that means the LVT increases I’ve made have no effect and why one web part with a total number of results over and above the LVT is working while the one with a total below the LVT fails.
    Thanks in advance.
    N03L.

    Hi,
    According to your description, my understanding is that the error occurred when displaying calendar list items in the Content Query web part.
    Did you set any sort order or filter in the Content Query web part?
    If yes, then the issue may be due to the sort order or the filter uses a column that does not have an index when displaying large items in the Content Query web part.
    Please add an index to the fields that are sorted or filtered in the view to see if the issue still occurs.
    More reference:
    http://nickhobbs.wordpress.com/2013/06/13/sharepoint-2010-list-view-threshold-explained/
    Thanks,
    Victoria
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Victoria Xia
    TechNet Community Support

  • List view threshold error in list view web part, column indexing not working

    Hello all,
    I have a list with about 8000 items and the list view threshold is set at 5000. I want to filter the list by a certain column ("Title", single line of text) so I indexed that column. I can filter the list (AllItems.aspx) however if I put the list
    on a web part page (in the form of a list view web part), I can't filter by that column. Shouldn't the indexed column allow this?
    Note that the threshold will not be increased and a daily time period to bypass the threshold is in place, but I'm looking for a solution for any time of they day.
    Thanks!

    Thanks for your response. Your suggestion did work! It got me thinking and I took some time to investigate this column indexing stuff a little closer. I had an "ah-ha" moment.
    Regardless of whether the column has an index or not, dynamic drop down filtering in a list view web part will only work if the list view has fewer items than the threshold. This is the critical point I was missing. I was assuming the index would allow for
    drop down filtering.
    Thanks again!

  • Split records into Multiple csv files using a Threshold percentage

    Hi Gurus,
    I have a requirement to split the data into two csv file from a table using a threshold value(in Percentage) .
    Assume that If my source select query of interface fetches 2000 records , I will provide a threshold value like 20%.
    I need to generate a csv1 with 400 records(20% of 2000) and the rest of the records into another csv2.
    For implementing this I am trying to use the following process.
    1) Create a procedure with the select query to get the count of records.
    Total Records count: select count(1) from source_table <Joins> <Lookups> <Conditions>;
    2) Calculate the Record count to first CSV using the threshold_value.
    CSV1_Count=Total records count /threshold_value
    3) Create a view that fetches the CSV1_Count(400) records for CSV1 as follows.
    Create view CSV1_view as select Col1,Col2,Col3 from source_table <Joins> <Lookups> <Conditions>
    Where rownum<=CSV1_Count;
    4) Generate CSV1 file using View 'CSV1_View'
    5) Generate CSV2 File using the Interface with same select statement (with columns ) to generate a CSV.
    select Col1,Col2,Col3 from source_table ST <Joins> <Lookups> <Conditions>
    Left outer join (Select Col1 from CSV1_View ) CS on CS.Col1=ST.Col1 where CS.Col1 is null;
    Which gives the Total records minus the CS1_View records.
    The above process seems a bit complex and very simple . If any changes in my Interface I also need to change the procedure (counts the no:of records).
    Please provide your comments and feedback about this and looking for your inputs for any new simple approach or fine tune the above approach.
    Thanks,
    Arjun

    Arjun,
    This are my thoughts and Lets do it in 3 Steps
    Step 1.  ODI Procedure
    Drop table Temp_20 ;
    Create table Temp_20 as select * from table where rownum < ( SELECT TRUNC( COUNT(1) /5) FROM TABLE ) .
    [ ** This way iam fetching approx 20% of the table data and loading into Temp table . 1/5 th is 20%  so i am dividing count by 5
    I don't believe View will help you especially with RowNum as if you run the same query with rownum < N the rows order might differ . so Temp table is great ]
    Step 2 .  Use OdiSqlUnload  with select columns  from temp_20
    Step 3 . Use again OdiSqlUnload  with  select columns from table where  ( uk keys ) not in ( selecy uk_keys from temp_20)
    [** this way you can pick the remaining 80% ** and the data will be not repeat itself across 20% and 80% , as might happen with view ]
    what do you think ?

  • List View Threshold and using OR in list view

    I've read the white papers, searched the blogs, but I don't quite understand why I am getting the 'only showing latest results...' yellow bar due to list threhshold with following scenario:
    List has 9000 items (so above threshold).
    ALL 4 columns below are indexed!
    I have a view called 'My Items' such that:
    Show all items when
    UserColumn1 = [Me] OR
    UserColumn2 = [Me] OR
    UserColumn3 = [Me] OR
    UserColumn4 = [Me]
    All of the 4 user columns are indexed, but I'm thinking that since I have OR's in they query vs ANDs that it is causing the view to trip up and display the 'only giving you recent...' yellow filter bar.
    Any thoughts?
    Am i correct in my thinking that because of the OR's, SharePoint has to go back to the database and pull data 4 times.
    There are only 20 items where UserColumn1 is me, 10 where UserColumn2 is me, and 3 where UserColumn3 is me and only 1 item where UserColumn4 is me, so there are only total of 34 items, so I know its not because the first indexed column is returning more
    than 5000 items.
    Any advice/links to using 'OR' in view is much appreciated, I couldn't find anything.
    Herschel

    The problem is the "or" and the list view threshold.  When using an OR the query has to retrieve ALL the items to make sure it gets all the Or clauses.  Once it has all the items then it filters based on the "or".  If you
    use an"and" you can be sure that all the results will be represented by the result set that is derived from the first column.  So the query can be limited to that and then trimmed of additional results after retrieval.  When using Ors there
    is no way to limit the query Set.  What you want it to do is limit the results to 4 query sets that it then combines.  It doesn't work that way.  When using 'or' you will always try to retrieve ALL the results whether the columns are indexed
    or not.
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • List View Threshold and Relevant Documents

    I have a Sharepoint Site that contains several libraries.  Some with infopath forms and others with pdf's.  On the site's main page I had added the relevant documents web part.  The relevant documents web part is used frequently by certain
    users to attach hyper links in infopath forms to pdf's stored in a library filled with pdf's.
    Recently one the sites users recieved the error message within the relevant documents web part saying: " The attempted operation is prohibited because it exceeds the list view threshold enforced by the administrator"
    Strange part was it was only affecting this user.  So I went to the central admin site and increased the list view threshold from 20,000 to 30,000 which solved the problem for now.  None of our libraries individually exceeded the 20,000 document
    view threshold limit.  However I believe all of them combined due which is what caused the relevant documents to stop working.  
    What I am wondering is if it is possible to filter which libraries the relevant documents list indexes/displays so that I can keep the lower view threshold limit to keep server load down?  I was not able to find any options in the web
    part settings for the relevant documents web part that would do this.  My backup option is to move certain libraries to a new site, which is not ideal.  Some pdf document libraries cannot be moved because the hyperlinks would all be broken.

    I instead used the greater than which looks like it worked in pulling only more recent documents.  The problem is most of the documents are in folders that were created years ago so if someone browses to the library certain folders will be hidden.
    I don't know if setting up private default views will fix this for them and allow me to drop the list view threshold back to 20,000.
    I will have to test this later today.

  • Not able to create sub folder using SharePoint web service in large SharePoint document library (Item count view threshold limit)

    We are trying to create folder & subfolder in a SharePoint document library using SharePoint default(dws) web service. Document library has unique permission as well as item level permission. It was working as expected. Once item count crosses
    view threshold limit ( 5000) , create folder web method completes with an error and it creates a folder in SharePoint.
    Request:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:dws="http://schemas.microsoft.com/sharepoint/soap/dws/">
       <soapenv:Header/>
       <soapenv:Body>
          <dws:CreateFolder>
             <!--Optional:-->
             <dws:url>Shared Documents/VenTest02092015v1</dws:url>
          </dws:CreateFolder>
       </soapenv:Body>
    </soapenv:Envelope>
     Response:
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
       <soap:Body>
          <CreateFolderResponse xmlns="http://schemas.microsoft.com/sharepoint/soap/dws/">
             <CreateFolderResult>&lt;Error ID="2">Failed&lt;/Error></CreateFolderResult>
          </CreateFolderResponse>
       </soap:Body>
    </soap:Envelope>
     While trying to create subfolder under the above created folder service throws an exception saying
    FolderNotFound.
    Though we are able to create subfolder from SharePoint UI successfully. 
    Request
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:dws="http://schemas.microsoft.com/sharepoint/soap/dws/">
       <soapenv:Header/>
       <soapenv:Body>
          <dws:CreateFolder>
             <!--Optional:-->
             <dws:url>Shared Documents/VenTest02092015v1/REQ-1</dws:url>
          </dws:CreateFolder>
       </soapenv:Body>
    </soapenv:Envelope>
    Response:
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
       <soap:Body>
          <CreateFolderResponse xmlns="http://schemas.microsoft.com/sharepoint/soap/dws/">
             <CreateFolderResult>&lt;Error ID="10">FolderNotFound&lt;/Error></CreateFolderResult>
          </CreateFolderResponse>
       </soap:Body>
    </soap:Envelope>

    Yes, you're probably hitting the 5000 list item threshold (
    http://sharepoint.stackexchange.com/questions/105937/overcoming-5000-file-document-library-limits ). I assume you can do it via the UI because you're probably logged in as an admin in which case, out of memory, the threshold is 20.000 items. You can extend
    this limit, but you probably shouldn't.
    Kind regards,
    Margriet Bruggeman
    Lois & Clark IT Services
    web site: http://www.loisandclark.eu
    blog: http://www.sharepointdragons.com

Maybe you are looking for