How to get the Memory details of the machine using the PostgreSQL query? - postgresql-9.5

Is it possible to get the memory details like Total RAM, core and OS details of the remote machine with the PostgreSQL query like we have in SQL server (sys.dm_os_sys_memory)?
If yes, kindly advise me the query.

You will need to install the system_stats extension, there is nothing built into the Postgres core.
The PostgreSQL YUM repository provides pre-built RPM packages of that extension, but only for Postgres 10 or newer. But as Postgres 9.5 will be unsupported in about 5 months, you have to plan for an upgrade anyway

Related

How to install redisGraph on mac with my existiing redis database

I have been trying for 2 days to install redisGraph on mac WITH my existing redis database, it can be done with redis cloud but i want to have it locally ( and free ).
I go redis working, but i don't understand, and can't find how to install modules on my mac.
Btw i have a M1 macbook pro (maybe it maters).
Can anyone please help me.
Have you tried building it locally?
see instructions here
Which compiler are you using, I'll suggest using GCC, preferably version 10 or 11

Run MS SQL Server Express on Linux Mint

I am aware that MS SQL Server 2016 is compatible with Linux. Despite this flavor of SQL, I am needing to run SQL Express for training purposes. Is there a method to successfully operate Microsoft SQL Server Express in the Linux Mint environment?
I think this is an interesting question and shouldn't be marked down. After searching online, i came up with his tutorial on setting up mssql server on linux. I tested on linux mint 18.1.
http://www.tecmint.com/install-ms-sql-server-centos-ubuntu-linux/
I installed MSSQL 2016 on Ubuntu last night. Mint is Debian based so it 'might' work. The instructions are here ...
https://learn.microsoft.com/en-gb/sql/linux/sql-server-linux-setup-ubuntu
The installation process is very simple - in fact it literally took seconds, since it uses the familiar apt-get install package manager install which is available with Mint. One thing to be aware of is the requirement for openssl needs version 1.0.2 - this caught me out. I tinkered around trying to upgrade to the correct version on my ubuntu server and did have the correct version installed but MSSQL still would not install. So I created a 16.04 version of ubuntu and then it installed easily. I'm not sure if my comments qualify as an 'answer' but I'd just try and install it as if you have the dependencies I would think you'll be okay.

Unable to use scan family command on redis

I have installed redis version 2.4.6. The installation is working perfectly for other commands. But when i try to execute any command from scan family (hsscan,sscan etc) it throughs error saying
Unknown command 'sscan'
I will be greatfull if anyone can guide me to get this sorted out.
As clearly documented, SCAN and related commands are available since Redis 2.8.0. Redis 2.4.6 is more than 4 years old and the current version is 3.2.0.

What version of Oracle SQL Developer do I need to use to connect to Oracle 8i?

Our production application uses Oracle 8i with an embedded license. We do not have control over it so updating our Oracle version is not possible.
What version of Oracle SQL Developer would I need to use to connect to our Oracle 8i database?
The latest versions obviously do not work as Oracle 8i is not supported. What version would I need to use so that it allows me to connect?
A similar thread on OraFAQ has the following suggestion which seems promising as I too think it depends on the JDBC driver version. The suggestion is :
SQL Developer version 1.2.1 is able to connect to 8.1.7 with limited
functionality (prepared reports and browser for objects could not
work)..
Next version (tested with 3.2 64-bit) of SQL developer could be
"hacked" to connect to 8.1.7 by simply copy file
C:\oracle\product\10.2.0\client_1\jdbc\lib\classes12.zip from Oracle
client prior 11 into appropriate jdk\jre\lib\ext folder.
source
I use SqlDeveloper 1.5.5 for my Oracle Database 8.
But if the Table list is empty use SqlDeveloper 1.2.1

Connect to Oracle 11g using VS2010.net Drivers/Cleints

Hey all i am trying to redistribute my app that uses Oracle 11g:
Imports Oracle.DataAccess.Client
The problem i am having is that it will not run on a machine that doesnt seem to have the correct drivers that its looking for. When i install ODAC 11.2 Release 3 (11.2.0.2.1) with Oracle Developer Tools for Visual Studio on the test VM it works just fine but thats a 230+mb file to download and install! Not to mention that if the user already has Oracle 10/11g on their machine that it may mess up their current connections/etc by installing that setup file.
Is there another setup package that i can install that only has the Oracle Data Provider for .NET 2.0 11.2.0.2.0 or whatever its needing from that ODAC 11.2 Release 3 file.
So any help about what i need to go about fixing this problem would be great! :)
Thanks,
David
assuming you are on a 32bit environment you ought to be able to use the
ODAC112021Xcopy_32bit.zip 50.5 MB (53,019,552 bytes)
the corresponding 64-bit
ODAC112021Xcopy_x64.zip - 53.3 MB (55,955,853 bytes)
the files are smaller than the ODT tools but they work. Here is a dated (but it should get you on the correct track) how-to