This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Leaderboard Data query */ | |
EXPLAIN PLAN FOR | |
SELECT userId, firstName, lastName, userName, email, entryId, totalPayouts FROM ( | |
SELECT rownum as rn, a.* FROM ( | |
SELECT u.user_id userId, u.first_name firstName, u.last_name lastName, | |
u.user_name userName, tep.entry_id entryId, | |
NVL( SUM(p.payouts), 0 ) totalPayouts ,u.email email | |
FROM USERS u, TOURNAMENT_USERS_ENTRY tue, TOURNAMENT_ENTRY_PICK tep | |
LEFT JOIN PICK_PAYOUT p ON tep.pick_id = p.pick_id |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* All tournaments for non logged in users */ | |
EXPLAIN PLAN FOR | |
SELECT * FROM ( | |
SELECT rownum as rn, a.* FROM ( | |
SELECT * FROM Tournament t WHERE t.published = 1 AND t.closed = 0 AND t.cancelled = 0 AND t.submission_deadline >= '07/21/2015 10:30 AM' AND t.is_private = 0 ORDER BY submission_deadline ASC | |
) a | |
) WHERE rownum <= 10 AND rn > (1 - 1) * 10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- getting all tournaments with tournament ids to which user had made entries------------- | |
EXPLAIN PLAN FOR | |
SELECT * FROM ( | |
SELECT rownum as rn, a.* FROM ( | |
SELECT * FROM Tournament t WHERE t.published = 1 AND t.closed = 0 AND t.cancelled = 0 AND t.submission_deadline >= '20-05-15 06:45:00.000000000 AM' AND ( t.is_private = 0 OR (t.tournament_id IN (132, 131) OR t.allowed_user_emails LIKE '%bkhanna@drf.com') ) ORDER BY submission_deadline ASC | |
) a | |
) WHERE rownum <= 10 AND rn > (1 - 1) * 10 | |
============ Output ======================== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Leaderboard Data query */ | |
EXPLAIN PLAN FOR | |
SELECT userId, firstName, lastName, userName, email, entryId, totalPayouts FROM ( | |
SELECT rownum as rn, a.* FROM ( | |
SELECT u.user_id userId, u.first_name firstName, u.last_name lastName, | |
u.user_name userName, tep.entry_id entryId, | |
NVL( SUM(p.payouts), 0 ) totalPayouts ,u.email email | |
FROM USERS u, TOURNAMENT_USERS_ENTRY tue, TOURNAMENT_ENTRY_PICK tep | |
LEFT JOIN PICK_PAYOUT p ON tep.pick_id = p.pick_id |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Leaderboard Data query */ | |
EXPLAIN PLAN FOR | |
SELECT userId, firstName, lastName, userName, email, entryId, totalPayouts FROM ( | |
SELECT rownum as rn, a.* FROM ( | |
SELECT u.user_id userId, u.first_name firstName, u.last_name lastName, | |
u.user_name userName, tep.entry_id entryId, | |
NVL( SUM(p.payouts), 0 ) totalPayouts ,u.email email | |
FROM USERS u, TOURNAMENT_USERS_ENTRY tue, TOURNAMENT_ENTRY_PICK tep | |
LEFT JOIN PICK_PAYOUT p ON tep.pick_id = p.pick_id |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Leaderboard Data query */ | |
EXPLAIN PLAN FOR | |
SELECT userId, firstName, lastName, userName, email, entryId, totalPayouts FROM ( | |
SELECT rownum as rn, a.* FROM ( | |
SELECT u.user_id userId, u.first_name firstName, u.last_name lastName, | |
u.user_name userName, tep.entry_id entryId, | |
NVL( SUM(p.payouts), 0 ) totalPayouts ,u.email email | |
FROM USERS u, TOURNAMENT_USERS_ENTRY tue, TOURNAMENT_ENTRY_PICK tep | |
LEFT JOIN PICK_PAYOUT p ON tep.pick_id = p.pick_id |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Leaderboard Data query */ | |
EXPLAIN PLAN FOR | |
SELECT userId, firstName, lastName, userName, email, entryId, totalPayouts FROM ( | |
SELECT rownum as rn, a.* FROM ( | |
SELECT u.user_id userId, u.first_name firstName, u.last_name lastName, | |
u.user_name userName, tep.entry_id entryId, | |
NVL( SUM(p.payouts), 0 ) totalPayouts ,u.email email | |
FROM USERS u, TOURNAMENT_USERS_ENTRY tue, TOURNAMENT_ENTRY_PICK tep | |
LEFT JOIN PICK_PAYOUT p ON tep.pick_id = p.pick_id |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- getting all tournaments with tournament ids to which user had made entries------------- | |
EXPLAIN PLAN FOR | |
SELECT * FROM ( | |
SELECT rownum as rn, a.* FROM ( | |
SELECT * FROM Tournament t WHERE t.published = 1 AND t.closed = 0 AND t.cancelled = 0 AND t.submission_deadline >= '20-05-15 06:45:00.000000000 AM' AND ( t.is_private = 0 OR (t.tournament_id IN (132, 131) OR t.allowed_user_emails LIKE '%bkhanna@drf.com') ) ORDER BY submission_deadline ASC | |
) a | |
) WHERE rownum <= 10 AND rn > (1 - 1) * 10 | |
============ Output ======================== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- getting all tournaments with tournament ids to which user had made entries------------- | |
EXPLAIN PLAN FOR | |
SELECT * FROM ( | |
SELECT rownum as rn, a.* FROM ( | |
SELECT * FROM Tournament t WHERE t.published = 1 AND t.closed = 0 AND t.cancelled = 0 AND t.submission_deadline >= '20-05-15 06:45:00.000000000 AM' AND ( t.is_private = 0 OR (t.tournament_id IN (132, 131) OR t.allowed_user_emails LIKE '%bkhanna@drf.com') ) ORDER BY submission_deadline ASC | |
) a | |
) WHERE rownum <= 10 AND rn > (1 - 1) * 10 | |
============ Output ======================== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INFO 12:41:46,722 [tournamentCancelJobScheduler-1] TournamentAutocancel - No minimum entries present for tournament id 3576, tournament name TSG ULTIMATE BETTING CHALLENGE FEEDER ($25 - TOP 10%) , MONDAY, FEBRUARY 27- ALL IN FORMAT | |
INFO 12:41:46,765 [tournamentCancelJobScheduler-1] TournamentAutocancel - No minimum entries present for tournament id 3572, tournament name BOYD GAMING $1,000,000 HORSEPLAYER WORLD SERIES FEEDER ($10 - TOP 10%), MONDAY, FEBRUARY 27 - ALL IN | |
INFO 12:41:46,833 [tournamentCancelJobScheduler-1] TournamentAutocancel - No minimum entries present for tournament id 3573, tournament name KEENELAND GRADE 1 GAMBLE ONE DAY QUALIFIER ($162), MONDAY, FEB 27 - LIVE FORMAT | |
INFO 12:41:46,915 [tournamentCancelJobScheduler-1] TournamentAutocancel - Refunding User 1589701 Entry Fees 1 for Entry 204161 of Tournament 3576 | |
INFO 12:41:46,915 [tournamentCancelJobScheduler-1] ApiClient - Shop Store URL: http://shopdev.drf.com/api/v1/drf-credits/refund/1589701/1.0?tournamentDescription=TSG ULTIMATE |
OlderNewer