Hemant K Chitale
Hemant K Chitale
  • 110
  • 284 246
RAC OCR and OLR
Oracle Grid/ClusterWare OCR (Cluster Registry) and OLR (Local Registry) commands.
ocrcheck : Lists the locations of the OCR and checks for corruption (run as root to check for logical corruption as well)
ocrconfig -add DG Name (e.g. ocrconfig -add +DATA) : Adds a new copy of the OCR in the stated ASM DG
ocrconfig -delete DG Name : Deletes a copy of the OCR from the ASM DG
cat /etc/oracle/olr.loc : Shows the location of the OLR
ocrcheck -local : Checks the OLR
ocrconfig -showbackup : Shows the default location of OCR backups
ocrconfig -manualbackup : Create a manual backup of the OCR
(use asmcmd to copy the backup out from ASM to Filesystem)
ocrconfig -local -showbackuploc : Shows the location of OLR backups
ocrconfig -local -manualbackup : Create a manual backup of the OLR
ocrconfig -local -export : Create an Export backup of the OLR
zhlédnutí: 69

Video

RAC DataGuard Protection Mode HD
zhlédnutí 127Před měsícem
Oracle offers 3 DG protection modes. "Maximum Performance" is the default to reduce overhead at the Primary but *does not guarantee zero data loss*. My preference is "Maximum Availability". The "Maximum Protection" mode offers the highest level of protection in that if the Standby goes down or is inaccessible, the Primary also goes down. For more information see the Oracle Documentation at docs...
RAC DataGuard Single Instance HD
zhlédnutí 210Před 2 měsíci
Monitoring a DataGuard (single instance) for a 2-node RAC Cluster
RAC Client Side Failover HD
zhlédnutí 176Před 3 měsíci
Configuring Client Side Load Balancing and Failover using the TNSNAMES.ORA file See "Client-Side Load Balancing" in the 19c Documentation at docs.oracle.com/en/database/oracle/oracle-database/19/racad/workload-management-with-dynamic-database-services.html#GUID-10F7892A-92DD-482C-8D68-AE80CE956010
RAC HostNames SCAN and IPs HD
zhlédnutí 103Před 3 měsíci
Understanding Host Names, SCAN and IP addresses in an Oracle RAC Cluster
RAC RedoLog Switch and Archival HD
zhlédnutí 78Před 4 měsíci
RedoLog Switch and Archival behaviour in RAC. Each Database Instance (on each node of the Cluster) has it's own Redo Thread. When the Instances are active, they do execute switching and archival of RedoLogs. This video also demonstrates that Oracle attempts to keep the Redo Thread as close to each other (in terms of SCNs (Change#, not Sequence#) even if an Instance is idle and not generating it...
RAC Running ORACHK HD
zhlédnutí 140Před 4 měsíci
ORACHK is part of the Oracle Autonomous Health Framework. See Oracle Support document "Autonomous Health Framework (AHF) - Including TFA and ORAchk/EXAchk (Doc ID 2550798.1)" and the AHF documentation at docs.oracle.com/en/engineered-systems/health-diagnostics/autonomous-health-framework/ On using ORACHK as an Upgrade Readiness Assessment tool, see Oracle Support document "ORAchk Upgrade Readin...
RAC Monitoring from SQL Developer HD
zhlédnutí 113Před 5 měsíci
Real Time monitoring of an Oracle RAC Database Cluster from SQL Developer. Without having to wait to generate ASH or AWR Reports.
RAC Global Cache Single Block Transfers HD
zhlédnutí 46Před 5 měsíci
Building on the previous demo where I had multiple blocks updated on node2 and then queried on node1, I show the impact with a single block containing 2 rows of which only 1 row is updated. The 21c documentation on Wait Events is at docs.oracle.com/en/database/oracle/oracle-database/21/refrn/descriptions-of-wait-events.html#GUID-2FDDFAA4-24D0-4B80-A157-A907AF5C68E2 while the 19c documentation i...
RAC Global Cache Transfers HD
zhlédnutí 159Před 5 měsíci
A quick demonstration of Global Cache Transfer Waits in RAC. When blocks are modified by one instance but are being requested (even just for reads) by the other instance, the requesting instance may spend time waiting for the transfer of the blocks over the (high-speed) interconnect. My demonstration environment may not be very fast but it does highlight the fact that when you scale to tens or ...
RAC Instance Recovery and Auto Restart HD
zhlédnutí 71Před 5 měsíci
When a Database Instance in a RAC Cluster dies abnormally, any other surviving Instance in the Cluster executes Instance Recovery. Here Instance 2 on node2 died abnormally and Instance 1 executed Recovery (applied Rollforward and Rollback using the Redo Logs of Thread 2 [Instance 2] ). Furtheremore, ClusterWare on the node detects the failure of the Instance (the Instance is one of many resourc...
RAC Instance Recovery and Auto Restart
zhlédnutí 64Před 5 měsíci
When a Database Instance in a RAC Cluster dies abnormally, any other surviving Instance in the Cluster executes Instance Recovery. Here Instance 2 on node2 died abnormally and Instance 1 executed Recovery (applied Rollforward and Rollback using the Redo Logs of Thread 2 [Instance 2] ). Furtheremore, ClusterWare on the node detects the failure of the Instance (the Instance is one of many resourc...
RAC Instance Recovery
zhlédnutí 176Před 5 měsíci
Here I demonstrate Instance Recovery of a database instance on a failed node being executed by the surviving node of the RAC Cluster Failover of the session that was connected to the SCAN IP of the failed node has been demonstrated in the previous video titled "RAC Client Query Session and Query Failover" at czcams.com/video/1cfEGNRDWeI/video.htmlsi=phLN_9kDhUGWwHTm
RAC Client Query Session and Query Failover
zhlédnutí 218Před 6 měsíci
When a client connects to a RAC Instance via a SCAN listener : If the node (Linux in this case) goes down abnormally, Grid Infrastructure does a failover of the SCAN IP address to any of the surviving nodes. In this demo, I have two connections to two different SCAN IPs, one on node1 and the other on node2 (i.e. two different Linux DB Servers running RAC). When node2 goes down abruptly, the use...
ADG DML Redirection and Locking and Timeouts
zhlédnutí 115Před rokem
When using DML Redirection in Active DataGuard, you can run into Locking issues for Transactions in the same as would happen if both sessions were in the same database instance. An added complication is "distributed_lock_timeout" because DML Redirection uses a Database Link For my previous videos see "Open Standby Database for Querying" : czcams.com/video/eb2CrAbEo_M/video.html and "ADG DML Red...
ADG DML Redirection
zhlédnutí 162Před rokem
ADG DML Redirection
Open Standby Database for Querying
zhlédnutí 295Před rokem
Open Standby Database for Querying
Add and Drop Pluggable Database (PDB) in DataGuard
zhlédnutí 693Před rokem
Add and Drop Pluggable Database (PDB) in DataGuard
Dynamic DataMasking in SQLServer
zhlédnutí 140Před rokem
Dynamic DataMasking in SQLServer
Pluggable Database Parameters
zhlédnutí 506Před rokem
Pluggable Database Parameters
Oracle Instance Viewer in SQL Developer
zhlédnutí 928Před 2 lety
Oracle Instance Viewer in SQL Developer
DataPump Export using SQL Developer
zhlédnutí 3,7KPřed 2 lety
DataPump Export using SQL Developer
Deadlock in SQL Server
zhlédnutí 8KPřed 2 lety
Deadlock in SQL Server
SQL Server Migration Assistant for Oracle
zhlédnutí 16KPřed 2 lety
SQL Server Migration Assistant for Oracle
Load Flat or CSV File to Oracle Using SQL Developer
zhlédnutí 10KPřed 2 lety
Load Flat or CSV File to Oracle Using SQL Developer
Performance Hub for On-Premises Database
zhlédnutí 159Před 3 lety
Performance Hub for On-Premises Database
Oracle Machine Learning SQL 3
zhlédnutí 381Před 3 lety
Oracle Machine Learning SQL 3
Oracle Machine Learning SQL : 2
zhlédnutí 259Před 3 lety
Oracle Machine Learning SQL : 2
Oracle Machine Learning SQL : 1
zhlédnutí 290Před 3 lety
Oracle Machine Learning SQL : 1
Python for Regression
zhlédnutí 43Před 3 lety
Python for Regression

Komentáře

  • @tdmplayer1988
    @tdmplayer1988 Před měsícem

    thank you bro 🥰

  • @mayanksingh6663
    @mayanksingh6663 Před 2 měsíci

    As always excellent blog Sir , i really like your way of explanation , in future can you please upload videos for RMAN restore and recovery scenarios like restoring backup based on SCN/time from old backup and validate before restoring

  • @HemantKChitale
    @HemantKChitale Před 2 měsíci

    The scripts are in a ZIP file linked in the blog post at hemantoracledba.blogspot.com/2024/05/video-on-monitoring-single-instance.html

  • @pankajSDG
    @pankajSDG Před 2 měsíci

    Thank you

  • @GauravSingh-nk7jj
    @GauravSingh-nk7jj Před 5 měsíci

    your video make us understand very well . sir can you make a full course video on oracle 19C from the beginning please sir

    • @HemantKChitale
      @HemantKChitale Před 4 měsíci

      No, unfortunately, I do not currently have enough time to create a full course.

  • @rajkishore1960
    @rajkishore1960 Před 5 měsíci

    Hi hemant i want to contact you.. Are you providing any online trainings??

  • @MOBILEEVOLUTION123
    @MOBILEEVOLUTION123 Před 6 měsíci

    What connection string(JDBC) application team needs to modify so that the application can reconnect automatically(retry logic)? Is the scan name in the connecting string enough?

    • @HemantKChitale
      @HemantKChitale Před 5 měsíci

      Check the documentation (this for 19c which is the supported production release) : docs.oracle.com/en/database/oracle/oracle-database/19/racad/workload-management-with-dynamic-database-services.html#GUID-EE246927-2883-44EC-80F6-A3FCB019624E

  • @mayanks6728
    @mayanks6728 Před 6 měsíci

    thanks for sharing , volume is little low

    • @HemantKChitale
      @HemantKChitale Před 6 měsíci

      Yes, unfortunately, the Microphone didn't capture my voice well. You could configure automatic Closed Caption (the "CC" icon) when playing in CZcams.

  • @nagaonnet
    @nagaonnet Před 6 měsíci

    Very Low voice

    • @HemantKChitale
      @HemantKChitale Před 6 měsíci

      Yes, unfortunately, the Microphone didn't capture my voice well. You could configure automatic Closed Caption (the "CC" icon) when playing in CZcams.

  • @user-zd9ip8ly2r
    @user-zd9ip8ly2r Před 7 měsíci

    Does Migration assistant can only be installed in SQL Server machine

    • @HemantKChitale
      @HemantKChitale Před 6 měsíci

      Well, it has to be on a Windows Server. If you are thinking of an installation connecting to multiple SQL Server instances, you would be able to define a connection to each instance.

  • @safar-e-atul07
    @safar-e-atul07 Před 8 měsíci

    This video is helpful. We need additional assistance with importing the 'new-211123.bak' backup file, which contains an encrypted database. Please provide guidance on how to perform this import on a new Oracle machine.

  • @raghurosi
    @raghurosi Před 10 měsíci

    When was pfile used.

    • @HemantKChitale
      @HemantKChitale Před 10 měsíci

      The STARTUP NOMOUNT required a PFILE. If an SPFILE doesn't exist, Oracle uses the PFILE corresponding to the ORACLE_SID. I prefer to keep a backup PFILE in case the SPFILE gets corrupted.

  • @vyshnavanil1856
    @vyshnavanil1856 Před rokem

    Thankyou so much

  • @MarphiLeu
    @MarphiLeu Před rokem

    I can do migration process by SSMA manually, but i need to do periodically ( as scheduled job ) any idea ?

    • @HemantKChitale
      @HemantKChitale Před 6 měsíci

      I am not aware of an in-built scheduler. However you could consider extracting the scripts, adding any DROP or DELETE statements as required, and scheduling them through a job scheduler (VisualCron and PowerShell) or BMC.

  • @GauravSingh-bp8nw
    @GauravSingh-bp8nw Před rokem

    thank you sir

  • @Bald_Eeagle
    @Bald_Eeagle Před rokem

    Great Job

  • @claudiacortez7257
    @claudiacortez7257 Před rokem

    Hemant thanks for helping the community with this video

  • @gotchihaeyo1825
    @gotchihaeyo1825 Před rokem

    I think you're a great great teacher.

  • @1-minuteshorts214
    @1-minuteshorts214 Před rokem

    Is there a way to schedule this SSMA process ?

    • @MarphiLeu
      @MarphiLeu Před rokem

      Any solution did you get do as schedule job ?

    • @HemantKChitale
      @HemantKChitale Před 6 měsíci

      I'd suggest extracting the generated scripts, adding DROP and DELETE statements and scheduling through an external Scheduler (VisualCron and PowerShell) or BMC

    • @HemantKChitale
      @HemantKChitale Před 6 měsíci

      I'd suggest extracting the generated scripts, adding DROP and DELETE statements and scheduling through an external Scheduler (VisualCron and PowerShell) or BMC

  • @SaRa-kj9ff
    @SaRa-kj9ff Před rokem

    This is SQL serer or SQL Dba

  • @ravinbharathmaharaj9269

    What is the protection mode of the standby database ?

  • @RomanGWatch
    @RomanGWatch Před rokem

    Thank you. It is usefull

  • @AKsharma_NL
    @AKsharma_NL Před rokem

    you did not rant "convert schema" .. may be because you manually created the object in sql server db ?

    • @HemantKChitale
      @HemantKChitale Před rokem

      The DDLs were generated by the Migration Assistant . So I didn't have to "convert schema" (not sure what you mean by "convert schema")

  • @Mau_N_Mom
    @Mau_N_Mom Před rokem

    Thank you for proper explanation... I have 1 questions, can you guide on oracle sequence migration?

    • @HemantKChitale
      @HemantKChitale Před rokem

      I'd suggest configuring the column as Identity Column so that SQL Server generates the values.

  • @DesChew
    @DesChew Před 2 lety

    Hi, can you do a video showing some error with the Oracle number datatype conversion? By default SQL server will set as float[53]. How can we change to numeric? I try that in project settings. But the SSMA doesn't allow me to migrate successfully.

    • @HemantKChitale
      @HemantKChitale Před rokem

      You could ALTER TABLE MODIFY the column in Oracle to set the correct Precision and Scale before you run the Migration Assistant. OR You could modify the generated SQL Server DDL statements.

  • @dsun6792
    @dsun6792 Před 2 lety

    Sir I am not able to use the command to open script file can I get any another way

    • @HemantKChitale
      @HemantKChitale Před rokem

      Which "script file" do you mean ? login.sql is automatically executed by sqlplus.

  • @abrahammathew9783
    @abrahammathew9783 Před 2 lety

    Hi , Thanks for the video, its helping me with migration. I have a query what is Equivalent of Oracles sys_context ('USERENV', 'Client_Identifier') in SQL Server. I am getting errors w.r.t same after schema conversion..

    • @HemantKChitale
      @HemantKChitale Před 2 lety

      I'm sorry, I don't know an equivalent. The DBA can query sys.dm_exec_connections to identify connections but if your requirement is for a non-DBA session to identify client_identifier you might try working with this view

  • @pravingaddam8541
    @pravingaddam8541 Před 2 lety

    Very nice video bro. Here I want to mention that video is not clear but it's understandable. Can you please help if my table contains 125 column and having row 10 lacks then which set parameters can I use to format results in CSV which looks proper in terminal

    • @HemantKChitale
      @HemantKChitale Před 2 lety

      Two options : sqlcl with the /* csv */ hint . OR sqplus with "set markup csv on". See this recent video czcams.com/video/Mgf2wHtx0DQ/video.html

  • @kiranyasa2000
    @kiranyasa2000 Před 2 lety

    Thanks

  • @h-club9510
    @h-club9510 Před 2 lety

    Hey can u share me the link for OVA format file pls?

    • @HemantKChitale
      @HemantKChitale Před 2 lety

      Standard Prebuilt Virtual Box VMs by Oracle are available for download at www.oracle.com/downloads/developer-vm/community-downloads.html Also, other enthusiasts and developers make theirs available via github e.g. Dr Tim Hall's builds at github.com/oraclebase with instructions from oracle-base.com/index

  • @tariqueazmi514
    @tariqueazmi514 Před 2 lety

    Do do jagah likhne ka kya matlab aise aap kahaa kya command use kar rahenho dikhta nahi Aur video jyada fast h

  • @sujanammaarigela7301
    @sujanammaarigela7301 Před 2 lety

    There is no clarity screen bayya

    • @HemantKChitale
      @HemantKChitale Před 2 lety

      Use the "settings" button to view it in 720p or 1080p HD.

  • @jsnow07grad
    @jsnow07grad Před 3 lety

    this video is so helpful

  • @nisha5031
    @nisha5031 Před 3 lety

    Thank you so much..... for this detailed video... it's really helpful to me✌

  • @HemantKChitale
    @HemantKChitale Před 3 lety

    set pages 0 linesize 32767 trimspool on trim on long 1000000 longchunksize 10000000 spool DBMS_PERF_REPORT.html select dbms_perf.report_perfhub(is_realtime=>1,type=>'active') from dual; -- is_realtime 1 and active shows the report for the last 1hour -- for more options see the documentation on DBMS_PERF spool off -- then edit the html file to remove the first line and the spool off command if necessary

  • @colorizedenhanced-timeless220

    Bonjour, Hemant K Chitale. surprisingly excellent video. thank. :)

  • @srinivasp1231
    @srinivasp1231 Před 4 lety

    Unable to see the commands what u r executing.

  • @arpitmishra575
    @arpitmishra575 Před 4 lety

    Hii sir Attached script also

    • @HemantKChitale
      @HemantKChitale Před 2 lety

      You'll have to view the commands from the video. There are a very large number of RMAN posts on my blog at hemantoracledba.blogspot.com where you can view the command/scripts in text format

  • @mahmudurkhan5754
    @mahmudurkhan5754 Před 4 lety

    Excellent explanation sir. Please keep it up :)

  • @sribalaje
    @sribalaje Před 4 lety

    Hi Hemant, Thanks for your videos. I tried to run an incremental 1 cumulative backup after level 0(level 0 is successful with all datafiles backed up) but it throws a warning below "no parent backup or copy of datafile 1 found" & took full backup. Can you please help.

    • @HemantKChitale
      @HemantKChitale Před 4 lety

      Run these RMAN commands "LIST BACKUP" or "LIST BACKUP OF DATAFILE 1" and also "CROSSCHECK BACKUP" or "CROSSCHECK BACKUP OF DATAFILE 1" to see RMAN is aware of a datafile 1 backup. Also, confirm that your level 0 backup was done with "INCREMENTAL LEVEL 0" in the RMAN command.

    • @sribalaje
      @sribalaje Před 4 lety

      Hi, Thanks for your prompt response .. I tried your commands and it says available only..I ran the command as Backup incremental level 0 database for full backup

    • @sribalaje
      @sribalaje Před 4 lety

      I tried in another env and it works.. I believe the issue is due to i have done reset reincarnation lately.. i believe this might b a reason for the behavior.. it says no parent file only for system datafile, not other files.. any guess??

    • @HemantKChitale
      @HemantKChitale Před 4 lety

      @@sribalaje Yes, a RESETLOGS creates a different incarnation. So the level-0 backup of the previous incarnation isn't the base of the current level-1 backup.

    • @sribalaje
      @sribalaje Před 4 lety

      Thanks but in my case i done reincarnation two days back but i started level 0 yesterday and level 1 today.. still got issues

  • @brijeshkarmakar1299
    @brijeshkarmakar1299 Před 4 lety

    you have explained Latches pretty well

  • @subramanyamrr6561
    @subramanyamrr6561 Před 4 lety

    Thanks

  • @mahmudurkhan5754
    @mahmudurkhan5754 Před 4 lety

    well done sir

  • @pritammorale1521
    @pritammorale1521 Před 4 lety

    how can i know my script filename while saving format changes ????

    • @HemantKChitale
      @HemantKChitale Před 3 lety

      The script file name has nothing to do with presentation formats.

  • @sintho357
    @sintho357 Před 4 lety

    Thank you very much helped me alot

  • @sauravsingh7216
    @sauravsingh7216 Před 4 lety

    That's why CZcams is my first choice than google search!!! Thanks for solution.....

  • @rakshithdc8825
    @rakshithdc8825 Před 5 lety

    Thank you very much.

  • @capitalofcambrom
    @capitalofcambrom Před 5 lety

    Very helpful, thank you!

  • @muneerdba
    @muneerdba Před 5 lety

    Very informative.

  • @chibitori
    @chibitori Před 5 lety

    You're the best! Thank you! It was so hard to find a video that explained this.