Quantcast
Channel: MySQL Forums - Connector/J, JDBC and Java
Viewing all articles
Browse latest Browse all 884

NOLOCK for multiple tables (3 replies)

$
0
0
Hi,

I am trying to apply NOLOCK syntax for my extraction query why because i am trying to load millions of records using one of the ETL tool called as PDI.

in this case i am trying to retrieve data from staging area and need to join with data mart table and should write into same data mart table. Is applying NOLOCK to my select query is good practice ??


Select * from course nolock

OR below is good practise ?

SET SESSION TRANSACTION ISOLATION LEVEL READ UNCOMMITTED
go
Select * from course
go
SET SESSION TRANSACTION ISOLATION LEVEL REPEATABLE READ

Thank you

Viewing all articles
Browse latest Browse all 884

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>