How to understand the Oracle (as opposed to DB2) tables

I am a beginner and you need to ask a question.

To determine the number of records in dba_jobs is 1.

Can I describe the table and find there are about
18 columns in the table.

Then I run a SELECT * on the table.

When I select, looks like it is printing on about 8 different records.

With only the MISC ENV field being filled.

How should I interpret it

Here are the commands I entered:

SQL > select count (*) from dba_jobs;

COUNT (*)
----------
1

SQL > describe dba_jobs;
Name Null? Type
----------------------------------------- -------- ----------------------------

JOB NOT NULL NUMBER
LOG_USER NOT NULL VARCHAR2 (30)
PRIV_USER NOT NULL VARCHAR2 (30)
SCHEMA_USER NOT NULL VARCHAR2 (30)
DATE OF LAST_DATE
LAST_SEC VARCHAR2 (8)
DATE OF THIS_DATE
THIS_SEC VARCHAR2 (8)
NOT NULL NEXT_DATE DATE
NEXT_SEC VARCHAR2 (8)
NUMBER OF TOTAL_TIME
VARCHAR2 (1) BROKEN
INTERVAL OF NOT NULL VARCHAR2 (200)
NUMBER OF FAILURES
WHAT VARCHAR2 (4000)
NLS_ENV VARCHAR2 (4000)
MISC_ENV RAW (32)
NUMBER OF THE INSTANCE

SQL > select * from dba_jobs;

JOB LOG_USER PRIV_USER
---------- ------------------------------ ------------------------------
SCHEMA_USER LAST_SEC THIS_SEC NEXT_DATE THIS_DATE LAST_DATE
------------------------------ --------- -------- --------- -------- ---------
NEXT_SEC TOTAL_TIME B
-------- ---------- -
INTERVAL OF
--------------------------------------------------------------------------------

CHESS
----------
WHAT
--------------------------------------------------------------------------------

NLS_ENV
--------------------------------------------------------------------------------

INSTANCE OF MISC_ENV
---------------------------------------------------------------- ----------
1 SYSMAN SYSMAN

JOB LOG_USER PRIV_USER
---------- ------------------------------ ------------------------------
SCHEMA_USER LAST_SEC THIS_SEC NEXT_DATE THIS_DATE LAST_DATE
------------------------------ --------- -------- --------- -------- ---------
NEXT_SEC TOTAL_TIME B
-------- ---------- -
INTERVAL OF
--------------------------------------------------------------------------------

CHESS
----------
WHAT
--------------------------------------------------------------------------------

NLS_ENV
--------------------------------------------------------------------------------

INSTANCE OF MISC_ENV
---------------------------------------------------------------- ----------
SYSMAN 20 APRIL 09 22:29:55 20 APRIL 09

JOB LOG_USER PRIV_USER
---------- ------------------------------ ------------------------------
SCHEMA_USER LAST_SEC THIS_SEC NEXT_DATE THIS_DATE LAST_DATE
------------------------------ --------- -------- --------- -------- ---------
NEXT_SEC TOTAL_TIME B
-------- ---------- -
INTERVAL OF
--------------------------------------------------------------------------------

CHESS
----------
WHAT
--------------------------------------------------------------------------------

NLS_ENV
--------------------------------------------------------------------------------

INSTANCE OF MISC_ENV
---------------------------------------------------------------- ----------
22:30:55 17989 N

JOB LOG_USER PRIV_USER
---------- ------------------------------ ------------------------------
SCHEMA_USER LAST_SEC THIS_SEC NEXT_DATE THIS_DATE LAST_DATE
------------------------------ --------- -------- --------- -------- ---------
NEXT_SEC TOTAL_TIME B
-------- ---------- -
INTERVAL OF
--------------------------------------------------------------------------------

CHESS
----------
WHAT
--------------------------------------------------------------------------------

NLS_ENV
--------------------------------------------------------------------------------

INSTANCE OF MISC_ENV
---------------------------------------------------------------- ----------
SYSDATE + 1 / (24 * 60)

JOB LOG_USER PRIV_USER
---------- ------------------------------ ------------------------------
SCHEMA_USER LAST_SEC THIS_SEC NEXT_DATE THIS_DATE LAST_DATE
------------------------------ --------- -------- --------- -------- ---------
NEXT_SEC TOTAL_TIME B
-------- ---------- -
INTERVAL OF
--------------------------------------------------------------------------------

