all news and tips for database administrators and BI Architects
יום שני, 31 בדצמבר 2018
WINDOWS 2008 AND SQL SERVER 2008 - END OF SUPPORT !!
יום ראשון, 3 בפברואר 2013
SQL Server disaster-recovery
תוכנית DRP (ראשי תיבות של Disaster Recovery plan) הינה תוכנית "התאוששות מאסון" שצריכה להימצא בכל ארגון.
"אסון" לא חייב להיות משהו דרסטי כמו נפילת שרת database אלה גם יכול להיות להיות משהו שכיח יותר כמו מחיקת טבלה או רשומה בטבלה קריטית בטעות - תוכנית DRP צריכה לכלול התמודדות גם עם מקרים כאלה.
כידוע ישנם מספר פתרונות טכנולוגיים מובנים בחבילת SQL Server להעלאת השרידות השרת והמידע כגון: windowes cluster להעלאת שרידות מערכת ההפעלה והשרת עצמו, AlwaysOn גרסת SQL Server 2012 ועוד... וכמובן גיבויים קרים וחמים ברמת ה- SQL Server להעלאת זמינות המידע ומניעת איבוד המידע בזמן "אסון".
כמובן לשיטות הללו ישנם עוד פתרונות כגון: גיבויים ברמת מערך האחסון, הורדה לקלטות ועוד שיטות רבות ומגוונות.
הבעיה בכל השיטות והפתרונות הללו שלפעמים בזמן "אסון" אנחנו מנהלי בסיסי הנתונים לא יודעים על מה להסתמך וממה לגבות, האם לשחזר מהגיבוי הסטנדרטי? האם מקלטות וכו'... - וזה בעצם מטרת תוכנית ה- DRP - לעשות סדר במקרה של אסון ולחסוך בזמן ההשבתה.
בתוכנית אני מצפה שיהיה בין השאר טבלה עם פרטי הסיטואציה והפתרון.
לדוגמא: במקרה של מחיקת טבלה יש לשחזר גיבוי SQL Server עם גלגול גיבויים חמים בשם אחר ושחזור הטבלה שנמחקה או שימוש בכלי צד שלישי שיודעים לשחזר טבלה בודדת וכו'...
לאחרונה פורסם באתר http://www.sqlmag.com פוסטר מצויין בנושא: SQL Server Disaster Recovery Step by Step אשר יכול לעשות לנו סדר בזמן "אסון".
לשימושכם : http://www.sqlmag.com/whitepaper/sql-server/sql-server-disaster-recovery-step-step-145134
טיפ לסיום, למזלנו "אסונות" לא מתרחשים כל הזמן, ולכן אני ממליץ לכם על מנת לשמור על "כשירות מבצעית" מידי פעם לעשות ניסויי שחזור על מנת לבדוק שכל מערכות הגיבוי עובדות ותקינות.
שיהיה בהצלחה,
http://blogs.microsoft.co.il/blogs/itaib/archive/2013/02/03/sql-server-disaster-recovery.aspx
יום חמישי, 10 בנובמבר 2011
Evaluation Period Has Expired
שאלה:

