Behaviour of Index
I am facing a index issue as described below
My table is a monthly partition table
1 index is bitmap index is local index
Data loading is only direct insert
I am not able to understand why the tree will be imbalanced through a general insert.
The local bitmap index is around 2gb but the each partitions are around 45mb size.But when insert is happening the particular partition of the said index is taking around 2gb space. On analyzing index partition I found the belevel of
that partition to be more than 9
Then I rebuilt the index, and analyzed it again
Sizer came down to 45mb and belevel 1
I want to know why the index is behaving this way
Yachendra
1. Which way of "direct insert" are you using?
2. Are you direct inserting in parallel mode?
Bitmap index generally deals "well" batched dml(eg. insert ... append) - No big space wastage problem.
It seems that you're already using batched dml, but let us make it clear you're adopting a efficient batched dml.
(The bitmap index space management under DML got greatly enhanced in 10g, but you're alreay on 10g)
Similar Messages
-
Structural Authorization Indexing Programs
Hi Experts,
I've performed hiring updates via PA40 and manage to save it using test ID (example:TEST1) - I have no issue to view it straight away using the same test ID. However, other ID (example:TEST2) not able to view it. Other ID can only be able to view it after I executed indexing programs. Is this normal?
I'm searching for solutions in forums and post this message at the same time to experdite. Appreciate your advice for me to enable other users to view the employee details created once it is saved.
Best regards and million thanks in advance.Hi,
I write maybe some general and obvious stuff which is not related to your specific problem but I do it only to leave this post as a reference if someone ends up here using search...
RHBAUS0x-programs index structural authorisations to reduce performance issues which may arise if structural profile is large. This can happen for example in case of higher-level managers or if there is complex requirements to restrict qualifications catalogue or business event menu.
Short description of the programs
RHBAUS02 is used to fill up table T77UU. You can setup threshold value i.e how many object user must have in the structural profile to be considered to require indexing. This program will enter and remove users from table T77UU based on their current position.
RHBAUS01 cleans up INDX table if user was removed from T77UU manually or as a result of running RHBAUS02. You should run this periodically if you use indexing.
RHBAUS00 is the actual indexing program. You can run it for specific users or all (leave user names blank) but the user ids must be in table T77UU.
Standard behaviour of indexing
This is the behaviour regardless of authorisation main switch settings (OOAC).
USER1 has large structural profile and the user id is therefore listed in table T77UU to be indexed to make users access faster. If index is refreshed (RHBAUS00 run) daily 1 am and new vacant position is created same day 7 am by another user; USER1 will see the new position next day after RHBAUS00 has been run or if it is run before that manually. I have seen various ways of trying to get over this issue.
One client tried to run RHBAUS00 every fifteen minutes and ended up crashing their system since first run didn't always finish when new was about to start. Another client created custom tcode for users to refresh their own index. It worked but users had trouble understanding the use and kept forgetting to refresh their index.
Things to consider before indexing and my comments
1. What is good threshold limit?
This can vary between system performance and how much HR is used and what type of reports are being run.
My experiences: I have often increased the value from default 1000 if that can drop lot of users from the indexing. If users complain performance of specific report check the program code and use. I have seen lot of badly coded Z-programs which can cause long run time. Another trick is to use P_ABAP authorisation if the program can be excluded from authorisation checks (office phone directory in ESS) or if user accessing the program has anyway full access to all employees (some payroll transactions for example run by payroll).
2. Can we reduce the size of strtuctural profiles?
- If it is possible to restrict something doesn't mean you should restrict it. I have seen structural profiles where each user was evaluated and they had access to see only qualifications which they currently had. Might sound secure but it is not practical and also stops users to see which qualifications they might want to achieve.
- I try to keep focus on O-S-P -objects unless there is specific request to restrict qualifications and business events. There are other methods of stopping users booking courses held at Hawaii office.
- Check the evaluation path. Sometimes evaluation path returns all object during the path even you are interested only to restrict the last one.
3. Can we use exclusion?
Sometimes HR and CEO has access to everything except something. Instead of listing everything else than the board of directors it is easier to list board of directors and use tick exclusion in OOSB (or in infotype 1017). -
It is a known restriction that DIAdem, and DataFinder coerce spaces to underscores when searching for property names on TDMS files. The Excel Add-in does something similar.
But the TDMS file structure and API apparently supports reading and writing properties with spaces in them. So my question is why does DIAdem and DataFinder not support spaces in the name of properties? This limitation must exist for a reason since if it were a simple fix it probably would have been taken care of years ago, so I'm not asking for this functionality to change just curious.
Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.Hi Brad,
Resurrecting this - it's only a month old, but it's still mild thread necrophilia nonetheless - is there anything in the settings to disable this behaviour if indexing is not of interest to me?
I ask as I've stumbled onto this feature when trying to tweak a saved NaN value in a LV-generated TDMS before uploading it to an SQL database. On saving, I found the behaviour that Hooovahh describes, plus a few additional properties added. Next time I come across this, having been duly burned this first time out, I'll just do it via LV!
CLD -
Hi,
What are the reason for "FULL TABLE SCAN"?.
Kindly provide reason.This is a very abstract question. Ok some of them that came into my mind.
1. If you dont have a index on a column and you are using that column to filter then it goes for a full scan.
2. You have index on the column but still the cost of using the index is heavier than a full scan then oracle goes for a full scan.
So now to know how the cost changes you must spend lot of time reading the behaviour of index. A nice place would be [Richard Foots Blog|http://richardfoote.wordpress.com/]
Thanks,
Karthick. -
Deleted a constraint but its still active???
SQL> Insert into JOB_HISTORY (EMPLOYEE_ID,START_DATE,END_DATE,JOB_ID,DEPARTMENT_ID) values (115,to_date('18-MAY-95',.....
Insert into JOB_HISTORY (EMPLOYEE_ID,START_DATE,END_DATE,JOB_ID,DEPARTMENT_ID) values (115,to_date('18-MAY-95','....
ERROR at line 1:
ORA-00001: unique constraint (HR.JHIST_EMP_ID_ST_DATE_PK) violated
SQL> select * from user_cons_columns where CONSTRAINT_NAME = 'JHIST_EMP_ID_ST_DATE_PK';
no rows selected
SQL> select * from user_cons_columns where table_name = 'JOB_HISTORY';
OWNER CONSTRAINT_NAME TABLE_NAME COLUMN_NAME
HR JHIST_DATE_INTERVAL JOB_HISTORY END_DATE
HR JHIST_DATE_INTERVAL JOB_HISTORY START_DATE
HR JHIST_JOB_NN JOB_HISTORY JOB_ID
HR JHIST_END_DATE_NN JOB_HISTORY END_DATE
HR JHIST_START_DATE_NN JOB_HISTORY START_DATE
HR JHIST_EMPLOYEE_NN JOB_HISTORY EMPLOYEE_ID
HR JHIST_DEPT_FK JOB_HISTORY DEPARTMENT_ID
HR JHIST_EMP_FK JOB_HISTORY EMPLOYEE_ID
HR JHIST_JOB_FK JOB_HISTORY JOB_ID
9 rows selected.
SQL> select * from all_cons_columns where CONSTRAINT_NAME = 'JHIST_EMP_ID_ST_DATE_PK';
no rows selectedOkay am a bit lost here as to what is going on. Have originally explicitly dropped the constraint 'JHIST_EMP_ID_ST_DATE_PK'. Did the above DML, got the error searched for the offending constraint...but its not there as far as the DB is concerned. What gives????
GusYou don't have to create one manually. The mechanism is there to allow you to specify non default settings for the index. i.e. if you create a unique constraint / Primary Key constraint on a column with NO index on it, Oracle will automatically create an index with the defualts (default storage settings, tablespace, uniqueness etc) Pre-creating the index prior to the creation of the constraint allows you manually set non default values (such as those mentioned previously) Note that you can also use the 'using index' clause to achieve the same thing, I haven't tested the behaviour of indexes when dropping constraints in that situation.
An example of where you may want to use this functionality could be to allow you to create a non-unique index on a unique constraint which can allow you to implement the ENABLE NOVALIDATE method of a constraint (e.g. disallowing future inserts/updates of duplicate values, but allowing duplicates on historical data). Or possibly to force an index to be built in a tablespace different to that of the table, or setting a higher than default value for initrans etc etc. -
Hi!
Yesterday I posted an entry about organizing Swing components and adding margins. See: http://forum.java.sun.com/thread.jspa?threadID=699029&messageID=4057473#4057473. I am quite new to these things, so the anwers I got didn't really help me much. Does anyone around here have any ideas?
/PHere is the code:
* LunarPhases.java is a 1.4 example that requires
* the following files:
* Angry: Ekman/0.jpg
* Disgust: Ekman/1.jpg
* Fear: Ekman/2.jpg
* Happy: Ekman/3.jpg
* Sad: Ekman/4.jpg
* Surprise: Ekman/5.jpg
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import java.net.URL;
import javax.swing.filechooser.*;
import java.io.*;
public class MonkeyControl implements ActionListener {
final static int NUM_IMAGES = 6;
final static int START_INDEX = 3;
int fileindex = 0;
//String[] imagefiles = new String[NUM_IMAGES];
ImageIcon[] images = new ImageIcon[NUM_IMAGES];
JPanel mainPanel, selectPanel, displayPanel, audioPanel, buttonPanel;
//JComboBox behaviourChoices = null;
JFileChooser behaviourChooser = null;
JButton chooseBehaviourButton = null;
//JLabel behaviourLabel = null;
JTextArea behaviourArea= null;
JLabel behaviourIconLabel = null;
//JComboBox audioChoices = null;
JButton submitButton = null;
JButton stopButton = null;
JFileChooser audioChooser = null;
JButton chooseAudioButton = null;
JLabel audioLabel = null;
MonkeyClient client = null;
GridBagConstraints gbc;
GridBagConstraints gbct;
public MonkeyControl() {
//Create MonkeyClient
client = new MonkeyClient();
//Create the phase selection and display panels.
selectPanel = new JPanel();
displayPanel = new JPanel();
audioPanel = new JPanel();
buttonPanel = new JPanel();
gbc = new GridBagConstraints();
gbct = new GridBagConstraints();
//Add various widgets to the sub panels.
addWidgets();
//Create the main panel to contain the two sub panels.
mainPanel = new JPanel();
mainPanel.setLayout(new BoxLayout(mainPanel, BoxLayout.PAGE_AXIS));
mainPanel.setBorder(BorderFactory.createEmptyBorder(5,5,5,5));
//Add the select and display panels to the main panel.
mainPanel.add(selectPanel);
mainPanel.add(displayPanel);
mainPanel.add(audioPanel);
mainPanel.add(buttonPanel);
audioPanel.setLayout(new BoxLayout(audioPanel, BoxLayout.Y_AXIS));
//selectPanel.setLayout(new BoxLayout(selectPanel, BoxLayout.Y_AXIS));
selectPanel.setLayout(new GridBagLayout());
buttonPanel.setLayout(new BoxLayout(buttonPanel, BoxLayout.X_AXIS));
* Get the images and set up the widgets.
private void addWidgets() {
//Get the images and put them into an array of ImageIcons.
for (int i = 0; i < NUM_IMAGES; i++) {
images[i] = createImageIcon("/Ekman/" + i + ".jpg");
* Create a label for displaying the behaviour images and
* put a border around it.
behaviourIconLabel = new JLabel();
behaviourIconLabel.setHorizontalAlignment(JLabel.CENTER);
behaviourIconLabel.setVerticalAlignment(JLabel.CENTER);
behaviourIconLabel.setVerticalTextPosition(JLabel.CENTER);
behaviourIconLabel.setHorizontalTextPosition(JLabel.CENTER);
behaviourIconLabel.setBorder(BorderFactory.createCompoundBorder(
BorderFactory.createLoweredBevelBorder(),
BorderFactory.createEmptyBorder(5,5,5,5)));
behaviourIconLabel.setBorder(BorderFactory.createCompoundBorder(
BorderFactory.createEmptyBorder(0,0,10,0),
behaviourIconLabel.getBorder()));
//Create a combo box with behaviour choices.
/*String[] behaviours = { "Anger", "Disgust", "Fear",
"Happiness", "Sadness", "Surprise"};
behaviourChoices = new JComboBox(behaviours);
behaviourChoices.setSelectedIndex(START_INDEX);*/
behaviourChooser = new JFileChooser("C:/Documents and Settings/paulina/My Documents/Animatronics on Rachel's Computer (18.85.44.141)/monkey_control/movements");
chooseBehaviourButton = new JButton("Select behaviour file");
chooseBehaviourButton.setActionCommand("choose behaviour");
chooseBehaviourButton.setVerticalAlignment(JButton.CENTER);
chooseBehaviourButton.setHorizontalAlignment(JButton.CENTER);
gbc.insets = new Insets(10,10,10,10); //padding
gbc.anchor = GridBagConstraints.WEST;
//behaviourLabel = new JLabel(" Behaviour file");
behaviourArea = new JTextArea();
behaviourArea.setEditable(true);
gbct.insets = new Insets(10,10,10,10); //padding
gbct.anchor = GridBagConstraints.EAST;
//Create a combo box with audio files.
/*String[] soundclip = { "Ding", "Disgust", "Fear",
"Happiness", "Sadness"};
audioChoices = new JComboBox(soundclip);
behaviourChoices.setSelectedIndex(START_INDEX);*/
//Create a file chooser for audio clips
audioChooser = new JFileChooser("C:/Documents and Settings/paulina/My Documents/Animatronics on Rachel's Computer (18.85.44.141)/monkey_control/sounds");
chooseAudioButton = new JButton("Select audio file");
chooseAudioButton.setActionCommand("choose audio");
//Create label for displaying chosen file
audioLabel = new JLabel(" Audio file");
//FileFilter filter = new FileFilter();
//filter.addExtension("wav");
//filter.setDescription("Wav audio files");
//audioChooser.setFileFilter(filter);
//Create a button for sending the data.
submitButton = new JButton("Send");
submitButton.setActionCommand("submit");
//Create a button for stopping.
stopButton = new JButton("Stop");
stopButton.setActionCommand("stop");
//Display the first image.
behaviourIconLabel.setIcon(images[START_INDEX]);
behaviourIconLabel.setText("");
//Add a border around the select panel.
selectPanel.setBorder(BorderFactory.createCompoundBorder(
BorderFactory.createTitledBorder("Select Behaviour"),
BorderFactory.createEmptyBorder(5,5,5,5)));
//Add a border around the display panel.
displayPanel.setBorder(BorderFactory.createCompoundBorder(
BorderFactory.createTitledBorder("Display Behaviour"),
BorderFactory.createEmptyBorder(5,5,5,5)));
//Add a border around the display panel.
audioPanel.setBorder(BorderFactory.createCompoundBorder(
BorderFactory.createTitledBorder("Choose Audio Clip"),
BorderFactory.createEmptyBorder(5,5,5,5)));
// //Add space around the components.
behaviourArea.setBorder(BorderFactory.createEmptyBorder(10,5,10,5));
chooseBehaviourButton.setBorder(BorderFactory.createEmptyBorder(5,5,5,5));
behaviourArea.setBorder(BorderFactory.createEmptyBorder(5,5,5,5));
//Add Swing components
displayPanel.add(behaviourIconLabel);
selectPanel.add(chooseBehaviourButton, gbc);
selectPanel.add(behaviourArea, gbct);
audioPanel.add(chooseAudioButton);
audioPanel.add(audioLabel);
buttonPanel.add(submitButton);
buttonPanel.add(stopButton);
//Listen to events from ComboBox and submitButton.
//behaviourChoices.addActionListener(this);
submitButton.addActionListener(this);
stopButton.addActionListener(this);
chooseAudioButton.addActionListener(this);
chooseBehaviourButton.addActionListener(this);
//audioChoices.addActionListener(this);
public void actionPerformed(ActionEvent event) {
String behaviour = null;
//not used
if ("comboBoxChanged".equals(event.getActionCommand())) {
//Update the icon to display the new phase.
//behaviourIconLabel.setIcon(images[behaviourChoices.getSelectedIndex()]);*/
else if ("choose audio".equals(event.getActionCommand())) {
int returnVal = audioChooser.showOpenDialog(chooseAudioButton);
if(returnVal == JFileChooser.APPROVE_OPTION) {
audioLabel.setText(" " + audioChooser.getSelectedFile().getName());
else if ("choose behaviour".equals(event.getActionCommand())) {
System.out.println("Behaviour: " + (behaviourArea.getText()).trim());
int returnVal = behaviourChooser.showOpenDialog(chooseBehaviourButton);
if(returnVal == JFileChooser.APPROVE_OPTION) {
behaviour = (behaviourChooser.getSelectedFile().getName());
setBehaviourImage(behaviour);
behaviourArea.append(behaviour + ";");
else if("submit".equals(event.getActionCommand())) {
behaviour = (behaviourArea.getText().trim());
//syntax: behaviour, audiofile
try {
if (behaviour.endsWith(";")){
behaviour = behaviour.substring(0,(behaviour.length()-1));
System.out.println("Behaviour: " + behaviour);
client.sendData(behaviour, audioLabel.getText().trim());
} catch (IOException e) {
System.err.println(e);
//e.printStackTrace()
else if("stop".equals(event.getActionCommand())){
try {
client.sendData("stop", "stop");
}catch(IOException e){
System.err.println(e);
/** Returns an ImageIcon, or null if the path was invalid. */
protected static ImageIcon createImageIcon(String path) {
java.net.URL imageURL = MonkeyControl.class.getResource(path);
if (imageURL == null) {
System.err.println("Resource not found: "
+ path);
return null;
} else {
return new ImageIcon(imageURL);
* Create the GUI and show it. For thread safety,
* this method should be invoked from the
* event-dispatching thread.
private static void createAndShowGUI() {
//Make sure we have nice window decorations.
JFrame.setDefaultLookAndFeelDecorated(true);
//Create a new instance of MonkeyControl.
MonkeyControl phases = new MonkeyControl();
//Create and set up the window.
JFrame MonkeyControlFrame = new JFrame("Monkey Control");
MonkeyControlFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
MonkeyControlFrame.setContentPane(phases.mainPanel);
//Display the window.
MonkeyControlFrame.pack();
MonkeyControlFrame.setVisible(true);
public static void main(String[] args) {
//Schedule a job for the event-dispatching thread:
//creating and showing this application's GUI.
javax.swing.SwingUtilities.invokeLater(new Runnable() {
public void run() {
createAndShowGUI();
public void setBehaviourImage(String behaviour) {
int index = 0;
//String behaviour = (behaviourArea.getText()).trim();
System.out.println("beh: " + behaviour);
if(behaviour.equals(("monkey_angry.txt")))
index =0;
else if(behaviour.equals(("monkey_disgusted.txt")))
index = 1;
else if(behaviour.equals(("monkey_fearful.txt")))
index=2;
else if(behaviour.equals(("monkey_happy.txt")))
index=3;
else if(behaviour.equals(("monkey_sad.txt")))
index=4;
else if(behaviour.equals(("monkey_surprised.txt")))
index=5;
else
index=5;
System.out.println("index: " + index);
behaviourIconLabel.setIcon(images[index]);
} -
Different query behaviour (index or no index use) between sql and pl/sql
Hi All,
I have a query inside a cursor in a procedure, let's say:
cursor c_emp (b_dept_no in number)
is
select *
from emp
where dept_no = b_dep_no;
There is an non unique index on dept_no.
In this procedure i first loop through another cursor which gets the dept_no and with this dept_no i go into a for loop for the c_emp cursor.
When i run this procedure i see that the explain plan of above query gives me a Full table Scan on EMP, eventhough there is a index on dept_no and there are 1.3 million records in the em table. When i take the above query and explain it seperately, it uses the index on dept_no.
I have rebuild/analyzed the tables and indexes, nothing seems to work. Even hints in the procedure cursor are not helping at all.
I'm using Oracle Database 10.2.0.1.0 and have never seen such behaviour before.
Anyone an idea what is going on here?
Kind regards,
DaveHoi Rob,
it's like i have three tables. The first i have to get data from for my output, then for every record of table one there are one or more records in table 2 and table 3.
I had to create a xml file and it looks like this:
<Table1 Record 1>
<Name>...</Name>
etc...
<Table2 Record 1>
</Table2 Record 1>
<Table2 Record 2>
</Table2 Record 2>
<Table3 Record 1>
</Table3 Record 1>
<Table3 Record 2>
</Table3 Record 2>
<Table1 Record 2>
etc.etc.etc.
So that's why i programmed:
for r_1 in c_table1 loop
for r_2 in c_table2(r_1.dept_no) loop
end loop;
for r_3 in c_table3(r_1.dept_no) loop
end loop;
end loop;
And when i look at the first record,
it has 2 records in table2 en 16 records in table3. So nothing huge.
For now i'm unable to trace the session. I will try to post the tkprof later.
Kind regards,
Dave -
Re: Spotlight indexing behaviour problem
Hi,
My .Spotlight-V100 problem is in relation with network users. We have an xServe in the office with multiple users. When somebody logins from an iMac with a network user the spotlight starts to reindex the whole database. Every time somebody logs out then in, the spotlight rebuilds the index folder.
Is there any solution for this problem besides turning of the spotlight? We have to use the spotlight for searching in thousands of mails and it would be great if it could use the index folder without rebuild it every time the computer starts. I tried to solve the problem with fixing the permissions of the folder .Spotlight-V100 but it seems ok now, and the problem remains.
Thanks a lot in advanve.I'm having the same problems too. Still searching for a solution.
-
Suppressing the indexing "all" behaviour of Intermedia
I have a table with a CLOB column. This col
holds XML files. The col is being indexed
with the XML_SECTION_GROUP. For our needs
it is only neccessary to index some
tags of the XML files but not the complete
XML file. So how I can avoid that Intermedia
indexes the complete document instead
of just indexing the sections I have added via add_zone|field_section ?
AndreasI have some indexing scripts over here: http://www.kahrel.plus.com/indesign/lists_indexes.html
If your styles X and Y are character styles, then you could use this one:
http://www.kahrel.plus.com/indesign/index_charstyles.html
Peter -
I have an index which has size 12 GB , i reliazed that this index space is fragmented for that i decided to defragmente its space , what i did for the dfragmentation is as follows.
1) drop that index.
2) recreate the same index.
-Before dropping that index the tablepace of that index space usage was 89 % in Enterprise manager console tablespaces link.
-After dropping this index it reclaimed the space of this tablepace usage column from 89 % to 81 %, i.e it reduce the space to 8%.
-After recreating that index the space did not reuse recliamed space from that tablespace , it reduced the space of /orahome, where my datafiles reside.
Though recreating an index is not having the same space as before , it is occuping the space of 4 GB as before to 10 GB.Why recreating the index is consuming the space of /orahome though the space from index tablespace is reclaimed?no i am recreating the index on the same tablespace from where i dropped.
This script (metadata) i got from PL/SQL developer before dropping that index , i used the same script after dropping the index.
create unique index WF_ITEM_ATTRIBUTE_VALUES_PK on WF_ITEM_ATTRIBUTE_VALUES (ITEM_TYPE, ITEM_KEY, NAME)
tablespace APPS_TS_TX_IDX
pctfree 10
initrans 11
maxtrans 255
storage
initial 128K
next 128K
minextents 1
maxextents unlimited
pctincrease 0
SQL> Drop index WF_ITEM_ATTRIBUTE_VALUES_PK
2 /
Index dropped.
[prod1@uat1 ~]$ df -ha
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vgora-lvora 1.4T 1.3T 93G 94% /orahome
SQL> create unique index WF_ITEM_ATTRIBUTE_VALUES_PK on WF_ITEM_ATTRIBUTE_VALUES
2 (ITEM_TYPE, ITEM_KEY, NAME)
3 tablespace APPS_TS_TX_IDX
4 pctfree 10
5 initrans 11
6 maxtrans 255
7 storage
8 (
9 initial 128K
10 next 128K
11 minextents 1
12 maxextents unlimited
13 pctincrease 0
14 );
Index created.
[prod1@uat1 bin]$ df -ha
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vgora-lvora 1.4T 1.3T 85G 94% /orahome -
Why this output is coming for sy-index
for the code
do 5 times.
hide sy-index.
wrtie sy-index.
enddo.
at line-selection.
write sy-index.
o/p is
1
2
3
4
5
if one clicks on 3 we get 4 on so on..can anyone xplain the logic behind this.Hi Henry,
As I already replied,it is because in your original code you mentioned the sy-index to be in the same line.
Usually,the purpose of AT Line-selection is pick that line.That's why it is taking the sy-index in your code as 5.
But in my code and Andreas code , we are displaying the output vertically.
And in the below mentioned code,I think while processing write statement itself since it needs to process both sy-index and '/' , it is incrementing sy-index by one.
do 3 times.
hide sy-index.
write : / sy-index.
enddo.
at line-selection.
write sy-index.
Write sy-index and Hide should be consecutive.
The behaviour of write :/ sy-index is it first process / and then sy-index.
In Andreas coding, he has written write and then hide.
While processing the write :/ sy-index, it is first processing hide and then / and then sy-index.
In my coding, I have written hide and then write(without /).Here also it is consecutive.
But in the coding you mentioned , you have written hide and then write (with /).It is processing hide and then / and then sy-index.In this case Hide and Write sy-index are not consecutive.That's why you get the output incremented by one.
Hope this is clear.
For more information about HIDE and At Line-selection,check this.
http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/hide.htm
Check this also.It will also work fine since write sy-index and Hide are consecutive.
do 3 times.
hide sy-index.
write sy-index.
new-line.
enddo.
at line-selection.
write sy-index.
Regards,
J.Jayanthi
Message was edited by: Jayanthi Jayaraman -
We’re seeing the following issue: sql - Can Oracle be forced to use the spatial index for sdo_filter in combination with an or clause? - Stack Overflow (posted by a colleague of mine) and are curious to know if this behaviour is due to a difference between standard and enterprise, or could we doing something else wrong in our DB config.?
We have also reproduced the issue on the following stacks:
Oracle SE One 11.2.0.3 (with Spatial enabled)
Redhat Linux 2.6.32-358.6.2.el6.x86_64 #1 SMP Thu May 16 20:59:36 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
11.2.0.3.0 Standard Edition and 11.2.0.4.0 Standard Edition (both with Spatial enabled)
Microsoft Windows Server 2003R2 Standard x64 Edition
However, the SQL works fine if we try it on Oracle 11.2.0.3.0 *Enterprise* Edition.
Any help or advice would be much appreciated.
Kindest Regards,
KevinIn my experience sdo_filter ALWAYS uses the spatial index, so that's not the problem. Since you did not provide the explain plans, we can't say for sure but I think yhu is right: Standard Edition can't use the bitmap operations, and thus it'll take longer to combine the results of the two queries (because the optimizer will surely split this OR up in two parts, then combine them).
BTW: when asking questions about queries here, it would be nice if you posted the queries here as well, so that we do not have to check another website in order to see what you are doing. Plus it will probably get you more answers, because not everyone can be bothered to click on that link. It would also have been nice if you had posted your own answer on the other post here as well, because my recommendation would have been to use union all - but since you already found that out for yourself my recommendation would have been a little late. -
H2 devide implicit and explicit created indexes by dictionary views?
For migrating amounts of data it is useful to drop and recreate indexes and referencing constaints. A implicit created index by defining a primary/unique key constraint will be dropped implicitly by dropping the before mentioned constraint. Creating such a constraint after creating an equivalent index with the constraint name will result in an other behaviour. The explicit created index will not be dropped by dropping the referencing primary/unique key constraint.
So far so good and well known. The question is: Which dictionary view columns will show me the difference between implicit and explict created indexes if I try to dynamically drop and recreate indexes and unique / primary key constraints?Oracle Version is always helpful in answering questions, but for 9i you can find the system generated by:
dba_indexes.generated = 'Y'
or
'SYS_' naming convention for system generated indexes
or
dba_constraints.constraint_name = dba_constraints.index_name
Hope this helps - JTommaney -
I have successfully created an animated button that opens to reveal a quotation with a nested clickable link to the source. What I would like to do is have several of these with different quotes inside them, scattered on the page. I have looked at the composition loader available via Edge Commons, and it seems that would require some sort of Edge animate Stage 'frame' to load the instances into? Is there any way to place them directly into the master page - as div elements...?
The outer of the buttons is the same, on hover they open partialy on click fully, to reveal their particular text - which I thought about loading it at runtime with json, or maybe handlebars...?
I would also like to make the buttons only take the necessary space. ie. before they expand they are only buttons. ( I have set the stage to hidden but it still takes up space). To acheive this, I think perhaps I will have to target the inner components css, and set them as display:none until the button is hovered over, then set :hover and :active pseudo classes inside edge. Is this feasible?
Thanks in advance for any ideas/suggestions...Hello, Thanks for your helpful input. Based on that, and the tutorial 'http://tv.adobe.com/watch/learn-edge-animate-cc/ingesting-external-data-dc/' - I have written code to drive my button's behaviour. (copied below...)
var textArray =new Array();
var currentHead = 0;
var currentText = 0;
var currentFoot = 0;
var s = sym.getSymbol("textContainer");
sym.$("textContainer")$.("text").html("");
var sh = sym.getSymbol("headContainer");
sym.$("headContainer")$.("head").html("");
var sf = sym.getSymbol("footContainer");
sym.$("footContainer")$.("footer").html("");
$.getJSON("assets/sources1.json", function(data){
for (var i=0; i<data.length; i++){
textArray.push({"head":data[i].heading,
"text":data[i].text,
"footer":data[i].foot,
"link":data[i].link});
sym.$("headContainer")$.("head").html(textArray[currentHead]).heading;
sym.$("textContainer")$.("text").html(textArray[currentText]).text;
sym.$("footContainer")$.("foot").html(textArray[currentFoot]).foot;
sym.$("footContainer")$.("link").html(textArray[currentLink]).link;
But there is an error I don't understand at line 7...
Also - as you can see, at present I have several symbols in parallel. Would I be better off nesting the text containers inside the outer button container? and would I be better off creating styled mini- pages of text data, and then loading them - instead of loading them as symbols? I have had to create seperate symbols because I cannot adequately stle the text - so some is bold, some is italic etc. within one text field. Or can I? I guess I could nest several text fields inside one symbol...?
I remain unsure how to load the finished animation button instances. In your example you were still loading into an animation But from yor example, I guess I would need to place all my examples inside an outer edge composition... but then I think positioning them accurately with css, making adjustments etc. will be fairly tricky. Is there any way to place multiple instances directly into divs in index.html? Could I simply repeat the class...? I may be answering my own questions here. -
Strange behaviour with ActiveX invoke node and Excel
I want to send a table of numbers from LV50.1f to Excel97. After getting a
reg to Excel8.Application I retrieve the Workbooks property, Invoke Item to
select a certain Workbook reference, retrieve the Worksheets collection
reference, Invoke Item and then get a reference to WORKBOOKS again.
Strangely, there is an example code from the NI web site that does exactly
the same, but in the last step a variant is returned in stead of a
reference, which is converted using Variant to G to a Worksheet reference.
when I copied that last invoke node to my VI I also had a variant returned,
so on one diagram I had to invoke nodes connected to the same sources, one
returning a ref, the other returning a variant!
Disco
nnecting the sources to my Invoke node and rewiring gave no change.
Also type casting the ref to workbooks to a worksheets ref, didn't work - I
get errors in the following property node that retrieves a Range - which
exists in Worksheet, but not in Workbooks.
Appearantly, LV gets the returned type mixed up sometimes, and there is no
way to fix it other then copying a invoke node from another diagram?
Finally I got it working though, but this behaviour puzzles me. Contrary to
the example from NI, I now managed to send a table (2d array of strings) in
one call to Excel (don;t need to loop over cells or columns).
PS
I used to do the same using DDE but ranges are different for each language
version of Excel (i.e. R1C1 for English and R1K1 for Dutch), so my VI's need
to know the language of Excel. Also with NT and Win98, getting a DDE
connection often hangs LV. But a big progress has been made - now I need
different VI's for each version of Excel!!!
Ferry Toth
Enraf BV, The Netherlan
dsHi Enric,
Can you try your queries again using the new release of DB XML? It contains some improvements in this area.
http://www.oracle.com/technology/software/products/berkeley-db/xml/index.html
John
Maybe you are looking for
-
Print html document from presentation server with no intervention of user
Hello, I have been able to create HTML output for my smartform. They are saved on my machine. I need to print these HTML outputs as a part of process without intervention of the user. Is it possible? I have tried method 'EXECWB' of 'cl_gui_html_viewe
-
No Driver for Canon MP610 printer
Hello! I recently updated to Leopard. When I went to print using my Canon Pixma MP610 printer I received a message that "no printer was selected." I then selected to add my printer but then a follow up request asked to select a driver or printer mode
-
Poor Performance InDesignCS3 OS10.5.6
Mac G-5 tower, OS 10.5.6 In-Design CS3 I've been experiencing a continued degradation of performance with InDesignCS3. Ever since I began using it in CS1 it's been slow to launch. Now, it takes about 1.5 minutes to boot, and takes about 2 minutes to
-
I have a process chain B scheduled in mode After Event: Z_CHAIN How can I see what is Z_CHAIN? I try to see this with SE37 and SE38 but with out any happy result. Thank you in advance.
-
[SOLVED]GNOME 3.14 user switch not working
Hi everybody, happy new year. I noticed quite recently that user switching doesn't work on GNOME 3.14 anymore. I'm using nVidia drivers (343.36 from repo), I don't know if it's the one thing responsible for this, as desktop experience with their driv