CHESS
----------
WHAT
--------------------------------------------------------------------------------

NLS_ENV
--------------------------------------------------------------------------------

INSTANCE OF MISC_ENV
---------------------------------------------------------------- ----------
0

JOB LOG_USER PRIV_USER
---------- ------------------------------ ------------------------------
SCHEMA_USER LAST_SEC THIS_SEC NEXT_DATE THIS_DATE LAST_DATE
------------------------------ --------- -------- --------- -------- ---------
NEXT_SEC TOTAL_TIME B
-------- ---------- -
INTERVAL OF
--------------------------------------------------------------------------------

CHESS
----------
WHAT
--------------------------------------------------------------------------------

NLS_ENV
--------------------------------------------------------------------------------

INSTANCE OF MISC_ENV
---------------------------------------------------------------- ----------
EMD_MAINTENANCE. EXECUTE_EM_DBMS_JOB_PROCS();

JOB LOG_USER PRIV_USER
---------- ------------------------------ ------------------------------
SCHEMA_USER LAST_SEC THIS_SEC NEXT_DATE THIS_DATE LAST_DATE
------------------------------ --------- -------- --------- -------- ---------
NEXT_SEC TOTAL_TIME B
-------- ---------- -
INTERVAL OF
--------------------------------------------------------------------------------

CHESS
----------
WHAT
--------------------------------------------------------------------------------

NLS_ENV
--------------------------------------------------------------------------------

INSTANCE OF MISC_ENV
---------------------------------------------------------------- ----------
= "AMERICAN" NLS_TERRITORY NLS_LANGUAGE = 'AMERICA' NLS_CURRENCY = ' $' NLS_ISO_CURRENC


JOB LOG_USER PRIV_USER
---------- ------------------------------ ------------------------------
SCHEMA_USER LAST_SEC THIS_SEC NEXT_DATE THIS_DATE LAST_DATE
------------------------------ --------- -------- --------- -------- ---------
NEXT_SEC TOTAL_TIME B
-------- ---------- -
INTERVAL OF
--------------------------------------------------------------------------------

CHESS
----------
WHAT
--------------------------------------------------------------------------------

NLS_ENV
--------------------------------------------------------------------------------

INSTANCE OF MISC_ENV
---------------------------------------------------------------- ----------
Y = NLS_NUMERIC_CHARACTERS 'AMERICA' ='.,' NLS_DATE_FORMAT = "DD-MON-RR' NLS_DATE_LAN


JOB LOG_USER PRIV_USER
---------- ------------------------------ ------------------------------
SCHEMA_USER LAST_SEC THIS_SEC NEXT_DATE THIS_DATE LAST_DATE
------------------------------ --------- -------- --------- -------- ---------
NEXT_SEC TOTAL_TIME B
-------- ---------- -
INTERVAL OF
--------------------------------------------------------------------------------

CHESS
----------
WHAT
--------------------------------------------------------------------------------

NLS_ENV
--------------------------------------------------------------------------------

INSTANCE OF MISC_ENV
---------------------------------------------------------------- ----------
GUAGE = "AMERICAN" NLS_SORT = "BINARY".

JOB LOG_USER PRIV_USER
---------- ------------------------------ ------------------------------
SCHEMA_USER LAST_SEC THIS_SEC NEXT_DATE THIS_DATE LAST_DATE
------------------------------ --------- -------- --------- -------- ---------
NEXT_SEC TOTAL_TIME B
-------- ---------- -
INTERVAL OF
--------------------------------------------------------------------------------

CHESS
----------
WHAT
--------------------------------------------------------------------------------

NLS_ENV
--------------------------------------------------------------------------------

INSTANCE OF MISC_ENV
---------------------------------------------------------------- ----------
0102000000000000 0

JOB LOG_USER PRIV_USER
---------- ------------------------------ ------------------------------
SCHEMA_USER LAST_SEC THIS_SEC NEXT_DATE THIS_DATE LAST_DATE
------------------------------ --------- -------- --------- -------- ---------
NEXT_SEC TOTAL_TIME B
-------- ---------- -
INTERVAL OF
--------------------------------------------------------------------------------

