0% found this document useful (0 votes)
18 views11 pages

Oracle 23c Part 1 Slides

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views11 pages

Oracle 23c Part 1 Slides

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd

Oracle Database 23c – Key

Features (Part 1)
Comprehensive guide with
Overviews, Use Cases, and SQL
Examples
Slides 1 to 10
JSON Relational Duality
• • Overview:
• - Seamlessly integrates JSON and relational
data.
• - Eliminates the need for complex data
transformations.
• - Ensures consistency between structured
and semi-structured data.

• • Use Case:
JSON Relational Duality – SQL
Examples
• • SQL Examples & Explanation:
• **SQL:** `CREATE DUALITY VIEW emp_view
AS SELECT * FROM employees;`
• **Explanation:** Creates a duality view for
querying JSON and relational data together.

• **SQL:** `SELECT * FROM emp_view WHERE


json_column->>'$.name' = 'John';`
• **Explanation:** Retrieves employees where
the JSON-stored name is 'John'.
Operational Property Graphs
• • Overview:
• - Provides native support for property graphs.
• - Enables complex relationship-based
queries.
• - Useful for fraud detection and social
network analysis.

• • Use Case:
• - Financial institutions can analyze
Operational Property Graphs – SQL
Examples
• • SQL Examples & Explanation:
• **SQL:** `SELECT * FROM
TABLE(graph_query('socialGraph', 'MATCH (p)-
[r]->(f) RETURN p, r, f'));`
• **Explanation:** Executes a graph query to
retrieve relationships in a property graph.

• **SQL:** `INSERT INTO GRAPH socialGraph


NODES (id, name) VALUES (1, 'Alice');`
• **Explanation:** Adds a new node (person)
AI Vector Search
• • Overview:
• - Supports AI-driven similarity searches using
vector embeddings.
• - Enhances search in recommendation
systems, image, and text retrieval.
• - Optimized for high-performance similarity
queries.

• • Use Case:
AI Vector Search – SQL Examples
• • SQL Examples & Explanation:
• **SQL:** `SELECT * FROM
ai_vector_search('embedding_column',
input_vector);`
• **Explanation:** Performs a similarity search
using AI-driven vector embeddings.

• **SQL:** `UPDATE images SET


vector_embedding =
ai_generate_vector(image_data) WHERE id =
True Immutable Tables
• • Overview:
• - Prevents modifications and deletions of
records.
• - Ensures data integrity and compliance.
• - Ideal for audit logs and regulatory storage.

• • Use Case:
• - Banks can use immutable tables to securely
store transaction histories.
True Immutable Tables – SQL
Examples
• • SQL Examples & Explanation:
• **SQL:** `CREATE IMMUTABLE TABLE
transactions (id NUMBER, amount NUMBER,
PRIMARY KEY (id));`
• **Explanation:** Creates an immutable table
where records cannot be modified or deleted.

• **SQL:** `INSERT INTO transactions VALUES


(101, 500.00);`
• **Explanation:** Adds a transaction record,
JSON Schema Validation
• • Overview:
• - Automatically validates JSON data against
predefined schemas.
• - Prevents incorrect data from being stored.
• - Ensures consistency across JSON-based
applications.

• • Use Case:
• - A banking system can validate JSON-based
JSON Schema Validation – SQL
Examples
• • SQL Examples & Explanation:
• **SQL:** `ALTER TABLE orders ADD CHECK
(json_data IS JSON SCHEMA '[Link]');`
• **Explanation:** Adds a validation check to
ensure JSON data conforms to the specified
schema.

• **SQL:** `INSERT INTO orders VALUES (1,


'{"customer": "John", "amount": 100}');`
• **Explanation:** Attempts to insert JSON

You might also like