Creating Indexes on partitioned tables

  Рет қаралды 7,383

SQL and Database explained!

SQL and Database explained!

Күн бұрын

Пікірлер: 9
@Firatayrilik
@Firatayrilik 11 ай бұрын
Do indexes make queries on partitioned tables even faster? For example, for the index on "customer" column in this video, for which type of queries does the index become more efficient?
@DatabaseDude
@DatabaseDude 11 ай бұрын
Maybe faster...maybe slower. The same rules apply - namely, do we reduce the amount of IO, and does the benefit outweigh the cost of keeping that index up to date.
@alessioruggi9676
@alessioruggi9676 8 ай бұрын
I want to ask something that could seems trivial, but i can't find online nothing that txplains it well. Why status for partitioned index is "N/A"? i've been able only yo find this definition "N/A indicates that index is a partitioned index, not applicable for User_indexes and dba_indexes need to view with user_ind_partitions and dba_ind_partitions." I can't really get what the part after the comma means, and also what the N/A stands for?
@DatabaseDude
@DatabaseDude 8 ай бұрын
N/A means the status is determined at a lower level. For example, if you have 8 partitions in an index, and 3 are "unusable" and 5 are "usable", then you really can't make a statement about the overall status of the index, hence "N/A"
@alessioruggi9676
@alessioruggi9676 8 ай бұрын
@@DatabaseDude thanks a lot!
@SudhirBhajnawale
@SudhirBhajnawale 2 жыл бұрын
Very well explained. Thanks
@giorgio89458
@giorgio89458 Жыл бұрын
Hello! what happens if I add the clause "UPDATE INDEXES" even if I drop a partition with a local partitioned index? will it give me some errors?
@DatabaseDude
@DatabaseDude Жыл бұрын
it will work fine
@carolinestone1977
@carolinestone1977 3 жыл бұрын
xcjek vun.fyi
What is a Local index on a partitioned table?
5:25
SQL and Database explained!
Рет қаралды 4,1 М.
Even faster than DBMS_PARALLEL_EXECUTE
10:44
SQL and Database explained!
Рет қаралды 4,2 М.
When you have a very capricious child 😂😘👍
00:16
Like Asiya
Рет қаралды 18 МЛН
Арыстанның айқасы, Тәуіржанның шайқасы!
25:51
QosLike / ҚосЛайк / Косылайық
Рет қаралды 700 М.
Primary Key options for Partitioned Tables
16:40
SQL and Database explained!
Рет қаралды 1,5 М.
Partitioning in Oracle - Performance Basics
28:35
Tech Coach
Рет қаралды 54 М.
Oracle Database-Partitioning
5:58
Oracle
Рет қаралды 18 М.
Golf Training Just Got SMARTER With This Device!
8:43
Freddie Meikle Golf
Рет қаралды 32
Which rows are locked in my database?
7:15
SQL and Database explained!
Рет қаралды 1,4 М.
My THREE rules for SQL TUNING
12:45
SQL and Database explained!
Рет қаралды 4,5 М.