HEX
Server: Apache/2.4.46 (Ubuntu)
System: Linux localhost 5.11.0-49-generic #55-Ubuntu SMP Wed Jan 12 17:36:34 UTC 2022 x86_64
User: root (0)
PHP: 7.4.16
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/html/mysql-postgres/pgloader-3.6.2/test/sakila-data.load
load database
     from      mysql://root@localhost/sakila
     into postgresql:///sakila

 -- WITH include drop, create tables, no truncate,
 --      create indexes, reset sequences, foreign keys

 -- WITH batch rows = 10000

 WITH concurrency = 1, workers = 6,
      max parallel create index = 4

      -- uncomment the following line to test loading into an already
      -- existing schema, and make sure the schema actually is ready by
      -- having done a first migration without those options:
      , create no tables, include drop, truncate

  SET maintenance_work_mem to '128MB',
      work_mem to '12MB',
      search_path to 'sakila, public, "$user"'

 CAST type date drop not null drop default using zero-dates-to-null,
      type datetime to timestamp drop default drop not null using zero-dates-to-null

      -- type tinyint to boolean using tinyint-to-boolean,
      -- type year to integer drop typemod -- now a default

 -- MATERIALIZE VIEWS film_list, staff_list
 MATERIALIZE ALL VIEWS

 ALTER TABLE NAMES MATCHING ~/_list$/, 'sales_by_store', ~/sales_by/
  SET SCHEMA 'mv'

 ALTER TABLE NAMES MATCHING 'sales_by_store' RENAME TO 'sales_by_store_list'
 ALTER TABLE NAMES MATCHING 'film' RENAME TO 'films'

 ALTER SCHEMA 'sakila' RENAME TO 'pagila'

 -- INCLUDING ONLY TABLE NAMES MATCHING ~/film/, 'actor'
 EXCLUDING TABLE NAMES MATCHING ~<ory> ;


 -- BEFORE LOAD DO
 -- $$ create schema if not exists sakila; $$,
 -- $$ create schema if not exists mv; $$,
 -- $$ alter database sakila set search_path to sakila, mv, public; $$