Venkatesh GK / Database Blog / database / login details / 03 Aug 2026

Query to Identify Initial and Latest Login Sessions in Oracle Database

Please use the query below to identify and provide the SID and Serial#.   col first_seen for a30 col last_seen for a30 SELECT MIN(sample_time) AS first_seen, MAX(sample_time) ...

Read More

Venkatesh GK / Database Blog / oem / OHS Keystore / wallet / 31 Jul 2026

Steps to Renew Default OHS Keystore Wallet in Oracle Enterprise Manager (OEM)

Please follow the below steps.   Prerequisites   Take a backup of the existing wallet. Ensure you have appropriate Oracle user privileges. Verify OMS is healthy before ma...

Read More

SaiKumar / Database Blog / SQL Queries / SQL query / 30 Jul 2026

How to Unlock Locked SQL Server Logins

How to Unlock Locked SQL Server Logins  Introduction / Issue  During day-to-day SQL Server administration, users may report that they are unable to connect to the SQL Server inst...

Read More

SaiKumar / Database Blog / SQL Queries / SQL query / 30 Jul 2026

SQL Server Audit File Enabled for Both Failed and Successful Logins

SQL Server Audit File Enabled for Both Failed and Successful Logins  Introduction   During a routine SQL Server security review, it was observed that SQL Server Audit was conf...

Read More

Marimuthu Pandu / Database Blog / 30 Jul 2026

Upgrading to PostgreSQL 16 Using pg_dump and pg_tresore 

 One of the safest and most reliable upgrade methods is to use pg_dump and pg_restore. This guide walks through the process of migrating your databases from an older PostgreSQL...

Read More