Oracle 18C New Feature Private Temporary Table

  Рет қаралды 25,107

Siva Academy

Siva Academy

Күн бұрын

Пікірлер: 38
@SivaAcademy
@SivaAcademy 6 жыл бұрын
A typo error in the slide, Please read as "ON COMMIT DROP DEFINITION" instead of "ON COMMIT DELETE DEFINITION" Thanks Prem for pointing it out.
@arijitroy7253
@arijitroy7253 2 жыл бұрын
Thnx a lot. But this naming convention governed by that parameter seemed little tough! Moreover, if multiple sessions are creating PTT by same name n structure, then wat and how dba_tables going to store/maintain the metadata session wise separately?
@harendrajadon1980
@harendrajadon1980 2 жыл бұрын
Any tutorials on oracle forms a d reports. Please share links if any. Thanks
@VarasPassion
@VarasPassion 3 жыл бұрын
Explained very well...thank you dear :)
@SivaAcademy
@SivaAcademy 3 жыл бұрын
Welcome bro
@tejalpatkar2511
@tejalpatkar2511 3 жыл бұрын
In 19C facing issue for GTT table Can you please Guide
@raghud541
@raghud541 2 жыл бұрын
So Global temp tables are like normal tables which once created will be available always, but only data will be private to the sessions?
@kunalkumar57
@kunalkumar57 2 жыл бұрын
SQL> create private temporary table t(sno number) on commit preserve definition; create private temporary table t(sno number) on commit preserve definition * ERROR at line 1: ORA-00903: invalid table name
@premgona5587
@premgona5587 6 жыл бұрын
I found a typo in the video.. Just correcting it... The two modes of Private temp tables are, 1) on commit PRESERVE definition - session specific 2) on commit DROP definition - table will be dropped automatically, once the commit or rollback issues
@SivaAcademy
@SivaAcademy 6 жыл бұрын
Thanks for informing. will try to correct it.
@premgona5587
@premgona5587 6 жыл бұрын
I have tried in the DB with DELETE but it didn't work... It worked with DROP option...
@SivaAcademy
@SivaAcademy 6 жыл бұрын
I hope you are trying in 18C DB right?
@SivaAcademy
@SivaAcademy 6 жыл бұрын
Send me yours scripts and steps you tried to my mail id, I will check and let you know tomorrow. ( mail to siva.k.academy@gmail.com)
@premgona5587
@premgona5587 6 жыл бұрын
I have tried in oracle website... LIVESQL... create private temporary table test_18c_private_temp_table (id number, name varchar(10)) on delete drop definition; insert into test_18c_private_temp_table Values(101,'Prem'); select * from test_18c_private_temp_table; commit; Again, if we try to query the table it will throw an error saying "table or view doesn't exists".
@sadhusehrawat9501
@sadhusehrawat9501 3 жыл бұрын
Isn't Private Temporary Table very much similar to Local Temporary Table of 8i?
@12ravindrareddy
@12ravindrareddy 3 жыл бұрын
Can we create index on GTT?
@abhishekrahagude2707
@abhishekrahagude2707 2 жыл бұрын
Siva could you please provide 2-3 use case for temporary table.
@letopizdetz
@letopizdetz 3 ай бұрын
I know it's a year too late, but temporary tables cut down on execution time. sometimes 5-10x. Example: You have to filter 1mil rows out of 1billion rows with 3 joins and 10 where clauses... and another million rows from a different source, and then inner join them. If you break the script into 2 segments and dump both large selects into 2 temp tables and then perform the final join and filtering, it reduces execution time.
@ramchinthakayala2092
@ramchinthakayala2092 4 жыл бұрын
Great content. Your help would be appreciated if you explain one example using this GTT in a procedure?
@SivaAcademy
@SivaAcademy 4 жыл бұрын
Sure bro, I will post an example
@sunilk5008
@sunilk5008 3 жыл бұрын
Please make video on SQL Injection in details
@SivaAcademy
@SivaAcademy 3 жыл бұрын
Sure bro, please stay tuned
@spr9915
@spr9915 2 жыл бұрын
Thanks again Siva!
@SivaAcademy
@SivaAcademy 2 жыл бұрын
Welcome, thank you
@12ravindrareddy
@12ravindrareddy 4 жыл бұрын
When to use GTT in real time?
@SivaAcademy
@SivaAcademy 4 жыл бұрын
When ever you want to store temporary data for session
@PriyankaKumari-ul7bv
@PriyankaKumari-ul7bv 5 жыл бұрын
plz add code in your blog.
@SivaAcademy
@SivaAcademy 5 жыл бұрын
@priyanka, Sure, will post soon.....
@subhashisoracle3944
@subhashisoracle3944 4 жыл бұрын
mind blowing bro nice scenario
@SivaAcademy
@SivaAcademy 4 жыл бұрын
i didn't do any great job bro, just trying to make everyone understand better as much as possible by me
Oracle 18C New Feature - JSON EQUAL
9:53
Siva Academy
Рет қаралды 3,4 М.
oracle 18c inline external table
12:07
Siva Academy
Рет қаралды 15 М.
PIZZA or CHICKEN // Left or Right Challenge
00:18
Hungry FAM
Рет қаралды 14 МЛН
2 MAGIC SECRETS @denismagicshow @roman_magic
00:32
MasomkaMagic
Рет қаралды 33 МЛН
Из какого города смотришь? 😃
00:34
МЯТНАЯ ФАНТА
Рет қаралды 1,4 МЛН
Try Not To Laugh 😅 the Best of BoxtoxTv 👌
00:18
boxtoxtv
Рет қаралды 7 МЛН
Partitioning in Oracle - Performance Basics
28:35
Tech Coach
Рет қаралды 53 М.
Database Indexing for Dumb Developers
15:59
Laith Academy
Рет қаралды 70 М.
Advanced SQL Tutorial | Temp Tables
10:19
Alex The Analyst
Рет қаралды 258 М.
1 PLSQL Performance Tuning   Introduction to DBMS PROFILER
23:33
Siva Academy
Рет қаралды 115 М.
Oracle Interview Question oracle index related questions
14:11
Siva Academy
Рет қаралды 148 М.
PIZZA or CHICKEN // Left or Right Challenge
00:18
Hungry FAM
Рет қаралды 14 МЛН