I am trying to do a POC where I want to move a whole table from Oracle database into MemSQL. Please suggest the best way to do it (possibly with an example will give a good picture to understand). I have exported the table from Oracle in .csv format and have kept it locally on MemSQL server.Trying load data is not working. Appreciate if you can share the complete step.
There are many ways to migrate a table and exporting to csv is certainly a basic one to leverage. You should be able to use load data to accomplish the task. What error are you getting from load data?
Thanks Deloy for your quick response. I scrapped loading using CSV file. Please suggest how do I bring a complete table from an OnPrem RAC Oracle database 12c to MemSQL. Please suggest the best mentod, we do not have any cloud option.
Here is a sample load data command that should be fine with Oracle csv to MemSQL:
LOAD DATA INFILE
/home/files/load_data_data_file
INTO TABLE
myTableName
FIELDS TERMINATED BY ‘,’
(column1 ,column2,column3,column4,column5 )
Thanks Deloy, I was able to insert into table using CSV format. Looks like the format I had exported from source was wrong, but as you rightly said CSV is the basic way to import a single table. For lager migration I am looking at the tools page as shared. I will comeback soon.
Hi Deloy, I saw the migration tool as replication SingleStore Replicate · SingleStore Documentation but seems to use it, we need license as well to download installer. Is there any trial version available for POC purpose?
Thanks Deloy, that was an easy deployment. But while I am trying to run the replicate, I encountered many errors which I fixed but following are some of errors, I am not sure where to change what. Please shed some lights.
Replication error
tech.replicant.IStorage$StorageException: No tables or views specified for replication
at tech.replicant.db.DBReplicationManager.a(SourceFile:246)
at tech.replicant.db.DBReplicationManager.a(SourceFile:336)
at tech.replicant.db.DBReplicationManager.b(SourceFile:457)
at tech.replicant.Main.main(SourceFile:2551)
Hi Path - I was able to fix the issue. It the database server name which was connecting incorrectly. For Oracle RAC databases replicator seems not able to resolve the name which running the replication command, I replaced the SCAN name with VIP and it worked.