SQL Server 2014 Service Pack 1 has released


Congratulation Microsoft and big Congratulation for us (SQL Server Releases blog)

sql-server-2014-logo

One year ago, Microsoft launched SQL Server 2014. Today, April 15, Microsoft are pleased to announce the release of SQL Server 2014 Service Pack 1 (SP1). The Service Pack will be available for download on the Microsoft Download Center.

SQL Server 2014 SP1 contains fixes provided in SQL Server 2014 CU 1 up to and including CU 5, as well as a rollup of fixes previously shipped in SQL Server 2012 SP2. For highlights of the release, please read the Knowledge Base Article for Microsoft SQL Server 2014 SP1.

As part of our continued commitment to software excellence for our customers, this upgrade is available to all customers with existing SQL Server 2014 deployments via the download links below. SQL Server 2014 with SP1 will be available in additional venues including the Volume Licensing Center and via Microsoft Update starting May 1, 2015.

Microsoft® SQL Server® 2014 SP1
Microsoft® SQL Server® 2014 SP1 Express
Microsoft® SQL Server® 2014 SP1 Feature Pack

To check all my posts you can direct to my personal website or you can download this Excel sheet My Technical POSTS

View all my tips , LinkedIn Website Slideshare ,Youtube Channel.

أهم بعض الأكواد الديناميكيه المستخدمه فى محرك قواعد بيانات مايكروسوفت 2014


فى المقال السابق تم شرح الصلاحيات الجديده فى محرك قواعد بيانات مايكروسوفت 2014 ولكن فى هذا المقال سوف اقوم بشرح وتحليل ثلاثه اكواد ديناميكيه تعتبر ذو أهميه عاليه لأى مستخدم لمحرك قواعد بيانات مايكروسوفت 2014  , كما نعلم ان محرك قواعد بيانات مايكروسوفت جاء الينا كطفره فى عالم قواعد البيانات وقام بتسجيل آداء ملحوظ فى معدىلات اداء مختلف انواع الاستعلامات  وذلك لأنه جاء بالعديد من المميزات والتطورات الجديده والملحوظه ومن أهم هذه التطورات فى محرك قواعد بيانات مايكروسوفت 2014 الجديد جداول الذاكره

 (In-memory-table or Memory-Optimized-table)

فهيا جداول لها بعض الخصائص ولها بعض الحدود ولكن جداول متميزه جدا فى سرعه تخزين البيانات والأستعلام عنها لانها يتم أنشائها على نوع جديد من أنواع الفهارس وهو

 (Clustered ColumnStore index) وأيضا تعتمد اعتماد كلى على ذاكره محرك البيانات وبناء على ذلك فهذه النوعيه من الجداول تتطلب ذاكره عاليه السرعه ويجب دعم الخادم او محرك قواعد البيانات 2014 بالذاكره الكافيه لكي تتحمل مثل هذه النوعيه من الجداول لذا فانني بصدد هذا المقال سوف اقوم بشرح وعرض بعض الأكواد الديناميكيه التى تقوم بالأستعلام عن بعض البيانات المهمه لهذا النوع من الجداول والفهارس وهيا كالأتى :

قائمه بكل جداول الذاكره الموجوده على قاعده البيانات

List All Memory-Optimized-table in SQL Server 2014.

أيجاد الذاكره المستخدمه لجدول واحد من جداول الذاكره .

Find allocated memory for one Memory-Optimized-Table.

ايجاد الذاكره المستخدمه لجميع جداول الذاكره الموجوده على قاعده البيانات.

Find allocated memory for All Memory-Optimized-Table.

قائمه بكل الفهارس الجديده التى ظهرت فى محرك قواعد بيانات مايكروسوفت 2014 .HASH Index

List on Non-Clustered HASH index in SQL Server 2014.

قائمه بكل الجداول التى يوجد بها فهرس Clustered ColumnStore index

List by all tables have Clustered Column Store index in SQL Server 2014

لأستكمال المقاله يرجى الذهاب الى هذا العنوان من هنا 

