Тёмный

Local Vs Global Partitioned Index in Oracle 11g 

Tech Coach
Подписаться 34 тыс.
Просмотров 35 тыс.
50% 1

Опубликовано:

 

1 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 48   
@TechCoach
@TechCoach 5 лет назад
List of all partitioning videos Part 1 : Partitioning in Oracle : ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-m3q4lrE671Y.html Part 2 : Partitioning in Oracle - Performance Basics :ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-OQ8LXbxLI5g.html Part 3 : List Partitioning in Oracle : ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-w6kB-90pFa4.html Part 4 : Range partitioning in Oracle : ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-VBkpI4Ki49Q.html Part 5 : Hash Partitioning in Oracle : ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-2YxOF_sJMLI.html Part 6 : Composite Partitioning in Oracle :ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-q_e9IkNtSWc.html Part 7 : Reference Partitioning in Oracle :ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-p8gNwr6Rtdo.html Part 8 : Local Vs Global Partitioned Index in Oracle 11g : ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-t77fyUt8XPw.html Part 9 : Partitioning enhancement in 12 c :ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-o_WjapdXiQg.html
@TechCoach
@TechCoach 6 лет назад
When you drop/Truncate a partition from a table that has global index on it, The Global Index becomes Unusable. You have an option to rebuild the index using "UPDATE GLOBAL INDEXES", But Update is a DML command so the index data will be deleted(Instead of being dropped like in Local Partitioned index) and it will generate a lot of redo/undo logs (if your table in huge) leading to lot of DB performance issues.I wanted to clarify this as if I felt it was not 100% clear from the video that what exactly is taking time if we are dropping the partition .
@sj9753
@sj9753 4 года назад
Excellent 👍👍👍
@sj9753
@sj9753 4 года назад
Excellent 👍👍👍
@satya3233
@satya3233 4 месяца назад
thanks
@TechCoach
@TechCoach 4 месяца назад
I am glad I could help :)
@ranajparida5412
@ranajparida5412 6 лет назад
Hi Vivek, Sorry to say you that could you please explain this LOCAL AND GLOBAL partition in more easy way. I am not able understand.
@TechCoach
@TechCoach 6 лет назад
Sure Ranaj I will try to make a more detailed video on the same. I would appreciate if you subscribe share and watch my new video channel. "An Indian Abroad " Your support is what keeps me going. ru-vid.com
@TheSomnath2000
@TheSomnath2000 6 лет назад
Hi Vivek, Thanks for these wonderful videos which you have shared till date . Could you please explain one point . How the Global index becomes invalid when we drop a partition of the table having global index .
@TechCoach
@TechCoach 6 лет назад
Hi Somnath, Thanks for the kind words. Let's say our order table has 300 rows and is range partitioned on order_id P1-1-100 P2-101-200 P3-200-300 and we have created a global index on the order_date column, If we drop partition p1 the index on order_date will have orphan keys with no data in order table thus making the index invalid in 11g, This has been taken care off in 12c where you can rebuild the index at a later stage and global index will still be usable.
@TheSomnath2000
@TheSomnath2000 6 лет назад
Thanks Vivek .. You are doing such an excellent job . Please keep uploading these kind of videos . Index rebuild option is available in 11g also ? ... Also instead of using "UPDATE GLOBAL INDEXES" is it a better option to rebuild the index ....Why i am asking this because i have one OLTP db . Where i found a partition table has a global index ...And there is a HSKP package which truncates the older partition . But then it drop / create the global index . Then it performs "UPDATE GLOBAL INDEXES" option. So, will it be more beneficial if we rebuild the global index instead of drop/create .
@Ins_8800
@Ins_8800 2 года назад
Great great great info, clearly explained in simple ways, only person having good knowledge can explain clearly.. Please keep up the good work...can you cover all topics related to Oracle Db objects and their concepts as much as possible if not done already.....thanks again for wonderful explanation with diagrams and details👍🏻😊
@sabariraj5743
@sabariraj5743 4 года назад
Thanks for your info .In exist table data were already present in segment area , How to move exist data into particular partition ,could you please share us to crack those ..
@viveksheel4718
@viveksheel4718 6 лет назад
Is Local and global index are same as Local Partitioned Index and Global Partitioned Index?
@TechCoach
@TechCoach 6 лет назад
In terms of partitoning yes, A local index shares one to one relationship with the partition, while a global index share 1 to many relationship. So if we are talking about a partiton we may use the word local index ( local to that partition) and global index since the index contains more values that don't lie in that partition, I hope this helps. I have a small request I am working on this new channel "An Indian abroad" and will really appreciate if you watch and subscribe to it. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-11DK-oyRql0.html
@bmushtaqahmed
@bmushtaqahmed 6 лет назад
In previous video on the local and global indexes, you said global index is one which is created on a column which is not the partition key. and in this video you showed an example for global index where you create an index on ID and the same column is used for partition, as partition key. Please clear me.
@mohitbhandari1106
@mohitbhandari1106 6 лет назад
Can you explain by some example.. where we can use local index and global index and how it is different from normal ? As per my understanding local index will also create on table and normal also, but local will have one to one mapping with partitions so it is faster how it is faster,? if i create a normal index also on ID column it will be faster, am i correct ?
@ramagangireddysingam6317
@ramagangireddysingam6317 5 лет назад
Thanks Vivek for making this video, i have one question , Is it possible to use local indexes on pratiton table which is in OLTP.?
@sjk_88
@sjk_88 3 года назад
What is the default if we create an index without mentioning local or global, on a partitioned column?
@hiteshkasar7911
@hiteshkasar7911 6 лет назад
could you please share PPT with us
@TechCoach
@TechCoach 6 лет назад
Sure I will share it soon, I would really appreciate if you help me in my new Initiative "An Indian Abroad" by subscribing viewing and sharing. ru-vid.com
@Northwest521
@Northwest521 5 лет назад
Beautifully explained. Lot of questions I had have been answered just in this one video. My only suggestion is, if you could run those commands, show the difference in explain plans, it would've been very helpful.
@TechCoach
@TechCoach 5 лет назад
Thanks for the feedback , I will come up with a video soon :).Meanwhile I have a small request, I am working on this new channel and would really appreciate if you watch and subscribe to it. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-IP2Vn6jK8Hg.html
@dipankarganguli
@dipankarganguli 5 лет назад
very nicely explained, thank you
@bharatgelani4258
@bharatgelani4258 4 года назад
local non prefix index will not use partition pruning? would you please help on this?
@TechCoach
@TechCoach 4 года назад
Local index will always be part of the partition key so if we use them in the where clause partition pruning will happen.
@sandipjena
@sandipjena 5 лет назад
Hi Vivek, I created table as per your slide and queried "SELECT * from user_segments where segment_name = 'TRAN_PART_IDX_DEMO' ;" but I am getting result. I have not inserted any data then how segments are created as you have told no segmemt will create until and unless I insert data into table. My user_Segment table shows both the partition that I created on table TRAN_PART_IDX_DEMO. Please suggest.
@TechCoach
@TechCoach 5 лет назад
Hi Sandip, Let me review if I have misstated anything.Thanks for bringing it to my notice.
@TechCoach
@TechCoach 5 лет назад
Hi Sandip, I have verified in oracle 12c, The entry was made to user_segments only after I inserted a row in the table. Can you please confirm which version are you using?, I had verified this in past in oracle 11g as well. Unfortunately I don't have 11g anymore
@daviddelarosa1801
@daviddelarosa1801 5 лет назад
ujuuum
@morebowmore
@morebowmore 4 года назад
What are the usecases of Local index?
@TechCoach
@TechCoach 4 года назад
They are very useful for performance optimization.you can think of them as a normal index but instead of table they are restricted to the individual partitions.I hope this helps
@write2subho83
@write2subho83 5 лет назад
Hi Vivek, If I am using a composite partition strategy in one of my production table how should I partition my indexes using local prefix index partitioning in this case?
@TechCoach
@TechCoach 5 лет назад
Can you share some more details? I will be able to help you better than.
@write2subho83
@write2subho83 5 лет назад
@@TechCoach My question is if I have a hash-range partition (let's assume this is the composite partition strategy) in one of the tables and I have a local index but not on the partition key(non prefix), then on which partition key the indexes will be partitioned (hash or range)?
@sireeshaas7680
@sireeshaas7680 4 года назад
@@write2subho83 I think that local index will have same range boundaries as the composite partioning of the table (i.e Index will have partitions based on both Hash & Range )
@siddharthavarshney5847
@siddharthavarshney5847 5 лет назад
you explain things in a very simple manner. very very useful. thanks much
@TechCoach
@TechCoach 5 лет назад
Thanks for the kind words Siddhartha I have a small request, I am working on this new channel and would really appreciate if you watch and subscribe to it. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-QrpPc-WNjoU.html
@siddharthavarshney5847
@siddharthavarshney5847 5 лет назад
@@TechCoach surely btw, in case of a local non-prefixed index, though majority of times there will be no partition pruning but there are times when partition pruning takes place in non-prefixed indexes as well. Take a look at this link asktom.oracle.com/pls/apex/asktom.search?tag=use-nonprefix-local-index
@shbhmgpt48
@shbhmgpt48 6 лет назад
Thanks a lot :)
@TechCoach
@TechCoach 6 лет назад
Thanks a lot for the kind words, I am working on this initiative, a new youtube channel named "an Indian Abroad" I would really appreciate if you watch, subscribe and share the video with your friends. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-HBQHekM1U2c.html
@shbhmgpt48
@shbhmgpt48 6 лет назад
Tech Coach Sure bro.. I am looking for some tutorials on oracle cloud as well... it will be really helpful if you start posting step-by-step guide videos for the same...
@TechCoach
@TechCoach 6 лет назад
Good idea shubham, I will note it :)
@Parvej669
@Parvej669 4 года назад
Nice explanation
@TechCoach
@TechCoach 4 года назад
Thanks G track for the kind words :)
@marianfernandes
@marianfernandes 6 лет назад
Perfect
@TechCoach
@TechCoach 6 лет назад
Thanks for the kind words. I have a small request I am working on this new channel "An Indian abroad" and will really appreciate if you watch and subscribe to it. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-11DK-oyRql0.html
Далее
Partitioning Enhancements in oracle 12c
8:32
Просмотров 9 тыс.
Indexes in Oracle :Index Scan Methods :Part 2
30:18
Просмотров 36 тыс.
Обменялись песнями с POLI
00:18
Просмотров 110 тыс.
Range Partitioning in Oracle
15:00
Просмотров 24 тыс.
What is a Local index on a partitioned table?
5:25
Просмотров 3,9 тыс.
Reference partitioning in Oracle 11g
9:49
Просмотров 10 тыс.
Hash Partitioning in Oracle
16:25
Просмотров 29 тыс.
Oracle Database-Partitioning
5:58
Просмотров 17 тыс.
Reverse Key Index :Types of Btree Index in Oracle
15:44
List partitioning in Oracle : Part 3
23:37
Просмотров 28 тыс.
How do indexes make databases read faster?
23:25
Просмотров 66 тыс.
Indexing in Oracle :B-Tree,Bitmap Indexing
25:47
Просмотров 89 тыс.