How to use secondry index
Hi Experts,
I have a requirement to improve the performance of report,So i got some select querys there non primery keys are used for table VBAK,VBAP,LIKP,LIPS so i want to create secondry index for that,Any one can help me for that means after create secondry index how to use that index in report and for create secondry index required any MANDT field or Not.
Thanks.
Hello Ram,
Before creating secondary index you need to know the below points.
1) Do not create more indices on table
2) What is the frequency of table access
3) You should not create too much columns(should be less than 120 characters)
4) Cant you use existing indices?
5) DML operation will be delayed if you create index
Before moving to Production system please consider below the points.
1) Ask BASIS to create index in DB level then move your DDIC transport which will be faster
2) While creating index if the DB size is like more than 500 GB then downtime is required
Regards,
Vadamalai A
Similar Messages
-
How to create secondry index on database table
how to create secondry index on database table
Hi
By trx SE11:
- Choose your table and press CHANGE ICON, so INDEX
When you create an index you should consider if your index is contained in another index.
If the fields of your index are:
- FIELD1, FLIED2, FIELD3
...it'll be triggered only if the select is:
SELECT * FROM <TABLE> WHERE FIELD1
AND FIELD2
AND FIELD3
A select like this
SELECT * FROM <TABLE> WHERE FIELD1
AND FIELD3
AND FIELD2
doesn't use your index.
Max -
How to use the index method for pathpoints object in illustrator through javascripts
hii...
am using Illustrator CS2 using javascripts...
how to use the index method for pathpoints object in illustrator through javascripts..Hi, what are you trying to do with path points?
CarlosCanto -
Any body help me.please tell me how to create secondry index.
Thanks & Regards,
RakeshHi
Goto SE11 and give the table name
then click on Indexes which is in application toolbar
then on that dialog box click on CREATE
then give a name for ur index starting with Y or Z
then select the fields from that table for indexes.
then save in package
then activate it
thats all
follw the above steps for creating.
If helpful reward points
Regards
Navneet -
How to use cfloop index value as part of another variable
Hello,
I have a RATE form that first asks "how many rates will you
be adding?" that answer generates a series of form elements based
on the answer. You then have a form grid to populate, 3 values for
each rate (price, code, name).
This part works fine. The issue is now I need to INSERT the
values into the table, so I need to use the INDEX value of the
cfloop to recreate the amount (and names) of the fields in the
INSERT statement. How do I escape, or re-create the evaluated form
elements ( in which their count is #i# as the loop goes) when I
need to evaluate for #i# AND evaluate for #form.sku_i_name# at the
same pass?
I am passing, for example, #form.sku_2_Name# where that might
equal "Half Page". The number 2 in that variable was assigned
during the form creation by the current index of a cfloop. Since my
action (insert) page does not know how many (out of 50 possible)
sku's are coming, how do I use the skuCount (another hidden value
passed as well) to create a proper INSERT SQL command when I need
to eval the form element and the index at the same time?
Obviously #sku_#i#_Name# does not work, and #sku_i_Name# does
not either... I know this can be done, and that I am just doing it
wrong.
Thanks for any help!bigbrain28 wrote:
> Thank You, cfsearching! I don't quite understand 100%
how it works
As all three of us indicated you use array notation for this
type of
requirement. In ColdFusion you can use array notation or dot
notation
to access structure data. Almost all data in ColdFusion is
now some
type of structure.
I.E. #Form['myField']# is the same as #Form.myField#.
The advantage is that with array notation you can do things
you can not
do with dot notation. You can reference elements that have
keys that
are illegal variable names such as one with a space.
I.E. #url['my field'] is allowed, #url.my field# would fail
or course.
And you can concatenate the key string as we did with your
example.
I.E. #Form['aString' & aVariable]#
There are many powerful things one can do with this
knowledge. One can
access record sets with array notations. This can allow for
very
sophisticated parsing of a record set.
I.E. #myQuery['column'][row]#
You can dynamical call a variable. Thus creating dynamic code
that does
not even need to know what variables exist until run time.
I.E. #variables[anyName]#
This just scratches the surface. -
Hi,
Can someone tell me how can I use a index of row?
I want to see if any value is repeated in a column something like
declare
x number;
type my_table is table of number;
var_c1 my_table;
begin
for i in 1..6 loop
select round(dbms_random.value(1, 49),0) bulk collect into var_c1 from dual;
if var_c1(i) = var_c1(i).next then
dbms_output.put_line(var_c1(1));
end if;
end loop;
end;
thank youI am sorry but I do not understand the question.
If you want to see if each row is unique just try and create a unique index on the column or select column_name, count(column_name) group by column_name order by 2 or something similar.
John
www.jhdba.wordpress.com -
Hi, I want to speed up a search that return a large number of users. For what I understood I need to create a Browsing index. I've created a browsing index following instruction on the Admin manual, but I really don't understand how to use it ?
After creating the index (ldapmodify + vlvindex), are this index used by default if the search mach the vlvbase and vlvfilter ?
ThanxSorry I don't know why I don't see the [notes=u] in the access log but it seam the my vlv is not created at all.
When i run vlvindex I get the following error:
[18/Feb/2005:12:28:01 +0100] - userRoot: Indexing VLV: Sort SN
[18/Feb/2005:12:28:02 +0100] - userRoot: Indexed search unsuccessful, will perform unindexed search instead.
No vlv#.... files are created in the db directory, so I think no vlv index are created.. -
when we will use bitmap index in oracle?
hi,
you can take a look this documents
http://dylanwan.wordpress.com/2008/02/01/bitmap-index-when-to-use-it/
http://www.oracle.com/technetwork/articles/sharma-indexes-093638.html
regards, -
How to use search index created by jhindexer
Hi i have created a JavaHelp set using Docbook which works ok but the search doesnt work. I then discovered jhindexer and have sucessfully used it to create a directory called index containing the index (DOCs,DOCS.TAB etc) in the same directory as the html files but it still doesnt work.
I guess i have to modify one off my javaHelp files (jhelpidx.xml,jhelpset.hs) to point to this index but cant find any info on this.
Can anyne help me please.place the snippet below into your HelpSet File (.hs), the helpset file should be in the same directory as the JavaHelpSearch folder where your index files are located. See the structure:
/foo.hs
/JavaHelpSearch/DOCS
/JavaHelpSearch/OFFSETS
---- snippet -----
<view>
<name>Search</name>
<label>Suche</label>
<type>javax.help.SearchView</type>
<data engine="com.sun.java.help.search.DefaultSearchEngine">JavaHelpSearch</data>
</view>
---- snippet -----
And read the supplied PDF documentation, because if you have problems with this, you will have even more problems with some more advanced stuff. -
Hi abapers,
Iam creating secondary index for the database table MSEG. ....How to write select query for the secondary index that i have created..
Regards,
Ramyahow to create secondary index in tables
https://forums.sdn.sap.com/click.jspa?searchID=933015&messageID=2971112
Guidelines to create secondary index
https://forums.sdn.sap.com/click.jspa?searchID=933015&messageID=2009801
Secondary index;
http://help.sap.com/saphelp_47x200/helpdata/en/cf/21eb2d446011d189700000e8322d00/content.htm
this will definitely help you, dont forget to award points if found helpful -
How to use the delta index in TREX?
We have been using TREX with EP KM for 2 years.
However we never used the delta index functionality.
Could you share your experience on how to use delta indexes?
Thanks!Hai,
Please check the below link.....
http://help.sap.com/saphelp_nw70/helpdata/EN/d9/0418418291a854e10000000a1550b0/frameset.htm
Regards,
Yoganand.V -
How to make an index use in a query execution
Hi,
I have the below query for which ename column has an index. As of my knowledge below queries 1st and 2st will not use index. Hence i used the 3rd statement and that too its not using the index. Finally i used the 4th query, but even the 4th query is not using the index. Then how do i make this query to use my index??? Do i need to create a function based index for this??? Is that the final option????
1. select * from emp where ename !='BH' ;
2. select * from emp where ename <> 'BH';
3. select * from emp where ename not in ('BH');
4. select * from emp where ename < 'BH' or ename > 'BH';
Regards,
007
Edited by: 007 on Jun 6, 2013 7:56 AM
Edited by: 007 on Jun 6, 2013 8:06 AM
Edited by: 007 on Jun 6, 2013 8:06 AM
Edited by: 007 on Jun 6, 2013 8:06 AM
Edited by: 007 on Jun 6, 2013 8:12 AMSorry 007, I really thought you were posting a trick question as on the OCP tests.
Anyway, as Justin mentioned, if you have an index on ename, it may be used when doing a comparison predicate statement with the ename value.
What it depends on are several other things: stats, how many rows in the table, use of an index hint, etc.
Rather than questioning the group on this, why not just turn on autotrace and run the query for the different scenarios.
The output will show you if it used the index, number of rows returned, blocks read, etc.
SQL> create table emp (ename varchar2(40));
Table created.
SQL> insert into emp select username from sys.dba_users;
25 rows created.
SQL> commit;
Commit complete.
SQL> set autotrace on
SQL> select * from emp where ename != 'SYSTEM';
Execution Plan
Plan hash value: 2951343571
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 24 | 528 | 1 (0)| 00:00:01 |
|* 1 | INDEX FULL SCAN | ENAME_IDX | 24 | 528 | 1 (0)| 00:00:01 |
Predicate Information (identified by operation id):
1 - filter("ENAME"<>'SYSTEM')As you can see, the above used an index, even though there were only 25 rows in the table.
You can test each of your scenarios, one by one, including use of a hint. -
How to make an index in InDesign CC 2014.1 using a topics list?
Hi all,
I have read the long help document on how to make an index in InDesign CC 2014.1 using a topics list, and still can't work out what to do.
I have done a 548 page book, using a document for each chapter, and a book file to put them all together in the right order.
I now need to make an index at the back, as the author has many quotes throughout the book at the start of each chapter and section.
I have a list of those people quoted and want to upload this list and get the index feature in InDesign to find all instances of the name occurring in the entire book.
After reading the help document I still cannot work out how to do this.
My questions are:
1. Do you have to use an InDesign document as a source for the list of topics? If so, should the document be added to the book file or outside it?
It seems a bit recursive to have the list of topics in an ID document that is in the book file.
2. Once you have uploaded the topics into the Index feature, how do you get it to look for all instances of that 'topic' througout the entire book? I can't figure that out from the help documents. What do I select? Do I do it from the Index panel? Do I highlight the text in the source document? Not sure how to do this...
3. I need the names to list surname first of the quoted authors in the index. This command seems to be different between various editions of ID. For ID CC 2014.1 is it ctrl+alt+shift+]
4. To make the surname show first, what do I highlight? The topic? and then do ctrl+alt+shift+] and select find all as well? Or do I have to just go through the text and manually do this and ditch the idea of uploading topics first?
I am confused as you can see and any help with this is appreciated.Sorry 007, I really thought you were posting a trick question as on the OCP tests.
Anyway, as Justin mentioned, if you have an index on ename, it may be used when doing a comparison predicate statement with the ename value.
What it depends on are several other things: stats, how many rows in the table, use of an index hint, etc.
Rather than questioning the group on this, why not just turn on autotrace and run the query for the different scenarios.
The output will show you if it used the index, number of rows returned, blocks read, etc.
SQL> create table emp (ename varchar2(40));
Table created.
SQL> insert into emp select username from sys.dba_users;
25 rows created.
SQL> commit;
Commit complete.
SQL> set autotrace on
SQL> select * from emp where ename != 'SYSTEM';
Execution Plan
Plan hash value: 2951343571
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 24 | 528 | 1 (0)| 00:00:01 |
|* 1 | INDEX FULL SCAN | ENAME_IDX | 24 | 528 | 1 (0)| 00:00:01 |
Predicate Information (identified by operation id):
1 - filter("ENAME"<>'SYSTEM')As you can see, the above used an index, even though there were only 25 rows in the table.
You can test each of your scenarios, one by one, including use of a hint. -
How do I use the Index Values property node with a multidimensional array.
I am using a 2D array to store operator inputs on my front panel. I only want to display one element to the operator at a time. I am trying to use the Index Values property node to change the displayed element. However, I can only get the Rows index to work. How do I direct the Columns index as well? The help says to use one per dimension. I need clarification on what this is talking about. I've tried adding a second element to the property node, 2 seperate property nodes, and diferent wiring techniques. (series, parallel)
If you only wire up one of the inputs (col or row) what you get out is a 1D array of either the column or row. If you wire controls to both, then you will get one element out of the array. Getting a single element in a 2D array requires you to specify both a row and column.
Message Edited by Dennis Knutson on 02-08-2007 08:34 AM
Attachments:
Index 2D Array.PNG 2 KB -
How to find BW Indexes not used in a long time
Hello all,
I am attempting to find out which indexes have not been used in the last 2 years in a effort to eliminate indexes from our BWA environment. Is there a way I can query our BW environment to figure this out? Is there a table, or group of tables in combination, that might be able to help me out here?
Thanks to you all.Thanks for such a quick response.
I am assuming the following about the table :
- Column u201CCALDAYu201D contains a date value for each day the Index is active.
- Column u201CBIA_USEDu201D contains a value that is iterated for the given day each time the Index is used.
- Column u201CBIA_NOTPOSSIBLEu201D contains a value representing how many times a query could not access this Index.
- Column u201CNO_BIAu201D tells if a BWA Index exists at all on any of my BWA Blades
- Column u201CBIA_TECHINAu201D ????????
- Column u201CBIA_INAu201D ???????
- Column u201CDB_FALLBACKu201D ???????
I am not sure if my understanding of the column is correct. Can you tell me they are? The columns with u201C???????u201D mean I have no solid understanding of how to use these columns at all.
Thanks
Maybe you are looking for
-
Email Problems: WiFi Fine EDGE Doesn't Work
I can send and receive email with wi-fi no problem. I can receive when on Edge but I can't send when on Edge. Anyone have any advice? Have I missed some setting that I don't know about?
-
Developing Web based applications using developer 6.0
How best i can use developer 6.0 as a web based application. I have oracle web application server 4.0. Is it possible to develop forms in 6.0 and use through the web application server. null
-
How to create piano UI in Iphone?
0 vote down star Hi, I am newbei in creating such piano based UI application. I am developing an application in which i have to use Piano. How to create piano UI in Iphone? How to create it using Interface builder ? or is there any other way to creat
-
Apple TV requirements for Windows PC
Is it true that I must have Adobe Photoshop Album 2.0 or later, or Adobe Photoshop Elements 3.0 to stream photos from my Windows PC to the Apple TV. Isn't there a way that I can just 'point' iTunes to a windows directory and stream from there?
-
Multiple selection of checkbox in jtable
hi I am using jtable in which first coloumn is using checbox.Ihave used celleditor and cell renderer for that.I want to check multiple checboxes at a time and on click of update button wanto send that information to database.But i m not able to check