-
Data Security and Encryption in Oracle 19c
Overview: Hi guys, in this blog I am going to explain you about Data Security and Encryption in Oracle 19c.This blog topic will cover the…
//
-
Oracle Database logs
Oracle Database logs Oracle Database logs can provide valuable information about the database’s health, performance, and any issues that might have occurred. Here are several…
//
-
Overview of the Optimizer in oracle 19c and Types of Optimizer
In Oracle 19c, the optimizer plays a crucial role in optimizing SQL statements. The optimizer uses various strategies to transform the SQL statements into an…
//
-
Data Integrity
Introduction to Data Integrity It is important that data maintain data integrity, which is adherence to business rules determined by the database administrator or application developer.…
//
-
Copy User DB and System Data and Log Files from One Drive to Another Due to Disk Slowness Issue
Hi guys, in this blog I am going to explain you about copy User DB and System Data and Log Files from One Drive to…
//
-
System Views in Oracle
In Oracle Database, the concepts of “system view” typically refer to different types of views that provide access to metadata and information about the database…
//
-
SQL Loader
Hi guys, in this blog I am going to explain you about SQL Loader. SQL Loader- Oracle has a powerful application called SQL Loader, which…
//
-
Data file and Log File
Data file: Datafiles are physical files of the operating system that store the data of all logical structures in the database. They must be explicitly created for…
//
-
Performance Monitoring Related
Performance Monitoring Related- Session Related –Returns information about all the waits encountered by threads that executed for each session. select * from sys.dm_exec_session_wait_stats where session_id in (select session_id from sys.dm_exec_sessions where status not like ‘sleeping’ and session_id <> @@SPID –and session_id <> *** ) order by 3 desc –Returns information…
//
-
Startup In Oracle Database
Summary: in this tutorial, you will learn how to use the Oracle STARTUP command to start an Oracle Database instance. To start up a database instance, you use…
//
-
Scan SQL Server Error Log
Scan SQL Server Error Log create table #t_789(Log_date datetime,Process_Info Nvarchar(1000),Txt Nvarchar(3500) ) insert into #t_789 exec sp_readerrorlog; insert into #t_789 exec sp_readerrorlog 1; insert into #t_789 exec sp_readerrorlog 2; insert into #t_789 exec sp_readerrorlog 3; select * from #t_789 where Txt like ‘%error %’; Scan Current Error Log –create table #t_789(Log_date datetime,Process_Info Nvarchar(1000),Txt Nvarchar(3500) ) insert into #t_789 exec sp_readerrorlog; select Log_date,txt from #t_789 order by 1 desc ; truncate table #t_789
//
-
Database Maintenance
Index Fragmentation Info –All Indexes select object_schema_name(ps.object_id) as ObjectSchema, object_name (ps.object_id) as ObjectName, ps.object_id ObjectId, i.name as IndexName, ps.avg_fragmentation_in_percent, ps.page_count from sys.dm_db_index_physical_stats(db_id(), null, null, null, null) ps inner join sys.indexes i on i.object_id = ps.object_id and i.index_id = ps.index_id where avg_fragmentation_in_percent > 10 and ps.index_id > 0 and page_count >100 order by page_count desc –Specific Index select object_schema_name(ps.object_id) as ObjectSchema, object_name (ps.object_id) as ObjectName, ps.object_id ObjectId, i.name as IndexName, ps.avg_fragmentation_in_percent, ps.page_count from sys.dm_db_index_physical_stats(db_id(), null, null, null, null) ps inner join sys.indexes i on i.object_id = ps.object_id and i.index_id = ps.index_id where ps.index_id > 0 and i.name like ‘Index_Name‘ order by 5 desc —————————————————————- ————————————–>…
//