Oracle 23c New features - sql_transpiler Tips
Automatic PL/SQL to SQL Transpiler PL/SQL functions within SQL statements are automatically converted (transpiled) into SQL expressions whenever possible.
Transpiling PL/SQL functions into SQL statements can speed up overall execution time.
Oracle 23c New features - Parallel DML Tips
Oracle Database allows DML statements (INSERT, UPDATE, DELETE, and MERGE) to be executed in parallel by breaking the DML statements into mutually exclusive smaller tasks. Executing DML statements in parallel can make DSS queries, batched OLTP jobs, or any larger DML operations faster. However, parallel DML operations had a few transactional limitations. This included the touch-once restriction of a parallel DML statement, which meant that once an object is modified by a parallel DML statement, that object cannot be read or modified by subsequent statements within the same transaction.
This feature removes the touch-once restriction, you can now run parallel DMLs and any combination of statements such as queries, serial DML, and parallel DML on the same object, within the same transaction. This enhancement helps provide flexibility in ETL application development using parallel DMLs, and enables data transformation and cleansing tasks before the commit of the transaction.
You can now accelerate critical business processes using parallel DML without previous transactional constraints.
Oracle 23c New features - Update Using Direct Join Tips
Oracle 23c New features - IF EXISTS and IF NOT EXISTS with CREATE, ALTER, and DROP commands Tips
Oracle 23c New features - Develop role Tips
Oracle Developer Tools for VS Code (SQL and PLSQL) Tips
Oracle 23c recover table from rman Tips
Oracle 23c PDB parameters Tips
Oracle 23c Beta Install Tips
Oracle SQLcl Tips
Table DDL (and a lot of other DDL for that matter) can be generated using DBMS_METADATA. This package has been part of the Oracle database for a long time now and it is documented in the PL/SQL Packages and Types Guide.
DBMS_METADTA is very useful, but it requires a bit of code. And now SQLcl provides a shortcut to using the DBMS_METADATA invoking the PL/SQL API.
help
show ddl
ddl <schema>.<object_name>
set ddl storage off
set ddl emit_schema off
set ddl segment_attributes off
Oracle SQLT Tips
SQLTXPLAIN, also known as SQLT, is a tool provided by Oracle Server Technologies Center of Expertise - ST CoE. SQLT inputs one SQL statement and outputs a set of diagnostics files. These files are commonly used to diagnose SQL statements performing poorly. SQLT connects to the database and collects execution plans, Cost-based Optimizer CBO statistics, schema objects metadata, performance statistics, configuration parameters, and similar elements that influence the performance of the SQL being analyzed.
Licensing (SQLT requires no license and is FREE)
Execution plans, execution statistics, data volume, etc. Those have to be taken for the same query(ies) from different env.
SQLT helps gathering these info.
Oracle Architect Associate Summary