Re-create all indexes on new data files

Hello

on FSCN 9.2 on Win 2008

We'll re-create all indexes (belonging to sysadm) in the new data files.

-Are there any script or utility to do this?

-can you offer me any scenario?

Otherwise, I think only of:

0-extract DDL for all areas of storage and index.

1-drop tablesapces

2 Create tablespaces (by the DBMS_GETDLL script ('TABLESPACE'...)

3 re-create all indexes (by the DBMS_GETDLL script ('INDEX',...))

4 rebuild all indexes.

Any idea?

Thank you.

of 786997.1

There is no trace of PeopleTools that stores the name of the tablespace for the index.

Here's how to work the tablespaces.

There is a table called PSDDLMODEL where we store the information of DOF model for index and table creation, among other things. DDL models contain a template with replaceable parameters. One of the parameters in the create index Oracle is a field called INDEXSPC. This field by default is PSINDEX.

If you wish to override this value, you can go in the App Designer, open a folder, select Tools-> data Administrations-> select Index to edit the index and then select modify DDL, then select change the setting for the Create Index and Create Unique Index model. This replaces PSINDEX for this record. The name of the underlying table is PSIDXDDLPARM.

If you want to change the default PSINDEX to something else, go to the utilities Menu and use DOF model by default and change the PSINDEX to something else. Once you change this setting, the next time that you create the index, it will be created in the tablespace.

If you create an index in a different tablespace outside PeopleSoft, we have no knowledge of this and do not update our tables in order to take into account where he currently resides. Once you have updated the default template and replaced the records you want to replace, you can make a Data Mover, followed of a Data Mover import export and the index will be created as they have been redefined. Or you can just do a SQL Create Index and re-create all of them.

Tags: Oracle Applications

Similar Questions

  • DROP AND RE-CREATE ALL INDEXES

    Hi all

    I have a database with all the struture of tables and their indexes, but no data on the tables.

    I have scripts to import that will insert millions of rows in tables.

    What I want to do is:

    (1) built a sript which creates all indexes
    (2) remove all indexes
    (3) load all the data in the tables
    (4) create all indexes the sript running 1)

    My problem is on point 1). I don't know how to build this script.

    Thanks in advance for any help,

    RS

    Yes, I see that I go wrong here... once again ;-)

    I have also addressed this issue in the past and now, remember that there are also some Metalink Notes on this topic, where people complain about the same problem.
    Especially Note 394143.1 manages your problem
    I'm sorry for the mistake. Maybe this note helps.

    I went to the #3 option.

    Edit:
    In fact, it is the script to generate the DDL and put them in a CLOB table. In this case for Materialized views:

    Set serveroutput on;
    declare
    CLOB ddl_out;
    objname varchar2 (30): = ";
    tablechk varchar2 (100): = ";
    number of sqlorder: = 1;
    cursor c1 is select a.mview_name, a.owner from dba_mviews; -where owner = 'EHDA ";

    Start
    -Due to formatting problems dbms_metadata, the output is saved in a table that contains a clob column
    run immediately "drop table ddl_output;
    immediate ' create table ddl_output (objname varchar2 (30), ddl_query clob, number sqlorder);

    for r1 in c1
    loop
    dbms_output. Enable (10000);
    If objname = r1.mview_name
    then
    dbms_output.put_line (' treatment: ' |) R1.mview_name);
    on the other
    objname: = r1.mview_name;
    sqlorder: = 1;
    end if;
    insert into ddl_output values (r1.mview_name, 'drop the materialized view' |) R1.mview_name | ';', sqlorder);
    sqlorder: = sqlorder + 1;
    Select dbms_metadata.get_ddl ('MATERIALIZED_VIEW', "|) R1.mview_name: ",". R1.owner | ") in the double ddl_out;
    insert into ddl_output values (r1.mview_name, ddl_out |) ';', sqlorder);
    sqlorder: = sqlorder + 1; Select dbms_metadata.get_dependent_ddl ('INDEX', "|) R1.mview_name: ",". R1.owner | ") in the double ddl_out;
    insert into ddl_output values (r1.mview_name, ddl_out |) ';', sqlorder);
    sqlorder: = sqlorder + 1;
    commit;
    end loop;
    end;
    /

    After that which has finished, use the script below to recreate the object with the table DDL

    declare
    query varchar2 (2000);
    cursor c1 is select ddl_query from ddl_output by objname, sqlorder;

    BEGIN
    for r1 in c1
    loop
    dbms_output. Enable (999999);
    query: = r1.ddl_query;
    dbms_output.new_line ();
    dbms_output.put_line (Query);
    If length (query) > 5
    then
    immediate execution of the query;
    end if;

    end loop;
    end;
    /

    Published by: fjfranken on March 24, 2009 05:14

  • The vi below opens a new data file every time new data of the visa arrived. I only want a single file of data for registration period!

    The vi below opens a new data file every time new data of the visa arrived. I only want a single file of data for registration period!

    Can someone bring me (Labview is new to me) in the right direction?

    John

    See attached the amendment. I made a change to my suggestions and possess the top-level VI for the null refnum. See if it makes sense.

  • I need all these NTUSER. DAT files

    I need all these NTUSER. DAT files, I have about 20 in the folder my documents. can I delete the 'old' or what?

    Hello

    You must have something that is saving them in the Documents folder.

    There should be 4 (or more) in C:\Users\Your user however name file no in the
    The documents in the folder - make sure you have the first and must be current.  What are
    the dates on those Documents, any current?

    Here's mine:

    "C:\Users\My NameRob\ntuser.dat".

    "C:\Users\My Name\ntuser.dat.LOG1".

    "C:\Users\My Name\ntuser.dat.LOG2".

    "C:\Users\My Name\ntuser.dat.rdbkp".

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="" -="" mark="" twain="" said="" it="">

  • Failed to create or open the new (existing) file

    I can't create or open the new (existing) file or new model is just do ' t do anything. I have to stop using the Task Manager.

    Microwoft WIndows 10 x 64 Insider Preview Build 14361, 6 GB RAM, Intel Core i3.

    I tried to restart my laptop, reinstall Illustrator, run as administrator, that it helped me. Adobe Illustrator CC 2015 19.0.0 (64-bit). I don't know what's happened, he worked several times before, but now... Help, please!

    Disable the GPU performance helped me, now I can open or create new files, but now my computer is incredibly slow opening Illustrator.

    P.S. Oh my... I just activate Windows Defender and now everything works normally

  • Through tunnels of automatic indexation to write data files?

    Hello

    I use neither-controller to control a servo and position and torque data collection. I want to write data to the TDMS files.

    Recently, I learned about the design of producer/consumer model and I thought it would be a good approach to ensure that writing the files didn't slow down my timed loop of data collection.

    However, I also realized that my program seems to work well if I wire the data that I collect the tunnels of automatic indexation. Can I use a structure that executes only after the entire collection of data is made to write the charts that I built to TDMS files.

    Is there a reason that would make the last method against? Can the tunnels of idexing auto slow my loop enough to concern him? I collect only about 5,000 points of data for each channel.

    See you soon,.

    Kenny

    In my opinion, the main consideration is timing.  If you use consumers/producers, you essentially make writing while the data collection process is "pending" the next item to collect.  It should be the case that the consumption will be faster than production, so at any time, 99% of the data are already written, Yes (perhish forbid!) if the program crashes, you already have most of the data on the disk. fo

    Alternatively, you can use the tunnels and send an array of 5000 points (from the tunnel exit) for the writing process.  This requires it to be rather than parallel series - no writing occurs until all the 5000 points are generated, and the writing process, instead of is almost as soon as it starts, takes 5000 times longer (more or less).

    The series is 'simpler', especially for a beginner.  The producer/consumer, if you understand the design model, would be my preference.

    BS

  • All read old version data file in Labview 8.6 (waveform playback of file.vi)

    Hi, I have a big problem on the use of file.vi in LV8.6 reading waveform to play *.wmf files that were generated LV7.1 program.

    He often appears a message windows, refer to the attached picture file, because I use LV8.6 program to read a considerable number of such files,

    I can't afford all these windows message in my program, please tell me how to get rid of this message.

    Thank you very much

    Hello

    The type of waveform data is in LabVIEW 8.6 differs from the version 7.1, so this conversion is required. This knowledge base article solves the same error: Read Waveform files from old Versions of LabVIEW .

    To prevent the message from appearing, add silentDatalogConvert = true to the LabVIEW.ini file. It is located in the National Instruments\LabVIE 8.6 folder. I hope this helps!

  • Creating a script to copy data files

    I need your help here.
    Is someone can show me an example of script (.bat) that
    1. connect to sqlplus
    2. connect as sysdba
    3 - stop the database
    4-copy tht *. DBF file location A to location on the server B
    5 restart the database
    Thank you


    I'm on windows 2008 server with Oracle 10.2.0.4 database server

    REM wait for the shutdown of the server
    REM start the database
    %ORACLE_HOME%\bin\sqlplus s @stop.sql "/ as sysdba".
    sleep 60

    copy A B

    %ORACLE_HOME%\bin\sqlplus s @start.sql "/ as sysdba".

    output

    The stop.sql file
    -start of the database
    immediate stop
    output

    The start.sql file
    -start of the database
    startup
    output

  • CS6 - create an index and import a pdf file

    How to create an index for a book, and import a PDF in InDesign CS6. The CS6 InDesign is only allow imports of XML documents not PDFs. Is there a work around for this? And I'm not... to create an index - find the tab from the drop down "subjects."

    Thank you in advance for your help!

    As mentioned earlier, you asked 2 different questions. I hope that this answer allows you to satisfy you with both of them.

    Creating an index:

    The sample file is an extraordinary, but the creation of an index is well explained. InDesign cs6 indexing - tutorial on how to create an Index for your book! - YouTube

    Import a PDF file:

    As I said before, you import PDF images files. You can use the same path than with images: drag and drop, D, file-> Place

    Please pay attention to the 'options import' as you can choose between different "cultures": Bounding Box, Art, Trim, bleed, media.

    For a multiple page PDF, you can choose the page or page range. Etc.

    Nicolas said the "PlaceMultipagePdf" script that you will find in the window-> Utilities-> scripts Panel. Get off at samples-> JavaScript

    This script updates the Pdf pages on a new page. Try, if you are tempted to import a multi-page PDF document.

    As I said before, you can also import other InDesign files. These editable resident files, i.e. you can open and change what must be changed and the imported file will be updated like any other document bound, as Illustrator documents for example...

    Since these files are regarded as "graphics" (equivalent to Illustrator data files), they can't be changed inside InDesign.

  • accidentally create data file with the same name but different location

    Hi all

    I was accidentally create data file in the tablespace with the same name but in another location.

    / U03/DataFile/REKON65. DBF

    new data file: / u04/datafile/REKON65. DBF

    My question: what happens with data/u03/datafile/REKON65 file. DBF? the data inside/u03/datafile/REKON65. DBF went?


    Thank you

    Indra says:
    Hi all

    I was accidentally create data file in the tablespace with the same name but in another location.

    / U03/DataFile/REKON65. DBF

    new data file: / u04/datafile/REKON65. DBF

    My question: what happens with data/u03/datafile/REKON65 file. DBF?

    nothing

    the data inside/u03/datafile/REKON65. DBF went?

    not gone

  • Alter tablespace name wrong when creating data file

    Hello

    While creating a data file, I used alter tablespace name wrong.
    For example,.
    I used:
    ALTER TABLESPACE ADD datafile APPS_TS_SEED ' / d01/oracle/stkmnfun/db/apps_st/data/a_txn_data05.dbf' size 1024M;

    Correct one:
    ALTER TABLESPACE ADD datafile APPS_TS_TX_DATA ' / d01/oracle/stkmnfun/db/apps_st/data/a_txn_data05.dbf' size 1024M;

    I have created a more a_txn_data06 with the correct STORAGE space...
    But, did anyone know how this can be corrected?


    Thanks in advance,

    As long as it has not at all affected in this data file, you can deposit with
    alter tablespace... datafile drop...

    Kind regards
    Uwe Hesse

    http://uhesse.WordPress.com

  • new data in the standy config file

    My standby_file_management is set to auto. But when I added a new data file, it has not added on the standby server.

    my version of db is 10.2.0
    on linux

    standy_file_management only works if a new data file is added...
    If the value automatically the data file gets created automatically in standby mode; but in the case of copy it from another source, it must copy on the standby server as well... Besides, you also have to re-create the standby control file.

  • BlackBerry smartphones new Outlook data file

    With the new year, I started a new data file (pst) for Outlook 2010.  BlackBerry Desktop Software is set to synchronize with the file of the last year.

    It is the first year that I do this with a BlackBerry (Torch 9850) attached to the system.

    When I change the settings of the BlackBerry Desktop Software I get to remove warnings.

    I copied my calendar, notes, contacts, to the new data file.

    I get duplicates on the device or Outlook?

    What is the appropriate procedure, so I'm not kidding future synchronizations and data?

    Thank you.

    I just use my orig PST file and use AutoArchive for my last year, then disable the AutoArchive feature once it is archived.

  • create tablespace with existing data file

    Dear Sir.
    We can create tablespace with an existing data file so I can use the tables and objects already exist in the data file?

    Kind regards

    Read about "transportable tablespace" and see if this is what you need.

  • Generate the analog waveform based on the data file

    I want to create an analog voltage output that follows I have a data file (excel, csv, text (which is easy)).  The data file creates a waveform with equal time between steps (dT =.0034 sec).  After the output through all the data points, I want it repeat indefinitely.

    What is the best way to create the waveform of a data file?

    To create a type of waveform data, calculate the dt by subtracting two values in column 1 and get the array of Y from column 2. If you save the file as a comma separated or tab text file, you can then use the spreadsheet file read. After obtaining a 2D array, you would use the index table and the subset of table functions.

    Assuming you use a capture card data OR for the output signal, you can pass a type of waveform data to a writing DAQmx and set for the generation of types.

Maybe you are looking for

  • Partitions on Satellite Z830 SSD

    HelloJust got a new Toshiba Satellite Z830 13 "." Great machine so far! small hard drive well! I was wondering if, after you create the bootable recovery media, I can the SSD drive distribution in order to get more space.I have this computer with a S

  • Tecra A2 does not boot to Windows

    My Tecra A2 has suddenly stop windows boot. I get the screen "We apologize for the inconvenience...". "who says Windows shut so unexpectedly and asked to choose how I want to start (Safe Boot, known parameters of Las, Normally etc.) When I choose one

  • can't see 4 of 8 GB of memory

    So, I installed more memory in my 4 GB to 8 GB m8120n and changed the vista 64 operating system. The motherboard only sees igb per slot not too so what am I missing?

  • How remove options history and Favorites on the Web toolbar explore search

    I don't want my children to have access on Web sites that they are seeking the removal of the internet toolbar explore is there a way I can block access or I can remove it completely these options? I want to be able to control what they want on the i

  • Is it possible to upgrade of Windows 7 32-bit to 64-bit Windows 10 and if so how?

    OK, I searched around a bit online, and everything that I can find is speculation or instructions for the Insider program. 10 windows application also refuses to start on my machine, even if everything else is green on the resolution of the problems.