The Business Intelligence and Data Warehousing Glossary

 
The Business Intelligence and Data Warehousing Glossary
I have collected and compiled this from a very nice website.Some of the terms are relating to Microsoft’s tool (Microsoft’s Analysis Services ) but that can be generalised to other non-microsoft tools also.
Link >>
Agent
An application that searches the data and sends an alert when a particular pattern is found.
 
Aggregations
Information […]

STEPS REQUIRED TO CREATE A SIMPLE FLEX FIELD REPORT

STEPS REQUIRED TO CREATE A SIMPLE FLEX FIELD REPORT (continued to FLEX Field Reports )
1. Open the Report in Report Builder.
2. Create User defined parameters as per our requirement.

3. Call FND SRWINIT User Exit in Before Report Trigger.
BEGIN
SRW.USER_EXIT (’FND SRWINIT’);
RETURN (TRUE);
END;
4. Call FND SRWEXIT User Exit in After Report trigger.
BEGIN
SRW.USER_EXIT (’FND SRWEXIT’);
RETURN (TRUE);
END;
5. Call FND […]

FLEX FILED REPORTS -USER EXITS

USER EXITS: USER EXITS are the 3rd party programs (i.e. java,Pro*c, etc.) that we can link with our reports to perform a particular task.
We can link 3rd party programs with our reports with SRW.USER_EXIT ( Name_of_the_User_Exit)’. We can reference the input parameters in user exist with SRW.REFERENCE( input_parameters).
FND SRWINIT: This User Exit is used to […]

Benefits of data warehousing

Benefits of data warehousing
Some of the benefits that a data warehouse provides are as follows:

A data warehouse provides a common data model for all data of interest, regardless of the data’s source. This makes it easier to report and analyze information than it would be if multiple data models from disparate sources were used to […]

what is Repository ?

Repository is a place where data are stored and maintained. A repository can be

a place where data is stored
a place where specifically digital data are stored
a site where eprints are located
a place where multiple databases or files are located for distribution over a network,
a computer location that is directly accessible to the user without […]

Metadata

Metadata (singular: metadatum) (sometimes called Metainformation) is “data about data”, of any sort in any media. An item of metadata may describe an individual datum, or content item, or a collection of data including multiple content items.
Metadata (sometimes written ‘meta data’) are used to facilitate the understanding, characteristics, and management usage of data. The metadata […]

Database Normalization and Table structures

Database Normalization and Table structures
Normalisation is the term used to describe how you break a file down into tables to create a database.
There are 3 or 4 major steps involved known as
1NF (First Normal Form),
2NF (Second Normal Form),
3NF (Third Normal Form) and
BCNF (Boyce-Codd Normal Form).
There are others but they are […]

How to find a column in database

How to find a column in database
Once, at a client site I was asked to do a drill through report from Purchasing to Fixed Assets. I don’t remember the exact details but it had something to do with Purchase orders. I knew little bit about Oracle Purchasing but had not worked enough on Fixed Assets. […]

OPEN INTERFACE LOGIC and INTERFACE Components

OPEN INTERFACE LOGIC

The data from source application is loaded into a database table (called Interface Table).
The provided program logic validates the records.
Any errors are transferred into another table (called Error Table).
The correct records are then transferred through a process into destination application table.

INTERFACE COMPONENTS
Picture not available
Source Application· You obtain data from a source application to […]

INTERFACES -TYPES OF INTERFACES -Open Interface - Custom Interface

INTERFACES

Interfaces are used to integrate external systems and data conversion in Oracle Applications.
These can be used to either transfer data from Oracle Applications to a flat file or data from legacy system to Oracle Applications.
Used extensively at the time of data conversion from legacy/old systems to a fresh implementation of Oracle Applications.
Used also at regular […]

Interface - UTL_FILE - SQL*LOADER -ORACLE GENERAL LEDGER -

Here the sample code of Interface program is presented for training purpose only.
DAILY RATES INTERFACE (ORACLE GENERAL LEDGER)
USING UTL_FILE PACKAGE

