What will be the value for wal_recycle while using streaming replication in PostgreSQL 12? - postgresql-12

wal_recycle is new setting in PostgreSQL 12. By default it is ON. What will be the value for wal_recycle while using streaming replication in PostgreSQL 12 ?

Related

OID lookup failed for table "_timescaledb_catalog.dimension_partition" on standby in postgresql

I am using postgresql-12 and the latest version of timescaledb as an extension for the database. Everything goes smoothly on the primary node. But when I tried to establish a stand by for the instance, the standby instance works out perfectly except the database using timescaledb extension, when I tried to connect to the database using client or command line, it immediately throws 'OID lookup failed for table "_timescaledb_catalog.dimension_partition"'.
It looks like the replication procedure somehow forget to sync table "_timescaledb_catalog.dimension_partition", but how? Does anyone even have a clue?

Error occurs when creating a new database under Neo4j 4.0

I'm using Debian 9.9 and the version of Neo4j is 4.0. I'm having problems creating a new database using the neo4j browser. The instruction I followed is this.
I have tried the following Cypher command:
create database myNewDatabase
However, an error pops up like this:
Neo.ClientError.Statement.NotSystemDatabaseError
Unsupported administration command: create database myNewDatabase
Please let me know what the error message means and how I can solve it. Thx in advance:-)
In v. 4 (release Feb. 2020) of the professional version of Neo4j, it's easy to create new databases. Documentation
In the community edition, it takes a hack:
1. Edit the file NEO4J_HOME\conf\neo4j.conf
2. Un-comment the line: dbms.default_database=neo4j
3. Change the neo4j to whatever database name you want for a new database. Note: names must have between 3 and 63 characters. For example: dbms.default_database=mydatabase
4. Save the file
5. (If applicable) Kill the database server, and close the browser window with the Neo4j UI
6. Start the neo4j server, and open a new browser window, pointed as usual to http://localhost:7474/
7. Both the old (default) database, "neo4j" and the one you just created will show up. However, attempting to switch between them causes an error. If a switch is desired, repeat the above steps starting from (3)
Note: the above steps will create a folder named mydatabase (or whatever name you used), in NEO4J_HOME\data\databases , and it will populate its contents.
I personally think that switching between databases is such a BASIC operation that Neo4j ought to make it easily accessible in the Community edition!
I think I've got the answer to my question. It turns out that my license (the community edition) is not supported for working with multiple databases. An alternative could be this.

Neo4j SDN4 and unicode symbols

I'm storing the following string with SDN4 in my Neo4j database:
Panda Antivirus Pro is the brand’s entry level security product: a powerful antivirus tool that protects your system in an effective – and unobtrusive – way.
but after the storing inside of my Neo4j node I have a following:
Panda Antivirus Pro is the brand���s entry level security product: a powerful antivirus tool that protects your system in an effective ��� and unobtrusive ��� way.
In my ogm.properties I have a following properties:
driver=org.neo4j.ogm.drivers.bolt.driver.BoltDriver
URI=bolt://neo4j:neo4j#localhost
Why I have � there instead of a normal characters ?
Locally, at my Windows 10 machine I don't see such issue.. the issue only appears at my Linux openSUSE 42.1 staging environment.
Your original string did not have UTF-8 encoding, which neo4j expects, so the characters not in UTF-8 were replaced by the Replacement Character, U+FFFD.

Deploy Neo4j server in read-only mode

Is it possible to deploy the Neo4j server (version 2.3.2) in read-only mode so that e.g. when using the data browser or Cypher console the database remains unchanged (thus having CREATE/UPDATE statements somewhat deactivated) ?
Just set read_only=true in conf/neo4j.properties.

MySQL Enterpise Monitor - query analyzer - No data available in table - configuration

I use MySQL 5.1.69
protocol_version 10
version 5.1.69-log
version_compile_os
redhat-linux-gnu
I have a problem with configuration/using MySQL ENTERPRISE MONITOR.
I don't see data in QUERY ANALYZER. (No data available in table).
I have a question - why this function is disabled?
My General Query Log is OFF, I'm not sure if it is required to use QUERY ANALYZER?
Is the version of MySQL important for this functionality?
this is due to performance schema is not enabled in 5.1 version.
By the performance schema only the query analyzer shows the result.
enable the performance schema
You need at least MySQL 5.6 in order to use the performance_schema database (which does not exists before that). Consider migrating from 5.1 to a newer version of MySQL.
References :
https://dev.mysql.com/doc/refman/5.6/en/performance-schema.html

Resources