Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Adding Index to Standard Table

Former Member
0 Kudos

Hello experts

I have a doubt, that can we add an index to a field to the standard table(ALALERTDB) is that possible?

Thanks in Advance

Sameer

4 REPLIES 4

Former Member
0 Kudos

Hi Sameer,

you can add index to the standard tables. click on secondary indexes button and create.

reward if it helps,

Satish

Former Member
0 Kudos

Hi,

you can create index for standard table like ALALERTDB. Just click on <b>INDEXES</b> and then click on Create on Pop out. You can follow the step after that.

Regards,

Amit

Former Member
0 Kudos

Yes - you can add an index, but I think it's better to find a programming solution. Adding indexes can have unwanted effects on large tables and/or tables that are updated frequently on-line.

Rob

Former Member
0 Kudos

Hi,

You can add an index to the standard program.

An index is a copy of a database table that is reduced to certain fields. This copy is always in sorted form. Sorting provides faster access to the data records of the table, for example, when using a binary search.

A table has a primary index and a secondary index. The primary index consists of the key fields of the table and is automatically created in the database along with the table.

You can also create further indexes on a table in the Java Dictionary. These are called secondary indexes.

This is necessary if the table is frequently accessed in a way that does not take advantage of the primary index. Different indexes for the same table are distinguished from one another by a separate index name. The index name must be unique. Whether or not an index is used to access a particular table, is decided by the database system optimizer. This means that an index might improve performance only with certain database systems. You specify if the index should be used on certain database systems in the index definition. Indexes for a table are created when the table is created (provided that the table is not excluded for the database system in the index definition). If the index fields represent the primary keys of the table, that is, if they already uniquely identify each record of the table, the index is referred to as an unique index.

Procedure

...

1. Choose the Indexes tab.

2. To create an index, choose New.

3. Enter a name for the index. Index names, like table names, also have a prefix, followed by an underscore.

If the name of an index was registered on the name server, it cannot be deleted.

4. To select table fields, choose New.

5. if the index is a unique index,

6. If the index is used for all databases, choose and whether it is to be created for all databases. Choose the appropriate checkboxes.

7. Choose File® Save All Metadata.

Regards,

Maha