To check all my posts you can direct to my personal website or you can download this Excel sheet My Technical POSTS

View all my tips , LinkedIn Website Slideshare ,Youtube Channel

الصلاحيات الجديده فى محرك قواعد بيانات مايكروسوفت 2014


استمرارا لسلسلة المقالات الأخيرة التي تناولتها فى محرك قواعد بيانات مايكروسوفت فى المقال السابق تحدثنا عن الجداول المرنه والجداول الغير مرنه فى محرك قواعد بيانات مايكروسوفت 2014  هذا المقال الجديد ساقوم بشرح وتحليل الصلاحيات الجديده التى ظهرت مؤخرا مع محرك  قواعد بيانات مايكروسوفت 2014 والتى جاءت لكى تعالج بعض الثغرات الأمنية الخاصة بقواعد البيانات وابضا لتسهيل بعض الأعمال كما هو موضح ادناه :

لقد قامت مايكروسوفت بعمل مخطط جديد لصلاحيات محرك قواعد البيانات مايكروسوفت  2014 (SQL Server 2014) وجاءت فى هذا المخطط بثلاثه صلاحيات جديده التي قد حققـ خطوة متميزة في مجال امان قواعد البيانات لذا سوف اقوم بشرح هذه الصلاحيات الجديده وساقوم بعمل تطبيق على على كل واحده منهم لمعرفه متى يمكن استخدام هذا الصلاحيه وما هى وجه الأستفاده التى ستعود على أمن المعلومات من هذه الصلاحيات .

10

الصلاحيات الجديده فى محرك قواعد بيانات مايكروسوفت 2014 :

  1. CONNECT ANY DATABASE Permission.
  2. SELECT ALL USER Securables Permission.
  3. IMPERSONATE ANY login Permission.

 

يمكن الوصول الى هذه الصلاحيات عن طريق الخطوات الأتيه :

 

  1. Write click on SQL Server instance
  2. Select Properties
  3. From the write panel select Permission
  4. You will find now the 3 new Permission on the right

لأستكمال المقاله يرجى الذهاب الى هذا العنوان من هنا 

My First Arabic Post in SQL Server 2014


Hello my friends this my first Arabic post in SQL Server technology I do it in SQL Server 2014 it is about { Durable vs. Non-durable tables: In-Memory OLTP} ISA I will select the best posts on my library and I will translate it to Arabic Language
Arabic version: http://sqlserver-performance-tuning.net/?p=5653
English version: http://sqlserver-performance-tuning.net/?p=4553
Video : https://www.youtube.com/watch?v=e2m2gp1ECMk
this is not the end please follow me because i will publish more interested Posts in SQL Server 2014 by arabic and English also i will translate My videos to be arabic version so each video i will do it by two language (English and arabic )تكنولوجيا الجداول الدائمه والغير دائمه فى محرك قواعد البيانات مايكروسوفت 2014

SQL Server DMV Replication Monitoring Part 1


IC216462

 

Hello My followers  today i will took in very important subject for any DBA How we can monitor our Replications !! for any replication i have publication and subscription , How i can now is it working or it is active or down or what is the status of it now , based on that i created one DMV build with technique of Dynamic Query and using SQL Server cursor but before you go for Monitoring (advanced level) you should know some points at the beginning :

 

 

 

 

Replication in SQL Server Part 1

  • What is SQL Replication?
  • Types of SQL Replication
  • Replication Overview

Replication in SQL Server Part 2

  • How to create Transaction Replication

Replication in SQL Server Part 3

  • How to Add New Publisher Server to the Distributor Server

Replication in SQL Server Part 4

  • Disable Publishing and Distribution Servers

Now after we explained the main highlights for the replication lets see How we can monitor the status of the publication and subscription? and How we can receive email if any one of them is InActive :

  • First i return all databases used in replication
[sql]

SELECT
 MSA.publisher_db AS 'Database Name'
FROM
 distribution.DBO.MSarticles AS MSA
OPEN db_cursor
[/sql]

Continue reading “SQL Server DMV Replication Monitoring Part 1”