Migrate V2.2.17 on PostgreSQL to new server with V3.0 on Timescale-DB
-
Hi,
recommended database engines are PostgreSQL and TimescaleDB, depending on deployment size. For small deployments (few thousands of DCIs) you most likely won't get any significant performance gains. The larger your deployment is the more performance improvement you'll see.
Support for TimescaleDB in 2.2.17 was still experimental, and I would not recommend to do migration to TimescaleDB using 2.2.17. I would do as following:
- Install new server and initialize TimescaleDB database
- Upgrade old database to 3.0 using new nxdbmgr
- Migrate old database to new one
We are planning to add in-place conversion from plain PostgreSQL to TimescaleDB but I'm not sure when it will be ready.
Best regards,
Victor -
thanks Victor for your information and suggestions.
Deployment is not so big. But in the past I saw the huge difference in speed between grafana graphs (on influx) and NetXMS graphs. So I hoped Timescale would speed up graphing in NetXMS. Or is this not the point where we can see more performance with Timescale in NetXMS? -
Yes, TimescaleDB could increase graphing speed. You have to experiment. If you have enough disk space you can do migration from one to another quite fast and check the difference.
Best regards,
Victor -
i tried to compile netxms-3.0.2357 on openSUSE LEAP 15.1 but got error from configure 'cannot find pcre.h'.
Then installed package 'pcre-devel' (version 8.41) from package-manager (YaST), configure and get 'error: libpcre32 is requred'.Then downloaded https://ftp.pcre.org/pub/pcre/pcre-8.43.tar.gz
./configure --prefix=/opt/pcre --disable-static --disable-dependency-tracking --enable-pcre16 --enable-pcre32 --disable-cpp --enable-utf --enable-unicode-properties --disable-stack-for-recursionmakemake installthen configure for NetXMS with option --with-pcre=/opt/pcre but got again 'error: libpcre32 is requred -
Please share your config.log.
Best regards,
Victor -
-
Very strange. Please show output of command
file /opt/pcre/lib/libpcre32.so*
and
ldd /opt/pcre/lib/libpcre32.so
Best regards,
Victor -
-
That means that libpcre was not properly built or installed. Are you sure that there were no compiltation or installation errors? What files are present in /opt/pcre/lib?
Best regards,
Victor -
Thanks for your help Victor. Bu t I didnt's saw errors. Here all output of configure, make, make install: Maybee you see some problems in it.
-
-
-
This looks like a bug in configure script - it is made with assumption that library files always installed under PCRE prefix /lib. Seems to not be the case on SUSE. I'll update configure script.
Best regards,
Victor
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login