Thứ Tư, 7 tháng 4, 2021

Check dung lượng table, index trong DB2

Check Table  size
select 
  char(date(t.stats_time))||' '||char(time(t.stats_time)) as statstime 
  ,substr(t.tabschema,1,8)||'.'||substr(t.tabname,1,24) as tabname 
  ,card as rows_per_table 
  ,decimal(float(t.npages)/ ( 1024 / (b.pagesize/1024)),9,2) as used_mb 
  ,decimal(float(t.fpages)/ ( 1024 / (b.pagesize/1024)),9,2) as allocated_mb 
from 
  syscat.tables t , syscat.tablespaces b 
where t.tbspace=b.tbspace 
order by 5 desc with ur;
Sửa bài viết

Check dung lượng table, index trong DB2

Check Table  size
select 
  char(date(t.stats_time))||' '||char(time(t.stats_time)) as statstime 
  ,substr(t.tabschema,1,8)||'.'||substr(t.tabname,1,24) as tabname 
  ,card as rows_per_table 
  ,decimal(float(t.npages)/ ( 1024 / (b.pagesize/1024)),9,2) as used_mb 
  ,decimal(float(t.fpages)/ ( 1024 / (b.pagesize/1024)),9,2) as allocated_mb 
from 
  syscat.tables t , syscat.tablespaces b 
where t.tbspace=b.tbspace 
order by 5 desc with ur;
Sửa bài viết

Thứ Năm, 1 tháng 4, 2021

WARNING:io_getevents timed out 600 sec , Database/Instance fails to start

Áp dụng cho

Oracle Database - Enterprise Edition - Version 11.2.0.1 to 12.1.0.2 [Release 11.2 to 12.1]
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.
Sửa bài viết

WARNING:io_getevents timed out 600 sec , Database/Instance fails to start

Áp dụng cho

Oracle Database - Enterprise Edition - Version 11.2.0.1 to 12.1.0.2 [Release 11.2 to 12.1]
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.
Sửa bài viết

Tạo partition tự động với tính năng INTERVAL trong Oracle Database

Mục đích: Tạo partition tự động với tính năng INTERVAL trong Oracle Database mà không cần tạo partition thủ công bằng tay hoặc bằng job.
Sửa bài viết

Quản trị MView, MView Log trong Oracle Database

Mục đích: MView là giải pháp đồng bộ dữ liệu từ DB Source về DB Dest để khai thác bảng trên DB Dest giống như bảng ở DB Source tăng tốc độ truy cập dữ liệu so với giải pháp dùng view qua dblink trên DB Dest (giải pháp thay thế là GoldenGate nếu cần real time)
Sửa bài viết

ĐỌC NHIỀU

Trần Văn Bình - Oracle Database Master