We discovered that our Oracle 12c database was taking up a large amount of disk space with archive logs, so I figured out how to delete the files, but I’m unable to disable archive logging. We don’t have an in-house DBA, so I’m trying to figure this out myself. From lots of Googling, it’s my understanding that I need to do the following:
sqlplus / as sysdba shutdown immediate startup mount alter database noarchivelog; alter database open;
I’ve got two problems though. I can’t do the “sqlplus / as sysdba”, it complains about “ORA-12560: TNS:protocol adapter error” unless I specify the SID, even though it the environment variable is defined. Also, when I do the shutdown, I get “ORA-12514: TNS:listener does not currently know of service requested in connect descriptor” and it disconnects me from Oracle.
C:\Users\administrator.MYDOMAIN>set oracle_sid=orcm C:\Users\administrator.MYDOMAIN>sqlplus /nolog SQL*Plus: Release 188.8.131.52.0 Production on Mon Feb 5 11:11:33 2018 Copyright (c) 1982, 2014, Oracle. All rights reserved. SQL> connect / as sysdba ERROR: ORA-12560: TNS:protocol adapter error SQL> connect sys/password@orcm as sysdba Connected. SQL> SQL> SQL> archive log list; Database log mode Archive Mode Automatic archival Enabled Archive destination E:\app\oracle\product.1.0\dbhome_1\RDBMS Oldest online log sequence 6869 Next log sequence to archive 6871 Current log sequence 6871 SQL> shutdown immediate Database closed. Database dismounted. ORACLE instance shut down. ERROR: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor Warning: You are no longer connected to ORACLE. SQL>
Any assistance would be greatly appreciated.
✓ Extra quality
ExtraProxies brings the best proxy quality for you with our private and reliable proxies
✓ Extra anonymity
Top level of anonymity and 100% safe proxies – this is what you get with every proxy package
✓ Extra speed
1,ooo mb/s proxy servers speed – we are way better than others – just enjoy our proxies!
USA proxy location
We offer premium quality USA private proxies – the most essential proxies you can ever want from USA
Our proxies have TOP level of anonymity + Elite quality, so you are always safe and secure with your proxies
Use your proxies as much as you want – we have no limits for data transfer and bandwidth, unlimited usage!
Superb fast proxy servers with 1,000 mb/s speed – sit back and enjoy your lightning fast private proxies!
99,9% servers uptime
Alive and working proxies all the time – we are taking care of our servers so you can use them without any problems
No usage restrictions
You have freedom to use your proxies with every software, browser or website you want without restrictions
Perfect for SEO
We are 100% friendly with all SEO tasks as well as internet marketing – feel the power with our proxies
Buy more proxies and get better price – we offer various proxy packages with great deals and discounts
We are working 24/7 to bring the best proxy experience for you – we are glad to help and assist you!