Questions tagged [standby]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
100 views

Oracle: ASM password file on RAC DB to create standby, how make it work?

In 19c I have a RAC DB with its pwd file located on +DATA/DBUNAME/orapwfilealias pointing to +DATA/DBUNAME/PASSWORD/orapwdbuname.356.1186610343 (as a result of command 'orapwd file=+DATA/...'). I've ...
user avatar
  • 31
0 votes
1 answer
544 views

PostgreSQL 12 dropped replication slot but standby is still trying to contact the primary

We have recently decommissioned a standby that was experiencing some hardware issues from our streaming replication cluster. We were able to successfully stop the PID on the primary and then drop the ...
user avatar
  • 111
0 votes
0 answers
56 views

Sql Error Message ID 3013 & 4305 for Standby / Read-Only database that we use for import data heavily

Sorry. I am not a DBA, but a SQL Developer, so I am trying to get some general support/feedback on my case (and when I Googled the issue, remedy seems so scattered so I decided to post here). I got ...
user avatar
  • 195
0 votes
1 answer
20 views

Enabling standby node Wal streaming without pg_basebackup

So currently i'm planning to do a migration to RDS where i'm using a snapshot of our master and doing a pg_upgrade on a new machine(reasons being so that if the upgrade fails for whatever reason, we ...
user avatar
0 votes
1 answer
288 views

Data Guard 12.2 without Force Logging

I would like to know your opinion and experience in a specific setup I want to apply to a Production Database that is configured in Oracle Data Guard with one Standby. It is not an active data guard ...
user avatar
2 votes
1 answer
259 views

Strategy on Standby restore option for hourly log shipping file

I am trying to come up with a strategy of keeping up with daily database update process using "standby" restore mode. I am getting 24 log shipping files (for the previous day's each hour ...
user avatar
  • 195
1 vote
2 answers
91 views

Strategy for standby reporting with different database versions

I am trying to come up with solution for restoring database with one full backup file and then with hourly transaction logs that are going to be created each hour thru FTP site. So, here is a scenario....
user avatar
  • 195
0 votes
1 answer
101 views

Archive logs Pg_archive cleaner

I have Postgres installed on windows 10. I have master-slave replication ( 1 pc is master and 2 other pc are slaves). I have archive logs saved on a file on master pc and slaves are connected to that ...
user avatar
1 vote
0 answers
25 views

TDE error when attempting to encrypt a datafile

I'm encountering error ORA-28374: typed master key not found in wallet when attempting to run alter database datafile '+DATA/testdb/datafile/users.2514.1233355332' encrypt; against an 11g database ...
user avatar
  • 41
0 votes
0 answers
544 views

Oracle 19c with SAP System - ORA-12154: TNS:could not resolve the connect identifier specified For Physical Standby

Oracle 19c + SAP system. On primary side I have a problem when transporting logs to Data Guard side. Outputs from primary side: SQL> select status, error from v$archive_dest where dest_id=2; ...
user avatar
1 vote
1 answer
6k views

Error "RMAN-04006: error from auxiliary database" in the middle of duplicate executiion

I'm trying to create a standby database with duplicate command. Primary : tntdb19 Standby : mntdb19 The duplicate command begins but fails after some time [oracle@monta191 admin]$ rman target sys/...
user avatar
0 votes
1 answer
211 views

Problem connection to a standby database during the create proccess [closed]

I'm trying to install an Oracle Standby Database 19c. I have a Rac Database 19c and now I'm with the firsts steps to create de standby. I have in nomount state the standby database SQL> startup ...
user avatar
0 votes
0 answers
87 views

path on ASM for standby database after switchover

The question is quite complicated for me to describe so please be patient and ask for more details of needed. I have a primary database (ABC) and a standby one (STBABC). Both are located on ASM. For ...
user avatar
2 votes
1 answer
857 views

Postgres backup PITR strategies [closed]

Note:-Might be the question sounds too broad. But, I believe ,it's very good platform(stackexchange) and I can get advice from worldwide expert DBA here. Since, I'm not able to make decision or choose ...
user avatar
  • 326
0 votes
1 answer
208 views

Dataguard the datafiles are created in another diskgroup

I have a recently made physical dataguard configuration and everything works correctly so far, but I've noticed that the datafiles that are created in the primary are created in the standby in a ...
user avatar
0 votes
1 answer
3k views

RMAN Duplication - Oracle Data Guard - Syntax error(s) RMAN-01009 / RMAN-01008 / RMAN-01007

New to DB. Interested in Oracle Data Guard. New working with RMAN. All of this is for testing only and does not involve any kind of production env. Making use of ORACLE documentation: Step by Step ...
user avatar
1 vote
0 answers
562 views

postgresql 10 - standby flips to read/write

I am trying to setup a primary/standby for failover; however, the standby flips to read/write and no longer functions as a replication database after the copy from the primary. Additionally, the ...
user avatar
0 votes
1 answer
234 views

If the standby server is promoted to master, will it work without any replica?

If I have 1 master and 1 standby server, and my master server is down and the standby server is promoted to master. Does my new master work fine without a replica? Does it act like a standalone server?...
user avatar
-1 votes
2 answers
183 views

RESTORE hourly transaction log to every 10 min interval

I have an hourly transaction log backup running for my production database. I have to implement the below scenario to check for a deleted data. I have two tlogs. tlog1.trn at 10 AM tlog2.trn at 11 ...
user avatar
  • 1,295
0 votes
1 answer
66 views

Wal position to wal archive number

I want to manage the copy of archiving to remote location. For that I want to delete all the archives I copied unless they are required by the standby. So, for running pg_archivecleanup $ARCLOC $...
user avatar
  • 425
0 votes
1 answer
55 views

PostgreSQL recovery file syntax, ver 8 vs ver 9

In postgreSQL version 8.4 it seems that you can place the db server into warm standby mode with the following setting in recovery.conf restore_command = 'pg_standby archiveDir %f %p %r' In ...
user avatar
  • 173
0 votes
1 answer
817 views

PostgreSQL warm standby: sync WAL files

I'm new to PostgreSQL (using ver 8.4.20) and need to setup a master and standby SQL server setup. I am planning to use warm standby setup. I have read the docs on PG and understand the basics, but a ...
user avatar
  • 173
3 votes
1 answer
6k views

unable to start the standby postgres database

Situation I have 2 separate instances. Both running on Ubuntu 14.04 server. Both have installed postgres 9.5 the following way: sudo apt-get install software-properties-common python-software-...
user avatar
1 vote
0 answers
137 views

RMAN corrupts passwordfile

please, can you clarify this? My configuration is RAC 12c on ASM on SLES 11 SP 4 on SystemZ. The nodes rac11 and rac12 are the server nodes of the primary database, named "primdb", uniq_name is "...
user avatar
  • 21
0 votes
1 answer
4k views

PostgreSQL slave failed after master failure; unable to promote

I just encountered a problem with a PostgreSQL 9.6 warm standby architecture: by mistake, we stopped the master and destroyed its data, so, some tens of minutes later, when we noticed the problem, we ...
user avatar
0 votes
1 answer
2k views

Postgresql failback without resync the data directory

Im using Master slave streaming replication in PostgreSQL. Repmgr is configured to handle automatic failover. Once the failover happened I need to make the old master as a slave without doing any ...
user avatar
  • 1,708
1 vote
1 answer
3k views

Postgresql - Hot standby vs Streaming

I'm trying to understand the various PostgreSQL replication technologies. But still I am unable to understand difference between Hot Standby and Streaming Replication. In this Blog the Hot Standby ...
user avatar
  • 1,708
3 votes
0 answers
403 views

Cannot add standby database to the data broker configuration in oracle 11g

I have duplicated the primary database to standby database and then I added the primary database in data broker configuration. But when I'm trying to add standby database I'm getting following error: ...
user avatar
2 votes
2 answers
2k views

Re-map DB Users/Logins after Restore WITH STANDBY

This is related to my previous post.. Differential Backup Issue - Why? Is this Possible? Basically, the issue which I am having now is that in my restore process (as part of ETL), there are tasks to ...
user avatar
1 vote
1 answer
1k views

What is the standard time delay taken for the data to get reflected in standby database when a new data is inserted in primary database

I've configured Data guard setup using data broker. When I'm inserting new data to the tables in primary database which is suppose to reflect in standby database. When I checked those data's in ...
user avatar
2 votes
3 answers
1k views

User mapping to a standby database

I have a standby database that is being restored in standby mode using log-shipped transaction files downloaded from a vendor's sFTP site on a daily basis. Now, I am required to give a read-only ...
user avatar
  • 41
1 vote
1 answer
1k views

Unable to start listener of standby database

As part of data guard configuration, I've installed standby database using Oracle Software only and configured .ora files/folders as required. But while trying to start the listener or check the ...
user avatar
  • 121
7 votes
1 answer
3k views

Partial (filtered) replication in PostgreSQL

My setup looks something like this: I have a primary server (Postgres 9.6) that continually scrapes a bunch of data from the web. I'd like to be able to stream a subset of tables or databases from ...
user avatar
4 votes
1 answer
317 views

Ship Standby Logs Without Datafiles

When building a new standby database, is it possible to have it start shipping archive logs from the primary without having the datafiles on the standby yet?
user avatar
  • 23.6k
0 votes
1 answer
503 views

Standby logshipping fails when user is doing read operations on the database

I have a SQLSERVER 2008 instance with a standby configuration using log shipping. The production server runs a LSBACKUP job every 30 minutes, ships it to the standby server and the standby will then ...
user avatar
  • 1,294
1 vote
1 answer
428 views

How real-time apply works in logical standby oracle?

I am a little bit confused about real-time apply services. I've read a documentation about the services and I still have a question. Does archived redo logs required for logical standby or not? I've ...
user avatar
  • 31
0 votes
1 answer
34 views

Force standby de-synchronisation for script testing

Two databases are configured in a production-standby configuration with Oracle Dataguard. I want to test a script that supposedly detects whether the dataguard observer is in the status SYNCHRONIZED ...
user avatar
  • 1,294
3 votes
1 answer
1k views

Data guard broker cascaded standby delay parameter is ignored

I have 3 databases: db01 primary, db02 standby cascading, db03 standby cascaded. I have configured broker parameters by the following way: DGMGRL> show configuration Configuration – DB_HQ_DR ...
user avatar
  • 1,677
0 votes
0 answers
352 views

sqlserver lsalert job does not update it's out-of-sync counter

I am getting 14421 error messages and ended up reading the following KB Here is the part I'm referring to : Problems either with the Backup job or Copy job are most likely to result in "out of ...
user avatar
  • 1,294
2 votes
0 answers
128 views

Architecture to scale Postgres read capacity for a limited time each day?

We run a postgreSQL (9.4) server to store data for a web application. Our next feature will require a very data intensive processing on the server requiring a lot of db queries and computation over ...
user avatar
  • 21
0 votes
1 answer
2k views

Long queries on PostgreSQL hot standy

Is there a way to convince PostgreSQL to execute long queries on a hot standy? It kills the query with User query might have needed to see row versions that must be removed. I understand that, but I ...
user avatar
1 vote
1 answer
4k views

Log shipping secondaries in STANDBY stuck in 'Restoring...' - SQL Server 2012 SP3

Yesterday, I configured Log shipping between 2 SQL Server 2012 SP3 servers for a total of 13 databases. Some specifics: I'm using 'Azure files' to transfer the log files (CIFS accessible BLOB ...
user avatar
3 votes
1 answer
2k views

Can I bring a warm standby SQL Server database online and then return to standby mode?

What I'm trying to do falls outside of the normal SQL Server work flow so might be impossible. I'm implementing a system that serves out copies of a large production database to multiple test / dev / ...
user avatar
1 vote
1 answer
3k views

ORA-01031: insufficient privileges connecting to standby

I configured a standby database and it worked for a while, but now I noticed that the redo logs thread on standby is far behind the primary. After researching alert log and trace files, I figured out ...
user avatar
  • 31
-1 votes
2 answers
3k views

Standby archive deletion

I have a primary database with a standby in data guard configuration running in a RHEL host. Thing is the storage assigned to this DR is very less, meaning the archive logs file system gets full in no-...
user avatar
  • 1,814
1 vote
1 answer
3k views

Oracle standby databases monitoring

I have many databases for which I have configured data guard setup. When it comes to monitoring the standby's, I use OEM to check the lag and I have enabled mail alerts as well as and when gap is more ...
user avatar
  • 1,814
1 vote
0 answers
644 views

Fail to perfom static registration of nomount instance

I'm trying to make standby to database. I've insalled Oracle 11g database on virtual machine (host - oratest). Standby is on virtual machine too (standbysrv). When I'm trying to connect from source ...
user avatar
  • 31
8 votes
1 answer
5k views

Can I recover a SQL database from Standby/Read-Only without a standby file?

Is there any way to recover a SQL database from Standby/Read-Only mode if the "standby file" is missing? (I see some references calling this a TUF file in a log-shipping scenario, but in my case, it ...
user avatar
  • 9,624
0 votes
1 answer
464 views

Activating standby DR after opening it in read-write mode

I have a primary and a standby database. Both two node RAC database. As some testing had to be done in standby database, I had to open it in read-write mode. I cancelled the recovery in standby and ...
user avatar
  • 1,814
2 votes
2 answers
597 views

Add standby database on different OS version?

Primary database is installed on RHEL 6.1. Standby database software is installed on RHEL 7.0. I am trying to add new standby database by using Grid Control. Database versions are same 11.0.2.0.3. I ...
user avatar
  • 71