Clarity

  • 1.  Copy data Production development to Development environment

    Posted Feb 22, 2012 12:42 PM
    We have made a copy of production data to development environment, and now the jobs do not work.
    We made the following steps:

    1. Create a copy of production database: export NLS_LANG=AMERICAN_AMERICA.UTF8
    exp userid=system/******@CLARITY owner=clarity file=exp.dmp log=exp.log

    2. Copy production database to development

    drop user CLARITY cascade;
    exit;


    create user CLARITY
    identified by CLARITY
    default tablespace USERS
    temporary tablespace TEMP;
    grant RESOURCE, CREATE SESSION, CONNECT to CLARITY;
    grant UNLIMITED TABLESPACE, QUERY REWRITE to CLARITY;
    grant CREATE TABLE, CREATE VIEW, CREATE TRIGGER to CLARITY;
    grant DBA to CLARITY;
    commit;
    exit;


    imp userid=system/****** fromuser=CLARITY touser=CLARITY file=exp.dmp log=imp.log

    3. Reinstall all services with NSA.

    Anyboy makes a copy of database and go ok?What steps are done?

    Tkanks very much


  • 2.  RE: Copy data Production development to Development environment

    Posted Feb 23, 2012 06:39 AM
    Hi,
    When i made the copy of production database to development, the jobs:

    Datamart extraction and Rate Matrix Extraction don't run

    ¿anyone knows why?
    Tranks a lot


  • 3.  RE: Copy data Production development to Development environment

    Posted Feb 23, 2012 07:00 AM
    "don't run"? How do they not run - do they fall over with an error message or do they never start?

    --

    The way that you "copy" your database form one environment to another is the same as I use, so I don't see a fundamental problem with the "copy", possibly something odd with the NSA setup in your target environment
    (i.e. some configuration which belongs to the system (XML file) configuration in your target environment rather than on the database). (GUESSING here)


  • 4.  RE: Copy data Production development to Development environment

    Posted Feb 23, 2012 07:35 AM
    Hi, Thanks for your help.
    The jobs failled with the following error:

    Datamart Extraction

    Este trabajo del planificador falló. Extracción de datamart
    Trabajo: Extracción de datamart
    ID de ejecución: 8610830
    ID de planificador: app@inftorrcl3sm
    Falló - Mensaje: java.sql.SQLException: [CA Clarity][Oracle JDBC Driver][Oracle]ORA-20000: Error in NBI_EXTRACT_SP - Calling NBI_EXTR_PRTF_SP: ORA-20000: Error in NBI_EXTR_PRTF_SP - Extracting NBI_PRT_FACTS: ORA-20000: Error in NBI_PRTF_SP - INSERTING INTO TEMP_NBI_IDS: ORA-01652: unable to extend temp segment by 128 in tablespace TEMP
    ORA-06512: at "CLARITY.NBI_EXTRACT_SP", line 373
    ORA-06512: at line 1


    Rate Matrix Extraction:

    Este trabajo del planificador falló. Extracción de matriz de tasas
    Trabajo: Extracción de matriz de tasas
    ID de ejecución: 8610828
    ID de planificador: app@inftorrcl3sm
    Falló - Mensaje: java.sql.SQLException: [CA Clarity][Oracle JDBC Driver][Oracle]ORA-20000: Error in CMN_JOB_RATE_MATRIX_SP - ORA-20000: Error in NBI_PROJ_RATES_AND_COSTS_SP - Calling NBI_PREPARE_PROJ_DATA_SP: ORA-20000: Error in NBI_PREPARE_PROJ_DATA_SP - INSERT INTO TEMP_NBI_SLICE_DATA: ORA-01652: unable to extend temp segment by 128 in tablespace TEMP
    ORA-06512: at "CLARITY.CMN_JOB_RATE_MATRIX_SP", line 14
    ORA-06512: at line 1

    ¿any idea? tranks a lot


  • 5.  RE: Copy data Production development to Development environment
    Best Answer

    Posted Feb 23, 2012 07:51 AM
    OK : the problem here is the "ORA-01652: unable to extend temp segment by 128 in tablespace TEMP"

    Basically your "development" database is full up - there is no extra space in it.

    Your Oracle DBA support should be able to fix this for you.


  • 6.  RE: Copy data Production development to Development environment

    Posted Feb 27, 2012 11:00 AM
    Dave is correct, your dba should set your tablespaces to auto extend.
    this would resolve your issue.