Home
|
All Posts
|
RSS
|
Popular Tags
|
Sign in
|
Join
|
Help
in
Current Tags
(Entire Site)
.Net
.NET 3.5
.NET 4
.NET 4.0
.NET General
.NET Performance
Accessibility
ADO.NET
ALM
Architecture
ASP.net
Azure
BI
Biztalk
BizTalk 2009
BizTalk Adapters
Biztalk Performance
Business Intelligence
C#
Coded UI Test
Datawarehousing
Denali
design patterns
Development
dotNetExpress
ESB
Execution Plan
FAST
FBA
Gemini
Guides
HR
IIS
InfoPath
Lab Management
Microsoft Test And Lab Management
Microsoft Test Manager
MOSS
MOSS 2007
MTLM
New Features
NEWS
Office 2010
OFFTOPIC
PerformancePoint 2007
Power Tools
PowerPivot
QA
Reporting Services
Search
Sela Group
SharePoint
SharePoint 2010
SharePoint Architecture
SharePoint Performance
SharePoint Server 2010
Silverlight
Silverlight 2.0
SOA
SOA Governance
Source Control
SQL
SQL Server
SQL Server 2008
SQL Server 2008 R2
SqlServer
SqlServer 2005
SqlServer 2008
SSAS
SSIS
SSRS
Team Build
Team System
Team System 2010
TECH
Teched_il
Test Management
Test Manager
Testing
TFS
TFS 2010
TFS Administration
TFS Utilities
Tools
UI Tests
Video
Visual Studio
Visual Studio 2010
VS2010
VSTO
VSTS2010
WCF
Webcast
WF
windows
Work Items
WorkItem Tracking
WPF
WSS
נגישות
SCCM WMI Helper C#
Hello, recently I have started to develop a C# library that enables you to perform all sorts of actions automatically with c#. this library was originally developed for a customer that has a very large SCCM environment that need a lot of automation. I have implemented the following actions : WMI_Query - a function to return a single columns from a SCCM provider query. ReSyncSCCMInventory – a function that send a resync command to a client. DeleteAllPackagesFromDP – a function to delete all packages...
02-07-2012 22:55
by
galhut1
to
IT Management? why?
תגים:
SCCM
,
ITPRO
,
Dev
,
C#
לעזור לסבתא לחצות את הכביש
נסיונות לעזור לאופטימייזר של ה-SQL Server משול לעיתים לניסיון המיתולוגי לעזור לזקנה לחצות את הכביש: גרמנו יותר תועלת מנזק.. נכון שלא תמיד זה כך, ולכן יש להפעיל שיקול דעת. הפעם דוגמה מתי לא כדאי: נתונות שתי טבלאות- אחת גדולה (100,000 שורות) ואחת קטנה (33 שורות) ואנחנו מעוניינים לבצע Join בינהן. העמודה בטבלה הקטנה איתה מתבצע ה-Join היא יחודית ולכאורה היא Primary Key, אך לטבלאות לא הוגדרו אינדקסים. אנחנו רוצים לעזור לאופטימייזר: הוא הרי יבצע Scan לטבלה הגדולה, ולכל שורה יחפש התאמה בטבלה הקטנה; ומכיוון...
02-07-2012 21:33
by
גרי רשף
to
גרי רשף
תגים:
SQL Server
,
Execution Plan
,
ITPRO
,
DEV
Join, Semi Join, Anti Semi Join
ב-Execution Plans אנחנו מוצאים לא פעם את החיוויים הנ"ל צמודים ל-Hash Match או ל-Nested Loops. מה המשמעות שלהם? לגבי Join, Left Join, Right Join לא ארחיב כאן ורק אזכיר שהם מחזירים את כל ההתאמות בין שתי טבלאות או סטים בכפוף להגדרות והתנאים, ואציין כאן שתי דוגמאות מפוסט קודם: --1 Select * From messages M Inner Join syslanguages L On M.language_id=L.lcid; --2 Select * From messages M Cross Apply ( Select * From syslanguages L Where M.language_id=L.lcid) L; הסינטקס שונה אך מדובר בפעולות Join...
02-06-2012 21:58
by
גרי רשף
to
גרי רשף
תגים:
SQL Server
,
ITPRO
,
DEV
,
Right Semi Join
,
Left Semi Join
,
Right Anti Semi Join
,
Left Anti Semi Join
באיזה סוג משתנה טקסטואלי כדאי לבחור?
מה ההבדל בין Char / NChar / Varchar / NVarchar? מתי נבחר במשתנה התומך ביוניקוד (NChar / NVarChar) ומתי לא (Char / Varchar)? מתי נבחר במשתנה קבוע באורכו (Char / NChar) ומתי בבעל גודל משתנה (Varchar / NVarchar)? כיצד נדע באיזה גודל משתנה לבחור- גודל מוגבל או לא (Max)? לרוב הצרכים המעשיים- שימוש ב-Char או ב-Varchar אמור להספיק בהנחה שה-Collation הוא עברי ואנחנו מעוניינים לכתוב בעברית ובאנגלית כולל נִיקוּד בעברית ואותיות גדולות/קטנות ב-English, אך לא בתווים לטיניים מיוחדים האופייניים לחלק מהשפות האירופאיות...
02-05-2012 21:43
by
גרי רשף
to
גרי רשף
תגים:
SQL Server
,
collation
,
ITPRO
,
DEV
,
Covered Index
,
Varchar
,
NChar
,
Char
,
NVarchar
,
NVarchar(Max). Unicode
,
Varchar(Max)
תקלה בהתקנת SQL 2012 RC0
גרסת RC0 זו גרסת ההתנסות האחרונה לפני ההשקה של SQL 2012 בפורים . מי שמתקין אותה בשיטת מיקרוסופט (Enter => Next => I Agree => Choose Default/Recommended Option => OK..) עלול לקבל במהלך הגדרות ההתקנה הודעת שגיאה בהאי לישנה: There was a failure to validate setting CTLRUSERS in validaton function ValidateUsers, ו לינק לכתובת באינטרנט שלא מופיע בה מידע רלוונטי או הצעה לפתרון. הפתרון: בשלב Distributed Replay Controller יש להקיש <Next> ולא לבחור ב-Add Current User (בה השתמשנו באחד השלבים...
01-29-2012 17:03
by
גרי רשף
to
גרי רשף
תגים:
SQL Server
,
ITPRO
,
DEV
,
SQL Server 2012
Parallelism
כאשר לשרת יש יותר ממעבד אחד הוא יכול לבחור לבצע פעולות במקביל וזה משפיע על בחירת ה-Execution Plan האופטימלי. בפוסט הקודם הראיתי כיצד במקרה של Join בין טבלה לא מאונדקסת לטבלה עם Primary Key & Clustered Index המערכת תבחר בעיבוד במקביל: Select * From messages T1 Inner Join messages_ClstInd T2 On T1.message_id=T2.message_id And T1.language_id=T2.language_id; מאוד יכול להיות שחלק שמי שניסה את הקוד אצלו קיבל Execution Plan שונה לגמרי. בשרת עליו הרצתי את הדוגמה יש שני מעבדים ולכן קיימת אופציה לעבודה...
01-27-2012 21:09
by
גרי רשף
to
גרי רשף
תגים:
SQL Server
,
Execution Plan
,
ITPRO
,
DEV
,
Statistics IO
,
Parallelism
,
MaxDop
השפעת האינדקסים על ביצוע Join בין טבלאות
כיצד המערכת מבצעת Join ומה השפעת האינדקסים ומספר הרשומות על כך? בהמשך ל פוסט הקודם - אנתח מספר דוגמאות מבחינת התוכנית שהמערכת תבחר ולא מבחינת הביצועים, והן יתבססו על הטבלאות והאינדקסים שיצרנו בפעם הקודמת: --1. No Indexes Select * Into messages From sys.messages; Go --2. Clustered Primary Key on message_id,language_id Select * Into messages_ClstInd From sys.messages; Go Alter Table messages_ClstInd Add Constraint PK_messages_ClstInd Primary Key Clustered (message_id,language_id); Go...
01-26-2012 20:57
by
גרי רשף
to
גרי רשף
תגים:
SQL Server
,
Execution Plan
,
ITPRO
,
DEV
,
Inner Join
,
Nested Loops
,
Hash Match
,
Parallelism
,
Merge Join
SQL Server 2012 Denali Release Date
I was in the BI User Group meeting today (and if you're in Israel, why didn't you come too?) and heard something quite exciting. The speaker was Yossi Elkayam from Microsoft Israel and what he mentioned twice was that the release date for SQL Server 2012 Denali is March 2012. He was saying that while stating next month's meeting will preview the new release scheduled for the month after that. He also mentioned that PowerPivot version 2 will be released in proximity to the release of SQL...
01-25-2012 23:32
by
Ella Maschiach
to
Ella Maschiach's BI Blog
תגים:
ITPro
,
Dev
,
PowerPivot
,
Denali
,
SQL Server 2012
The Git Hole
Tweet I consider myself a calm person with plenty of tolerance, I believe in productive discussion and love it – Part of my job as a consultant is to talk with Teams and explain them why you should choose a specific product over another, in 99.9% of those meetings there is one guy that don’t like the change (No One Like Changes) and you need in a calm way to explain and show him the benefits of the new tool – Forcing someone to do something is never a good thing. But sometimes there is no wining...
01-25-2012 9:31
by
shair
to
Shai Raiten
תגים:
.NET
,
Team Build
,
TFS
,
WorkItem Tracking
,
Development
,
Work Items
,
Testing
,
Visual Studio
,
Process Template
,
Reports
,
Source Control
,
TECH
,
DEV
,
ITPRO
,
Questions
,
Scrum
,
Visual Studio 2010
,
Architecture
,
Team System 2010
,
TFS 2010
,
Scrum 3.0
,
Modeling
,
ALM
,
Agile
,
Visual Studio 11
השפעת האינדקסים על חיפוש פשוט בטבלה
כיצד המערכת מחפשת ערכים בטבלה ומה השפעת האינדקסים על כך? מדובר בנושא די בסיסי בתחום, והפוסט הזה מוקדש למי שעדיין אינו מכיר. טבלת המערכת הגדולה ביותר היא sys.messages הכוללת את הודעות השגיאה של המערכת (קרוב ל-100,000 שורות בגרסת 2008 ועוד היד נטוייה בגרסאות הבאות): Select * From sys.messages; ניצור מספר עותקים ממנה ונאנדקס כל אחד בדרך אחרת, ונבדוק כיצד מתבצע החיפוש בכל פעם. נתחיל עם עותק ללא אינדקסים כלל: --1. No Indexes Select * Into messages From sys.messages; Go --2. Clustered Primary Key...
01-24-2012 21:01
by
גרי רשף
to
גרי רשף
תגים:
SQL Server
,
Execution Plan
,
ITPRO
,
DEV
,
Statistics IO
Page 1 of 66 (660 items) 1
2
3
4
5
Next >
...
Last »