Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Read CSV File using Python Python/PySpark
  • setting prompt display with .profile Linux/Unix
  • crontab syntax Linux/Unix
  • To see only files and/or folders using LS command Linux/Unix
  • DBA_HIST_SQLSTAT contents Oracle
  • Jai Shree Ram Oracle
  • note id 373303.1 Linux/Unix
  • get_vmstat_linux Oracle
  • Important Solaris Commands Linux/Unix
  • Histogram Overview Oracle
  • Reading parameter file and printing Linux/Unix
  • 751131.1 New Article Error 2819 While Requesting a Systemstate Dump Oracle
  • Renaming Oracle Instance Name Oracle
  • Space padding in korn shell Linux/Unix
  • OPENING A STANDBY DATABASE IN READ-ONLY MODE Oracle

Complete Git Tutorial for Beginners

Posted on 25-Dec-202525-Dec-2025 By Admin No Comments on Complete Git Tutorial for Beginners

๐ŸŽฏ Table of Contents ๐Ÿค” What is Git? Git is a version control system – think of it as a time machine for your code! Real-World Analogy Imagine you’re writing a book: Why Use Git? โœ… Track Changes: See what changed and whenโœ… Collaborate: Multiple people can work on the same projectโœ… Backup: Your code is saved on GitHub (cloud)โœ… Undo Mistakes:…

Read More “Complete Git Tutorial for Beginners” »

GIT

Postgres DB user and OS user.

Posted on 25-Dec-202525-Dec-2025 By Admin No Comments on Postgres DB user and OS user.

In PostgreSQL on Linux, it is crucial to understand that the OS user and the database user (often both named postgres) are two completely separate entities with separate credentials. Here is the breakdown of how they interact: 1. Are the passwords the same? No. * OS User (postgres): This is a Linux system account created…

Read More “Postgres DB user and OS user.” »

POSTGRESQL

Trace a SQL session from another session using ORADEBUG

Posted on 30-Sep-202530-Sep-2025 By Admin No Comments on Trace a SQL session from another session using ORADEBUG

Find the SPID from Oracle’s SID using below SQL. REM **** This is used to get SPID from SID.col username format a30col machine format a20col program format a40accept _sid prompt ‘Enter Oracle Session ID ->’select a.sid, b.pid, b.spid, a.username, a.program,a.machinefrom v$session a,V$process bwhere a.paddr = b.addrandย  ย a.sid = &_sid/ Use ORADEBUG command as below. oradebug…

Read More “Trace a SQL session from another session using ORADEBUG” »

Oracle, SQL scripts

SQL Server Vs Oracle Architecture difference

Posted on 25-Jul-202525-Jul-2025 By Admin No Comments on SQL Server Vs Oracle Architecture difference

Here’s an expanded and in-depth comparison of SQL Server vs Oracle architecture โ€” organized into major categories with detailed breakdowns. โœ… SQL Server vs Oracle Architecture โ€“ In-Depth Comparison Category SQL Server Oracle Database Core Architecture Type Thread-based, single-process architecture. Process-based, multi-process architecture (each background task is a separate OS process). Platform Windows (originally), now…

Read More “SQL Server Vs Oracle Architecture difference” »

SQL Server

SQL Server: How to see historical transactions

Posted on 25-Jul-202525-Jul-2025 By Admin No Comments on SQL Server: How to see historical transactions

You can determine if a SQL Server database is actively being used by any users, both currently and historically (to some extent). โœ… Part 1: Check Current Active Usage ๐Ÿ”น 1. Who Is Connected Right Now (to a DB)? ๐Ÿ” Shows who is currently active in a specific database, with login, host, and command info….

Read More “SQL Server: How to see historical transactions” »

SQL Server

SQL Server: How to see current transactions or requests

Posted on 25-Jul-202525-Jul-2025 By Admin No Comments on SQL Server: How to see current transactions or requests

