I have a requirement to drop multiple partitions for a table every month. The table has been partitioned based on the year and month and has partitioned local indexes 1.since the indexes are local ,I believe they get dropped with the partition and no other action (rebuild index) is required .the table doesnt have any global index 2.Should gather stats be called after every drop partition or is it okay to do that after all the partitions are dropped(4/5 at a time)
what happens to partitioned local indexes after a table partition is dropped oracle
330 Views Asked by user9668693 At
1
There are 1 best solutions below
Related Questions in ORACLE
- sqlplus myusername/mypassword@ORCL not working with Oracle on Docker
- Oracle setting up on k8s cluster using helm charts enterprise edition
- Oracle Managed Data Access Client can't work from IIS but work for local debug environment
- If composite indexing created - indexing is called?
- Oracle Http server ISNT-07551
- why here not creating table?
- Data migration from Oracle Database Clob to GCP Bucket
- SQL Alchemy custom type, forcing blob bind parameter
- How to send message to syslog agent in plsql
- Whatever the data available in previous record it should add to the new record
- I have an Oracle SQL query that is giving me a "ORA-00918: column ambiguously defined" error on a line that is a comment line
- 'ORA-12170: TNS:Connect timeout occurredORA-12170: TNS:Connect timeout occurred' ERROR while working on oracle with laravel
- Is their any way i can open parallel query tabs
- VSCode Libraries not showing for New Java Project
- I can't ssh to my instance, Connection refused
Related Questions in TABLE-PARTITIONING
- Deleting data from MySQL table periodically
- How to create future partitions for already partitioned table
- Why does Spark shuffle the data while joining two partitioned & bucketed tables
- Storing table as one row per key vs partitioned files of records
- MySQL RANGE table partitioning by months for 2 years records
- How to split this partition table using values less than and not get ORA-00906
- Create Table fails because it is being used by active queries in this session
- How to choose between partitioned table vs partitioned view?
- PostgreSQL unique constraint on partitioned table must include all partitioning columns
- what happens to partitioned local indexes after a table partition is dropped oracle
- Main table update call trigger on partition
- Calculating Percentile on large SQL tables
- Postgresql Sqlalchemy dynamic table partition creation issue
- I want to divide a table into two half such that the number of rows and sum of amount column is similar
- SQL Server Partitioning on a table that could update data in older partitions
Related Questions in TABLE-INDEX
- what happens to partitioned local indexes after a table partition is dropped oracle
- How to optimize complex calculation query execution time?
- Extracting unique result and reducing cost in star schema in postgres
- C# EF Index based on entity field and owned value object field
- UITableView: Can't find a way to move/align the tableIndex element up
- dbWriteTable removes primary keys and indexes in MySQL
- How to improve the performance of my query
- JQuery table search filter side effect: Messed navigation because of row indezes
- Batch query to a GSI in DynamoDB?
- a set indexed objects in ArrayList - is it possible?
- MS SQL Server not using index when WHERE has IN with more than 6 values
- Using a sub-string of the column name in creating index in CockroachDB
- Stored Proc /Table Index Improvement
- Index on (col1, col2) and Index on (col2, col1)
- Clustering Factor and Unique Key
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Local indexes are bound to the table partitions, so if you drop a table partition the corresponding local index partition evaporates along with it.
Similarly the stats at partition level will be fine, because the remaining partitions retain all the metadata associated with them.
Global stats are always worth taking a look at after a maintenance operation. Newer releases of Oracle will automatically try to make a reasoned assessment of the new global stats, eg
but things like distinct keys, column level stats etc depend a lot on what kind of stats you are collecting, whether you have synopses etc