Questions tagged [import]

The import of data is the automated or semi-automated input of data sets between different software applications.

Filter by
Sorted by
Tagged with
1 vote
1 answer
33 views

Is an import partially executed when mysql import errors during that import?

While importing a database I received a Duplicate Entry error. ERROR 1062 (23000) at line 2825: Duplicate entry 'homerow' for key 'PRIMARY' Are the import instructions up until line 2825 executed or ...
devunder's user avatar
  • 111
0 votes
0 answers
37 views

Trying to import large sql file in MySQL fails

I am trying to import an SQL file that is 685MB into MySQL. First I tried it through phpmyadmin - it failed. Then I tried through the command line with: mysql -u root -p database-name < file.sql ...
Petar Vasilev's user avatar
1 vote
1 answer
64 views

TablePlus exporting without error but can not import it back

Exporting a table with 22,245 rows using TablePlus, after which TablePlus tells me "Export completed successfully". If I create a new database and try to import the file I just exported, I ...
Matt Welander's user avatar
0 votes
1 answer
173 views

Importing CSV File into MySQL gives UnicodeDecodeError

I'm trying to import a CSV file into the insert tab of a MySQL database model. Importing the file gives the following error: Error during data import: UnicodeDecodeError("'ascii' codec can't ...
SlowlySwift's user avatar
0 votes
1 answer
227 views

How to increase ODBC Command Timeout When Using SQL Server Import/Export Tool

I am using ODBC driver to transfer data from Postgres to SQL Server https://learn.microsoft.com/en-us/sql/integration-services/import-export-data/connect-to-a-postgresql-data-source-sql-server-import-...
Imran Qadir Baksh - Baloch's user avatar
0 votes
1 answer
270 views

How to import CSV files into MariaDB in a secure and performant way?

We have a PHP based web application that allows the upload of CSV files. These CSV files with up to 2.5 million rows are to be imported into a table in a MariaDB. How can we make this import secure ...
Ste2play's user avatar
1 vote
1 answer
391 views

LOAD DATA LOCAL INFILE with specifying first column as auto-increment value

LOAD DATA LOCAL INFILE 'index.csv' INSERT INTO TABLE `aws_pricing` FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"' ESCAPED BY '\\' LINES TERMINATED BY '\n' IGNORE 6 LINES; Thing is, my table ...
anjanesh's user avatar
  • 269
0 votes
1 answer
118 views

Import big mongodb bson archive > 300Mb

I've installed mongodb the next way on Ubuntu 20.04: wget -qO - https://www.mongodb.org/static/pgp/server-6.0.asc | sudo apt-key add - echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/...
Gryu's user avatar
  • 275
2 votes
1 answer
172 views

SELECT COUNT() returns ReadFailure after importing data from another cluster

I've cloned one cluster to another with these steps: Copy table files on each source node from /var/lib/cassandra/data/keyspace/table/snapshots... to /location/snaps/ Run sstableloader on each ...
dba_db2_dse's user avatar
0 votes
0 answers
581 views

Postgresql import csv failing on quoted \r\n

This is my first question here and I'm new to Postgres as well. I'm trying to import a csv file into an existing table that has an identical structure. Using the PgAdmin4 Import/Export data... I get ...
JHerbst's user avatar
0 votes
0 answers
102 views

Why am I getting the error "Object ... was not found" when importing a dump?

I want to import a dump file but I have this error: Import: Release 19.0.0.0.0 - Production on Wed Feb 22 07:56:35 2023 Version 19.16.0.0.0 Copyright (c) 1982, 2019, Oracle and/or its affiliates. ...
Quynh Anh's user avatar
1 vote
0 answers
107 views

How to export MySQL in a format accepted by DigitalOcean database clusters?

