2
votes
1answer
737 views

After truncating a single partition its Primary key's index becomes unusable and all inserts/updates into that partition fail

I have a partitioned table: SAMPLE_PARTITIONED_TBL with 60 partitions (no sub-paritions) based on the PERIOD_ID numeric field (Data set: 201001...201212.. and so on). This table has several local ...
-2
votes
1answer
62 views

Best indexing for users table [closed]

This scenario occurs so many times (for almost every website) that I thought I would ask here: What would be best indexing for a users table: Edit: I think index on email-addresses and username may ...
4
votes
2answers
1k views

Determine Index Compression Candidates Online

By doing the following I can determine if an index will benefit from compression and how many columns should be included in the compression: ANALYZE INDEX Owner.IndexName VALIDATE STRUCTURE OFFLINE; ...