Skip to main content

Posts

sp_who3 in WASD

שלום לכולם היום רציתי לדבר על הפרוצדורה המרכזית למוניטורינג וידע פנימי ב wasd. מדובר על הפרוצדורה sp_who3 מכיוון שהפרוצדורות הרגילות לדעת מה קורה בתוך השרת כמו sp_who sp_who2 sp_whoisactive של adammachanic@ כמו כן activity monitor לא עובד לא נותרו כלים רבים לדעת מה קורה. ועבור כך ישנה הפרודצורה sp_who3 שהיא באה מובנית בתוך sql azure. הפרוצדורה הזו רצה ברמה של database והיא נותנת המון מידע שחיוני להבנת הדברים כמו מה חוסם מה, כמה קריאות וכתיבות, מה הטקסט של השאילתא וכדומה, להלן רשימת העמודות, SPID   BlkBy  ElapsedMS   CPU         IOReads              IOWrites             Executions  CommandType     ObjectName       SQLStatement        STATUS          Login     Host    DBName    LastWaitType    StartTime               Protocol ...
שלום לכולם מצורפת מצגת שהעברתי ב Windows Azure user group בנושאי DATA on Azure מוזמנים לראות להיתרשם ולשאול שאלות http://www.slideshare.net/PiniKrisher/data-on-azure יום נעים

פוסט מצויין על DeadLocks on SQL Azure

שלום לכולם כבר מספר פעמים הזכרתי את הבלוגר המצויין   SQLROCKSTAR@. לאחרונה עשה וידאו נחמד ופוסט קצר על ניטור deadlocks ב sql azure. כידוע אין לנו profiler ב sqlazure ואין לנו logerror ואין לנו אפשרות להדליק Trace flags, ומרגישים אנו חסרי אונים. בעבור זה אני שולח אותכם ל סרטו הקצר והיפה וחייכם יהיו קלים אף יותר https://www.youtube.com/watch?v=RlKCe05WDOw&feature=youtube_gdata_player הכל מתבסס בעצם על טבלת sys.event_log תיאור על הטבלה אפשר לקרוא פה http://msdn.microsoft.com/en-us/library/windowsazure/jj819229.aspx בטבלה זו נוכל לראות בעצם את ה errorlog וכך נוכל לעקוב אחרי הבעיות שלנו. כמובן זה בא אוטמטית ולא צריך להדליק trace flags. מוזמנים לצפות ולפתור את כל הבעיות יום נעים פיני

Monitoring AWS RDS for SQL Server VS Monitoring SQL Azure

Hi I want to show you now the GUI ways to monitor the Main SQL Servers on the Azure and on AWS RDS.  I said GUI since I will not show here the queries in both platforms, T-SQL Queries that show us all we need. I will just show the GUI aspects. Lets jump into it AWS RDS Monitoring: In the AWS Main Portal we have list of DB's we have in AWS we have (this is the new look of the portal): When I will click on Show Monitoring we will see lots of charts related to the status of the Instance. when I move to each instance I can see the relevant charts to this instance.  We can see here some  Metrics like CPU, IOPS, free space i left in the instance or Throughput, those are very useful parameters.  We can see those metrics in several time resolution. And you can create Alarm if one reach the red line you want. And the screen to create alarm looks like this: So the main Monitor From the Portal is very good ...

Upload Data To AWS RDS for SQL Server vs Upload To SQL Azure

שלום לכולם היום עשיתי מספר רב של נסיונות העלאות נתונים לבסיסי הנתונים ב Azure וב AWS.הכנתי קבצי BCP מאד גדולים על טבלאות גדולות, יצרתי בסיסי נתונים באיזור אירלנד (AWS) וב west Eur ב AZURE שגם הוא יושב באירלנד והתחלתי להעלות. המסקנות הן כי  ב 3 הפעמים הראשונות העלאת הנתונים ל AZURE הייתה יותר מהירה וזה נע בסביבות 5000 rows per second ואילו ב AWS זה התחיל מ 4000 ועלה. לאחר 3 הרצות במשך מספר ימים ביצעתי 3 העלאות ביום ובכולם בשני מסדי הנתונים זה נע סביבות 5000. – כלומר בסך הכל המערכות והקווים זהים ואין עדיפות לכאן או לכאן. ניסיתי להגדיל את החומרה ב AWS אולם זה לא השפיע על התוצאות. ב Azure אי אפשר לשנות את החומרה. העלאה ראשונה  SQL Azure העלאה ראשונה AWS RDS וזהו להפעם יום נעים

Amazon RDS for SQL Server

Hi All I have tested lately the optional to use AWS (amazon web service) RDS (relational database). AWS RDS offer to use MySQL,Oracle and SQL Server on the cloud. like the SQL Azure, the service is not full supported all manageable issues we as a DBA’s can do on the Databases on premise. but since AWS RDS for SQL Server offer SQL Server as almost full versions. start with Express to enterprise edition. and from SQL Server 2008 to SQL Server 2012. need to go to main portal. Click on RDS then some clicks….. (the full process will be soon on line in my blog) then click on the version you want….   in the next few posts I will send some screen shots and explanations about what we have and what we do not have in AWS RDS… have a nice day

Linked Servers and more in Windows Azure SQL Database

  שלום רב היום הוכרזו 4 תוספות חדשות ל Windows Azure SQL Database הידוע בשמו SQL Azure. הראשונה והחשובה ביניהם היא בנושא Linked Server. כלומר ניתן לקשר בין בסיסי נתונים מקומיים לבין אלו בענן באמצעות שאילתות מוכרות וידועות. הדבר מאפשר גמישות מדהימה בשילוב העבודה עם בסיס הנתונים בענן ועם בסיסים מקומיים. השניה מהיום ניתן להשתמש ב Recursive Triggers. הודעה נוספת היא בדבר אפשרות שימוש  DBCC SHOW_STATISTICS. אפשרות גדלה והולכת לעקוב אחרי ביצועי המערכת ובסיס הנתונים בענן. אחרונה היא בנושא אבטחה – מהיום אפשר לכפות חוקי אבטחה ב SQL Database Firewall, לא רק ברמת השרת אלא גם ברמת בסיס הנתונים עצמו. זהו הלינק להכרזה: Announcing Updates to Windows Azure SQL Database