I am struggling with importing my databases to Digital Ocean database clusters. They have a setting that requires the primary key to be defined in the CREATE TABLE statement, but all my tools (...
Matt Welander's user avatar
0 votes
1 answer
21 views

Is it safe to export and then import encrypted database information in Oracle SQLdeveloper?

I'd like to perform some tests in a database by deleting the content of certain tables and then restoring the content they previosuly had once the test is finished. But problem is that these tables ...
mylket's user avatar
  • 103
0 votes
1 answer
181 views

Importing working MariaDB innodb dump into new database and receiving Error 1071 Key too long

Old server is MariaDB 10.6 New server is MariaDB 10.3 I mysqldump the old DB which is still the master copy and functioning. I made sure the new server DB is set to InnoDB (like the old one) using ...
postuple's user avatar
0 votes
2 answers
315 views

dbatools import csv help!

Is there a way I can import csv files with the proper data types into MSSQL table using PS dba tools? I'm using this below command but all I get is a table and all the columns are nvarchar(max): ...
SAKA UK's user avatar
  • 90
0 votes
1 answer
1k views

#1064 - SQL syntax Error while trying to import

DROP TABLE IF EXISTS `migration_versions`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `migration_versions` ( `version` ...
J. Scott Elblein's user avatar
-3 votes
1 answer
425 views

Import 5gb sql file into MYSQL database [duplicate]

i have exported sql file using mysql dump from a database and i am trying to import this big 5gb file into anohter mysql database. I am using mysql -u username -p -h hostname <file.sql command ...
deep.er's user avatar
0 votes
1 answer
2k views

0 rows from the .csv (semi colon) are imported into MySQL Workbench

I am trying to import the .csv below (columns and 3 first records in txt in differenet blockquotes) into MySQL Workbench using the Table Data Import Wizard. I have tried many ways and realized that ...
transmod_kdtk's user avatar
3 votes
1 answer
76 views

How can I transfer the entire content of several tables to another database, not in the same network?

I have a set of 12 tables, about 4 million rows total, that I need to move four times per year. The database server they are coming from can NOT directly talk to the server that they are moving to. ...
starholme's user avatar
2 votes
1 answer
7k views

Date not being imported from csv in proper format in MySQL

I am new to MySQL, so kindly explain your answers in a simple way! I have a csv file which has 2 date columns. I want to import the csv into MySQL and I am using the following method: Create an empty ...
spectre's user avatar
  • 121
17 votes
5 answers
4k views

Does it save anything to use a smaller varchar or nvarchar size instead of some large value like 4000?

In importing data to SQL server, one can often not account for how large the imported string fields will be. Can I just lazily keep using a large value for the char field definitions, and does it have ...
user55570's user avatar
  • 339
1 vote
1 answer
4k views

unterminated CSV quoted field when to import csv data file into postgresql

Create a table : CREATE TABLE num ( id serial NOT NULL , adsh VARCHAR(20) NOT NULL, tag VARCHAR(256) NOT NULL, version VARCHAR(20) NOT NULL, coreg VARCHAR(256), ddate date NOT ...
showkey's user avatar
  • 264
0 votes
1 answer
5k views

Oracle 12c to 19c Internal Schema Export & Import

I want to exp & imp operations for APEX users from Oracle Database 12cR1 to 19c. Data Pump Utility can't do that. When I try to export by using following parfile and command: DUMPFILE=APEX.dmp ...
jrdba123's user avatar
1 vote
1 answer
2k views

How do I import CSV UUID data into Postgres on the command line?

I'm using PostGres 10. I have this table > \d myapp_currencyprice; Table "public.myapp_currencyprice" Column | Type | Modifiers ----------------...
Dave's user avatar
  • 635
0 votes
1 answer
319 views

importing bacpac file using sql package

How can I specify Database maximum size when importing bacpac file using sql package? The maximum size of 32GB is auto-sizing, but my actual DB size is over 35GB. Can I get to use DatabaseMaximumSize=(...
Cho Wai Tun's user avatar
0 votes
1 answer
993 views

Why do I get #2006 MySQL server has gone away and how can I fix this?

What I'm doing is I'm trying to restore MySQL tables from frm and ibd files. Most of the tables have been restored successfully. I do it like this: mysqlfrm --diagnostic "C:/<path_to_frm>/...
JConstantine's user avatar
3 votes
1 answer
295 views

MySQL importing csv file by Data import wizard

I tried importing a CSV file in MySQL via the data import wizard. My CSV file has 70,000 records but only 61 are imported. I tried checking the CSV file, recreating the file from source, and changing ...
Namu N's user avatar
  • 31
2 votes
3 answers
4k views

Export and import a table without a specific column

I'm trying to export a table with an Auto Increment rowid column and then import it in another server. Considering that the column is primary key and can't accept duplicate keys if i import rows after ...
Pooya Estakhri's user avatar
2 votes
1 answer
912 views

View SQL Code Behind Flat File Import Wizard?

Is there a way to view and copy the code that the "Import Flat File to SQL" Wizard ultimately uses, after I have gone through all the steps (chosen file, set up data types for my columns, ...
NatY's user avatar
  • 23
1 vote
1 answer
333 views

Mysql (win) Is it possible to get databases from multiple drives in the same time?

My question would be, is there any way to read the mysql data folder from different drives in the same time (Windows) ? For example: I have 1TB database from the drive C:, and another 1TB from the ...
carouselcarousel's user avatar
6 votes
1 answer
9k views

Parsing DATE while copying csv file into PostgreSQL table

I have a long series of .csv files, which I want to import into a local database. I believe my query is correct, but there are some problems in parsing DATE and TIMESTAMP columns. PostgreSQL reads ...
baggiponte's user avatar
0 votes
1 answer
2k views

Most efficient method to import bulk JSON data from different sources in postgresql?

I need to import data from thousands of URLs, here is an example of the data: [{"date":"20201006T120000Z","uri":"secret","val":"1765.756"},{...
Lautaro Aguilera's user avatar
3 votes
1 answer
4k views

ORA-39014 import in Oracle 19c from DMP file of Oracle12c

I have been testing out expdp/impdp of databases from 12c to 19c( newly created database) but one db have game me this error: nohup impdp system/****@CKLPROD CONTENT=METADATA_ONLY PARALLEL=4 DIRECTORY=...
Mary Ann's user avatar
1 vote
2 answers
670 views

SqlPackage importing of very large bacpacs to Azure

I want to import a database from a .bacpac file to a SQL Server in Azure. I read the document. It says that there is a flag called DatabaseMaximumSize=(INT32). I wanted to know if there's a limit that ...
CodeMonkey's user avatar
0 votes
1 answer
248 views

Importing files with a mix of decimal separators

Using SQL Server Management Studio 18.3 I want to import data (semicolon separated text file) that has some columns with dot as decimal separator, and some with comma as decimal separator. I can't ...
kgbviz's user avatar
  • 3
1 vote
1 answer
616 views

MongoDB + Compass exporting strings and numbers "columns" with value of 1 as "true"(boolean) and 2 or null as "false" to CSV

When I export my MongoDB collection to a CSV, the String and Number "column" data types values are converted to "true" for 1 and "false" for 2 and null - how do I retain ...
K8sN0v1c3's user avatar
1 vote
3 answers
3k views

Japanese characters in VARCHAR column using Japanese_Unicode_CI_AS

I am loading a table with the Japanese names from CSV file that are changing into question marks into SQL Table. The table that is storing these values is a varchar column. I understand that the ...
Nitesh Parasher's user avatar
0 votes
2 answers
1k views

importing postgres tar file throws parallel not supported in postgres 12

I'm trying to import a db that someone sent me: testdb.tar (43GB size) First I've imported using: pg_restore --host localhost --port 5432 --username postgres --dbname testdb --role postgres --no-...
catalin's user avatar
  • 123
1 vote
0 answers
34 views

oralce import joinning 2 tables using query

Is it possible to join 2 tables inside the query in oracle while importing ? I have a dump for 2 tables tab1 and tab2. and I am trying to query on 1 of the tables: Directory=backup DUMPFILE=twotables....
moudiz's user avatar
  • 115
0 votes
0 answers
643 views

mysqlimport and avoiding table lock

I reviewed the question & answer here (mysqlimport locks all tables system wide) but I seem to still be stuck on this. I am standing up a new master/slave pair of 5.7 servers, and have already ...
vPilot's user avatar
  • 37
-1 votes
1 answer
1k views

Oracle 11gR2 - Export - Import (expdp, impdp) How To Exclude A Table Partiton And This Table's Indexes

I have a table partition (135GB) and index partition on this table (total=150GB) and I want to exclude owner schema of this table and indexes with excluding this table partition and it's indexes. What ...
jrdba's user avatar
  • 55
5 votes
2 answers
7k views

How to Skip Existing Data While Restoring mysqldump File?

I use this query to import data using MySQL Dump (Command Prompt / Command Line) mysql -u root -p database_name < database_name.sql I want to import the large database (only new deltas) as of now ...
manigopal's user avatar
1 vote
2 answers
597 views

Large MySQL import stuck at "Waiting for table flush"

Two weeks ago (!) I started a large import (dump sql file is 540GB). Now the import is stuck at this state: "show processlist" shows: Command = "Field List", State="Waiting ...
GID's user avatar
  • 43
0 votes
1 answer
849 views

Windows 10, SQLServer Express (2019), Excel 2016 import to SQLServer error Microsoft.ACE.OLEDB.12.0’ provider is not registered on the local machine

Environment: Workstation: 16GB RAM. 500MB SSD Windows 10 Pro (64-bit) Microsoft Office 2010? 2016? (Home/Student?) Not sure how to tell exactly. Office reports the version as 18.2005.1191.0 ; Excel ...
RenoRich's user avatar
2 votes
1 answer
2k views

mysql: slow import

I have a 83GB compressed .sql.gz file that I'm importing. The DB size on the source server (the size of the folder) was 240GB. I'm importing it on a Amazon cloud server, with 2CPUs, 4GM RAM and SSD ...
GID's user avatar
  • 43
1 vote
1 answer
320 views

Copy csv file into different schema [closed]

I need to import data from a csv file which from database a schema a into another database b schema b. I used the pgAdmin running the export and when I import the data using the same tool pgAdmin and/...
Pepe's user avatar
  • 21
0 votes
2 answers
146 views

How Are SQL Server Clients Connecting?

I am asking two questions in this post. If I see activity in netstat with port 1433 for an unnamed instance, whose tcp addresses are not enabled, what does that mean? What is the preferred way to ...
octopusgrabbus's user avatar
1 vote
2 answers
2k views

How can I force the MySQL client to output to stdout or a log file when importing a SQL file?

Let's say I am importing a small SQL file using the MySQL client like so: mysql < 10k-file.sql The mysql client does not output anything. How can I force it to show how many rows are affected for ...
bteo's user avatar
  • 111
1 vote
0 answers
4k views

Persistent problems importing CSV files via pgAdmin 4 to PostgreSQL 12 on Mac OS - Failing with Exit Code -6

I've been trying for several days to import CSV files into a PostgreSQL 12 database hosted on Mac OS 10.15.5, using the Import/Export tool in pgAdmin 4. I am consistently getting an error message ...
DB_Newbie's user avatar
0 votes
0 answers
1k views

Attempted to import .csv into mySQL using workbench, but only imports 7 rows?

To start, I'm still a relative SQL noob so this question could have an obvious answer that I'm just missing. I'm trying to start a big practice project in my spare time using a dataset which has ~...
bingjt's user avatar
  • 1

1
2 3 4 5
11