Turn off autocommit and just do one commit at the end. (In plain SQL, this means issuing BEGIN at the start and COMMIT at the end) If you allow each insertion to be committed separately, PostgreSQL is doing a lot of work for each row that is added. An additional benefit of doing all insertions in one transaction is that if the insertion of one row were to fail then the insertion of all rows inserted up to that point would be rolled back, so you won’t be stuck with partially loaded data.
Tags +
...
- .htaccess
- Acronis
- Active Directory
- Alerts
- Anonymous FTP
- Antivirus
- Apache
- Aptitude
- ASP
- Audio / Video
- Auto Responder
- AWStats
- BFD
- Bind
- CDONTS
- CDOSYS
- CentOS
- CGI Scripts
- chkrootkit
- Cloud
- Cloud Storage
- CloudLinux
- CMC
- ColdFusion
- cPanel
- CPU
- Cron Job
- CSF
- CSR
- Cute FTP
- DDoS
- Debian
- DeepMetrix
- DirectAdmin
- DNS
- Docker
- Domain Application Vault
- Domlogs
- Dreamweaver
- DrWEB
- Duplicati
- eAccelerator
- EasyApp
- Ensim
- Eudora
- Exim
- Fantastico
- Fedora
- ffmpeg
- FileZilla
- Firewall
- Flash
- FormMail
- Forwarder
- FreeBSD
- FrontPage
- FTP
- GeoTrust
- GRUB
- Helm
- Hivelocity FAQ
- Horde
- Hosting Controller
- Hotlink Protection
- Hsphere
- HTTP
- IIS
- Imagemagick
- IMP
- Incredimail
- inetd
- Intel
- IP Address
- IPMI
- iptables
- JFS
- Kernel
- KernelCare
- Kubernetes
- Linux
- LiteSpeed
- LiveStats
- LogWatch
- MailEnable
- Maldet
- Managed Services
- MBR
- MC
- Metabase
- MetaEdit
- Metered
- Midnight Commander
- Monitoring
- MPC
- MRTG
- MS Access
- MSDE
- MSSQL
- MX Record
- MySQL
- mysql.sock
- mytop
- MyV
- MyVelocity
- Nagios
- NAS
- NAT
- NDR
- Neomail
- Netscape Communicator
- Netstat
- NFS
- NTFS
- NTP
- OpenStack
- osCommerce
- Outlook
- Pegasus
- Percona
- Perl
- PHP
- phpBB
- phpMyAdmin
- PIP
- Plesk
- PostgreSQL
- Process Explorer
- Proxmox
- Python
- Qmail
- RDP
- RedHat
- Redirect
- ReiserFS
- Remote Desktop
- RootCheck
- RPM
- RSYNC
- Runlevel
- RVSiteBuilder
- securephp
- SendMail
- Settings
- Sharepoint
- SIM
- Sitebuilder
- SiteStudio
- Skeleton
- Slackware
- smartcheck
- SmartFTP
- SMTP
- Softaculous
- SpamAssassin
- speedtest
- SPF Record
- SQL
- SquirrelMail
- SSH
- SSL
- Suexec
- Swap Partition
- sysctl
- Tablespaces
- tar
- Task Scheduler
- Telnet
- Terminal Services
- Thunderbird
- tmp
- Tomcat
- Top
- Traceroute
- Troubleshooting
- True Site
- Ubuntu
- UFS partition
- Unix
- Unmetered
- Urchin
- VirtualHost
- Virtuozzo
- vmstat
- VPS
- vsftpd
- Wasabi
- WebAdmin
- Webalizer
- Webmail
- Webmin
- wget
- WHM
- Windows
- WordPress
- WS_FTP
- XFS
- YUM
- Zen Cart
- Zend Optimizer
- Zimbra
Tags –
...
- .htaccess
- Acronis
- Active Directory
- Alerts
- Anonymous FTP
- Antivirus
- Apache
- Aptitude
- ASP
- Audio / Video
- Auto Responder
- AWStats
- BFD
- Bind
- CDONTS
- CDOSYS
- CentOS
- CGI Scripts
- chkrootkit
- Cloud
- Cloud Storage
- CloudLinux
- CMC
- ColdFusion
- cPanel
- CPU
- Cron Job
- CSF
- CSR
- Cute FTP
- DDoS
- Debian
- DeepMetrix
- DirectAdmin
- DNS
- Docker
- Domain Application Vault
- Domlogs
- Dreamweaver
- DrWEB
- Duplicati
- eAccelerator
- EasyApp
- Ensim
- Eudora
- Exim
- Fantastico
- Fedora
- ffmpeg
- FileZilla
- Firewall
- Flash
- FormMail
- Forwarder
- FreeBSD
- FrontPage
- FTP
- GeoTrust
- GRUB
- Helm
- Hivelocity FAQ
- Horde
- Hosting Controller
- Hotlink Protection
- Hsphere
- HTTP
- IIS
- Imagemagick
- IMP
- Incredimail
- inetd
- Intel
- IP Address
- IPMI
- iptables
- JFS
- Kernel
- KernelCare
- Kubernetes
- Linux
- LiteSpeed
- LiveStats
- LogWatch
- MailEnable
- Maldet
- Managed Services
- MBR
- MC
- Metabase
- MetaEdit
- Metered
- Midnight Commander
- Monitoring
- MPC
- MRTG
- MS Access
- MSDE
- MSSQL
- MX Record
- MySQL
- mysql.sock
- mytop
- MyV
- MyVelocity
- Nagios
- NAS
- NAT
- NDR
- Neomail
- Netscape Communicator
- Netstat
- NFS
- NTFS
- NTP
- OpenStack
- osCommerce
- Outlook
- Pegasus
- Percona
- Perl
- PHP
- phpBB
- phpMyAdmin
- PIP
- Plesk
- PostgreSQL
- Process Explorer
- Proxmox
- Python
- Qmail
- RDP
- RedHat
- Redirect
- ReiserFS
- Remote Desktop
- RootCheck
- RPM
- RSYNC
- Runlevel
- RVSiteBuilder
- securephp
- SendMail
- Settings
- Sharepoint
- SIM
- Sitebuilder
- SiteStudio
- Skeleton
- Slackware
- smartcheck
- SmartFTP
- SMTP
- Softaculous
- SpamAssassin
- speedtest
- SPF Record
- SQL
- SquirrelMail
- SSH
- SSL
- Suexec
- Swap Partition
- sysctl
- Tablespaces
- tar
- Task Scheduler
- Telnet
- Terminal Services
- Thunderbird
- tmp
- Tomcat
- Top
- Traceroute
- Troubleshooting
- True Site
- Ubuntu
- UFS partition
- Unix
- Unmetered
- Urchin
- VirtualHost
- Virtuozzo
- vmstat
- VPS
- vsftpd
- Wasabi
- WebAdmin
- Webalizer
- Webmail
- Webmin
- wget
- WHM
- Windows
- WordPress
- WS_FTP
- XFS
- YUM
- Zen Cart
- Zend Optimizer
- Zimbra
...
Why should I disable autocommit while dumping a database?
Need More Personalized Help?
If you have any further issues, questions, or would like some assistance checking on this or anything else, please reach out to us from your my.hivelocity.net account and provide your server credentials within the encrypted field for the best possible security and support.
If you are unable to reach your my.hivelocity.net account or if you are on the go, please reach out from your valid my.hivelocity.net account email to us here at: support@hivelocity.net. We are also available to you through our phone and live chat system 24/7/365.
WE CAN HELP YOU FIND THE RIGHT SOLUTION
When do you need your new server?