Приложение
Скачайте приложение сейчас
и получите 7 дней пения бесплатно
Полный доступ к исполнению песен.
Без рекламы. Более 20 000 караоке-песен у вас в руках.
Скачать
Первые 7 дней
бесплатно
DoReMi
SQL Запросы
[2025-12-15 19:30:50] srv1.dev:11311> get:site_sesstmm3kh31i1bplbc8a18q7vhita
[2025-12-15 19:30:50] srv1.dev:11211> get:site_sesstmm3kh31i1bplbc8a18q7vhita
[2025-12-15 19:30:50] srv1.dev:11211> get:content_author_top5
[2025-12-15 19:30:50] srv1.dev:11211> get:content_collection_top5
[2025-12-15 19:30:50] srv1.dev:11311> get:content_song_top5
[2025-12-15 19:30:50] srv1.dev:11211> get:key_page_entity_collection_v3_3
[2025-12-15 19:30:50] srv1.dev:11211> get:key_page_entity_collection_v3_1
[2025-12-15 19:30:50] srv1.dev:11211> get:content_collection_songs_8_12
[2025-12-15 19:30:50] karaoke_site@master-db1.dev:5432> select cs.song_id id, cs.sort 
            from collection_song cs
            join song s on s.id = cs.song_id
            where cs.collection_id = '8'
                and s.age_limit <> '18'
                and s.expire_at > now() + interval '5 minute'
            order by cs.sort
            limit '12'
[2025-12-15 19:30:50] srv1.dev:11211> set:content_collection_songs_8_12
[2025-12-15 19:30:50] 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 (4877,10529,5557,5270,533,3712528,3687765,3712543,3712534,3712561,3619945,3712552,3712614,3712550,3712527,3712409,3712537)) and ("type_id" = '3') and ("is_main_author" = '1')
[2025-12-15 19:30:50] karaoke_site@master-db1.dev:5432> select "author".* from "author" where "id" in ('1944','736','556','668','396','1300','2371','1759','2190','2488','2589','1393','2454','335','1720','2401','376','1884','4429','555','1250','2240','323','398399','1365220','4297','98624','98620','1365136','639','1649621','1619342')
[2025-12-15 19:30:50] 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 ('7','4','11','5','1','8','46','9','10','6','2','3','17','18')
[2025-12-15 19:30:50] karaoke_site@master-db1.dev:5432> select "song".* from "song" where "id" in ('4877','10529','5557','5270','533','3712528','3687765','3712543','3712534','3712561','3619945','3712552','3712614','3712550','3712527','3712409','3712537')
[2025-12-15 19:30:50] srv1.dev:11311> get:content_author_alphabet
[2025-12-15 19:30:50] srv1.dev:11211> set:site_sesstmm3kh31i1bplbc8a18q7vhita
[2025-12-15 19:30:50] srv1.dev:11311> set:site_sesstmm3kh31i1bplbc8a18q7vhita