Saturday, January 28, 2012
Thursday, January 26, 2012
Set up ODBC Connection For IIS DataStage (v.8.5)
Configure Access to ODBC Data Source For IIS DataStage (v8.5, Window Server)
Thie following information can also be found here.From the Engine Tier;
· Launch the dos Prompt as Adminstratior
· Change to cd c:\windows\syswow64
· Lounch odbcad32.exe
· Select a ODBC driver that you want to use, for example, SQL server. Make sure to only use drivers that are provided by IBM
- Configuring the DataStage v8.5 Parallel Engine On Windows
- Start WebSphere InfoSphere Server Using Administrator User in Window 2008 Server
Posted by
data bob jr
at
5:59 AM
Labels:
Ascential DataStage:Admin,
Ascential DataStage:Design,
DtataStage,
IIS
0
comments
Find Oracle Table Size, Number Of Columns and Rows
Query to Find Table Size, Number of Rows and Columns in a Oracle Database
Here is a query that gives the table size which include number of columns, number of rows and table data size in MB. I found these information are helpful during the data warehouse design phase.
select col.table_name,
col.col_cnt as column_count,rc.row_cnt as row_count,
s.size_in_MB as table_size_in_MB
from
(
/* number of columns */
SELECT upper(table_name), COUNT(*) col_cnt,
FROM dba_tab_columns
WHERE owner = 'V500'
group by upper(table_name)
) col
join
(
/* number of rows */
select
table_name,
to_number(extractvalue(xmltype(dbms_xmlgen.getxml('select count(*) c from '||table_name)),'/ROWSET/ROW/C')) as row_cnt
from dba_tables
where (iot_type != 'IOT_OVERFLOW'or iot_type is null)
and owner = 'SCOTT'
) rc
on upper(col.table_name) = upper(rc.table_name)
join
(
/* table size in MB */
SELECT
owner, table_name, (sum(bytes)/1024/1024) size_in_MB
FROM
(SELECT segment_name table_name, owner, bytes
FROM dba_segments
WHERE segment_type = 'TABLE'
and owner = 'SCOTT'
)
group by owner, table_name
) s
on upper(col.table_name) = upper(s.table_name);
Related Notes:
Subscribe to:
Comments (Atom)

