I imported a bunch of my older hands to a clean db, about 39k errors, 200k imports. I believe I didn't get such a result when I did this earlier. I'm wondering if these are known problems? Should I just try to reimport? The import took maybe 90 minutes, the final phases of that it looked like it was seriously stuck with no estimate on end... then suddenly "import finished".
Clip from the log: seems to have prosessed ok the files from several sites, then this
2012/04/25 22:21:58.201 [00002]: [- Main -][ImportStatus] Adjusting session stakes ...
2012/04/25 22:21:58.974 [00773]: [00007FC8][PostgresConnection (Error)] Unable to execute query: BEGIN;INSERT INTO cash_table_session_summary VALUES(10855, 2, 2300, 2334, 2334, 62, 244, '2011/09/07 14:39:59', '2011/09/07 15:17:45', 38, 4, 1219.30, -85.80, 6.86, 13.69, 10.99, 14.37, 54, 15, 203, 0, 'f', 'f', 1.40360000);INSERT INTO cash_table_session_summary VALUES(10876, 2, 2300, 2334, 2334, 20, 236, '2011/09/08 16:23:46', '2011/09/08 16:28:44', 5, 4, 177.73, 46.50, 3.00, 1.16, 1.52, 1.15, 5, 1, 30, 0, 'f', 'f', 1.00000000);UPDATE cash_table_session_summary SET date_start = '2011/09/08 14:05:08', date_end = '2011/09/08 14:08:01', id_limit = 56, cnt_minutes = 3, amt_won = -32.05, amt_pot = 76.50, amt_rake = 0.30, amt_rake_contributed = 0.80, amt_rake_contributed_weighted = 0.80, amt_mgr = 0.80, cnt_hands = 7, cnt_hands_won = 3, cnt_ttl_players = 14, cnt_ttl_players_flop = 0 WHERE id_session = 5363 AND id_player = 2549;INSERT INTO cash_table_session_summary VALUES(10846, 2, 2300, 2549, 2549, 20, 236,
................ 6 more screenfuls of that......
'2011/09/08 15:00:51', 1, 1, 1.00, -0.50, 0.00, 0.00, 0.00, 0.00, 1, 0, 2, 0, 'f', 'f', 1.40440000);DELETE FROM cash_table_session_summary WHERE id_session = 5394;DELETE FROM cash_table_session_summary WHERE id_session = 5397;DELETE FROM cash_table_session_summary WHERE id_session = 5745;DELETE FROM cash_table_session_summary WHERE id_session = 5746;DELETE FROM cash_table_session_summary WHERE id_session = 5744;DELETE FROM cash_table_session_summary WHERE id_session = 5741;DELETE FROM cash_table_session_summary WHERE id_session = 5827;DELETE FROM cash_table_session_summary WHERE id_session = 5832;DELETE FROM cash_table_session_summary WHERE id_session = 5831;DELETE FROM cash_table_session_summary WHERE id_session = 5866;DELETE FROM cash_table_session_summary WHERE id_session = 6006;DELETE FROM cash_table_session_summary WHERE id_session = 6019;DELETE FROM cash_table_session_summary WHERE id_session = 6017;DELETE FROM cash_table_session_summary WHERE id_session = 6030;DELETE FROM cash_table_session_summary WHERE id_session = 6031;DELETE FROM cash_table_session_summary WHERE id_session = 6025;DELETE FROM cash_table_session_summary WHERE id_session = 6087;DELETE FROM cash_table_session_summary WHERE id_session = 6077;DELETE FROM cash_table_session_summary WHERE id_session = 6080;DELETE FROM cash_table_session_summary WHERE id_session = 6086;DELETE FROM cash_table_session_summary WHERE id_session = 6078;DELETE FROM cash_table_session_summary WHERE id_session = 6088;DELETE FROM cash_table_session_summary WHERE id_session = 6100;DELETE FROM
...................and after a screenful........
cash_table_session_summary WHERE id_session = 10577;DELETE FROM cash_table_session_summary WHERE id_session = 10689;DELETE FROM cash_table_session_summary WHERE id_session = 10688;DELETE FROM cash_table_session_summary WHERE id_session = 10779;DELETE FROM cash_table_session_summary WHERE id_session = 10774;DELETE FROM cash_table_session_summary WHERE id_session = 10777;COMMIT;; Reason: Fatal Error (ERROR: deadlock detected DETAIL: Process 27480 waits for ShareLock on transaction 4488998; blocked by process 25676. Process 25676 waits for ShareLock on transaction 4488997; blocked by process 27480. HINT: See server log for query details. )
a load of these (about 15k lines worth):
2012/04/25 22:22:00.461 [00064]: [00007FC8][PostgresConnection (Error)] Unable to execute query: INSERT INTO player VALUES (3794, 2300, 'a players name here', 'a players name here', 0, 'f', 'f');; Reason: Fatal Error (ERROR: current transaction is aborted, commands ignored until end of transaction block )
Later, trying to look at Results|Overview|Advanced|By Date, I get (for some of my nicks only, some work... also the Basic report works)
2012/04/26 00:14:36.383 [00000]: [00006058][Query::QueryThread] Thread [0x00006058]: Begin
2012/04/26 00:14:36.385 [00001]: [00006058][Query] Executing SQL (Thread): SELECT ((case when( cash_hand_player_statistics.val_curr_conv != 0) then cash_hand_player_statistics.val_curr_conv*cash_hand_player_statistics.amt_won else 0.0 end)) as "amt_won_curr_conv", (cash_hand_summary.id_hand) as "id_hand" FROM cash_hand_player_statistics , cash_hand_summary, cash_limit WHERE (cash_hand_summary.id_hand = cash_hand_player_statistics.id_hand) AND (cash_limit.id_limit = cash_hand_player_statistics.id_limit) AND (cash_limit.id_limit = cash_hand_summary.id_limit) AND (cash_hand_player_statistics.id_player = (SELECT id_player FROM player WHERE player_name_search='mynickhere' AND id_site='2300')) ORDER BY (timezone('UTC', cash_hand_player_statistics.date_played + INTERVAL '0 HOURS')) asc
2012/04/26 00:14:36.458 [00073]: [- Main -][ptQueryCtrlBase] ptQueryCtrlBase::doLoad(): Begin
2012/04/26 00:14:36.465 [00007]: [- Main -][PostgresConnection (Error)] Unable to execute query: SELECT typrelid FROM pg_catalog.pg_type WHERE typname='cash_cache';; Reason: Fatal Error (ERROR: current transaction is aborted, commands ignored until end of transaction block )
2012/04/26 00:14:36.487 [00022]: [- Main -][StatManager] Unable to use cache due to column: date_played_year_month (date_played_year_month)
