Приложение
Скачайте приложение сейчас
и получите 7 дней пения бесплатно
Полный доступ к исполнению песен.
Без рекламы. Более 20 000 караоке-песен у вас в руках.
Скачать
Первые 7 дней
бесплатно
DoReMi
SQL Запросы
[2025-03-18 06:16:21] karaoke_site@master-db1.dev:5432> select "page".* from "page" where (url = '/catalog/songs_by_genre/pesni-k-23-fevralya/')
[2025-03-18 06:16:21] karaoke_site@master-db1.dev:5432> 
            select c.*
            from collection c
            LEFT JOIN collection_vendor AS cv ON c.id = cv.collection_id
         where (urlkey = 'pesni-k-23-fevralya') and (cv.vendor_id is null or cv.vendor_id = '6')
[2025-03-18 06:16:21] srv1.dev:11311> get:site_sess3hlcs7pr4u9smsg1mk6cm6llur
[2025-03-18 06:16:21] srv1.dev:11211> get:content_author_top5
[2025-03-18 06:16:21] srv1.dev:11211> get:content_collection_top5
[2025-03-18 06:16:21] srv1.dev:11311> get:content_song_top5
[2025-03-18 06:16:21] karaoke_site@master-db1.dev:5432> select "song".* from "collection_song"
                join "song" on "song"."id"
                                                      = "collection_song"."song_id" where (expire_at > now()) and ("collection_id" = '47') order by collection_song.sort, song.sort, song.id limit 100 offset 0
[2025-03-18 06:16:21] karaoke_site@master-db1.dev:5432> select "song_author"."song_id" __pr_pk,
                     "song_author"."author_id" __dp_pk, "song_author"."type_id" __dp_type_id, "song_author"."sort" __dp_sort, "song_author"."is_main_author" __dp_is_main_author from "song_author" where ("song_author"."song_id" in (3619847,10529,5270,5259,3489916,9566,9270,8926,5571,5735,12497,9457,9100,11234,4857,9640,2374,2806,2612,3865,3570,3378,237,2117,12576,11424,5331)) and ("type_id" = '3')
[2025-03-18 06:16:21] karaoke_site@master-db1.dev:5432> select "author".* from "author" where "id" in ('1944','347022','396','736','376','2227','398399','668','3326','1392','1721','802','1637','2316','1926','855','2404','2371','817','1691','1615','1090','973','304','556')
[2025-03-18 06:16:21] karaoke_site@master-db1.dev:5432> 
            select c.*
            from collection c
            LEFT JOIN collection_vendor AS cv ON c.id = cv.collection_id
         where "id" in ('5','4','7','1','3')
[2025-03-18 06:16:21] karaoke_site@master-db1.dev:5432> select "song".* from "song" where "id" in ('3619847','10529','5270','5259','3489916')
[2025-03-18 06:16:21] karaoke_site@master-db1.dev:5432> select "contest_stage".* from "contest_stage" where (now() between date_start and date_end) and (collection_id = '47') order by "id" asc
[2025-03-18 06:16:21] srv1.dev:11211> set:site_sess3hlcs7pr4u9smsg1mk6cm6llur
[2025-03-18 06:16:21] srv1.dev:11311> set:site_sess3hlcs7pr4u9smsg1mk6cm6llur