Friday, August 19, 2022
REST API
Friday, July 1, 2022
Python Script for Data Recon
Friday, June 24, 2022
Live example of how CTL file in Oracle can be tuned to enhance timing and there by faster data loads.
=============
mail one
------------
> PFA ctl files tuned , Please check the same and let us know the performance
> difference before and after using the tuned CTLs.>
> Please note down the time and no of records/rows we are loading to target
> for each script.
>
> Waiting for your feedback.
>
> Thanks and Regards
>
> Shiju
=============
mail two
------------
> Hi Shiju
>
> I loaded the data by using the control files that you are provided. That
> increased the performance.
> And the timings to load 5136324 records are
>
> Before modifying the code
> 11 mins
> After modifying the code (as suggested by you)
> 7mins
> Thank you very much for providing such tuning technique.
>
> Thanks and Regards
=============
mail three
------------
Thanks for the feedback.
What I have done is increase the "bind array" for SQL*Loader tool.
There are some more steps we need to follow to get well tuned result.
Initially we need to estimate the RBS requirement (Rollback Segment).
1) determine size of a single row.
2) determine size of a bind array
memory= No.of Rows * rowsize
bindArraysize=min(memory,
3) estimate the size of RBS size required.
rollbacksegment size=1.3*bindarraysize.
When estimating the size of rollback segment size ,I recommend to add 30%
for overhead to the bindarray size.
Since SQL *Loader cant select the RBS for its own, we need to
make offline other rollback segments offline that are small as per the
calculation we have made.
another tips are
1)drop the indexes of the table you are loading data, then recreate
the same after loading.
(please dont drop indexes associated with primary and unique key constraints).
2)Use larger redolog files.
3)fixed width input data file faster than csv file.
NB: Please perform all these steps only with the help of a DBA.
Thanks and Regards
Thursday, June 16, 2022
Select * from tab equivalent in SQL Server
Oracle SQL:: Select * from tab;
MS SQL Server::
select TABLE_CATALOG,TABLE_SCHEMA,TABLE_NAME,TABLE_TYPE
from INFORMATION_SCHEMA.TABLES order by TABLE_TYPE,TABLE_NAME
Tuesday, May 10, 2022
What is a Runbook?
A runbook is a step-by-step guide that describes all procedures and operations that must be considered or addressed during the cutover.
A runbook contains all the required documentation for each member of the cutover team to complete their tasks, as well as timelines and detailed instructions so that everyone can work together effectively and efficiently.
To guarantee that there are no problems throughout the cutover process, your deployment runbook will need to be more extensive the larger and more complicated your business' old systems are. Most IT networks today span several systems and include third-party applications, therefore they should all be included in the runbook to avoid or minimize downtime.
Sunday, April 24, 2022
Back to data migration
Hi All, I am once again back to data migration, which is my most desired technical activity.
Will start with some notes about challenges w.r.t bad data / dirty data in a wide perspective.
We can broadly classify dirty data into
Inaccurate
Incomplete
Duplicate
Siloed
Ungoverned
Stale
Unshared
Inconsistent