Database Blog

Essential Guide for Regular MS SQL Server Patching

Essential Guide for Regular MS SQL Server Patching Introduction: In SQL Server management, keeping up with service packs and cumulative updates is not just a recommendation, it’s a necessity. Understanding these updates and their importance can make a significant difference in the performance, security, and reliability of your SQL Server environment. Table of Contents Pre-Check and Prerequisites before Patching. SQL Server 2022 Most recentPatch. Steps to Install the patch update. Post-Installation verification. Successfully upgraded Patching. Server restart Hack. Conclusion. Pre-Check and Prerequisites Before Patching: Before diving into the patching process, it’s essential to prepare thoroughly to avoid any disruption. ü Take necessary backups of application databases. ü Check Disk Space and System Requirements. ü Inform Stakeholders About Downtime ü Disable Scheduled Jobs: Temporarily disable any scheduled jobs that could interfere with the patching process. ü Apply the Patch in a Test Environment, before updating your live server, SQL Server 2022 Most recent Patch : The latest cumulative update for SQL Server 2022 is CU14 (KB5038325), released in July 2024. This update includes all fixes and improvements from previous updates and is essential for maintaining the security and performance of your SQL Server installations. Some notable features and improvements in CU14 include: ü General bug fixes and performance enhancements. ü Security updates ensure the system remains secure and reliable. ü Improvements in manageability and reliability to enhance overall system performance. Steps to Install the patch update: ü Run the Installer: Double-click the setup file to start the installer then patch installer will pop up. ü Accept License Terms: Review and accept the license terms to proceed with the installation. ü Select Features to Update:…

Read More

Snowpipe (a continuous data ingestion pipeline) in Snowflake

To create a new Snowpipe (a continuous data ingestion pipeline) in Snowflake, follow these steps: Prerequisites Storage Integration: Set up a cloud storage integration (AWS S3, Azure Blob, GCP) to securely connect Snowflake to your cloud storage. Stage: Create an external stage pointing to your cloud storage (if not already created). Target Table: Ensure the destination table exists in Snowflake. Create a Stage (if needed) Define a stage pointing to your cloud storage location. Example for AWS S3: CREATE OR REPLACE STAGE my_s3_stage URL = ‘s3://your-bucket/path/’ STORAGE_INTEGRATION = my_storage_integration FILE_FORMAT = my_file_format; — (e.g., CSV, JSON) Create a Pipe A pipe uses the…

Read More

Creating new VM in azure environment

Creating new VM in azure environment  Title/ Description of the Process  This process outlines the steps to manually or programmatically create a new Virtual Machine (VM) in Microsoft Azure. It…

Read More

Overview of Microsoft Azure Cloud Services

Overview of Microsoft Azure Cloud Services Introduction to Cloud Computing: Briefly discuss cloud computing and how Azure fits into the market of cloud service providers.  Core Services of Azure: Cover…

Read More

Create the OEM Repository Database 

Notes:  Database oemdb is created via dbca  Non-CDB database is created (PDB is also supported for repository database)  Redo Log file size should be minimum 300 MB  After database is…

Read More

Deploy OEM Agents 

Notes:  1.Deployment of agent from within OEM failed with SSH check.2.Manually deploy the agent by downloading the agent image from OMS and then perform a silent installation using a response…

Read More

PostgreSQL VACUUM FULL: When and Why to Use It

Introduction  PostgreSQL, a robust and popular open-source relational database system, employs a sophisticated mechanism called Multi-Version Concurrency Control (MVCC) to ensure data integrity and high concurrency. While MVCC enhances performance,…

Read More

AWS PostgreSQL RDS vs. AWS Aurora PostgreSQL: A Deep Dive

Introduction  When selecting a managed PostgreSQL database service on AWS, developers face a crucial choice between Amazon RDS for PostgreSQL and Amazon Aurora PostgreSQL. Both offerings provide robust solutions for…

Read More

Diagnosing and Repairing Failures with Data Recovery Advisor

Data Recovery Advisor feature helps in diagnosing and repairing data failures. It will automatically diagnose the issue and provides the recommendation for the repair that helps to resolve the data…

Read More

Redo log corruption

What is a Redo log corruption?   In the Oracle RDBMS environment, redo logs comprise files in a proprietary format which log a history of all changes made to the database. Each redo log file consists…

Read More