CHESS
----------
WHAT
--------------------------------------------------------------------------------

NLS_ENV
--------------------------------------------------------------------------------

INSTANCE OF MISC_ENV
---------------------------------------------------------------- ----------

the results are probably just wraps around your screen.
maybe try to select fewer columns rather than ' *'.
If you use sqlplus, then you can type "set your comments on" and at the end of the results it will tell you how many rows are returned.

Tags: Database

Similar Questions

  • How to understand the implementation of the plan in oracle I mean if I see two implementation plans for a single sql_id plans 2 How to determine the best execution plan? Links and answers are much appreciated. Thank you

    How to understand the implementation of the plan in oracle I mean if I see two implementation plans for a single sql_id plans 2 How to determine the best execution plan? Links and answers are much appreciated. Thank you

    How to understand the implementation of the plan in oracle I mean if I see two implementation plans for a single sql_id plans 2 How to determine the best execution plan? Links and answers are much appreciated. Thank you

    After two execution plans that have the same sql_id, so we can see what you're talking about.

    See "Oracle Explain Explain Plan optimizer" by Maria Colgan of the Oracle optimizer group

    http://www.Oracle.com/technetwork/database/bi-Datawarehousing/TWP-explain-the-explain-plan-052011-393674.PDF

    Examine the various aspects of a selectivity to parallel execution plan

    performance and understand what information you should be brilliant

    the plan can be overwhelming even for the most experienced DBA. This document

    offers a detailed explanation on each of the aspects of the execution plan and a

    Overview of what caused the CBO to make the decision, he did.

  • to understand the ORACLE

    Hello world

    I want to not know le Headline to understand the ORACLE performance tuning.

    And thank you

    Hello

    You can quickly go through 2 days guide

    Oracle Database 2 day + Performance Tuning Guide

    https://docs.Oracle.com/database/121/TDPPT/tdppt_preface.htm#TDPPT336

    Concerning

    Hitgon

  • How to check the oracle forms?

    Dear friends,

    OS: RHEL AS 3
    DB: 9i R2
    Forms: Developer 6
    pc clients: Windows XP sp2
    Forms Server: novell 4.8

    How to check the oracle forms? for example, we have developed the forms using Developer 6. We would like to know which user accesses the number 152 of the form or the form name hrform.fmx
    Because, every time make us changes in the forms we need more fmx if the user accesses this form so we can not crush him in our novell server.
    Usually, we use a windows scheduler in the night to copy forms. so, if we know the user who has not disconnected from our system. the next day, we ask the user.

    Thank you

    Take a look at

    sys. DBMS_APPLICATION_INFO.set_module

    and

    sys. DBMS_APPLICATION_INFO.set_client_info

    and call these package with good info in each of your form in for example the trigger a TIME NEW FORM INSTANCE...

  • How to change the PCTFREE parameter for an existing table

    How to change the PCTFREE parameter for an existing table?

    Guys can you help me please

    Hello

    Of course it is possible.
    In this case you would export the table from the database (using old style exp)
    Start the import with the index_file option to generate the table/index instructions
    Modify the file created and updated the PCTFREE and remove any that need to be performed (default, if I remember correctly, he comments on the statements of the Index)
    Run the file for the table and the index created
    After that start the import with the option "ignore = yes".

    Make sure that you export only this particular table using "tables =
    Also in importing the "ignore = yes" will also be important data that still exists.

    In my view, however, this is not what you want to do. It's more complex, sensitive failure and the table should be deleted, so users are affected unnecessarily long.

    Success!
    FJFranken

  • How to understand the context of the sequence of time real labview

    Does anyone know how Labview RT to understand the context of teststand sequence? My sequence context is defined as "TS. SequenceContext' like the screenshot in attachment.

    If we point a VI for that sequence context then who use VI of teststand? and must add this VI to the Explorer of Projectr of Labview RT system to build the project?

    I use 2009 Labview and teststand 4.2.1.

    Thank you very much

    LabVIEW RT does not support the ActiveX required for TestStand.

  • How to understand the time VI?

    Hello

    I use LV 8.6, and I'm curious to know how to understand statistics 'VI time' under the 'profile Performance and memory window.

    I let one of my screws "continuous run" for about 5 seconds, but in the profile window, time of VI out 1.17 seconds, while the SubVIs time is 0. If I understand well of the Help window, 'VI time' represents the time spent executing the code of the VI, what happens for the other 4 seconds? It is confusing to me because I did similar tests on other screws (with no subVIs), and it seems the faster of the VI, more time to VI is.

    Thank you very much.

    The time you see reported is the total of all the slices of the CPU used by the code.

    If the VI took 1 msec to start upward, then did a waiting for 1 second and then outputs, you should expect the total duration of about 1-5 ms alothough the run time in total was much more than that.

    Ben

  • How to start the oracle database server and its client in windows 8

    Hi all

    I am a new entry in this forum and I am a beginner with oracle database.

    I always used SQL Server as the database, and it was easy to use after installation.

    With management program configuration of SQL Server I could to start service SQL Server (SQLEXPRESS) and the database server start!

    With SQL Server management studio, I was able to launch the client application, then was to establish a connection to the server and everything worked great!

    Now, how to work with the oracle database?

    I installed the oracle server and client version 11g R2 in windows 8, but how do I start the database?... and how can I start the client application to query?

    best wishes in advance.

    PS: Sorry for my English.

    If you are on the same machine, the only service that you absolutely need to start is the database service.  In your case OracleServiceSYSDBA (hmmm... How did you find with this name?).

    For queries, you can use SQL * Plus which should also be installed.  If you want something GUI, you can use SQL Developer (you need to install separately I think).

  • How to determine the Oracle Max process on Windows Server settings

    Currently I have Oracle 11.2.0.1.0 running
    Windows 2003 EE R2 SP2 x 32

    The issue now is:

    How to determine what is the maximum value that I can set the process?

    I guess that's the operating system and hardware dependent, but I can't find documentation on this topic.

    Any help is appreciated.
    Jason Longenecker

    Published by: LONGENECKER on May 13, 2013 11:33

    Published by: LONGENECKER on May 13, 2013 11:36

    We shouldn't just work the PROCESS parameter for the maximum number of BONES.

    More processes that you have, more will consume PGA the oracle Instance, i.e. more memory will be used on your server.

    You should check v$ resource_limit see if it really reached setting TREATY limits, if yes increase the parameter appropriately so that the high tide of use remains about 80% of the value of the parameter. Check if the number of sessions dedicated process is really necessary, otherwise you can consider the use of database resident connection pooling or a shared server or tuning configuration opening less sessions on the database.

    Depending on how much you increase, take a look at the view of PGA advice after a workload of the cycle of V$ PGA_TARGET_ADVICE and V$ MEMORY_TARGET_ADVICE.

  • How to mount the Oracle 11 g on Vmware software.

    Hi all

    I'm new to this forum and I'm also learning the Oracle DBA 11 G on my own to improve my skills and move further.

    I have a question for which I'm looking for an answer from the experts here in this forum.

    Question: I have installed Vmware and 4 Linux on my system, please tell us how can I now install Oracle 11 G software so that I can start with the creation of database?

    Please respond to my query that my interest in the subject remains intact and I can get a good start in it.

    Thanks in advance.

    Heyat alya.

    You will need Linux 4 Update 7 or superior - installation steps are documented

    http://docs.Oracle.com/CD/E11882_01/install.112/e24321/pre_install.htm#CIHFICFD

    HTH
    Srini

  • Can someone help me how to understand the syntax of a calculation in a form Acrobat?

    For the first time I have created a PDF form for the child summer camp brochure. After countless hours I was able to figure out how to make some simple calculations (number of sessions of camp price subtotal = x). But I can't understand how to create a script that will take partial total revenue and generate a number which corresponds to 10% of the subtotal. All I want to do is have a separate field (reduction), which can reference the subtotal, and if it's over $ 170.00, calculates and displays a number which corresponds to 10% of this amount. From there, I can understand how to subtract 10% of the subtotal, but I can't understand the syntax for the calculation of the 10%. Also I don't know if that should be entered in the Notation of Simple box field or calculation Script custom area to calculate in the text field properties box. Any help would be greatly appreciated!

    You must use JavaScript. It would be something like:

    Personalized to discount field calculation script

    (function () {}

    Get the subtotal value, as a number

    var = subtotal + getField("Subtotal").value;

    Set the value of this field

    If it is greater than 170, calculate 10%, otherwise it is zero

    Event.Value = subtotal > 170? 1 * subtotal: 0;

    })();

    This last line is equivalent to:

    If {(subtotal > 170)

    Event.Value =.1 * subtotal;

    } else {}

    Event.Value = 0;

    }

    It's just more compact.

    Replace "Subtotal" in the line of getField above with the actual name of the subtotal field. Also, set all the fields calculated read-only. And make sure the field calculation order is correct.

  • How to examine the Oracle background process (SMON, PMON, DBW0,...) on a WIN OS

    Dear all:
    On Linux/Unix OS, we can check with order Oracle background processes

    ps - ef | grep ora

    , but how to check the Windows operating system? Can someone show me how to do...
    Thank you very much ~

    regarding

    On Windows, the background process running as a thread in the oracle.exe process.

    You can see through the database using the V$ BGPROCESS discover or "SELECT the PROGRAM FROM V$ SESSION WHERE USERNAME IS NULL.

    Not sure about all the tools under Windows that show the nets with the name of background processes (process explorer from sysinternals shows the son, but not the names of background processes).

  • How to debug the Oracle procedure

    Hi friends,

    I've migrated oracle procedure from Oracle 8.0.4 DB of NT to DB Oracle 9.2.0 on IBM AIX.
    When I test/execute the procedure on the Db 9.2.0, she still runs and did not end.

    How to debug an Oracle procedure to check if it's a loop on the same block foever, what "current" values is owner and what tables he read to, or procedure does never loops as if it is not to satisfy one of the conditions?

    Thank you very much

    Is coding "infinite loop" a bad habit of programming?

    Yes, you can call it such.
    Personally, I prefer to use loops.
    See http://tahiti.oracle.com for the different types of loops that you can use.

    How can I change this infinite loop in a "finite" without changing the logic of the program?

    You can use EXIT WHEN "certain conditions."
    For example, you can add OUTPUT WHEN cursorname % notfound, or some counter to reach a specific value in your loop, to 'force' the loop to stop.
    See the docs or do a search on this forum for more examples.

  • How to exclude the Oracle Workflow installation CD companion server?

    We are modernizing our E-Business suite 11i database to 10.2.0.3.

    The E-Business suite upgrade request notice to install "Oracle Database 10 g products" Companion CD on 10g of the House. Oracle default workflow server is included in the guide installation with a CD Type 'Install a database Oracle 10 g products'. However the installation document CD companion says that don't install Server workflow on the database of trade electronics uite, as indicated below.

    Now how can I exclude the Oracle workflow installation CD companion server?

    ================================
    Note: Do not install Oracle Workflow Server in Oracle E-Business
    Office database. If you want to use the version of Oracle Workflow
    available with Oracle Database 10g, or any Oracle database
    components that depend on the version of Oracle Workflow, then you
    need to install the Oracle of Workflow Server in a database that is not used
    Properties of an instance of Oracle E-Business Suite.
    For an Oracle E-Business Suite database, you can continue to use the
    version of the Oracle Workflow Server integrated in Oracle E-Business
    Suite.
    ================================

    John,

    You should ignore the steps under "Preparing Oracle Workflow Server for the Oracle Workflow Middle Tier Installation", but the workflow will be installed as part of the accompanying CD (select option 2 - products of Oracle database)

    Upgrade of Oracle Applications 11i database 10g R2 (10.2.0.3)
    http://Oracle-Apps-DBA.blogspot.com/2007/09/upgrade-Oracle-Applications-11i.html

    Here is the link for the steps you need to jump:

    Prepare mid-level Workflow Oracle Oracle Workflow Server Installation
    http://download.Oracle.com/docs/CD/B19306_01/install.102/B15664/install_sw.htm#BABHHHCC

  • How to run the oracle form without using a web browser

    I am a new developer in Oracle Form builder.
    Could someone tell me how can I use oracle without using a web browser?

    Bravo,

    N ° Web, since Forms 9i versions, are Web Client and needs an application server to run the forms runtime.

    François

Maybe you are looking for