data-migration

migrate the large data from xml file to the database

↘锁芯ラ 提交于 2019-12-13 15:29:47
问题 Q: I face the following problem two weeks ago , and i don't know how to handle it taking the performance issues , the data integrity in consideration. What I do is: I wanna to migrate the data from the XML file to its similar tables in my database . for example : i have two nodes (XML file): courses , teachers Two tables (database) courses , teachers . I allow the user to upload the XML file to a folder on my server and i begin to read the XML file and insert the data into my database . The

How to import part of xml to mysql table?

泄露秘密 提交于 2019-12-13 07:18:56
问题 I'd like to import some of the items in an large xml file to mysql table. Lets say the xml contains thousands of items like: <CD> <TITLE>Empire Burlesque</TITLE> <ARTIST>Bob Dylan</ARTIST> <COUNTRY>USA</COUNTRY> <COMPANY>Columbia</COMPANY> <PRICE>10.90</PRICE> <YEAR>1985</YEAR> </CD> But I need only 'TITLE' and 'YEAR' of each CD to be imported to mysql's cd table. I know that there is a 'LOAD XML' mysql 5.+ to get data from xml to mysql, but apparently it maps the whole xml, which is not what

sql transfer data between databases tsql [duplicate]

回眸只為那壹抹淺笑 提交于 2019-12-12 21:22:18
问题 This question already has answers here : Closed 8 years ago . Possible Duplicate: SQL Data Transfer I have my Dev database, and some times I add some data to tables and I want to upload it to prod. Is there a tool that allows transferring data between 2 databases? 回答1: Assuming MS SQL bcp Utility OR SQL Server Import and Export Wizard 回答2: In addition to alex's choices you can use linked servers or SQL Data Compare by Redgate. 来源: https://stackoverflow.com/questions/6010334/sql-transfer-data

Migrating RMS to RDB

放肆的年华 提交于 2019-12-12 13:34:28
问题 We're approaching the migration of legacy OpenVMS RMS files into relational database (both MS SQL 2012 and Oracle 10g are available). I wonder if there are: Tools to retrieve schema of indexed files Tools to parse indexed files Tools to deal with custom RMS data formats (zoned decimals etc) as a bundle/API/Library Perhaps I should change the approach? 回答1: There are several tools available, notably through ODBC vendors (I work for one: Attunity). 1 >> Tools to retrieve schema of indexed files

How to tackle Not Null constraints in OLE DB Destination in SSIS Package?

狂风中的少年 提交于 2019-12-12 11:51:06
问题 I'm new to SSIS Package. I want to transfer data from source to destination database which has different table structures. My Data Flow is from OLE DB Source to OLE DB Destination I have named OLE DB Source as Patient Source and in OLE DB Source Editor, the connection is made with Source Database and in Data Access Mode I have selected SQL command and SQL command text as follows select ppFName, ppLName, ppPersonalNbr, ppEmailOne from pat_Patients and as well as I have previewed the data, it

What is the best way to collapse all existing Entity Framework migrations

别说谁变了你拦得住时间么 提交于 2019-12-12 10:38:25
问题 The project I am working on is using Entity Framework 4.3 and data migrations to keep the schema up to date. Over the course of the project the migrations folder has grown and now has over 600 files. This is huge. We now have a binary which is over 12MB due to all the migration meta data. I would like to collapse all these in to one migration and start again. My concerns are: Is this possible or will it cause problems with the migration history if I remove migrations? Are there any guides

Migrating MySQL to PostgreSQL - what features not visible in SQL code will be important?

故事扮演 提交于 2019-12-12 07:39:09
问题 We're migrating MySQL to PostgreSQL. I can easily audit the schema and the SQL statements used throughout the (REALbasic) program. Most of the SQL is composed by building string variables. I already know about needing to replace our use of SELECT LAST_INSERT_ID() with a SERIAL column with UNIQUE constraint. What, if any , differences between the two which are not obviously visible in SQL statements might bite us? I'm looking for (probably subtle) assumptions about behaviour such as any

Android sqlite backup/restore without overwriting

故事扮演 提交于 2019-12-12 04:16:02
问题 Question in short form: It seems from the followups that I should perhaps emphasize and simplify the core of my question. The core is this: other backup options for Android DBs seems to leave the risk that a restore could overwrite data currently in the database. Is this so, and is there a way to backup/restore without this risk? . Question in long form: Having looked through many of the (rather numerous) questions about backing up up an SQLite db on Android I have one question that I couldn

Migrate Data from Neo4j to SQL

流过昼夜 提交于 2019-12-12 04:13:15
问题 Hi I am using neo4j in my application and my structure is as following: I am using Embedded Graph API I have several databases that I point to using a pool that I maintain in my application eg-> db1, db2, db3, ..... db100 When I want to access a particular database I point to it using new EmbeddedGraphDatabase("Path to db(n)") The problem is that when the connection pool count increases the RAM size being consumed by the application keep increasing and breaks down the application at a point

Step By Step procedure to migrate data from Excel to MySql database table [duplicate]

天涯浪子 提交于 2019-12-12 02:25:59
问题 This question already has answers here : Closed 8 years ago . Possible Duplicate: how to import from MS excel into MYSQL DB I want the procedure to migrate the excel data into mysql database. Supppose i have excel abc.xls and table in MySql is abc Now what will be step by step procedure . I am using MYSQL. Please help 回答1: The easy way would be to use a MySQL client like SQLyog. It has a wizard which allows for easy migration from excel to MySQL. You can also use the LOAD DATA LOCAL INFILE