Tuesday, November 19, 2013

SharePoint list view threshold : " This view cannot be displayed because it exceeds the list view threshold "


שלום חברים,
היום לקוח פנה אליי עם בעיה בספריית מסמכים, הוא בחר בתצוגה מסויימת וקיבל את ההודעה הבאה :
" אין אפשרות להציג תצוגה זו מכיוון שהיא חורגת מסף התצוגה של הרשימה (60000 פריטים) שמנהל המערכת אוכף.
כדי להציג פריטים, נסה לבחור תצוגה אחרת או ליצור תצוגה חדשה. אם אין לך הרשאות מספיקות ליצירת תצוגות עבור רשימה זו, בקש ממנהל המערכת לשנות את התצוגה כדי להתאים אותה לסף התצוגה של הרשימה.
למד אודות יצירת תצוגות עבור רשימות גדולות. "

המשמעות היא שנתוני ה-View לא מוצגים בגלל שיש מגבלה ב-WebApplication בשם "List View Threshold ",  כלומר מציין את המספר המרבי של פריטי רשימה או ספריית מסמכים שבפעולת מסד נתונים, כגון שאילתה, יכולה לעבד באותו הזמן מחוץ לחלון הזמן היומי המוגדר על ידי מנהל המערכת.
הפתרון :
1.       פתח את הניהול המרכזי של SharePoint,
2.       לך לניהול יישומים -> ניהול יישומי אינטרנט
3.       לחץ כדי לבחור את יישום האינטרנט שמארח את הרשימה שלך (למשל SharePoint - 80)
4.       ברצועת הכלים, בחר את הגדרות כלליות ובחר ויסות משאבים
5.       ואז, אתה יכול לראות את מגבלת סף תצוגת רשימת 5000 ואתה יכול לערוך את הערך שאתה רוצה.
6.       לחץ על OK כדי לשמור אותו.

סף זה בעל ערך ברירת מחדל של 5000, בנסיבות מסוימות ניתן לערוך את חריגת הסף, אבל חשוב להבין שפעולה זו עשויה להשפיע על ביצועיי החווה, בנוסף לערך האפקטיבי של מגבלות אחרות.



חשוב שתדעו ש Microsoft  מגדירים -3- רמות של מגבלות :
1.       Boundaries : גבולות הם גבולות מוחלטים שלא יכולה להיות חריגה מהן. חשוב להבין את המגבלות הללו על מנת להבטיח כי לא נעשה הנחות שגויות בעת עיצוב החווה בעתיד.
דוגמה של גבול היא גבול גודל מסמך GB 2, לא ניתן להגדיר את SharePoint Server שיאחסן מסמכים שהם גדולים יותר מ 2 GB. זה מובנה בערך מוחלט, ולא יכול להיות חריגה על ידי עיצוב.
2.       Thresholds  : ספים הם אלה שיש להם ערך ברירת מחדל שניתן לשינוי. בנסיבות מסוימות,יכולות להיות חריגות מהספים כדי להכיל סטיות בעיצוב החווה, אבל חשוב להבין ששינוי של הערך תגרור השפעה על ביצועיי החווה, בנוסף לערך האפקטיבי של מגבלות אחרות. ערך ברירת המחדל של סף מסוים יכול לחרוג רק עד ערך מרבי מוחלט.
דוגמה טובה לכך היא מגבלת גודל המסמך. כברירת מחדל, את סף גודל המסמך המוגדר כברירת מחדל מוגדר 50
MB, אך ניתן לשינוי כדי לתמוך בגבול המקסימאלי של 2GB.
3.       Supported : גבולות נתמכים מגדירים את ערך המבחן לפרמטר נתון. ערכי ברירת המחדל עבור גבולות אלה הוגדרו על ידי בדיקות, ומייצגים את המגבלות הידועות של המוצר. חריגות נתמכות עלולה לגרום לתוצאות בלתי צפויות, ירידה משמעותית בביצועים, או השפעות מזיקות אחרות. כמה מגבלות נתמכות הן פרמטרים הניתנים להגדרה שנקבעו כברירת מחדל לערך המומלץ, ואילו מגבלות נתמכות אחרות מתייחסות לפרמטרים שאינם מיוצגים על ידי ערך להגדרה.

בהצלחה !
רון נס.



============================================================================================================================================================================================================================================================


Hello Friends,
Today a client approached me with a problem in a document library, he chose a certain view and got the following message:
" This view cannot be displayed because it exceeds the list view threshold (60000 items) enforced by the administrator.
To view items, try selecting another view or creating a new view. If you do not have sufficient permissions to create views for this list, ask your administrator to modify the view so that it conforms to the list view threshold.
Learn about creating views for large lists. "

This means the View don't shown because there is a limitation in WebApplication called "List View Threshold", ie specifies the maximum number of items in a list or document library database operations such as query, can process at the same time outside the daily time window defined by the administrator.
The solution:
1.       Open the SharePoint Central Administration,
2.       go to Application Management --> Manage Web Applications
3.       Click to select the web application that hosts your list (eg. SharePoint - 80)
4.       At the Ribbon, select the General Settings and select Resource Throttling
5.       Then, you can see the 5000 List View Threshold limit and you can edit the value you want.
6.       Click OK to save it.

This threshold has a default value of 5000, under certain circumstances can edit the deviation threshold, but it is important to understand that this may affect my performances farm, in addition to the effective value of other limits.




It is important to know that Microsoft define -3 - levels of restrictions :
1 . Boundaries : boundaries are absolute limits can not be exceeded them. It is important to understand these limits to ensure that no false assumptions made ​​when designing future farm .
An example of a limit is a limit 2 GB document size , you can not configure SharePoint Server machine that would store documents that are larger than 2 GB. This built- in absolute value , and can not be exceeded by design .
2 . Thresholds : thresholds are those that have a default value that can change. In certain circumstances, funds may be exceptions to accommodate deviations farm design , but is important to understand that a change of the drag effect on my performances farm , in addition to the effective value of other limits . The default value can exceed a certain threshold value only to the absolute maximum .
A good example is the document size limit . By default, the document size threshold default is set to 50MB , but can be changed to support the maximum limit of 2GB .
3 . Supported : Supported limits define the value of a given parameter test . The default values ​​for these limits were defined by testing, and represent the known limitations of the product. Supported abnormalities may cause unexpected results , a significant reduction in performance, or other harmful effects . Some supported limits are configurable parameters to the default value recommended , while the other supported limits relate to parameters that are not represented by a configurable value .

Good Luck :)
Ron Ness.

No comments:

Post a Comment