Sponsored Content
Top Forums Programming Whats the most in-demand programming language UNIX Post 302963819 by durden_tyler on Wednesday 6th of January 2016 08:38:46 PM
Old 01-06-2016
By "database management", do you mean "database administration", as in Oracle DBA?

If that's the case, then Oracle DBA guys usually don't do a lot of programming. And Oracle programmers usually don't do a lot of DBA work.
I say "usually" because there is a select breed of niche "developer DBAs" who can do both. In a large corporation, you may not find opportunities to do both. In smaller companies or startups, such opportunities are more.

Oracle is certified a few *nixes - Oracle Enterprise Linux, Solaris etc. but can run on virtually any Linux distro. If you are doing Oracle DBA work on *nix, then you should:
- know the file and directory structure of the *nix installation
- use commands to navigate around, find files, search/replace in files, zip, rename etc.
- do backup, recovery, using Oracle's utilities etc. on *nix.
- be comfortable with basic shell scripting - usually bash or ksh

If you are an Oracle programmer (who writes SQL, PL/SQL etc.) on *nix, then you should be *very* comfortable with shell scripting, sed, awk and/or scripting languages.

That's because once a SQL script is written, deploying and/or scheduling it in a *nix environment requires a little bit of scripting glue work.
As an example, if you want to connect to Oracle and execute your SQL script for a bunch of dates, spool the results to different files, aggregate the results, mail them to interested parties and then tar gzip the files, version them and move them to an archive directory, then you'd need pretty decent shell scripting skills.

Pick up a good book on Unix or Linux and understand the basics, how the filesystem is structured, what the commands are, how to use them etc.
Learn shell scripting - bash and ksh should be enough for a start.
Learn awk.
Install a Linux system as a VM (or even a dual boot), install Oracle and get comfortable with startup, shutdown, sqlplus etc.
Check this site for posts on Oracle and Linux - there are members here who work on Oracle on Linux. Look at the problems and see how they are solved.

Hope that helps.
 

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Does the programming language matters?

I see you guys encouraged people studied and used C while they were working on UNIX. Does C++ or JAVA matter? And in the past threads, Neo, PxT, and other members recommanded lots good books. I think those people who asked for the references, such as Dominic, had experiences on sys admin or... (8 Replies)
Discussion started by: HOUSCOUS
8 Replies

2. Programming

c programming language

Can someone enligten me on what below program does? I understand getchar and putchar.. but what is this program suppose to do? I try to put printf on it, but it shows nothing.. can someone explain to me what this program is suppose to do? It is reading something and assigning to c? so, if... (8 Replies)
Discussion started by: convenientstore
8 Replies

3. UNIX for Dummies Questions & Answers

Carreer:Networking Programming in Unix (C programming Language)

Hello, I am trying to learn Networking Programming in C in unix enviorment. I want to know how good it is to become a network programmer. i am crazy about Network programming but i also want to opt for the best carreer options. Anybody experienced Network Programmer, please tell me is my... (5 Replies)
Discussion started by: vibhory2j
5 Replies

4. UNIX for Dummies Questions & Answers

Is PERL a programming language?

I need a small and simple clarification... Can someone tell me whether PERL is a programming language or not. Also, can shell scripts also considered as programming language or not. Also, please tell me the exact difference between programming language and scripting. Please help.... (3 Replies)
Discussion started by: Anjan1
3 Replies

5. Programming

How is a new Web Development language written ?

I'm wondering how programmers develop new Web Development languages because I want to learn how everything begins from the start. Let's say I'm planning to write a new language for the Web. How do I do this? Is there anyone who knows about the way Web Development languages first appear ? I'm... (3 Replies)
Discussion started by: Anna Hussie
3 Replies

6. UNIX for Dummies Questions & Answers

How does unix system administration, unix programming, unix network programming differ?

How does unix system administration, unix programming, unix network programming differ? Please help. (0 Replies)
Discussion started by: thulasidharan2k
0 Replies

7. What is on Your Mind?

What area in Linux/UNIX is most in demand?

What area in linux makes the most money. What area in linux is most in demand. (1 Reply)
Discussion started by: zbest1966
1 Replies
OCI_SET_MODULE_NAME(3)													    OCI_SET_MODULE_NAME(3)

oci_set_module_name - Sets the module name

SYNOPSIS
bool oci_set_module_name (resource $connection, string $module_name) DESCRIPTION
Sets the module name for Oracle tracing. The module name is registered with the database when the next 'roundtrip' from PHP to the database occurs, typically when an SQL statement is executed. The name can subsequently be queried from database administration views such as V$SESSION. It can be used for tracing and monitoring such as with V$SQLAREA and DBMS_MONITOR.SERV_MOD_ACT_STAT_ENABLE. The value may be retained across persistent connections. PARAMETERS
o $connection -An Oracle connection identifier, returned by oci_connect(3), oci_pconnect(3), or oci_new_connect(3). o $module_name - User chosen string up to 48 bytes long. RETURN VALUES
Returns TRUE on success or FALSE on failure. NOTES
Note Oracle version requirement This function is available when PHP is linked with Oracle Database libraries from version 10 g onwards. Tip Performance With older versions of OCI8 or the Oracle Database, the client information can be set using the Oracle DBMS_APPLICATION_INFO pack- age. This is less efficient than using oci_set_client_info(3). Caution Roundtrip Gotcha Some but not all OCI8 functions cause roundtrips. Roundtrips to the database may not occur with queries when result caching is enabled. EXAMPLES
Example #1 Setting the module name <?php $c = oci_connect('hr', 'welcome', 'localhost/XE'); // Record the module oci_set_module_name($c, 'Home Page'); // Code that causes a roundtrip, for example a query: $s = oci_parse($c, 'select * from dual'); oci_execute($s); oci_fetch_all($s, $res); sleep(30); ?> // While the script is running, the administrator can see the // modules in use: sqlplus system/welcome SQL> select module from v$session; SEE ALSO
oci_set_action(3), oci_set_client_info(3), oci_set_client_identifier(3). PHP Documentation Group OCI_SET_MODULE_NAME(3)
All times are GMT -4. The time now is 10:39 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy