prisma import takes a while and times out. is ther...
# orm-help
j
prisma import takes a while and times out. is there a way to increase the timeout?
n
do you receive this error message: https://github.com/graphcool/prisma/issues/2185?
j
Yes. So I should be able to import if I first export with an upgraded client (refering to: exporting the data again?) ?
n
with which version did you export your data?
note, the Prisma server version is relevant, not the CLI version
j
server is 1.4
can I possibly just pull a new docker image and expect things to work?
n
yes, you can upgrade to
1.6.3
please also note the general notes for upgrading a Prisma server here: https://www.prisma.io/docs/reference/upgrade-guides/upgrading-prisma/overview-tqfbfdzj7a
j
OK, I'll try that, thanks
n
@Julien, a simpler way to success might be to manually split up the import data into multiple files 🙂
j
@nilan I did the upgrade, the export did not produce smaller nodes, it turns out my export were already below 1MB. It seems that the server I was trying to import on has really bad performance, I suspect the HDD might be the cause, I relocated the server and export is taking ~25s per node...
n
how big is a single node?
j
Most of them are 982K
the rest is lower
n
so is there pretty much one node per
nodes/0000x.json
file?
j
No, sorry that's not what I meant. Most nodes are pretty small, maybe ~ 7 strings
short strings