The Collection of Usage Tracking Data

download The Collection of Usage Tracking Data

of 15

Transcript of The Collection of Usage Tracking Data

  • 8/9/2019 The Collection of Usage Tracking Data

    1/15

    The Oracle BI Server supports the collection of usage tracking data. When usage tracking is

    enabled, the Oracle BI Server collects usage tracking data for each query, and it writes statistics

    to a usage tracking log file or inserts the directly into a database table.

    !fter upgrading "# g to ""g , need to anually setup $sage tracking in new ""g environent.There are two ways

    i%Still we can use old e&isting tables to write $sage inforation

    ii%'ew schea ()*+BI-!TO/0 can be used1$sage Tracking tables will be installed during

    the /2$ installation%

    This blog covers first case where Old e&isting tables can be used for $sage tracking. Below arethe steps needed to be perfored to enable $sage Tracking on e&isting "#g tables.

    ". 2heck table structure of S+'3+!22T table in both "#g warehouse1e&isting% and ""g()*+BI-!TO/0 schea.14ere we can find soe difference%

    5. !lter old table S+'3+!22T structure to in synch with ""g table.

    6. !dd new coluns in /( S+'3+!22T table

    7.)anable $sage Tracking in )nterprise 0anager

    1. Checking S_NQ_ACCT table structure

    In order to reuse the e&isting $sage Tracking tables , we have to ake sure tables structureshould be sae in both "#g and ""g scheas.

    -ogin to "# g warehouse and describe S+'3+!22T

    ()S2 S+'3+!22T

    'ae 'ull Type

    888888 889 88889

    $S)/+'!0) *!/24!/51"5:%

    /)OSITO/;+'!0) *!/24!/51"5:%S$B

  • 8/9/2019 The Collection of Usage Tracking Data

    2/15

    )'(+TS (!T)

    )'(+(T (!T)

    )'(+4O$/+0I' 24!/1=%

    3$)/;+T)>T *!/24!/51"#57%

    S$22)SS+-? '$0B)/1"#%/OW+2O$'T '$0B)/1"#%

    TOT!-+TI0)+S)2 '$0B)/1"#%

    2O0I-)+TI0)+S)2 '$0B)/1"#%

    '$0+(B+3$)/; '$0B)/1"#%

    2$0+(B+TI0)+S)2 '$0B)/1"#%

    2$0+'$0+(B+/OW '$0B)/1"#%

    2!24)+I'(+-? 'OT '$-- 24!/1"%

    3$)/;+S/2+2( *!/24!/516#%

    S!W+S/2+!T4 *!/24!/515=#%S!W+(!S4BO!/( *!/24!/51"=#%

    S!W+(!S4BO!/(+? *!/24!/51"=#%

    /)S)'T!TIO'+'!0) *!/24!/51"5:%

    )//O/+T)>T *!/24!/515=#%

    /$'!S+$S)/+'!0) *!/24!/51"5:%

    '$0+2!24)+I'S)/T)(

    '$0B)/1"#%

    '$0+2!24)+4ITS '$0B)/1"#%

    -ogin to ()*+BI-!TO/0 schea in ""g and do describe on S+'3+!22T.

    ()S2 S+'3+!22T

    'ae 'ull Type

    8888888@ 889 88889

    $S)/+'!0)*!/24!/51"5:%

    /)OSITO/;+'!0)

    *!/24!/51"5:

    %

    S$B

  • 8/9/2019 The Collection of Usage Tracking Data

    3/15

    )'(+TS (!T)

    )'(+(T (!T)

    )'(+4O$/+0I' 24!/1=%

    3$)/;+T)>T

    *!/24!/51"#5

    7%3$)/;+B-OB 2-OB

    3$)/;+A);

    *!/24!/51"5:

    %

    S$22)SS+-? '$0B)/1"#%

    /OW+2O$'T '$0B)/15#%

    TOT!-+TI0)+S)2 '$0B)/1"#%

    2O0I-)+TI0)+S)2 '$0B)/1"#%

    '$0+(B+3$)/; '$0B)/1"#%

    2$0+(B+TI0)+S)2 '$0B)/1"#%

    2$0+'$0+(B+/OW '$0B)/15#%

    2!24)+I'(+-? 'OT '$-- 24!/1"%

    3$)/;+S/2+2( *!/24!/516#%

    S!W+S/2+!T4*!/24!/515=#%

    S!W+(!S4BO!/(

    *!/24!/51"=#

    %

    S!W+(!S4BO!/(+?

    *!/24!/51"=#%

    /)S)'T!TIO'+'!0) *!/24!/51"5:%

    )//O/+T)>T*!/24!/515=#%

    I0)/SO'!TO/+$S)/+'!0)

    *!/24!/51"5:

    %

    '$0+2!24)+I'S)/T)( '$0B)/1"#%

    '$0+2!24)+4ITS '$0B)/1"#%

    I( 'OT '$-- *!/24!/51=#%

    4ere coluns in aroon color are e&isted in "# g warehouse tables, but need to be altered in

    ters of length and colun renae.

    2oluns which are in ?reen color copletely new in ""g,So these coluns need to be addedinto e&isting old tables.

    2. Alter old table S_NQ_ACCT structure to in synch with 11g table.

  • 8/9/2019 The Collection of Usage Tracking Data

    4/15

    To synch "# g usage tracking tables with ""g tables, need to perfor below alterations on the

    "#g usage tracking tables.

    !-T)/ T!B-) S+'3+!22T 0O(I; 'O()+I( *!/24!/51=#%

    !-T)/ T!B-) S+'3+!22T 0O(I; /OW+2O$'T '$0B)/15#%

    !-T)/ T!B-) S+'3+!22T 0O(I; 2$0+'$0+(B+/OW '$0B)/15#%

    !-T)/ T!B-) S+'3+!22T /)'!0) 2O-$0' /$'!S+$S)/+'!0) TO

    I0)/SO'!TO/+$S)/+'!0)

    !-T)/ T!B-) S+'3+!22T !(( 1I( *!/24!/51=#% 'OT '$--,3$)/;+B-OB

    2-OB,3$)/;+A); *!/24!/51"5:%%

    2O00IT

    3. Add new columns in !" S_NQ_ACCT table

    Open /( in Offline ,'avigate to hysicala (atabase Oracle !nalytics $sage@C2atalog@Cdbo

    !dd the I0)/SO'!TO/+$S)/+'!0),I(,3$)/;+B-OB,3$)/;+A); coluns to the

    S+'3+!22T table as shown below.

    !nd 0ake sure 'ot 'ull checked for required coluns.

  • 8/9/2019 The Collection of Usage Tracking Data

    5/15

    #.$nable %sage Tracking in $nter&rise 'anager

    To )nable $sage Tracking in )0 ,perfor below steps.

    ". -og into )0.

  • 8/9/2019 The Collection of Usage Tracking Data

    6/15

    5. Select (eb)ogic "omain*bi+oundation_domainfro the left navigation pane.

    6.

    7.

    =. 2lick the (eb)ogic "omaindrop@down list in the right pane.

  • 8/9/2019 The Collection of Usage Tracking Data

    7/15

    D.

    E. Select System ',ean ,rowser fro the list

    :.

    F. )&pand A&&lication "e+ined ',eans*oracle.biee.admin.

  • 8/9/2019 The Collection of Usage Tracking Data

    8/15

  • 8/9/2019 The Collection of Usage Tracking Data

    9/15

    "5.

    "6. -ock the doain to update it. )&pand ,-"omainand select the ,-"omain0Bean

    where grou&Ser/ice. Note0)&pand Show ',ean -n+ormationin the right pane.

  • 8/9/2019 The Collection of Usage Tracking Data

    10/15

    "7.

    "=. 2lick the&erationtab.

  • 8/9/2019 The Collection of Usage Tracking Data

    11/15

    "D.

    "E. 2lick the)ocklink. On the&eration0lockpage, click the-n/okebutton

    ":.

    "F. 2lick theeturnbutton.

    5#. )&pand,-"omain.,--nstance.Ser/erCon+iguration, and then select the,-"omain.,--nstance.Ser/erCon+iguration 0Bean.

  • 8/9/2019 The Collection of Usage Tracking Data

    12/15

    5".

    55. 2lick theAttributestab. Scroll down and click %sageTrackingCentrally'anaged. Set

    *alue totruein the drop@down list.

    56.

    57. 2lick theA&&lybutton. When you see the confiration essage for the update, click the

    eturnbutton.

    5=. Siilarly, set the%sageTracking$nabledattribute totrueto enable usage tracking

  • 8/9/2019 The Collection of Usage Tracking Data

    13/15

    5D.

    5E. Set the %sageTracking"irect-nsertattribute totrueto enable direct insertion.

    5:.

    5F. Set the%sageTracking!hysicalTableNameattribute to the nae of the fully qualifieddatabase table for collecting query statistic inforation, as it appears in the hysical layer

    of the Oracle BI repository. In this e&aple, it is set as followsGOracle Analytics Usage

    .Catalog.dbo.S_NQ_ACCT

    6#.

  • 8/9/2019 The Collection of Usage Tracking Data

    14/15

    6". Set the%sageTrackingConnection!oolattribute to the nae of the fully qualified

    connection pool for the query statistics database, as it appears in the hysical layer of the

    Oracle BI repository. In this e&aple, it is set as followsG Oracle Analytics Usage

    .Usage Tracking Writer Connection Pool

    65.

    66. Note0or usage tracking insertions to succeed, the connection pool ust be configured

    with a user I( that has write access to the back@end database. !lso, it is recoended

    that the connectivity type support international data.!fter applying your changes, releasethe lock on the doain, as followsG

    /eturn to the BI(oain 0Bean where groupHService under

    oracle.biee.adin, (oainGbifoundation+doain, BI(oain.

    2lick the&erationstab.

    2lick one of the first coit operations.

  • 8/9/2019 The Collection of Usage Tracking Data

    15/15

    67.

    6=. ?o to the Oracle Business Intelligence Instance page and clickestart Allon the

    A/ailability*!rocessestab to /estart all the services.

    ate this0