This is a discussion on Can this be done within the Oracle Database forums, part of the Database category; Is it possible to create index on audit table and if so can someone mention me how to do that ...
|
|||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Can this be done
Is it possible to create index on audit table and if so can someone mention me how to do that and an instance of when a user would require the indexing on audit table. Kindly envisage my knowledge in this concept.
|
| Sponsored Links |
|
|||
|
Yes you can very well create index on audit table. One instance when you can go for indexing on audit table is when you have millions of records in you database and also when you have instances of querying your audit table. In that instance for increasing performance you must do indexing on audit table.
Suppose you want to create indexing on audit table date field named as auddate you can create indexing on audit table as below: create index sample_inde on audit(to_char(auddate,'mm.yyyy')); |
| Sponsored Links |