Commit Graph

38 Commits

Author SHA1 Message Date
Athou
079345b2e0 refactored the way entries and statuses are fetched 2013-07-19 11:30:40 +02:00
Athou
24ee418f3f denormalized fields on statuses for faster queries 2013-07-14 05:48:47 +02:00
Athou
73b757a4ac use less joins 2013-07-12 15:42:07 +02:00
Athou
4efa18f9e6 materialize the manytomany relationship to have better control over queries 2013-07-04 23:44:12 +02:00
Athou
f0f1a7f87b cache the "tree" 2013-07-02 18:49:34 +02:00
Athou
8997024eb7 set a timeout on more queries 2013-07-01 21:15:32 +02:00
Athou
97f3efbf7c fix postgresql deployment (fix #350) 2013-06-27 23:30:16 +02:00
Athou
ddfca39d61 search in read items too (#325) 2013-06-22 16:41:35 +02:00
Athou
91f6a43b2f set timeout on unread count too 2013-06-22 06:21:37 +02:00
Athou
604343c3ce batch fetch for all subscription query 2013-06-21 09:38:49 +02:00
Athou
f4170b12f2 remove debug line 2013-06-21 09:18:40 +02:00
Athou
1b37e95336 smarter queries for other types 2013-06-20 23:31:28 +02:00
Athou
a203246e04 smarter findAll query 2013-06-20 16:49:18 +02:00
Athou
5ce780e6a2 purge entries as well as statuses 2013-06-19 13:29:56 +02:00
Athou
491af8a6df don't sort when just marking 2013-06-18 13:48:07 +02:00
Athou
238a57cc27 database agnostic cleanup query 2013-06-18 13:00:03 +02:00
Athou
c4bb8da746 faster cleanup query 2013-06-18 10:34:11 +02:00
Athou
9b53e2b0fb better cleaning method 2013-06-18 08:54:53 +02:00
Athou
05893088c7 optimized query when only a single category is needed 2013-06-15 15:40:55 +02:00
Athou
cc1248f350 remove unnecessary join 2013-06-13 13:40:13 +02:00
Athou
b8a8a2b86d relationships are not nullable, no point in doing a left join 2013-06-12 16:57:31 +02:00
Athou
33f10f5e9c limit query execution time to 20s 2013-06-12 04:58:19 +02:00
Athou
ec163da9db removed easycriteria 2013-06-08 16:15:11 +02:00
Athou
feda8ca834 optional query parameter to filter out old entries from results 2013-06-08 14:09:46 +02:00
Athou
be6db080fd hibernate tweaks 2013-06-06 09:54:17 +02:00
Athou
34d47b3250 fetch content later, join big tables on foreign keys only 2013-05-30 10:43:49 +02:00
Athou
fe16a2a7e2 mark starred entries 2013-05-22 17:12:01 +02:00
Athou
f5843e28b6 exclude content from the big join, lazy load when done 2013-05-17 11:25:50 +02:00
Athou
4ec2cc51ca rollback inner join changes, left joins actually enforce order 2013-05-16 17:01:10 +02:00
Athou
edbe326c0a move the join on entries as the first join 2013-05-16 14:34:29 +02:00
Athou
104c33e679 use inner joins 2013-05-16 12:06:35 +02:00
Athou
121daacf94 lazy loading everywhere 2013-05-15 16:40:16 +02:00
Athou
993bc0a1ac left joins instead of cross joins 2013-05-15 16:01:14 +02:00
Athou
c36e684440 actually restrict starred list to the user's feeds 2013-04-29 22:40:49 +02:00
Athou
d5218b8773 initial starring support 2013-04-29 22:37:26 +02:00
Athou
f8faa69f02 remove serializable as it does not make sense 2013-04-15 11:47:48 +02:00
Athou
edd2ec42c7 use metamodel 2013-04-12 10:44:41 +02:00
Athou
5b5ad242e0 major classes refactoring 2013-04-11 20:49:08 +02:00