-
Database Transaction Log Full or Unable to write or Recovery Units belonging to database failed to generate a checkpoint
Some time working as a DBA or support engineer you might have faced this issue that DB log file full or recovery unit failed to…
//
-
Slow query log purge in MySQL
There are manly 3 steps… 1. Rename existing log file with _old. 2. Connect mysqladmin using socket and use flush-logs. 3. Delete _old file created…
//
-
Table Space addition in Oracle Database
Default location for Oracle-managed datafiles: show parameter db_create_file_dest; Displays Space Usage for Each Datafile Set lines 999 pages 100 select a.tablespace_name, trunc(SUM(a.bytes)/1024/1024/1024,2) “CurGb”, trunc(SUM(decode(b.maxextend, null,…
//
-
Restore Point Creation in Oracle
Connect to the DB > sqlplus / as sysdba > show pdbs Connect to the PDB > alter session set container=pdb_name; > create restore point…
//
-
Enable Data Load Local InFile
We were getting below error at the time of loading data into MySQL. Error: Programming Error: 3948 (42000): Loading local data is disabled; this must be…
//
-
Import CSV File Into PostgreSQL
Create a Table in Postgres CREATE TABLE persons ( id SERIAL, first_name VARCHAR(50), last_name VARCHAR(50), dob DATE, email VARCHAR(255), PRIMARY KEY (id) ); Create or…
//
-
Database restore on destination and fix orphan user
In the article, we are going to demo a backup and restore process from source DB server to destination DB Server. In the demo we…
//
-
Read a big file using PowerShell
Get-Content C:\MySQL_Dump_8April2022\agii-tdsqlpw01_08April_11PM.sql | Select-Object -skip 0 -first 100
//
-
Step by Step implementing Log Shipping
Log Shipping enables you to automatically send transaction log backups from a primary database on a primary server instance to one or more secondary databases…
//
-
STEP BY STEP SQL Server Installation
Hey guys, in this blog I am going to explain you about “Step by step New SQL server stand-alone installation” Minimum requirement for SQL server 2019 installation…
//
-
Methods to change windows authentication to mixed mode (windows and SQL server authentication)
Hey guys, In this blog I am going to explain you about different methods to Enable Mixed Mode authentication Ø Enable Mixed mode authentication using Management…
//
-
Stored Procedure in a SQL Server-
Hey guys, In this blog, I am going to explain you about stored procedure and how to implement stored procedure in a SQL Server. Stored…
//