Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Wait Based Tuning Step by step with SQL statement Oracle
  • v$event_name Oracle
  • Find Time Consuming SQL Statements in Oracle 10g Oracle
  • Running select from V$ views from remote server Linux/Unix
  • To find explain plan for a statement that occurred in past. Oracle
  • Add new columns in dataframe Python/PySpark
  • longtx.sql Oracle
  • In Addition to previous note, following grants needed on PERFSTAT user. Oracle
  • DBMS_Shared_pool pinning triggers Oracle
  • Configure ssh authentications for RAC Oracle
  • find_longsql.sql Oracle
  • Find long Running Transaction Linux/Unix
  • move_arch_files.ksh Linux/Unix
  • Benefits and Usage of RMAN with Standby Databases Oracle
  • Disbaling DBA_SCHEDULER_JOBS Oracle

Year: 2025

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

V$INSTANCE of Oracle in MYSQL

Posted on 24-Jul-202524-Jul-2025 By Admin No Comments on V$INSTANCE of Oracle in MYSQL

The Oracle view **V$INSTANCE** provides information about the running Oracle database instance — such as instance name, host, version, status, startup time, etc. ✅ MySQL Equivalent of V$INSTANCE There is no single view in MySQL that maps 1:1 to V$INSTANCE, but you can gather the equivalent details using the following queries: Oracle V$INSTANCE Column MySQL…

Read More “V$INSTANCE of Oracle in MYSQL” »

MYSQL

Day to day MYSQL DBA operations (Compared with Oracle DBA)

Posted on 24-Jul-202524-Jul-2025 By Admin No Comments on Day to day MYSQL DBA operations (Compared with Oracle DBA)

Here is a mapping of commonly used Oracle dynamic performance views (V$ views) and data dictionary views (DBA_*) to their closest equivalents in MySQL. These are especially useful for Oracle DBAs learning how to inspect system-level information in MySQL. 🔄 Oracle V$ and DBA_ Views vs MySQL INFORMATION_SCHEMA / Performance Schema Oracle View MySQL Equivalent…

Read More “Day to day MYSQL DBA operations (Compared with Oracle DBA)” »

MYSQL

MYSQL and Oracle Comparison for Oracle DBA

Posted on 24-Jul-202524-Jul-2025 By Admin No Comments on MYSQL and Oracle Comparison for Oracle DBA

Here’s a practical comparison of MySQL for Oracle DBAs, focusing on key concepts, terminology, architecture, and daily operations so that you can quickly map your Oracle knowledge to MySQL. I’ll structure it in a table format followed by important notes: 🔁 Oracle to MySQL Mapping Table (Essentials for Oracle DBAs) Concept / Task Oracle MySQL…

Read More “MYSQL and Oracle Comparison for Oracle DBA” »

MYSQL

MYSQL for Oracle DBA

Posted on 24-Jul-202524-Jul-2025 By Admin No Comments on MYSQL for Oracle DBA

Excellent! Since you’re already a seasoned Oracle DBA on Linux, transitioning to MySQL will be straightforward — but you’ll need to shift focus to MySQL’s different architecture, tooling, and storage engine model. 🧠 Training Plan: MySQL DBA for Oracle DBAs (Linux-Based) We’ll cover the following areas step-by-step. Each topic will include theory, practical commands, and…

Read More “MYSQL for Oracle DBA” »

MYSQL

load SPM baseline from cursor cache

Posted on 05-Jun-2025 By Admin No Comments on load SPM baseline from cursor cache

set serveroutput onaccept v_sqlid prompt ‘SQLID:’accept v_phv prompt ‘PHV:’ var pvm numberbegin:pvm := dbms_spm.load_plans_from_cursor_cache(sql_id=>’&v_sqlid’, plan_hash_value=>&v_phv, fixed =>’NO’, enabled=>’YES’);end;/ EXEC dbms_output.put_line(‘Number of plans loaded: ‘ || :pvm);

Oracle, SQL scripts

Posts pagination

1 2 Next

Categories

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

Recent Posts

  • 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
  • V$INSTANCE of Oracle in MYSQL24-Jul-2025
  • Day to day MYSQL DBA operations (Compared with Oracle DBA)24-Jul-2025
  • MYSQL and Oracle Comparison for Oracle DBA24-Jul-2025
  • MYSQL for Oracle DBA24-Jul-2025
  • load SPM baseline from cursor cache05-Jun-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • oracle 10g on linux Linux/Unix
  • find checksum of a file. Linux/Unix
  • rm_backup_arch_file.ksh Linux/Unix
  • FGA Part-I Oracle
  • DBMS_UTILITY.ANALYZE_SCHEMA Oracle
  • TOP-N Sql to find Nth max or Top N rows Oracle
  • Good RAC & Standby Notes Oracle
  • kill all processes from specific user in solaris. Linux/Unix

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme