What's instance, ROWID and why we use cursor?

Dear memebers,
yesterday i have an interview there i faced the following questions.
1. what is instance?
2. what is ROWID?
3. why we use cursor?
i can give only the last one.
i am waiting for your answer.
thanks
Regards:
Muhammad Nadeem
[email protected]

HY
Row Identifiers
Each row in an Oracle database has a unique row identifier, or rowid, which is used internally by the Oracle database to access the row. A rowid is an 18-digit number that is represented as a base-64 number, and it contains the physical address of a row in an Oracle database. You can view the rowid value for rows in a table by specifying the ROWID column in the select list of a query. The query in the following example retrieves the ROWID and customer_id columns from the customers table:
SELECT ROWID, customer_id
FROM customers;
Oracle instance:
An Oracle instance is the combination of the background processes and
memory structures. The instance must be started to access the data in the database. Every
time an instance is started, a System Global Area (SGA) is allocated and Oracle
background processes are started. Background processes perform functions on behalf of
the invoking process. They consolidate functions that would otherwise be handled by
multiple Oracle programs running for each user. The background processes perform
input/output (I/O) and monitor other Oracle processes to provide increased parallelism
for better performance and reliability.
REGARDS

Similar Messages

  • What are mapping services and why they use so much cellular data?

    I previously had an iphone 5 and my monthly cellular data consumption was about 250MB.
    I recently switched to an iphone 5S and the cellular data usage is about 250MB per week!
    I try to monitor and reduce the usage but the mapping services in system services is always very high!
    What is this? Can I reduce it?

    Mapping Services ( story ) :
    In April 2011, iPhone and iPad users were surprised to discover that, not only was their device keeping track of where they’d been, it also was storing very detailed location information in a plain-text file on the phone.  The data was derived by the cell towers and Wi-Fi hotspots the devices encountered, and was added anonymously to a crowdsourced database.
    Apple later said the devices were keeping more information than intended due to a bug, and issued a patch that reduced the amount of data. But, because it was used to improve and speed up location services, the practice continued.
    And now, in iOS 7, Apple has added a tool that lets you see what your iPhone knows about where you go.
    If you’ve got an iPhone 4S or later running iOS 7, follow these steps:
    1. Go to Settings, then Privacy > Location Services.
    2. Scroll to the bottom of the list of apps that use Location Services (and feel free to marvel at how many apps do!). Tap System Services.
    3. Tap on Frequent Locations, then scroll down and look at History. You’ll see at least one city there, more if you travel.
    4. Tap a city. You’ll see a list of locations you’ve visited in the city.
    5. Tap a location. You’ll see a list of the dates and times you visited that location.
    Why in the world would Apple collect this kind of detail about your movements? It does so to enable features like Next Destination, found in the Notification Center, which is the screen you see when you swipe down from the top of the iOS display. Next Destination looks at your travel patterns and offers information about how long it will take to get to the next place you typically visit during the day.
    If having all this location data collected by your iPhone makes you nervous, you can turn it off at Settings > Privacy > Location Services > System Services > Frequent Locations. Note that it is turned on by default, so if you don’t want your phone logging your whereabouts, you’ll need to turn it off.
    The Next Destination feature is similar to one found in Google Now, which uses location and your habits to offer up useful information without your asking for it. Google Now is found in the Google Search app on both Android and iOS. On Android, you can add a Google Now widget to your home screen to make the feature more accessible.
    In fact, Google collects similar information about you – and in greater detail -  if you use its location-based products. Google stores your location data on the Internet, and you can see it on any Web browser.
    Make sure you’re logged into your Google account – say, through Gmail – and then go to google.com/locationhistory. You’ll see a map showing location visits for today, but click the Dashboard link at the top of the page and you’ll see this:
    To turn this off, click the gear icon in the upper right corner of the Location History page and choose History Settings. Then, click Disable and Save. There’s also a History Management link that lets you delete history items that have already been collected.
    Location services are really an integral part of a ton of iOS apps, using the internal GPS system to add Instagram photos to a map, checkin with FourSquare or Facebook, or let your friends know where you are with one of many “on my way” apps, like Glympse or Twist.
    If you’re battery is dying, however, the location services are the first thing you should turn off, as they suck up a lot of your iPhone, iPad, or iPod touch’s power needs, what with their background data sending and receiving and such.
    Here’s how to turn them off.
    Tap your Settings app to launch it, and then tap on Privacy. You’ll be able to turn the toggles OFF for any specific app that has privileges to access your GPS location by scrolling through the list and tapping them all. I do this on a fairly regular basis for both privacy and battery savings. I figure that with less apps accessing my location, the less battery power in total is being used for that function.
    If you want to turn off Location Services completely, then simply tap the main toggle at the top to OFF, and you’ll stop using them. This will keep your apps that need it, like Maps or Compass, from knowing where you are, but the battery will thank you.
    Follow the above steps to turn off Location Services :

  • HT201250 What is Airport Utility and why do I need to access this in order to backup my iMac using Time Machine...PLEASE??

    What is Airport Utility and why do I need to access Airport witeless devices in order to backup my iMac using Time Machine...HELP!!! PLEASE??

    AirPort Utility is required to configure an Apple AirPort Base Station or Time Capsule.
    Time Machine can use a Time Capsule or a locally connected volume. You only need to use AirPort Utility if you are using a Time Capsule.

  • What is a url and why is it needed to use photoshop

    What is a URL and why do I need it to use photoshop on my computer?

    what problem are you seeing?

  • What is "Directory Service" and why does it "use up 194%" ?

    What is "Directory Service" and why does it "use up 194%" on my istat CPU app monitor?
    Ever since I installed Leopard I've noticed this happening more and more - especially when I install an external hard drive or unplug my ethernet line - this is plainly weird and never happened under Tiger - the temperature shoots up to 84° also - I always to a restart to get rid of it but it's kind of worrying....anybody have any ideas?
    Message was edited by: Host

    Had this happen myself.
    It does have something to do with Spotlight/searching. Should go away after a while, or so I have heard from other users, 'cause it hasn't stopped driving me and my fan mad yet.
    Am going to have my MacBook index and follow-up on indexing and whatever else it feels is necessary to finally allow me to search in peace over the weekend while locking it away where I can't hear it.
    Hopefully that does the trick.
    If it wasn't for things working better/faster and most things looking better I might actually consider taking Leopard off again ...

  • What are smart mailboxes and why do i need both smart and "normal" ones?

    What are smart mailboxes and why do I need both smart and "normal" mailboxes?

    Hi Kingoftypos,
    Thanks for that clarification. So, now it appears that the ultimate purpose of a Smart Mailbox is to point to all emails that meet the criteria in a single place, so if they are spread among several mailboxes, you will be able to see them all together. Here is an article from Apple that describes it:
    A Smart Mailbox displays in one location messages that are stored in other mailboxes, so you don’t have to move messages between mailboxes. The messages displayed by a Smart Mailbox are based on criteria you define, and are automatically updated to include new messages that match your criteria. For example, you might create a Smart Mailbox that displays all messages found in all mailboxes from a specific sender.
    If you change a message in a Smart Mailbox, such as marking the message as read or unread, or moving or deleting the message, the change is reflected in the mailbox where the message is actually stored.
    So, adam, I would think that, if you had mail going to a lot of different places, and wanted to be able to see a particular set of those in a single place, you would use a smart mailbox. Maybe use the rules to direct your mail to different places to start with, but a smart mailbox to bring a set of common ones all together into a single smart mailbox?
    Maybe you have Rules move your Amazon mail to an Amazon folder and your Apple mail to an Apple folder, but then you have a Smart Mailbox that contains any mail that has the word "Receipt" in the Subject line?
    Just a thought....
    Cheers,
    GB

  • What are Layers? And why do I need them?

    WHAT ARE LAYERS? AND WHY DO I NEED THEM?
    Layers are an essential part of Photoshop. With Layers you can separate pictures or design elements from each other, as if they are stacked on pieces of glass. With all elements separate, you can move or change them independent of each other.
    Layers are used for many tasks, including improving your images' color or tone; merging two or more images in one Photoshop file; and creating Web designs and animations.
    LAYER BASICS - VIDEO 06:41 min.
    WORKING WITH LAYERS - VIDEO 11:16 min.
    KEY CONCEPT: LAYER
    PHOTOSHOP/ LAYERS BASICS - Reference Guide

    After creating the mask and applying adjustment, you can also adjust and change layer mask using selection tools or, the most common way, using brush tools.
    To have a more accurate preview of what are you doing, Alt + click on the layer mask thumbnail to show the mask in the image area.
    At this point, you will have a layer mask on your screen in large view, so it is easy to fine tune it, but you wont see how that affects your image.
    To seean  instant preview how changes on layer mask affects the adjustments, use New Window for (name of your image) from Window > Arrange.
    Here is a more detailed tutorial on the topic: New Window for.. Command in Adobe Photoshop.

  • What are the advanteges and disadvanteges of using pl/sql over hibernate

    i knwo that pl/sql are well structure and provide a lot of functionalities with oracle databse , but my question is the hibernate might give some advnateges of scalability over pl/sql.
    so what are the advanteges and disadvanteges of using pl/sql over hibernate?
    and does oracle recommend using hibernate for connecting JSP with oracle 11i , or it is better to connect the JSP pages with oracle databse using pl/sql ?

    812643 wrote:
    but if i search for the diferencess then there are a lot of opinions about this ..., specially when they say that with hibernate you can integrate with any DB , and it provides object printed architecture, etc.All databases are not equal. This is a basic and fundamental fact. SQL-Server is not Oracle. Oracle is not SQL-Server. As it is the case with Sybase, Ingres, DB2 and other database products. They are all different. And there are some very core differences between them.
    So how would a product like Hibernate treat these database products with their differences? By using the lowest common denominator. Which means your expensive database product is dumbed down - and even MS Access will likely have better and more features.
    You also need to decide what is the "permanent" part in your architecture. What is going to the core? What is the expensive part? The app server (with Hibernate)? Or the database server?
    What are you likely to change next year? The app server server? Or the database server?
    In the vast majority of cases, the core is the database server. That is your biggest expense and investment. As it should be - as it holds that which is most precious to business, data. You want to ensure the integrity of that data. The accuracy of that data. Make sure that it can be easily backed up and recovered. Is flexible to use. Etc. Etc.
    The database server is the core - and that is where you need to realise your return on investment. By using the database server to its full extent.
    Hibernate does not do that. And in that respect, it is junk.
    Why does it not do that? Because many Java developers are totally and fully clueless about what database servers are and how to use them. And want to use them as little plug-in black boxes - bit buckets that are only there to provide a data persistence layer. Instead of using the database server to its full extent, they instead use Hibernate, and try to do their own "+database thing+" in the app layer - and do it poorly and with utter lack of any scalability. (and no, only ignorant Java heads think that scalability means throwing more money and h/w at it)
    My largest database processes billions of rows per day, every day, 356 days a year (between 350 to 450 million new inserts into a single table per day). And have been for several years now. It does so using PL/SQL. Using Oracle to its full extent. Then there are Java heads that cannot even design and code an app that effectively process 1% of this volume... and grasp at straws like Hibernate and other Java cr@p to "fix" this - when the actual problem is their total lack of ignorance in how to use and scale the database server.
    Hibernate is trash - and a symptom of Java developers's ignorance of database technology.

  • What Is Memeo Backup and why is it on my MacBook Pro w/ Snow Leopard?

    What Is Memeo Backup and why is it on my MacBook Pro w/ Snow Leopard?  Does it slow down my Mac? Seems like someting has slowed down my Downloads, Updates, Backups, etc. & I don't know how to locate the source or how to fix. Any Wizards avail to share some Wisdom? I am using Ethernet Cable/Port for Internet Connection, I Use a Seagate  FreeAgent Go Flex Ultra-Portable Drive w/ Seagate's Firewire Adapter Cable.

    If this is really Memeo Backup and you want to get rid of it for a better backup program like Carbon Copy Cloner the the following shows all the stuff that Memeo Backup installer installs (based on Memeo Backup 2.5.141 which I found with a google search and downloaded):
    The primary file to disable Memeo Backup would be that file in LaunchDaemons.  Remove it and reboot and the rest is just taking up disk space. 

  • Photo/Video editing PC build; what would you change and why?

    I'm in the planning phase of my first photo/video editing PC build.  I've done quite a bit of research to this point, and I've finally come to a decision on all of the components (I think).  After seeing how helpful everyone is on this forum, I decided to post my plan and see what everyone thinks.
    Miscellaneous info:  I am an amateur photographer looking to expand my horizons and venture into the video realm.  I will be running Windows 7 64bit with Adobe CS5 Production Premium and Lightroom 3 on a singe solid state drive and everything else will be on a 3 drive RAID 0 config.  Eventually I plan on purchasing a RAID card and a few more drives for a RAID 3 (or 5) config, but that won't be for a while.
    Ok, here's my planned build...
    Component
    Description
    Processor
    Intel   Core i7 - 950 3.06GHz Quad-Core Processor
    Motherboard
    ASUS   P6X58D-E LGA 1366 Intel X58 ATX Intel Motherboard
    Memory
    Corsair   Dominator 12GB (6 x 2GB) DDR3 1600 (PC3 12800) Triple Channel Memory
    System Drive
    Crucial   RealSSD C300 2.5" 128GB SATA III MLC Internal Solid State Drive
    Data Drive(s)
    3 - Western   Digital Caviar Black 1TB 7200 RPM 64MB Cache SATA 6.0Gb/s 3.5" Internal   Hard Drive (Configured in RAID 0 for now)
    Optical Drive
    Pioneer   BDR-205BKS Blu-ray Burner
    Video Card
    EVGA   GeForce GTX 470 (Fermi) SuperClocked 1280MB 320-bit GDDR5 PCI Express 2.0 x16   HDCP Ready SLI Support Video Card
    Power Supply
    Corsair   HX Series CMPSU-850HX 850W ATX12V 2.3 / EPS12V 2.91 80 PLUS SILVER Certified   Modular Active PFC Power Supply
    Case
    LIAN   LI PC-A71F Black Aluminum ATX Full Tower Computer Case
    Monitor
    NEC   MultiSync PA271W-BK-SV 27" Widescreen LCD Monitor with SpectraViewII   Color Calibration Solution
    So, what would you change and why?
    I'm looking forward to your responses!

    "I'll take your advice and go with Samsung F3s.  With the money I save  (by not getting the WD Caviar Blacks), I'll add a 4th drive and use the  RAID5 on the mobo until I can afford to upgrade to a proper RAID  controller."
    I might be a bit late, but wanted to let you know about motherboard software RAID configs (at least mine):
    I have an older system running an ASUS P5AD2-E Premium MB containing a Silicon Image 3114 RAID chip. I originally configured a RAID 10 array with four 74 G Raptors for speed and redundancy. Figured if I lost a disc, I could just rebuid the array. Come to find out, the Sil 3114 chip does not support rebuilding the RAID 10 array.
    I had lost a disc (disc was okay, just power to the disc was interupted) so was running on three. Fixed my power problem, went to rebuild the array and couldn't. So I figured what is the point of having a RAID 10 that I couldn't rebuild. Went to a RAID 0 with a backup disk.
    Never checked the documentation to see if software RAID 5 through the SIl 3114 was rebuildable.
    Mind you, I am not a computer guru nor all knowledgable about software/harware based RAID configs. But after talking to others who are the guru's, I found that I should stay away from the motherboard software RAID arrays and they mirror what Harm said about hardware RAID boards. But on a budget, the RAID 0 with a backup drive works for me.
    Just my 2 cents to help.
    Tony

  • What is (en1) adapter and why am I not showing airport connection?

    Ok, so I'm in the network preference pane looking at three possibilities.
    1) Ethernet adapter (en1) which shows an IP and tells me I'm connected to the internet.
    2) Airport which is connected to my home network but does not have an IP and "cannot connect to the Internet"
    3) VPN (L2TP) which is configured but not connected.
    So, back to my original question. As I am obviously connected to the Linksys wireless router through the airport card, what is this en1 and why does it tell me I'm connected through it instead of the airport?
    Message was edited by: Trent Mckenica
    Message was edited by: Trent Mckenica

    I was (am) definitely connected. Just was a little confused as to why the Airport pane didn't show connectivity. I ended up going to sysprefs, choosing "Show: Network Port Configurations", and dragging the Airport to the top of the list. (It did show BOTH Airport and en0 network adapter as choices). After dragging Airport to the top of the list, the Airport TCP/IP pane showed the connectivity I expected to see in the first place. Really not an issue as I was always connected anyways, just not what I was used to seeing.

  • What is application memory and why does my macbook pro keep running out of it?

    what is application memory and why does my macbook pro keep running out of it?

    There is excessive swapping of data between physical memory (that is, the memory chips on the logic board) and virtual memory (one or more files on the startup volume.) That activity is relatively slow and causes the whole system to be less responsive. It can happen for two reasons:
              A long-running process with a memory leak (a kind of bug)
              Not enough memory for your usage pattern
    Please note that if the cause is a memory leak, installing more memory will not help. That's likely if you already have more than 4 GB of memory. Tracking down a memory leak can be difficult, and it may come down to a process of elimination.
    These instructions are for OS X 10.9 and later. Some details may be slightly different for earlier versions of OS X.
    When you notice the swap activity, open the Activity Monitor application and select All Processes from the View menu, if it's not already selected. Select the Memory tab. Click the heading of the Real Mem column in the process table twice to sort the table with the highest value at the top. If you don't see that column, select
              View ▹ Columns ▹ Real Memory
    from the menu bar.
    If one process (excluding "kernel_task") is using much more memory than all the others, that could be an indication of a leak. A better indication would be a process that continually grabs more and more real memory over time without ever releasing it. Here is an example of how it's done.
    The processes named "Safari Web Content" render web pages for Safari. They use a lot of memory and may leak if certain Safari extensions or third-party web plugins are installed. Consider them prime suspects.
    Another process often implicated in memory leaks is "inkjet4" or "inkjet8," which is a component of the HP printing software. If it's present, force-quit the process in Activity Monitor to solve the problem temporarily. Empty the print queues in the Printers & Scanners preference pane (which has a slightly different name in each recent version of OS X.) If you don't use an HP printer, reset the printing system. Otherwise, if the problem is recurrent, update the software (which may not help) or contact HP support.
    "Wired" memory should be a small part of the total. That memory is not swapped, but it makes less physical memory available which may then result in swapping. If you have a lot of wired memory, that's usually an indication of a memory leak in a third-party program that modifies the operating system at a low level. Ask for guidance in that case.
    If you don't have an obvious memory leak, your options are to install more memory (if possible) or to run fewer programs simultaneously.
    The next suggestion is only for users familiar with the shell. For a more precise, but potentially misleading, test, run the following command:
    sudo leaks -nocontext -nostacks process | grep total
    where process is the name of a process you suspect of leaking memory. Almost every process will leak some memory; the question is how much, and especially how much the leak increases with time. I can’t be more specific. See the leaks(1) man page and the Apple developer documentation for details.

  • When I click on a picture or a link, to take a closer look, I get a blank screen and it says at the top search bookmarks and history, at the bottom it says 'stopped' - what is this problem and why is it happening

    when I click on a link to complete a form, or a link to take a closer look at a picture, I get a blank screen and it says at the top 'search bookmarks and history', at the bottom it says 'stopped' - what is this problem and why is it happening ?

    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]

  • Can anyone direct me to a good overview of the new features of iOS 6 (I use an iPhone 4S) so I know what I've got and how to use it?  Thanks!

    Can anyone direct me to a good overview of the new features of iOS 6 (I use an iPhone 4S) so I know what I've got and how to use it?  Thanks!

    http://www.apple.com/ios/

  • Please explian what is native compilation and how to use it

    hi all.
    please explian what is native compilation and how to use it
    regards

    It's explained well in the PL/SQL User's Guide and Reference
    Compiling PL/SQL Code for Native Execution
    http://download-uk.oracle.com/docs/cd/B10501_01/appdev.920/a96624/12_tune.htm#48419

Maybe you are looking for

  • Entourage X HTML email display issue

    I started receiving HTML based emails (i.e. like those from eBay, PayPal, etc) with nothing in the message body but a blank white page. This problem started 2-3 months ago. Before that I was able to read HTML-based email. I did not change any setting

  • Popup blocking exceptions

    I must be missing something quite obvious, or it just doesn't exist. Right now, I do not use the block popup windows features because there are a couple of websites that use popups as a part of their functionality. In Firefox, I can block all popups,

  • Problems with using get_file_name() in Web Forms 6i

    Is there're any alternative of using get_file_name() in tree tier environment for using in middle tier or client in forms 6i. Could anyone suggest Jbean from your own collection to make it? get_file_name() : Displays the standard open file dialog box

  • HT4759 Has anyone worked out how to stay signed in to the icloud calendar on a PC? I am running Windows 7 and outlook 2013

    Has anyone worked out a way of staying signed in to the icloud calendar on their PC? It is driving me crazy as I have to sign in each time. I have the latest control panel, Windows 7 and Outlook 2013.

  • Bridge CS5 - setting to open selected images in ACR automatically?

    My CS3 Bridge opens all images (when I click on the thumbnail) in ACR, even jpgs.  How do I make this happen in CS5 Bridge ? I can open in ACR by going to "file > open", but is there a way to set it automatically ?  Sorry if there is an obvious answe