Search
 
SCRIPT & CODE EXAMPLE
 

SQL

faster mysql imports

#Innodb before import:
SET FOREIGN_KEY_CHECKS = 0;
SET UNIQUE_CHECKS = 0;
SET AUTOCOMMIT = 0;
#After import:
SET UNIQUE_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 1;
COMMIT;
Comment

faster mysql imports

#To disable MySQL indexes:
ALTER TABLE `table_name` DISABLE KEYS;
#To enable MySQL indexes:
ALTER TABLE `table_name` ENABLE KEYS;
Comment

PREVIOUS NEXT
Code Example
Sql :: oracle rolling back 
Sql :: oracle select tree structure 
Sql :: select from diffrent tables 
Sql :: ring rollback updates to the database using the odbc_rollback() 
Sql :: Inner join steps 
Sql :: add sqlcmd to path linux 
Sql :: select statement to print shortest name 
Sql :: mysql join table with a text columns with ids splited by char 
Sql :: export partttion and import in oracle 
Sql :: postgres regex word boundary 
Sql :: localhost ERROR 2006 (HY000) at line 1163: MySQL server has gone away 
Sql :: read_sql mysql 
Sql :: stored procedure replace 
Sql :: drop-toys-table 
Sql :: can you create views in dbbrowser 
Sql :: flask sqlalchemy single table inheritance 
Sql :: Failed to initialize, mariadb service is unhealthy. 
Sql :: create table using the clause with as 
Sql :: why mssql rds is using more than 95 memory pool 
Sql :: tsql find the value and count of the item that occurs the most in a column 
Sql :: maximum number of tables in mysql 
Sql :: SQL single column 
Sql :: phone number data type in sql 
Sql :: ejecutar script sql 
Sql :: codeigniter MySQL - Issue with SELECT & GROUP BY 
Sql :: sqlite 
Sql :: psql database does not exist 
Sql :: django.core.exceptions.ImproperlyConfigured: mysqlclient 1.3.13 or newer is required; you have 0.8.0. 
Sql :: flask sqlalchemy session delete 
Sql :: wincc 7.4 to sql stackoverflow 
ADD CONTENT
Topic
Content
Source link
Name
3+1 =