אני מעוניין להזין את הרישיון שקניתי ל- Sql server ולשדרג את הגרסה מגרסת ניסיון, מה עליי לעשות?
תשובה:
הפתרון למקרה הינו די פשוט, כל מה שעליך לעשות הינו להריץ את קובץ ההתקנה של ה- Sql server, תחת קטגוריית ה- maintenance עליך לבחור בפונקציית : edition upgrade.
ב- wizard שיפתח לך יהיה עלייך להזין את מספר הרישיון שברשותך ולאחר מספר קליקים גרסת ה- sql server שבשרתך תהפוך להיות חוקית!
בהצלחה!
יום שלישי, 18 באוקטובר 2011
שולחן עגול בנושא מערכות Mission critical
אני שמח להזמינכם לשולחן עגול בשיתוף מייקרוסופט ווראסיטי בנושא : מערכות Mission critical
הכנס מיועד לקהל יעד של מקבלי החלטות בנושא תשתיות ו-DBAs.
במהלך הכנס ירצו מר רועי פסטרנק solution specialist בחברת מייקרוסופט ומר שרון הריס - CTO ואנוכי על יכולות ופתרונות מייקרוסופט בכלל ו- sql server בפרט למערכות Mission critical .
בכנס נסקור נושאים רבים ומעניינים כגון: Sql server denali, גרסאות הפרימיום, פתרונות ה- BI, פתרונות ל- DW ועוד...
להלן לו"ז הכנס:
09:00-09:30 - התכנסות
09:30-10:00 Think Big - DWH- רועי פסטרנק, solution specialist, מיקרוסופט
10:00-10:45 SQL server כתשתית למערכות קריטיות – איתי בנימין, MVP ראש תחום SQL וראסיטי
10:45-11:00 - הפסקת קפה
11:00-11:45 – מה חדש ב-DENALI? חידושים בגרסאות הפרימיום – איתי בנימין, MVP ראש תחום SQL וראסיטי
11:45 – 12:30 - סיפור לקוח : מר שרון הריס
- CTO 12:30-13:15 – BI והצגת דמו - רועי פסטרנק, solution specialist מיקרוסופט
להלן קישור לאירוע, (יש להירשם על מנת לשריין מקום):
https://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032496844&culture=he-IL
אשמח לראותכם!
יום שני, 10 באוקטובר 2011
SQL Server 2008 Service Pack 3
לידיעתכם מייקרוסופט שיחררה עדכון service pack 3 לגרסת Sql server 2008.
להלן מספר יכולות בגרסה:
Enhanced upgrade experience from previous versions of SQL Server to SQL Server 2008 SP3. In addition, we have increased the performance & reliability of the setup experience.
In SQL Server Integration Services logs will now show the total number of rows sent in Data Flows.
Enhanced warning messages when creating the maintenance plan if the Shrink Database option is enabled.
Resolving database issue with transparent data encryption enabled and making it available even if certificate is dropped.
Optimized query outcomes when indexed Spatial Data Type column is referenced by DTA (Database Tuning Advisor).
Superior user experience with Sequence Functions (e.g Row_Numbers()) in a Parallel execution plan.
להורדת הגרסה:
http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=27594
בהצלחה.
יום שני, 11 ביולי 2011
כמה ימי ראשון יש בין שני תאריכים?
שלום רב,
שאלה:
יש לי מערכת לחישוב שעות עבודה המבוססת כמובן בסיס נתונים מסוג sql server :) .
בחברה שלנו מוגדר כי יום ראשון בשבוע הינו חצי יום עבודה ולכן על מנת לחשב שעות נוספות ליום עבודה ספציפי זה , אני צריך לחשב כמה ימי ראשון יש לי בין שני תאריכים.
כיצד ניתן לחשב ב - sql server כמה ימי ראשון לדוגמא יש לי בין שני תאריכים?
תשובה:
על מנת לחשב כמה ימי ראשון, ובכלל כמה "שמות" ימים יש לי בין שני תאריכים אני אקרא בהתחלה לפונקציות dateadd ו- datename על מנת לקבל את מספר היום -
datename(weekday,dateadd(day,number,@date1).
לאחר מכן, אני אעזר בטבלת המערכת master..spt_values אשר מכילה כ- 2500 פרמטרים על מנת לפענח את שם היום.
הפתרון הינו:
declare @date1 datetime, @date2 datetime
select
@date1='2011-07-01', @date2='2011-07-11'
select
sum(case when datename(weekday,dateadd(day,number,@date1))='sunday' then 1 else 0 end)
as sundays,
sum(case when datename(weekday,dateadd(day,number,@date1))='Monday' then 1 else 0 end)
as Monday,
sum(case when datename(weekday,dateadd(day,number,@date1))='Tuesday' then 1 else 0 end)
as Tuesday,
sum(case when datename(weekday,dateadd(day,number,@date1))='Wednesday' then 1 else 0 end)
as Wednesday,
sum(case when datename(weekday,dateadd(day,number,@date1))='Thursday' then 1 else 0 end)
as Thursday,
sum(case when datename(weekday,dateadd(day,number,@date1))='Friday' then 1 else 0 end)
as Friday,
sum(case when datename(weekday,dateadd(day,number,@date1))='Saturday' then 1 else 0 end)
as Saturday
from master..spt_values
where type='p' and dateadd(day,number,@date1)<=@date2
כמובן שאפשר עוד לייעל את השליפה. ובמידה ויש לכם רעיונות נוספים לפתרון הבעיה אשמח לשמוע!!
בהצלחה!
יום חמישי, 14 באפריל 2011
כנס SQL Server 2008 R2
שלום רב,
אני מתכבד להזמין אתכם לכנס הסברה בנושא Microsoft SQL Server 2008 R2
אשר יתקיים בתאריך 2/5/2011 בשעה 17:30
ההשתתפות בכנס ללא תשלום אך מותנית בהרשמה מראש
הכנס יתקיים בקריית עתידים בניין 10 בת"א.
הקורס מיועד למעוניינים לרכוש לעצמם מקצוע מבוקש ונדרש כמנהלי בסיסי נתונים
Microsoft
לפרטים והרשמה: נועם שחם, 054-3366425, Noam.Shaham@ness.com
אשמח לראותכם,
איתי.
יום שלישי, 15 במרץ 2011
Generate Script ב- SQL Server 2008 R2
בגרסת ה- manganese studio 2005 באופציית ה- generate script היתה לנו את היכולת להחליט את המאפיינים של יצירת הסקריפט (לדוגמא: האם להוסיף בדיקת הימצאות האובייקט לפני היצירה?, האם לייצר סקירפט לייצר אינדקסים וכו'...) . ובגרסת management studio 2008 בחירת מאפיינים אלו נעלמה...

כיצד אפשר בגרסת 2008 לבחור את מאפייני ה- Generate script?
תשובה:
אכן בגרסת 2008 כאשר בוחרים את אופציית ה- Generate Script ה- wizard כולל בתוכו רק את בחירת האובייקטים הנדרשים ללא יכולת בחירת המאפיינים.
בגרסת manganese studio 2008 R2 אנו מגדירים את מאפייני ה- Generate Script בחלון ה- option .

בהצלחה!!
http://blogs.microsoft.co.il/blogs/itaib/archive/2011/03/15/generate-script-sql-server-2008-r2.aspx
יום שישי, 18 בפברואר 2011
SQL Search
כידוע לכם ישנם מאות מוצרים משלימים ותומכים ל- sql server ולשאר פלטפורות ה- DB בכלל רובם כמובן עולים כסף...ולפעמים הרבה כסף..
לכן, הפעם ברצוני לסקור בפניכם כלי חינמי מצויין שאני אישית ולקוחותיי נעזרים בו רבות - SQL Search של חברת Red-Gate .
דרך אגב, לחברת redgate יש בין היתר עוד מוצר מצויין ולא יקר בשם : HyperBac.
לכלי הזה יתרונות רבים וסיקרתי אותו בעבר בבלוג:
http://itaibinyamin.blogspot.com/2009/08/hyperbac-db-hyperbac-online.html
ה-SQL Search הינו בעצם תוסף ל- SQL Server Management Studio אשר בעזרתו ניתן לחפש במהירות על-פי שם האובייקט (קטעי קוד, טבלאות , וכו'...) ולפי מילות מפתח שבתוך קטעי הקוד בבסיסי הנתונים השונים.
עוד יכולת מצויינת של הכלי הינו שכאשר לוחצים לחיצה כפולה על התוצאה המבוקשת - הכלי מביא אותנו ישירות לקטע הקוד המבוקש , ובכך בעצם אנו חוסכים זמן יקר בחיפוש ופתיחת הקובץ.


לינק להורדת הכלי: http://www.red-gate.com/products/sql-development/sql-search/
יום רביעי, 16 בפברואר 2011
SSDs – are they really a solution for database performance issues?
Most of the databases with which I am familiar – still reside on rotating plates (A.K.A disks). Disks, physical disks, hard drives or whatever else you might call them – have been out there for many years, and they are one of the few products that haven’t really developed in a technological sense. Moore’s Law never really applied to disks. Only CPU power. Too bad… because when it comes to the amount of calculation a CPU can execute in a single second – we are making a great leap every 18 months, but when it comes to the amount of IO/sec we can process even when using a high-quality storage device – the mechanics that work underneath are still stuck somewhere in the late 80s or early 90s.
Recently, there is another new buzz catching everyone’s attention. This one is around SSD drives. Solid State Drives. SSDs are really good when what you want to do is to read a lot of data. They are especially good (in comparison to physical rotating disks) when you want to read a lot of data in small chunks – what is also called “Random IO”. I’ve had an opportunity to work with databases that reside on SSD drives or what are also called Flash devices. I’ve worked with databases stored on Flash drives, Flash cache, Oracle Exadata, and many other solutions. They all have one property in common: when the disk operates faster, the CPU tends to work harder to process the huge stream of data.
Up until now, physical disks have been the main bottleneck to performance improvement in most of the systems with which I have worked. But when you substitute the IO sub-system with an alternative that is capable of executing so-and-so many IO operations per second, instead of the disk being the bottleneck, instead this role goes to the CPU. I’ve seen this in real life.
Here is an example: I was working on a system with 4 Quad CPUs and SAN storage that was capable of processing 10,000 IO/sec tops. • When my disk capacity was 100% utilized, my average CPU utilization was ~40% on average, and it peaked at 70%. • When I replaced the storage system with an SSD that was capable of processing 100,000 IO/sec (ie 10 times faster than my old storage), I noticed that my CPU consumption was still ~40% on average, but it peaked at 100%! • Another thing that I noticed was that even though the SSD capacity is 100,000 IO/sec, it never went beyond a speed of 20,000 IO/sec (meaning that it was only 20% utilized). Why was that? Because now I don’t have enough CPU power to process this fast data stream… Now we all know what happens when a machine reaches 100% CPU utilization… it crashes, times out, hangs… And if someone runs a report on this machine, if before it would have jammed only the storage device, now it jams the machine’s CPU…
Now tell me something – if you have to choose from between these two options, which one would you prefer?
• working with a jammed, over-utilized storage device?
• Working with a jammed, over-utilized CPU?
I would choose the second option. Because even when my hard drive on my laptop is working hard, most of the applications that reside in my memory and consume only CPU are still working fine. But when my CPU is 100% utilized – the laptop is completely stuck. No processing ability, not to process IO, nor to carry out CPU calculations.
People told me “SSD is going to solve our performance problems”. Well… – no. It sure will speed up some of the things that you are doing. But it is not going to solve the other problem from which you probably suffer – that of QoS and SLA. As long as there are computers, performance bottlenecks will remain. If you make one component work faster without changing anything else, the bottleneck will simply move to one of the other components.
The only way you can avoid the bottleneck and guarantee QoS in this case is by controlling the amount of resources each and every transaction takes… whether the resources are CPU or IO. It doesn’t matter if your problem is CPU or IO – MoreVRP will allow you to safeguard your QoS and SLA. Until today there doesn’t seem to be an overall solution to eliminate the bottleneck… but by using MoreVRP, you can make sure that it doesn’t affect your most critical transactions. No matter if you are working with SSDs or good old physical disks.
Something to think about the next time you consider buying a new storage device.
Cheers.
http://www.more-resource.com/blog/?p=74
יום שני, 27 בדצמבר 2010
MoreVRP Keeps your SQL Server DB in Shape without Cramping your Business Users
We all know that the secret to staying healthy and fit depends on regular, routine exercise and good maintenance habits. The same is true for our database. But how can we ensure that our routine database workouts not interfere with or delay our business?
Throughout the work week different end-users interact with the database to conduct their urgent business activities. They insert new data and run numerous varied complex transactions using a variety of applications that combine and integrate data from different sources. Sales teams enter new customer and pricing data; engineering teams change product attributes and configurations. Logistics clerks repeatedly update the database with RFID devices that transmit loads of status information from the warehouse. Consuming this varied and heavy diet while running back and forth and at the same time concentrating on difficult calculations would give anyone indigestion, especially our MS SQL Server database, with its very sensitive stomach, special dietary requirements and lean frame….
So each week we invite our SQL Server database to the fitness center for a long workout. The DBA carefully goes through the checklist, executing index and stats maintenance procedures, checking for index fragmentation or duplication that are likely to tire the database and slow it down.
Usually the DBA carries out the weekly maintenance routine on the weekend when fewer end-users need the database active. Nevertheless, we all recall the times that the database hasn’t finished its maintenance workout on-time, causing many anxious end-users to congregate around the coffee machines on Monday morning waiting for the tired database to let them get their new work week started.
What can you do to empower your database to better mobilize its resources in order to carry out all the urgent business tasks you need to do in parallel to its time-consuming yet vital maintenance routines? More IT offers you the unique wonder drug that will revitalize your database – MoreVRP! Only MoreVRP, sometimes referred to as “APM on Steroids”, can get inside the database to reallocate its resources and prevent the loads that cause database indigestion, letting it concurrently execute end-user transactions while more slowly doing its maintenance routines without interrupting your business.
There are many vendors that offer a wealth of health check monitors that will measure how tired your database is, as well as sophisticated exercise machines that let your DBAs assign more and more routine exercises and training to keep your database fit.
Only MoreVRP gives your SQL Server db the resource management “muscle” you need to keep your business going strong! For more details, check out our solution on
יום חמישי, 25 בנובמבר 2010
service pack 2 ל- sql server 2008
- Reporting Services in SharePoint Integrated Mode - SQL Server 2008 SP2 provides updates for Reporting Services integration with SharePoint products. SQL Server 2008 SP2 report servers can integrate with SharePoint 2010 products. SQL Server 2008 SP2 also provides a new add-in to support the integration of SQL Server 2008 R2 report servers with SharePoint 2007 products. For more information see the “What’s New in SharePoint Integration and SQL Server 2008 Service Pack 2 (SP2)” section in What's New (Reporting Services).
- SQL Server 2008 R2 Application and Multi-Server Management Compatibility with SQL Server 2008.
- SQL Server 2008 Instance Management - With SP2 applied, an instance of the SQL Server 2008 Database Engine can be enrolled with a SQL Server 2008 R2 Utility Control Point as a managed instance of SQL Server. For more information, see Overview of SQL Server Utility in SQL Server 2008 R2 Books Online.
- Data-tier Application (DAC) Support -Instances of the SQL Server 2008 Database Engine support all DAC operations delivered in SQL Server 2008 R2 after SP2 has been applied. You can deploy, upgrade, register, extract, and delete DACs. SP2 does not upgrade the SQL Server 2008 client tools to support DACs. You must use the SQL Server 2008 R2 client tools, such as SQL Server Management Studio, to perform DAC operations. A data-tier application is an entity that contains all of the database objects and instance objects used by an application. A DAC provides a single unit for authoring, deploying, and managing the data-tier objects. For more information, see Designing and Implementing Data-tier Applications.
להלן קישור לעדכון הגרסה:
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=8fbfc1de-d25e-4790-88b5-7dda1f1d4e17&displaylang=en
בהצלחה!
יום ראשון, 24 באוקטובר 2010
SUSER_SNAME
כידוע פלטפורמת sql server מכילה פונקציות מערכות שימושיות מאוד. בטיפים הקרובים אסקור מספר פונקציות שימושיות ומעניינות.
שאלה:
ברצוני להוסיף בפרוצדורה תנאים לביצוע ע"פ המשתמש אשר מריץ את הפרוצדורה – האם זה אפשרי?
האם ניתן לקבוע ערך DEFAULT לעמודה בטבלה שמשמעו "מי ביצע את הפעולה" ?
תשובה:
פלטפורמת SQL SERVER 2005 מכילה פונקציות מערכת רבות ומגוונות, אחת הפונקציות השימושיות הינה : SUSER_SNAME.
להלן מספר יכולות הפונקציה :
1. הפונקציה מחזירה את ה- log in שמריץ את הפונקציה , לדוגמא:

2. הפונקציה יכולה לתרגם את ה- login security identification number לשם המשתמש , לדוגמא:
ניתן לשלב את הפונקציה כתנאי בתוך פרוצדורה , וניתן לשלב את הפונקציה ב- DEFAULT constraint בתוך טבלה, לדוגמא:
בהצלחה !
http://blogs.microsoft.co.il/blogs/itaib/archive/2010/10/24/suser-sname.aspx
יום רביעי, 13 באוקטובר 2010
כנס DBA Services
אשמח לראותכם בהרצאה שלי בנושא : sql server 2008 כתשתית למערכות קריטיות
בכנס של שותפה שלנו - חברת DBA Services.
בהצלחה.

http://www.futureitsoft.com/uploadimages/Downloads/ShfaiimMailshot_Menu.pdf
יום שישי, 1 באוקטובר 2010
Microsoft SQL Server 2008 Service Pack 2
שלום רב,
לידיעתכם מייקרוסופט שיחררה service pack 2 לפלטפורמת sql server 2008
להלן קישור לרשימת הבאגים שתוקנו בגרסה זו :
http://support.microsoft.com/default.aspx?scid=kb;en-us;2285068&sd=rss&spid=13165
להלן קישור להורדת קובץ ההתקנה:
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=8fbfc1de-d25e-4790-88b5-7dda1f1d4e17
בהצלחה.
יום חמישי, 29 ביולי 2010
לאיזה PORT אני מאזין ???
שאלה:
כיצד אני יכול לדעת לאיזה port האינסטנס של ה- sql server שלי מאזין?
ישנן מספר אפשרויות לזהות מהו ה- Port שה- sql server מאזין אליו:
1.registry - אפשרות ראשונה אשר לא מקובלת אך מאוד יעילה הינה דרך ה- registry של שרת ה- sql server.
SQL 2005 :
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL.
SuperSocketNetLib\TCP\
SQL 2008 :
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL10.
SuperSocketNetLib\TCP\
2. xp_readerrorlog - אפשרות שנייה הינה לקרוא את ה- log של ה- sql server.
בעת העלייה של האינסטנס נרשם לתוך ה- Log ה- Port אליו הוא מאזין. על מנת למצוא את הרשומה המתאימה - תחפשו את הערך "Server is listening on".
3. וכמובן האפשרות המקובלת - SQL Server Configuration Manager - תחת אופציית SQL Server Network Configuration - ניתן לראות את מספר ה- Port תחת הגדרות ה- tcp\ip.

בהצלחה.
יום שלישי, 6 ביולי 2010
JOIN לא שווה - רק דומה....
שאלה:
תשובה:
לדוגמא:
CREATE TABLE [dbo].[t_names](
[name] [nvarchar](50) NULL
) ON [PRIMARY]
GO
INSERT [dbo].[t_names] ([name]) VALUES (N'itai')
INSERT [dbo].[t_names] ([name]) VALUES (N'ziki')
INSERT [dbo].[t_names] ([name]) VALUES (N'david')
CREATE TABLE [dbo].[t_full_names](
[full_name] [nvarchar](50) NULL
) ON [PRIMARY]
GO
INSERT [dbo].[t_full_names] ([full_name]) VALUES (N'itai binyamin')
INSERT [dbo].[t_full_names] ([full_name]) VALUES (N'zipi')
INSERT [dbo].[t_full_names] ([full_name]) VALUES (N'haya')
INSERT [dbo].[t_full_names] ([full_name]) VALUES (N'veracity group')
FROM t_names INNER JOIN
t_full_names ON t_names.name = t_full_names.full_name
SELECT *
FROM t_names INNER JOIN
t_full_names ON t_full_names.full_name like t_names.name+'%'
יום שלישי, 29 ביוני 2010
SQL Server Best Practices
כידוע מייקרוסופט מפרסמת מידי פעם מסמכי Best Practices למוצריה.
לכן, על מנת לעשות סדר - להלן קישור אשר מרכז את כל המסמכים הללו.
המסמכים כוללים הנחיות, עצות מומחים, והכוונה בנוגע ליישום הטכנולוגיות.
http://technet.microsoft.com/en-us/sqlserver/bb671430.aspx
בהצלחה.
יום חמישי, 22 באפריל 2010
סיפור לקוח : כא”ל לנהל נכון
לאחרונה סיימתי לנהל ולבצע פרוייקט גדול בחברת ויזה כא"ל במסגרת חברת וראסיטי, פרוייקט מוצלח זה פורסם לאחרונה גם על-ידי מייקרוסופט כסיפור לקוח.
בעבר, סביבת היישומים בויזה כללה ערב-רב של שרתים ומסדי נתונים, ללא ניהול מרכזי. בהערכה, פעלו בארגון מאות מערכות ואלפי מסדי נתונים, בגרסאות שונות. במקרים מסוימים, פעלו מערכות בגרסאות ישנות, שכבר לא נתמכו. כמו כן, רמת התיעוד היתה חלקית בלבד, דבר שהקשה על פעולות הניהול, התחזוקה והעדכון של המערכות.
כתוצאה, רמת הביצועים של המערכות היתה נמוכה מהרצוי, התשלום עבור הרישוי היה גבוה מהנדרש, עלות התחזוקה היתה גבוהה (חומרה ותוכנה) ורמת הזמינות לא היתה אופטימלית.
"ביקשנו להשיג את היכולת לספק ניהול מרכזי, שירותי גיבוי מרכזיים, ניטור מלא של המערכות ורמת עדכון מלאה - כדי להבטיח ביצועים גבוהים ושרידות מלאה של הנתונים, לצד עלויות ניהול, תחזוקה ותפעול נמוכות יותר", מתאר עוזי דביר, רמ"ד תשתיות בסיסיות ב-Cal.
ב-Cal ביצענו פרויקט שבמסגרתו רוכזו היישומים לסביבת מחשוב מרכזית בתצורת Cluster, מבוססת Windows Server 2003/2008 ו-SQL Server 2005/2008 (גרסאות 2008 הושקו במהלך הפרויקט, שארך כשנה). כשותף מבצע נבחרה חברת ורסיטי, לאחר שהוכיחה מקצועיות ושירותיות ברמה גבוהה בפרויקטים קודמים ב-Cal. "הם הוכיחו יכולת לעמוד ביעדי זמן ותקציב, וידענו כי מובטחת לנו המשכיות לאורך זמן" מוסיף דביר.
"כתוצאה מהמהלך, מספר השרתים הפיזיים הצטמצם בצורה משמעותית - והוא מקיף כיום פחות ממחצית מסך השרתים הקודם", אומר איתי בנימין, מנהל פרויקטים ו-DBA בוראסיטי, ומציין: "כחלק מהפרויקט, אף בוצעה הפרדה מסודרת לסביבות עבודה נפרדות - Development, Testing ו-Production, דבר שלא היה קיים בעבר".
http://www.microsoft.com/israel/casestudies/cal1.mspx
יום ראשון, 4 באפריל 2010
הגנות ב- Management studio 2008
אחת מהיכולות החדשות של כלי הניהול ב - sql server 2008 הינו היכולת להגן עלינו מנהלי ומפתחי בסיסי הנתונים מביצוע פעולה אשר איננו באמת מתכוונים אליה.
לדוגמא:
בכלי הניהול של ה- 2005 ומטה במידה והיינו משנים את הסכמה של הטבלה,
לדוגמא: שינוי Data type של עמודה היה על ידי כלי הניהול היה גורר אחריו מאחורי הקלעים
1. יצירת טבלה זמנית
2. הכנסת הנתונים מהטבלה המקורית לטבלה הזמנית
3. הכנסת הנתונים מהטבלה הזמנית לטבלה החדשה עם השינוי המבוקש ב- Data type
(פעולה אשר היינו מקבלים עליה ברוב המקרים Time outולא היינו יודעים למה...) וכל זאת במקום להריץ את הפקודה ..Alter table
בכלי הניהול של ה- 2008 המצב שונה, כברירת מחדל במידה ואנו מעוניינים לבצע פעולה אשר תגרור יצירת \ מחיקת טבלה חדשה מאחורי הקלעים , כלי הניהול מגן עלינו ואנו נקבל הודעה אשר תחסום בפננו את האפשרות הזאת.

על מנת לבטל הגנה זו יש להגדיר זאת בכלי הניהול תחת ה- option -> designers :

לאחר שינוי זה, במידה ובעתיד נרצה לבצע שינוי בסכמה כלי הניהול יקפיץ לנו הודעת אזהרה אך לאחר מכן יבצע את השינוי בכל זאת:
חג שמח!