To check if there are any active transactions in SQL Server, you have several tools at your disposal depending on how deep you want to inspect. โœ… Option:1 See Transactions via sys.dm_tran_active_transactions Value Type 1 Read/write transaction 2 Read-only transaction 3 System transaction 4 Distributed transaction โœ… Option:2 See Transactions by Session (sp_who2 or sys.dm_exec_requests)…

Read More “SQL Server: How to see current transactions or requests” »

SQL Server

T-SQL Vs PL/SQL Syntax

Posted on 25-Jul-202525-Jul-2025 By Admin No Comments on T-SQL Vs PL/SQL Syntax

Below is a side-by-side comparison of Oracle PL/SQL and SQL Server T-SQL for someone coming from a PL/SQL background. This will help you quickly understand the syntax and behavior differences. ๐Ÿ”„ PL/SQL vs T-SQL Syntax Comparison Concept / Operation Oracle PL/SQL Syntax SQL Server T-SQL Syntax Anonymous Block BEGIN … END; BEGIN … END (no…

Read More “T-SQL Vs PL/SQL Syntax” »

SQL Server

Check SQL Server edition

Posted on 25-Jul-202525-Jul-2025 By Admin No Comments on Check SQL Server edition

To check whether you are using SQL Server Standard, Enterprise, or another edition, you can use one of the following methods: 1. Using SQL Query (Recommended) Run this SQL query in SQL Server Management Studio (SSMS): Example Output: 2. Using SQL Server Management Studio (SSMS) 3. Using Command Prompt Run this command in Command Prompt…

Read More “Check SQL Server edition” »

SQL Server

Checking SQL Server Version

Posted on 25-Jul-202525-Jul-2025 By Admin No Comments on Checking SQL Server Version

To check which SQL Server version and edition you are running, you can use the following methods: 1. Using SQL Query (Most Reliable) Run the following SQL query in SQL Server Management Studio (SSMS) or any query tool: This will return a string containing the SQL Server version, edition, and service pack (if any). 2….

Read More “Checking SQL Server Version” »

SQL Server

Oracle vs MYSQL Architecture differences (For DBAs)

Posted on 24-Jul-2025 By Admin No Comments on Oracle vs MYSQL Architecture differences (For DBAs)

Here’s a detailed comparison table between Oracle and MySQL architectures, highlighting components, memory structures, process models, transaction behavior, and other key aspects โ€” tailored for an Oracle DBA transitioning to MySQL. ๐Ÿ—๏ธ Oracle vs MySQL Architecture (Detailed Comparison Table) Component / Area Oracle RDBMS MySQL (with InnoDB) Architecture Type Multi-process architecture (background processes) Single-process, multi-threaded…

Read More “Oracle vs MYSQL Architecture differences (For DBAs)” »

MYSQL

Posts pagination

1 2 … 57 Next

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Django (0)
  • GIT (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (393)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (342)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • Complete Git Tutorial for Beginners25-Dec-2025
  • Postgres DB user and OS user.25-Dec-2025
  • Trace a SQL session from another session using ORADEBUG30-Sep-2025
  • SQL Server Vs Oracle Architecture difference25-Jul-2025
  • SQL Server: How to see historical transactions25-Jul-2025
  • SQL Server: How to see current transactions or requests25-Jul-2025
  • T-SQL Vs PL/SQL Syntax25-Jul-2025
  • Check SQL Server edition25-Jul-2025
  • Checking SQL Server Version25-Jul-2025
  • Oracle vs MYSQL Architecture differences (For DBAs)24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Optimizer SORT Operations Oracle
  • Deleting first line and lastline of a file using sed Linux/Unix
  • Oracle10g – Using SQLAccess Advisor (DBMS_ADVISOR) with the Automatic Workload Repository Oracle
  • Flowers Resize datafiles Oracle
  • RAC with RHEL4 and 11g Oracle
  • Running some SQL on multiple databases connecting using monitoring userid and password Linux/Unix
  • Day to day MYSQL DBA operations (Compared with Oracle DBA) MYSQL
  • get_vmstat.ksh Linux/Unix

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme