How CSSCAN determines which indexes need to be rebuild ?

Hi everybody,
i'm currently migrating 3 Oracle databases that contain CP1252 characters unproperly stored in WE8ISO8859P1 instances.
The key steps of the migration are :
1. ALTERing CHARACTERSET to WE8MSWIN1252
2. changing CHARACTER SEMANTIC LENGTH for CHAR and VARCHAR2 columns
3. truncating data stored in VARCHAR2(4000) columns
2. Full export
3. Full import in a ALL32UTF8 instance
To do all of this (and especially the step 3), i use the CSSCAN utility (very practical !!!).
And i have a question about CSSCAN: how CSSCAN determines which indexes need to be rebuild. What is the logic ?
Looking at the CSSCAN report, i have a lot of cells/columns that are affected by the characterset migration, and i have just a few index to rebuild.
Why would i like to understand the logic ? Because i would like to rebuild ONLY indexes that REALLY need to be rebuilt and i am not sure that all the indexes specified by CSSCAN really need to be rebuilt.
Thanks for any information about that.
(and sorry for my english)
NB: i have managed "function-based indexes" specifically: i drop them before the export, and i recreate them after the import. So my question mostly target the "regular indexes"

1. All indexes whose key contains at least one character column with convertible or exceptional data, excluding indexes with names equal to some constraint name for the same owner.
plus
2. All functional indexes on tables that have columns needing conversion, excluding indexes with names equal to some constraint name for the same owner.
The condition regarding constraints does not seem to be very fortunate but it comes from times when the appropriate flag in index metadata was not yet available.
But note that in your migration scenario, you do not actually have to care much about indexes. Step 1 & 2 do not need any modifications to the user data and hence to index contents. Step 3, if done through UPDATE, will modify affected indexes automatically. Step 4 does not affect the database. Step 5 will recreate all existing indexes anyway.
-- Sergiusz

