OBIEE cache does not hit when date column type is date — Oracle Analytics

Oracle Analytics Cloud and Server

Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture

OBIEE cache does not hit when date column type is date

Received Response
21
Views
4
Comments
Nico Per
Nico Per Rank 3 - Community Apprentice

Hi to all;

We have a fact that join with various dimensions, one is the date dimension.

We configure the cache in obi server in the correct way.

But we have the following scenario:

1. if the date physical column type is DATE the cache is seeded but then does not hit.

2. if we change the date physical column type to DATETIME (in the RPD physical layer) the cache is seeded and hits.

the problem is that with the DATETIME format over the date column i have a lot of issues with the presentations formats etc.

anyone have some tips or any workaround on this subject ?

the query logs for the differents scenarios are attached.

the obiee version is 11.1.1.7

thanks in advance

Nicolás

note:

being more specific when de logic query resolves to a date cast then does not hit cache, when it resolves a timpestamp cast then hits:

the following query would NOT hit cache over the next execution

SET VARIABLE QUERY_SRC_CD='Report',SAW_DASHBOARD='/users/e5644153/_portal',SAW_DASHBOARD_PG='3',SAW_SRC_PATH='/users/e5644153/test fecha cache';SELECT

  0 s_0,

  "Rentabilidad"."Bancas"."Banca" s_1,

  "Rentabilidad"."Fechas"."Fecha" s_2,

  "Rentabilidad"."Ft Captación"."Saldo Moneda Orig" s_3

FROM "Rentabilidad"

WHERE

(("Fechas"."Fecha" = date '2014-09-30'))

ORDER BY 1, 3 ASC NULLS LAST, 2 ASC NULLS LAST

FETCH FIRST 65001 ROWS ONLY

the following query would hit cache over the next executio

SET VARIABLE QUERY_SRC_CD='Report',SAW_DASHBOARD='/users/e5644153/_portal',SAW_DASHBOARD_PG='3',SAW_SRC_PATH='/users/e5644153/test fecha cache';SELECT

   0 s_0,

   "Rentabilidad"."Bancas"."Banca" s_1,

   "Rentabilidad"."Fechas"."Fecha" s_2,

   "Rentabilidad"."Ft Captación"."Saldo Moneda Orig" s_3

FROM "Rentabilidad"

WHERE

(("Fechas"."Fecha" = timestamp '2014-09-30 00:00:00'))

ORDER BY 1, 3 ASC NULLS LAST, 2 ASC NULLS LAST

FETCH FIRST 65001 ROWS ONLY

Answers

  • [Deleted User]
    [Deleted User] Rank 2 - Community Beginner

    Hi Nico,

    What precise version are you using?

  • Sherry George
    Sherry George Rank 7 - Analytics Coach

    Hi Nico,

    Do you have filters on date, if so how are the values provided?

  • Nico Per
    Nico Per Rank 3 - Community Apprentice

    Hello Christian;

    The version is obiee 11.1.1.7

    thks

    nicolas

  • Nico Per
    Nico Per Rank 3 - Community Apprentice

    Sherry , hello

    The filter get values from a dashboard prompt over the "Fechas"."Fecha" column that corresponds with the date column.

    in the report the filter is "is prompted" over the "Fechas"."Fecha"

    thks

    nicolás