Oracle 10g R2 Sample Schemas: Legacy Installation Note

This is a legacy note for Oracle 10g R2. The old companion-disk workflow is specific to that release and should not be treated as the installation method for current Oracle Database versions. Oracle 10g R2 workflow Install the sample-schema components supplied for the 10g R2 release. Connect as a suitably privileged database user. Run the … Read more

Oracle: How to Prioritise Invalid Objects in a Schema

Try using this query to identify the approach to attack invalid objects in the schema   select referenced_name, count(referenced_name) cnt  from user_dependencies where referenced_name in (select distinct object_name                             from user_objects                            where status = ‘INVALID’) group by referenced_name order by cnt desc    This will list down the objects in descending order on which maximum no. of invalid objects … Read more

Exclude Tables from Oracle Exports

For modern Oracle environments, use Data Pump rather than the legacy exp utility when you need to exclude tables or other object types from an export. Data Pump EXCLUDE expdp system@database \ schemas=SCOTT \ directory=DATA_PUMP_DIR \ dumpfile=scott.dmp \ logfile=scott.log \ exclude=TABLE:”IN (‘TABLE1′,’TABLE2’)” The exact quoting can vary by shell, so parameter files are often easier … Read more

Linux File Permissions

Linux file permissions control who can read, write or execute a file. This is one of the first things to check when a script does not run, a service cannot read a file, or a user cannot access a directory. View permissions A typical output line looks like this: The first character shows the type … Read more

Network Printers in Linux

Network printers are usually easier to manage when you know the printer IP address, queue name and protocol being used. On Linux systems, printing is commonly handled through CUPS. Useful checks These commands show configured printers and the device URI used by each printer. Check CUPS service When troubleshooting, confirm that the printer is reachable … Read more

Names and Name Servers in Linux

Name resolution is the process of turning a hostname into an IP address. When a Linux machine cannot reach a host by name, check DNS settings before assuming the network itself is down. Check resolver configuration This shows the name servers currently being used by the system. On many modern distributions this file may be … Read more