Similar Messages

  • How to determine what Index is required by a query ?

    Hi all,
    In our application, we create some complex View with complex query.
    The question is : How to determine what Index is required by the query ?
    I try using SQL Tuning Advisor, but it seems I can only use it After running TOP SQL.
    Is there aniway to determine the Index even Before the query under heavy load/ top sql ?
    Thank you very much,
    xtanto

    You can run your explain plan to check the table access path. You can create an index and see if the optimizer is using the index. Then compare the costs. Creating index will help only in some occassion and you need to provide complete details of the requirement to come to a conclusion of which type of INDEX as well. In some occassions, B*Tree index is useful, in few DW applications, bitmap will work efficiently with columns of low cardinality.
    So it is again the task for you to look into this.
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14211/toc.htm
    Cheers
    Sarma.

  • How to determine which elements are queryable via Web Services QueryPage

    I am trying to query opportunities by associated opportunity product revenue records, but I continue to receive errors like "Unexpected text: = '9598015'".
    From reviewing the forums, it looks like this is when I am querying a field that is not defined to be queryable.
    Could someone please tell me how to determine which fields are queryable on a particular record type like this? I have tried using basic short text fields and indexed short text fields - but continue to receive the error message above.
    Thanks in advance.

    I found at least partial answers to my questions.
    MessageContext.getPropertyNames() can be used to see the properties on a given flow.
    MessageContext.getProperty(prop) can be used to get information for paroperties such as:
    prop=javax.xml.rpc.service.endpoint.address
    prop=wsdl.portName
    -- Frank

  • How to determine which chipset my Satellite L300/700 has?

    I have a SATELLITE L300/700 (PSLB8A-047004). The User Guide covers several models. It indicates that the chipset determines which memory modules I need for a memory upgrade. How do I find out which chipset I have, please?
    Kev.

    > I'm still curious about how to determine which chipset I have - any thoughts?
    Go to the device manger and click on IDE Ata/Atapi controllers:
    http://img814.imageshack.us/img814/7321/chipset.jpg
    There you will see your chipset installed on your laptop. In my case, as shown on the screenshot is Intel ICH9m

  • How to determine which archive logs are needed in flashback.

    Hi,
    Let's assume I have archive logs 1,2,3,4, then a "backup database plus archivelogs" in RMAN, and then archive logs 5+6. If I want to flashback my database to a point immediately after the backup, how do I determine which archive logs are needed?
    I would assume I'd only need archive logs 5 and/or 6 since I did a full backup plus archivelogs and the database would have been checkpointed at that time. I'd also assume archive logs 1,2,3,4 would be obsolete as they would have been flushed to the datafiles in the checkpoint.
    Are my assumptions correct? If not what queries can I run to determine what files are needed for a flashback using the latest checkpointed datafiles?
    Thanks.

    Thanks for the explanation, let me be more specific with my problem.
    I am trying to do a flashback on a failed primary database, the only reason why I want to do a flashback is because dataguard uses the flashback command to try and synchronize the failed database. Specifically dataguard is trying to run:
    FLASHBACK DATABASE TO SCN 865984
    But it fails, if I run it manually then I get:
    SQL> FLASHBACK DATABASE TO SCN 865984;
    FLASHBACK DATABASE TO SCN 865984
    ERROR at line 1:
    ORA-38754: FLASHBACK DATABASE not started; required redo log is not available
    ORA-38761: redo log sequence 5 in thread 1, incarnation 3 could not be accessed
    Looking at the last checkpoint I see:
    CHECKPOINT_CHANGE#
    865857
    Also looking at the archive logs:
    RECID STAMP THREAD# SEQUENCE# FIRST_CHANGE# FIRST_TIM NEXT_CHANGE# RESETLOGS_CHANGE# RESETLOGS
    25 766838550 1 1 863888 10-NOV-11 863892 863888 10-NOV-11
    26 766838867 1 2 863892 10-NOV-11 864133 863888 10-NOV-11
    27 766839225 1 3 864133 10-NOV-11 864289 863888 10-NOV-11
    28 766839340 1 4 864289 10-NOV-11 864336 863888 10-NOV-11
    29 766840698 1 5 864336 10-NOV-11 865640 863888 10-NOV-11
    30 766841128 1 6 865640 10-NOV-11 865833 863888 10-NOV-11
    31 766841168 1 7 865833 10-NOV-11 865857 863888 10-NOV-11
    How can I determine what archive logs are needed by a flashback command? I deleted any archive logs with a SCN less than the checkpoint #, I can restore them from backup but I am trying to figure out how to query what is required for a flashback. Maybe this coincides with the point that flashbacks have nothing to do with the backups of datafiles or the checkpoints?

  • How to determine which FileChooser ExtensionFilter has been selected

    Hi,
    I'm using a JavaFX fileChooser.showSaveDialog with two extension filters (*.csv and *.xml). How can I determine which filter was selected when the end-user clicks the save button?
    I am writing a program that allows the end-user to create an output file in CSV or XML format.
    If the end-user enters a file name with no extension, I need a way to determine if I should create a CSV or XML file. I would also like to add the proper extension to the file name if none is specified by the end-user. I want to do this based on which filter the end-user has selected. I wrote a Java program 5 years ago and I was able to do this with the following instruction:
    String extension = jFileChooser.getFileFilter().getDescription();
    I can't find a similar instruction for JavFX.
    My JavaFX Code:
    FileChooser fileChooser = new FileChooser();
    fileChooser.setInitialDirectory(new File(options.getOutputDirectory()));
    ExtensionFilter filter1 = new FileChooser.ExtensionFilter("Comma Delimited (*.csv)", "*.csv");
    fileChooser.getExtensionFilters().add(filter1);
    ExtensionFilter filter2 = new FileChooser.ExtensionFilter("XML Document (*.xml)", "*.xml");
    fileChooser.getExtensionFilters().add(filter2);
    File file = fileChooser.showSaveDialog(stage);
    String filename = file.getAbsolutePath();...How do I determine which extension filter has been selected?
    My Java Code:
    JFileChooser jFileChooser = new JFileChooser();
    jFileChooser.setCurrentDirectory(new File(outputDirectory));
    jFileChooser.setSelectedFile(new File(backupfile));
    FileFilter filter = new FileNameExtensionFilter("Comma Delimited (*.csv)", "csv");
    jFileChooser.addChoosableFileFilter(filter);
    jFileChooser.setFileFilter(filter);
    filter = new FileNameExtensionFilter("XML Document (*.xml)", "xml");
    jFileChooser.addChoosableFileFilter(filter);
    jFileChooser.setAcceptAllFileFilterUsed(false);
    jFileChooser.setDialogTitle("Export Alarms");
    jFileChooser.setBackground(colorFileChooser);
    int returnVal = jFileChooser.showDialog(jFrame, "Export");
    if (returnVal == JFileChooser.APPROVE_OPTION) {
        File file = jFileChooser.getSelectedFile();
        String filename = file.getAbsolutePath();
        String extension = jFileChooser.getFileFilter().getDescription();
        if (extension.equals("XML Document (*.xml)")) {
            if (!filename.endsWith(".xml") && !filename.endsWith(".XML")) {
                filename = filename + ".xml";
            saveTableXML(filename);
        else if (extension.equals("Comma Delimited (*.csv)")) {
            if (!filename.endsWith(".csv") && !filename.endsWith(".CSV")) {
                filename = filename + ".csv";
            saveTableCSV(filename);
    }Thanks,
    Barry
    Edited by: 907965 on May 13, 2012 1:14 PM
    Edited by: 907965 on May 13, 2012 1:15 PM
    Edited by: 907965 on May 13, 2012 1:19 PM

    This problem is currently tracked as http://javafx-jira.kenai.com/browse/RT-18836.

  • How to determine which Windows application has focus

    I'm new to JAVA and new to programming. I hope someone will help me out. I'm trying to write a simple JLink program (JLink is a JAVA API for Pro|Engineer, a CAD design program). In part of this program I need to determine if Pro|E has focus. Is there some way to use JAVA to determine which actively running Windows application has focus?
    I basically want my program to pause when focus changes to another program. For example: While Pro|E is active and has focus the program runs, when I select an Excel window, or Outlook, or Notepad or any other window my program will pause until focus is returned. I just need to determine which window within Windows has focus.
    I hope I have explained this properly. I searched the internet for an answer but found nothing. I did come across some references to JNI, but I'm not sure what that is or how to use it.
    Thank you!

    I just need to determine which window within Windows has focus.No, you don't. All you need to determine is whether your application has the focus. If it doesn't, then some other application does, but it's really irrelevant which one does. All that's relevant is that your application doesn't have the focus and hence it should pause.

  • How to determine which file descriptor opened my driver?

    Suppose a user process opens my driver twice. How does open() determine which file descriptor opened the device? In Linux, the kernel will pass a pointer to a structure which represents the open file descriptor. However, Solaris only passes the device number to open(), so I can only determine my device was opened, but not which file. I need this information because my driver needs to keep track of all file descriptors opened for the device.
    Thanks!
    -Darren

    I'm still at a loss why you need to know the file descriptor value (unless the app is sufficiently spaghettied that it has to query the driver to figure out what it opened with what). It's like asking what filename was used to open the device (which you can't get either). Since Solaris is based on a Streams framework, it would be bad to have drivers to even think it has a direct mapping into user space. It would be the same in asking (using /bin/sh):
    prog3 4>&1 3>&1 2>&1 | prog2 | prog1
    and you want to know from prog1 what descriptor prog3 wrote to. I don't see how linux even does this properly, since any given file open can have multiple file descriptors (via dup).

  • How to determine Which Acrobat DC version is installed? Pro or Std

    I need to track which computers have which version for Licensing and update purposes. I use Dell K1000 for tracking and updating. With Acrobat XI, Pro and Standard had different uninstall registry keys so I was able to track them with a simple check for which registry key was on the computer. They would also show up separately in Dell Case stating Pro or Standard. However, With Acrobat DC the uninstall keys are the same and they both only show up as Acrobat DC in Dell K1000. How does Acrobat DC determine which version is installed and how can I duplicate it so I can count used license and install the correct updates?

    Pre-Deployment Planning — Enterprise Administration Guide States "
    Installing Acrobat DC Standard¶
    Acrobat DC products delivered via an ESD EXE download provide one installer that is used for both Acrobat Standard and Professional. The serial number you use determines which product is installed. What’s important to note is that when you extract the Acrobat ESD EXE (Acrobat_DC_Web_WWMUI.exe or Acrobat_2015_Web_WWMUI.exe), you’ll see AcroPro.msi in the output folder. This is the correct behavior. Simply remember to use AcroPro.msi in any command line scripts.
    Note
    Existing scripts that use AcroStan.msi should be updated."
    Both Acrobat DC Pro and Standard have KEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Adobe\Adobe Acrobat\2015\Installer ENU_GUID {AC76BA86-1033-FFFF-7760-0E0F06755100}
    On the laptop with DC standard installed C:\ProgramData\regid.1986-12.com.adobe\regid.1986-12.com.adobe_V7{}AcrobatESR-12-Win-GM-e n_US.swidtag
    On the laptop with DC Pro installed C:\ProgramData\regid.1986-12.com.adobe\ is empty
    Your guide does not have any information regarding Acrobat DC. Please explain how to verify if Acrobat DC Pro or standard is installed. or explain how to get the ENU_GUID for standard to start with {AC76BA86-1033-FFFF-BA7E.

  • How to determine which Aperature Library is the original?

    I purchased an Imac a couple of years ago and switched to Aperature to help eliminate duplicates.  I spent time bringing them in a little at a time as not to duplicate.  I have moved what I thought was the master copy to an external drive so that it would not take up all the space.  I show eight copies of Aperature when I click option & then Aperature.  Please help me determine which is the main copy as they all have different version and original numbers.  I am so confused and was just trying to break it down so that I could manage it in even years at a time so that I could organize faces.  Not even really sure what version means as opposed to original.  I hope with some guidence I can finally get this right.  Thank you in advance if you understand where I am coming from

    My short guide here may help you understand the parts of Aperture better, which in turn will help you ask specific questions.
    I advise all users of Aperture to read and understand the first seven chapters of the User Manual -- it's available on-line, as well as via "Help➞Aperture Help" -- as they provide a tour of the interface.
    You are going to have to do some work.  I can tell that you are confused -- Aperture, assuredly, is confusing at first -- but I can't tell what you are asking.  You need to distinguish, in your questions, between the files you imported (Aperture calls these "Originals" after you've imported them) and the Images in Aperture (Aperture refers to these as both Images and as Versions).  Every Image has an Original.  The Original (remember, it's a file) can be stored inside the Aperture Library package, or outside the Library package.  These distinctions are covered in both of the resources mentioned above.
    If nothing makes sense, post back and we'll see how we can help you.
    --Kirby.

  • How to determine which diskgroups a database is using

    We want to be able to determine which diskgroups a database is using. We have been using the following query which works but only if the database has open or had open the "right set of files" recently --
    SQL> select dg.name from v$asm_diskgroup_stat dg, v$asm_client c where dg.group_number = c.group_number and c.db_name = 'MYDB';
    If no archived logs have been generated in a while then the diskgroup that contains the FRA will no be listed in this query. We can cause the FRA diskgroup to show up if we archive the current log. Here is an example.
    SQL> select * from v$asm_client;
    GROUP_NUMBER INSTANCE_NAME
    DB_NAME  STATUS
    SOFTWARE_VERSION
    COMPATIBLE_VERSION
                5 +ASM
    DBI03    CONNECTED
    11.2.0.3.0
    11.2.0.0.0
    SQL> alter system archive log current;
    System altered.
    SQL> select * from v$asm_client;
    GROUP_NUMBER INSTANCE_NAME
    DB_NAME  STATUS
    SOFTWARE_VERSION
    COMPATIBLE_VERSION
                5 +ASM
    DBI03    CONNECTED
    11.2.0.3.0
    11.2.0.0.0
    GROUP_NUMBER INSTANCE_NAME
    DB_NAME  STATUS
    SOFTWARE_VERSION
    COMPATIBLE_VERSION
                7 +ASM
    DBI03    CONNECTED
    11.2.0.3.0
    11.2.0.0.0
    Notice how diskgroup "7" shows up after the log is archived? It appears that the instance for diskgroup "7" will eventually be drop off after some idle period. Is there a way to generate the list of diskgroups consistently?

    Hi,
    If your database was configured manually (i.e not using DBCA) you should check v$(datafile,controlfile,logfile,block_change_tracking,etc) and parameters of database (log_archive_dest,db_recovery_file_dest,spfile,etc) to map these info.
    If your database was configured using DBCA you can try it:
    $ srvctl config database -d <database_name> |grep "Disk Groups"

  • How to determine which SUS Scenario my company is using?

    Hello,
    How can I quickly determine which SUS Scenario my company is using?  Is this a configuration option in SPRO? 
    We are using ECC to create PO -> IDOC-XML -> PI -> Proxy -> SUS
    SUS creates PO Confirmation, ASN, Invoice response documents to ECC.
    Is this classic/ extended classic/ plan driven? 
    Thanks,
    Matt

    Matt,
      In IMG check this setting.
    Activate Extended Classic Scenario: This setting determines whether Enterprise Buyer processes processes carts with the extended classic scenario
    If this setting is not on, the implementation is either classic or standalone.
    Check define backend systems used. If the backend system is defined as non-sap systems, the implementation is standalone.
    SG

  • How to determine which new add-ons were installed?

    I am troubleshooting on a system that I use regularly, but I am not the primary user. When I started Firefox today I got an Add-ons window saying that "3 new add-ons have been installed". I'd like to know which 3 are the newly installed add-ons, because I suspect they are things my mother agreed to inadvertently. This system now has 15 Extensions, 1 Theme, and 17 Plugins installed, including the 3 new ones. Is there any way for me to determine which 3 are the new ones? By the way, I'm not entering this question from the system inquestion, so any info of that type that gets appended to this submission should be ignored. The system in question is running Windows XP Home SP3 and Firefox 3.6.10.

    Pre-Deployment Planning — Enterprise Administration Guide States "
    Installing Acrobat DC Standard¶
    Acrobat DC products delivered via an ESD EXE download provide one installer that is used for both Acrobat Standard and Professional. The serial number you use determines which product is installed. What’s important to note is that when you extract the Acrobat ESD EXE (Acrobat_DC_Web_WWMUI.exe or Acrobat_2015_Web_WWMUI.exe), you’ll see AcroPro.msi in the output folder. This is the correct behavior. Simply remember to use AcroPro.msi in any command line scripts.
    Note
    Existing scripts that use AcroStan.msi should be updated."
    Both Acrobat DC Pro and Standard have KEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Adobe\Adobe Acrobat\2015\Installer ENU_GUID {AC76BA86-1033-FFFF-7760-0E0F06755100}
    On the laptop with DC standard installed C:\ProgramData\regid.1986-12.com.adobe\regid.1986-12.com.adobe_V7{}AcrobatESR-12-Win-GM-e n_US.swidtag
    On the laptop with DC Pro installed C:\ProgramData\regid.1986-12.com.adobe\ is empty
    Your guide does not have any information regarding Acrobat DC. Please explain how to verify if Acrobat DC Pro or standard is installed. or explain how to get the ENU_GUID for standard to start with {AC76BA86-1033-FFFF-BA7E.

  • How to determine which Visual C++ Redistributables are really required?

    A client's PC came with a whole load of unwanted Desktop-Applications pre-installed, which were consequently removed. Unfortunately, there are still various generations of Visual C++ runtimes to be found on the system. - Is there a reliable way
    to determine which of those are still needed after cleaning up those unwanted apps?
    ________________ drahnier

    Hi,
    Let's take Microsoft Visual C++2010 Redistributable Package as example:
    The Microsoft Visual C++ 2010 Redistributable Package installs runtime components of Visual C++ Libraries required to run applications developed with Visual C++ on a computer that does not have Visual C++ 2010 installed.
    This package installs runtime components of C Runtime (CRT), Standard C++, ATL, MFC, OpenMP and MSDIA libraries.
    While, I don't think there any reliable way to determine which of those package still needed after removed them.
    In my opinion, these package doesn't occupy too much space, why not keep them in case an application that need them.
    Roger Lu
    TechNet Community Support

  • 5s How to determine which version of operating system is currently installed

    How can I determine which version of the operating system is currently installed in my 5s without having to go to iTunes using my PC?

    Tap Settings > General > About.

Maybe you are looking for

  • Mac keeps crashing when playing videos

    this is what the log says: Interval Since Last Panic Report:  148928 sec Panics Since Last Report:          1 Anonymous UUID:                    C39D4419-4DCE-48D0-A792-9475597D281D Wed Jul 27 23:20:13 2011 Panic(CPU 0): Unresponsive processor (this

  • Mac Book Pro video out (no signal to tv)

    My six month old Mac Book Pro has been working fine sending out a video and audio signal since day one. Two days ago I now get no video signal out of the same video adapter and I also don't get an audio signal out of the speakers nor out of the ear p

  • New Date() -- getYear() & getMonth() return strange/wrong values

    Hi, I am writing this Javascript under a text field initialize event of Livecycle: var date = new Date(); xfa.host.messageBox("year "+date.getYear(),"Message",3); xfa.host.messageBox("month "+date.getMonth(),"Message",3); I get "113" for the first me

  • Recursive merge sort, how does it work?

    hey friends I am stuck up with the code of recursive merge sort and am unable to understand as to how is the recursion working. Im posting the code for the merge sort and telling the details of where im facing the problem, if someone could explain me

  • No sound from HP envy m6 1515tx after update

    I have updtaed my windows as regular update but after that no sound from speakers. laptop is showing everything is fine and all sound drivers all working fine so whenever i clicked on scan for hardware changes in device manager menu then speakesr sta