DECLARE
FP UTL_FILE.FILE_TYPE;
FROM_CURR VARCHAR2(15);
TO_CURR VARCHAR2(15);
FROM_CON_DATE DATE;
TO_CONV_DATE DATE;
USER_CON_TYPE VARCHAR2(30);
CONV_RATE NUMBER;
MODE_FLG VARCHAR2(1);
MY_LINE VARCHAR2(150);
BEGIN
FP:=UTL_FILE.FOPEN(’D:\ORACLE\PRODDB\9.2.0\PLSQL\TEMP’,'dailyrates.dat’,'R’);
UTL_FILE.GET_LINE(FP,MY_LINE);
LOOP
UTL_FILE.GET_LINE(FP,MY_LINE);
FROM_CURR:=SUBSTR(MY_LINE,1,3);
TO_CURR:=SUBSTR(MY_LINE,6,3);
FROM_CON_DATE:=SUBSTR(MY_LINE,10,11);
TO_CONV_DATE:=RTRIM(SUBSTR(MY_LINE,24,11));
USER_CON_TYPE:=RTRIM(SUBSTR(MY_LINE,36,9));
CONV_RATE:=TO_NUMBER(RTRIM(SUBSTR(MY_LINE,50,2)));
MODE_FLG:=SUBSTR(MY_LINE,59,1);
DBMS_OUTPUT.PUT_LINE(FROM_CURR||’ ‘||TO_CURR||’ ‘ ||FROM_CON_DATE||’ ‘||TO_CONV_DATE||’ ‘||
USER_CON_TYPE||’ ‘||CONV_RATE||’ ‘||MODE_FLG);
INSERT INTO GL.GL_DAILY_RATES_INTERFACE(FROM_CURRENCY,TO_CURRENCY,FROM_CONVERSION_DATE,TO_CONVERSION_DATE,USER_CONVERSION_TYPE,CONVERSION_RATE,MODE_FLAG)
VALUES(FROM_CURR,TO_CURR,FROM_CON_DATE,TO_CONV_DATE,USER_CON_TYPE,CONV_RATE,MODE_FLG);
DBMS_OUTPUT.PUT_LINE(’One row successfully inserted’);
COMMIT;
END LOOP;
UTL_FILE.FCLOSE(FP);
EXCEPTION
WHEN NO_DATA_FOUND THEN
NULL;
END;

dailyrates.dat /* This file should be placed in D:\ORACLE\PRODDB\9.2.0\PLSQL\TEMP */
FROM TO FROM_CON_DATE […]

who changed my code ?-USER_OBJECTS -

How can one see if somebody modified any code?
The source code for stored procedures, functions and packages are stored in the Oracle Data Dictionary.
One can detect code changes by looking at the LAST_DDL_TIME column in the USER_OBJECTS dictionary view.
Example:

SELECT OBJECT_NAME,
TO_CHAR(CREATED, ‘DD-Mon-RR HH24:MI’) CREATE_TIME,
TO_CHAR(LAST_DDL_TIME, ‘DD-Mon-RR HH24:MI’) MOD_TIME,
STATUS
FROM USER_OBJECTS
WHERE LAST_DDL_TIME > ‘&CHECK_FROM_DATE’;

[…]

RDBMS-transaction - commit point -INITRANS-tablespace size

Q: What is the maximum tablespace size?
A: The limitation is dependant on the limit the operating system places on
the filesize and the limitation of the number of datafiles the database
allows. For example some Unix boxes have a limit of 2 GIGA per Datafile,
then the largest file you can create for a tablespace on this operating […]

remote transaction-distributed transaction-two-phased commit -Interview QA

Q: What is the difference between remote transaction and distributed
transaction? Which requires a two-phased commit??
A: A remote transaction contains one or more statements which ALL reference
the same remote database. The transaction processing is all done on the
Remote Database Server.
A distributed transaction contains statements that modify data in TWO or more
distinct databases. Some communications protocol is […]

UROWID

A single datatype called the universal rowid, or UROWID, supports
both logical and physical rowids, as well as rowids of foreign
tables such as non-Oracle tables accessed through a gateway. A column
of the UROWID datatype can store all kinds of rowids. The value of the
COMPATIBLE initialization parameter must be set to 8.1 or higher to
use UROWID columns.
 
You […]

Trace Files and the Alert Log-LGWR

Each server and background process can write to an associated trace
file. When a process detects an internal error, it dumps information
about the error to its trace file. If an internal error occurs and
information is written to a trace file, the administrator should
contact Oracle support.
Each database also has an Alert log. The ALERT file of a […]

ROWID

 

Oracle uses a ROWID datatype to store the address (rowid) of every
row in the database.
Physical rowids store the addresses of rows in ordinary tables
(excluding index-organized tables), clustered tables, table
partitions and subpartitions, indexes, and index partitions and
subpartitions.

Logical rowids store the addresses of rows in index-organized tables.

[…]

SGA data Structures - Shared Pool portion of the SGA

SGA contains the following data Structures
* Database buffer cache
* Redo log buffer
* Shared pool
* Java pool
* Large pool (optional)
* Data dictionary cache
* Other miscellaneous information

Oracle9i can change its SGA configuration while the instance is running.
With the dynamic SGA infrastructure, the sizes of the buffer cache,
the shared pool, and the large pool can be changed without […]