Quantcast
Channel: SCN: Message List - SAP HANA and In-Memory Computing
Viewing all articles
Browse latest Browse all 8968

Column Store Error on importing schema

$
0
0

Hi,

 

I am trying to migrate schema from one hana instance (SPS 8) to another instance (SPS 9) using EXPORT/IMPORT. I exported the schema to a folder and then copied the folder to new hana instance via scp. When I try to import the schema using the import command as follows it gives the following error.

 

IMPORT "SCHEMA"."*" AS BINARY from '/Backup/Export/'  (also tried with Rename option)

 

Error generated is:

Could not execute 'IMPORT "SCHEMA"."*" AS BINARY from .........

SAP DBTech JDBC: [2048]: column store error: table import failed:  [30151] Object not found in the import directory;object=TN:Rolesen

 

It appends en to the not found table names. The table name is "Roles". Also when I see the indexserver trace file it contains the error:

ImportExport.cpp(03287) : Import location does not exist: /Backup/Export//index/TN/Roles

 

Also, its confusing to me that why is it looking for Roles in index because Roles is a Row store table and in index folder only column store tables are present.

Moreover, inside index folder there are many sub-folders like Be,Se,Ge, so on... and inside them there are further sub-folders for tables but according to error statement in trace file it seems it is looking for Roles table directly in TN folder inside index.

 

Can anyone suggest if i am doing the migration right way or what is going wrong here?

I also tried removing all kinds of interdependencies on other user defined schemas in SPS 8 using the "SYS"."OBJECT DEPENDENCIES" table but still the same error.

 

TIA,

Nikhil


Viewing all articles
Browse latest Browse all 8968

Trending Articles