alter system set PROCESSES=200 scope=SPFILE;
alter system set SESSIONS=115 scope=SPFILE;
DECIMAL(19, 4), т.е. 15 цифр в целой части и 4 в дробной
sqlplus -s system/root@XE --зашел в sqlplus, -s включает silent logging
--set linesize 100 --устанавливаем длину строки результата
--set heading off --отключаем заголовки столбцов в результате
spool <имя файла>
--@имя_скрипта --или
--<скрипт>
spool off
select resource_name, current_utilization, max_utilization, limit_value
from v$resource_limit
where resource_name in ('sessions', 'processes');
psql -h localhost database_name [postgres by default] username [postgres by default]
psql -U username -d myDataBase -a -f myInsertFile
https://stackoverflow.com/questions/33243121/abuse-curl-to-communicate-with-redis
exec 3<>/dev/tcp/127.0.0.1/6379 && echo -e "PING\r\n" >&3 && head -c 7 <&3
https://stackoverflow.com/questions/1498777/how-do-i-show-the-schema-of-a-table-in-a-mysql-database
select TABLE_SCHEMA, TABLE_NAME, TABLE_TYPE, ROW_COUNT_ESTIMATE from INFORMATION_SCHEMA.TABLES where TABLE_SCHEMA='PUBLIC';
https://forum.liquibase.org/t/how-to-fix-validationfailedexception-in-liquibase-checksum/6780/5
Update the databasechangelog table, setting the md5sum to NULL for the particular row
update databasechangelog set md5sum=null where filename='<put_your_file_name_here>';
docker exec -e PGPASSWORD=postgres123 -i andd3dfx-db-server psql -U postgres -d postgres -c "update andd3dfx_dev_schema.flyway_schema_history set checksum=157720223 where version='1.50.1.260217.1200';"
https://stackoverflow.com/questions/40729216/h2-database-unsupported-database-file-version-or-invalid-file-header-in-file To check H2 version use query:
SELECT H2VERSION() FROM DUAL
SELECT pid, usename, client_addr, client_port, application_name, state, query_start FROM pg_stat_activity;