Quantcast
Channel: Hemant's Oracle DBA Blog
Browsing index pages (190 articles)
↧

Using the Python oracledb Driver to extract data to a Pandas DataFrame

 My video demonstrationon using python-oracledb to extract data from an Oracle Database and read it into a Pandas Dataframe The main documentation page for Python-oracledbFetching to a DataFrame

View Article


New JOIN TO ONE clause in 26.2 SELECT

 I've just published a short video on the new JOIN TO ONE clause in SELECT statements in Oracle 26ai 26.2This clause allows you to let the database automatically determine JOIN columns based on Primary...

View Article


Tracing a Power BI DirectQuery Refresh in Oracle

 In today's video I have demonstrated how Power BI can use DirectQuery to query an Oracle database and refresh reports without actually storing the data in the Power BI file (as would be done if...

View Article

WAIT Clause for DMLs in 26.2

 Oracle 26ai 26.2 now introduces the WAIT (and NOWAIT) Clause for INSERT / UPDATE / DELETE / MERGE DMLs.  We have had a WAIT Clause for SELECT FOR UPDATE statements but not for these "simple" DML...

View Article

Domains and Annotations in 26ai

 In a previous blog post I had demonstrated Domains for Columns and an Annotation for a table in 23ai.Domains are "Data Use Case Domains" -- predefined Dictionary Objects that encapsulate properties...

View Article


Partition by Expression

 Oracle 26.1 now allows using an Expression in the Partitioning Clause.  In earlier releases, you could do this with a Virtual Column defined in the table.  However, 26.1 does not require the Virtual...

View Article

The new FILTER clause in Aggregations

 Oracle 26.1 introduces the new FILTER clause that can be used in aggregations.  Thus, for example, in a SUM aggregation you can use FILTER WHERE ...Here is a quick example :SQL> create table...

View Article

Video Demonstration of Retrieval (in RAG)

I have created a Video Demo of the Retrieval for RAG, based on what I have posted here blog posts.

View Article


RAG with Vector Index in 26ai

 Updating my previous demo that was in 23ai  to run in  Oracle AI Database 26ai with two enhancements :vector_memory_size  set to 512MB   (yes, this is a very small on-premises Free 26ai image)INMEMORY...

View Article


Incremental Backups of a Standby Database

 In response to a comment on a previous Blog Post RMAN Backup of a Standby Database, I show incremental Backups as well belowRMAN> backup as compressed backupset incremental level 0 database; backup...

View Article

The "Retrieval" for RAG using Semantic Search

 Reusing the sample code from my previous demo, I build a table with 130 sentences describing AI Tools and then use SQL to run the sort of queries that you'd expect RAG to use against an "internal...

View Article

AI / LLM : Semantic Similarity Search using Hugging Face with Vectors in an...

 As I have recently gone through a course on LLMs for Chatbots and RAG on OCI (Oracle Cloud Infrastructure), I thought about putting together a quick demo that uses A The Hugging Face all-MiniLM-L12-v2...

View Article

Cross-Instance Deadlock in RAC

 I've created a video demonstration of a Cross-Instance Deadlock in a 2-node RAC environment and how to read the trace file.Note : Only the SQL that has been returned the "deadlock" error is failed,...

View Article


An introduction to Oracle Cloud Infrastructure

 A 1hour videoDescription:This session will cover the fundamentals of Oracle Cloud Infrastructure (OCI) including cloud concepts, OCI structures, and core OCI services. OCI service areas that will be...

View Article

Configuring a RAC Service tied to a PDB and specific Instance

 I have created a new Video demonstrating how you can add new Services to an existing database.  In RAC, you can choose to have the Service running on all or selected or a single node of the Cluster....

View Article


Converting a "NO Standby" to "YES Standby" database

 In my previous blog post and video, I had demonstrated creating a PDB (as a clone from an existing PDB) to be used for some testing/validation for a short period of time, without needing protection of...

View Article

Creating a new PDB in RAC without Standby Protection

 I've published a new Video demonstration when you need to create a new PDB (even as a clone of an existing one) without requiring a Standby copy of the PDB. (Use cases : Test environment for a day or...

View Article


Backup a Backup that is in ASM

 In RAC or Single Instance environments with ASM, it is possible to run database backups to ASM  (typically the FRA diskgroup).However, you would need the ability to copy the backup *out of ASM*  --...

View Article

Backup and Restore a Standby Database

 I have seen some I.T. managers that decide to backup only the Primary Database and not the Standby. The logic is "if the Storage or Server for the Standby go down, we can rebuild the database from the...

View Article

Flashback a Pluggable Database in RAC with Data Guard

 I have published a new video Flashback PDB in RAC with DG.Here are some important considerations / commands when you want to use Flashback :1.  Ensure that you have FLASHBACK_ON in the Database (at...

View Article
Browsing index pages (190 articles)


Latest Images