Which is better the usual ODBC connection or the OCI to connect to OracleDB

Just wanted to know which one is better/when should i use OCI over ODBC when connecting to Oracle Database from OBI Administrator.
Also what are the advantages?
Thanks

Always use OCI since it is the native driver of Oracle. Use ODBC when you dont have any other options.
Thanks,
Venkat
http://oraclebizint.wordpress.com

Similar Messages

  • Which is better,the Apple TimeCapsule or the WD MyCloud for backing up pixs and datas?

    I am not too sure which is better for backing up my pixs that i have saved and dont want to lose them,am thinking which would be best for me to purchase?the apple timecapsule or the wd mycloud,i heard great things about both but not sure from someone who got experience,so could u help me out and tell me which is better and why?
    thanks in advance...

    Backup is backup. Doesn't matter how you do it, but that you do it.
    Given the choice you posited I would choose the Time Capsule if you want to use Time Machine. If you wish to use third-party backup software then you can only use the WD. It comes with its own proprietary backup software. Or you can go another direction and avoid cloud/network backup which is very slow.
    Basic Backup
    For some people Time Machine will be more than adequate. Time Machine is part of OS X. There are two components:
    1. A Time Machine preferences panel as part of System Preferences;
    2. A Time Machine application located in the Applications folder. It is
         used to manage backups and to restore backups. Time Machine
         requires a backup drive that is at least twice the capacity of the
         drive being backed up.
    3. Time Machine requires a backup drive that is at least double the
         capacity of the drive(s) it backs up.
    Alternatively, get an external drive at least equal in size to the internal hard drive and make (and maintain) a bootable clone/backup. You can make a bootable clone using the Restore option of Disk Utility. You can also make and maintain clones with good backup software. My personal recommendations are (order is not significant):
      1. Carbon Copy Cloner
      2. Get Backup
      3. Deja Vu
      4. SuperDuper!
      5. Synk Pro
      6. Tri-Backup
    Visit The XLab FAQs and read the FAQ on backup and restore.  Also read How to Back Up and Restore Your Files. For help with using Time Machine visit Pondini's Time Machine FAQ for help with all things Time Machine.
    Although you can buy a complete external drive system, you can also put one together if you are so inclined.  It's relatively easy and only requires a Phillips head screwdriver (typically.)  You can purchase hard drives separately.  This gives you an opportunity to shop for the best prices on a hard drive of your choice.  Reliable brands include Seagate, Hitachi, Western Digital, Toshiba, and Fujitsu.  You can find reviews and benchmarks on many drives at Storage Review.
    Enclosures for FireWire and USB are readily available.  You can find only FireWire enclosures, only USB enclosures, and enclosures that feature multiple ports.  I would stress getting enclosures that use the Oxford chipsets especially for Firewire drives (911, 921, 922, for example.)  You can find enclosures at places such as;
      1. Cool Drives
      2. OWC
      3. WiebeTech
      4. Firewire Direct
      5. California Drives
      6. NewEgg
    All you need do is remove a case cover, mount the hard drive in the enclosure and connect the cables, then re-attach the case cover.  Usually the only tool required is a small or medium Phillips screwdriver.

  • Which is better, the Hip-E, or the Mega PC Series?

    A new computer was released last week that takes aim directly at kids.  It's called the Hip-E, and you can check it out here:  http://www.hip-e.com
    So, the question is, which do you like better the Mega PC or the Hip-E.  (assuming both work perfectly per specificaions)

    The specs for the Hip-E are here:  HIP-E Specifications
    And here is a link for the video card, looks like it's an ATI 9700:  M11 Video Card
    In regards to price, don't forget that Hip-E is shipping with a LCD based monitor, which isn't cheap.  Not that I'm advocating it, personally I don't like the design of the Hip-E.

  • Which is better the 1st g or 2nd generation ipod touch

    I like to know which is better and last longer and wont have much issues
    A. 1st g ipod touch
    or
    B. 2nd genertion ipof touch
    I like to know I dont know which one I want, and I like to hear it from a person who know what there talking about and who knows alot about ipod touch
    reply back real soon
    I need to know

    Hello,
    It really depends on your own wants/needs. When the price of the refurbished touch dropped down to $199, I went ahead and purchased it, and so far, I don't regret it or want the 2nd generation (which I have seen and played with).
    The main differences with the 2nd generation include a built-in Nike+ receiver (Nike+ is pretty much an iPod-integrated pedometer that works with just the Nano so far), external volume controls, and an internal speaker for "casual listening" (meaning that it doesn't really have that great of volume/audio quality, but the headphones are just as good as any other iPod).
    I don't think at this stage we can determine which will have a longer, overall life expectancy. After all, the 2nd generations have only been around since the 9th of this month, and the 1st generations are roughly a year old at this point. Not really a fair comparison.
    Regarding issues you might experience... several users on this forum have reported Wi Fi issues with the 2nd generation, but, keep in mind that this is generally a support forum, so most of what you see on here will be issues looking for resolution. I haven't had any issues with the 1st generation that I haven't been able to solve by a simple reset.
    Hope this is helpful
    CG

  • Which is better, The iPhone 4 or iPhone 3GS?

    Hello people. I hope to be getting an iPhone today. I'm just trying to decide which one I will get. The 4 or 3GS? What are your opinions on both models? For some reason, I'd like to get the iPhone 4 because it's the latest model and the 3GS is almost 2 years outdated. So my question for all you Apple fan boys today is which phone is better in your opinion. the iPhone 4 or iPhone 3GS.
    Whatever your opinion is, please explain in depth.
    Thank you everyone for your time and answers!
    Have a great day!

    Its still base on your preference and budget. But iPhone 4 would be a good leap to go.
    iPhone 4 has the basic stuff that you could look for a mobile phone. Regardless of the hefty price tag.
    Try reading out Reviews online about iPhone 4 so you could get more details as well as assurance that the 4th Generation iPhone is better than 3GS.
    PS: Good Luck on Making A Decision. Its though. Really Though.

  • Which is better the ipad2 or 3?

    I've been wanting an ipad for a while now. But I don't know which one to get, either the second or the third generation?

    What are all the differences between the iPad 3rd Gen and the iPad 2? Is the iPad 2 worth the cost savings?
    http://everymac.com/systems/apple/ipad/ipad-faq/differences-between-ipad-3rd-gen -2012-ipad-2-2011.html
    What are all the differences between the iPad 3rd Gen models? Which should I buy?
    http://everymac.com/systems/apple/ipad/ipad-faq/differences-between-ipad-3rd-gen -early-2012-models.html
    Should I Buy a New iPad? Or an iPad 2?
    http://www.maclife.com/article/blogs/should_i_buy_new_ipad_or_ipad_2
    iPad 3 vs iPad 2 vs iPad 1- Feature comparisons with iOS 5
    http://ipadhelp.com/ipad-help/ipad-3-vs-ipad-2/
    iPad Q&A
    http://www.everymac.com/systems/apple/ipad/ipad-faq/differences-between-ipad-3rd -gen-early-2012-models.html
    A Few Questions (and Answers) About the New iPad
    http://pogue.blogs.nytimes.com/2012/03/15/a-few-questions-and-answers-about-the-   new-ipad/?ref=personaltechemail&nl=technology&emc=edit_ct_20120315
    New iPad: A Polishing of the Old
    http://www.nytimes.com/2012/03/15/technology/personaltech/the-new-ipad-is-much-t he-same-only-better.html?nl=technology&emc=edit_ct_20120315
    iPad 1, 2 and New Specifications
    http://www.everymac.com/systems/apple/ipad/index-ipad-specs.html
    How much content will fit on my iPod or iPhone?
    http://support.apple.com/kb/HT1867
    If you think you may get an iPad 2:
    Refurbished iPad Prices
    http://store.apple.com/us/browse/home/specialdeals/ipad
    New 16GB iPad 2 Prices
    http://store.apple.com/us/browse/home/shop_ipad/family/ipad/select_ipad2
     Cheers, Tom

  • Which is better the March 09 MBP 15 2.66ghz or the June 09 MBP 15 2.53??

    I found a deal or I think I did 1699 for the 3/09 2.66 but I am not sure if spending that extra money on the mid range previous version will be a better choice than the lower end current 2.53 model. Will the 2.66 be a better buy? Faster etc.
    Thanks to All

    You are getting more bang for the buck with the 2.66GHz model. Although it's "old" there are a lot more pros than cons (in my opinion).
    1) 2.66GHz Late 2008 has two graphics processors --> 2.53GHz Early 2009 does not
    2) 2.66GHz Late 2008 has ExpressCard slot which you can put in an SD card reader adapter inside to act like the dedicated (and NO ExpressCard slot) SD slot on the Early 2009 2.53GHz model
    3) The VRAM in the 2.66GHz Late 2008 is 512MB whereas in the 2.53GHz Early 2009 it's 256MB
    4) The hard drive in the 2.66GHz Late 2008 is 320GB vs. the 250GB in the 2.53GHz Early 2009
    5) The price is a steal for $1699 considering it used to be $2499 and it's on par with the price for the 2.53GHz Late 2009 which retails for $1699 but with less offerings as outlined above! Not to mention the "same" model 2.66GHz Late 2009 which costs more and still has "less" specs in a sense.
    I say go for it!!
    Here's my source (click on links 17 and 20-- you'll have to count it, sorry):
    http://www.everymac.com/systems/apple/macbook_pro/index-macbookpro.html

  • Which is better to use? connection.close() or connection = null

    Hi,
    can anybody let me know what is the difference between the following statements when intended to end the usage of it?
    finally{
    try{
    if(con != null){
    con.close();
    }catch(Exception e){
    System.out.println("Error in closing connection");
    }OR
    finally{
    con =null;
    }also can i set NULL to Resultset or Prepared statement instead of close() method?
    Please let me know what will be the difference in each case.
    Thanks in Advance.

    Doing this is a BAD idea.
    finally{
       con =null;
    }It's likely to cause your application to completely stop working after a certain number of connections have been acquired and subsequently leaked.
    Always make sure that all database connections are closed after use under all circumstances.

  • I am buying a new IMac. which is better, the 1TB Flash Drive or the 3TB fusion drive

    I am looking to purchase a new IMac. Trying to figure out the best solution for storage. Considering the 1TB falsh drive plus using an external hard drive for additional storage. Alternatively I can get the fusion drive with 3tb hard drive and 128mg flash. Anyone have an opinion which is better

    Go with the flash and use usb3 or thunderbolt for storage. Google flash vs fusion and you'll get plenty of articles to help with your decision.

  • Which performs better, the Retina or the regular pro?

    I am debating which Pro to purchase, if I were to choose between the Air or a Pro. So far, I am going with the air, but I would first like to know the differences between the Retina and the regular Pro. I am going to use the laptop for school work, music, movies, and gaming ( Minecraft, GTA). I would like to know which Pro will do those tasks the fastest, without crashing or lagging, and the clearest. I am planning to buy a 13' with 256 GB SSD, 8GB RAM, and a Dual-Core Intel i7 Processor.

    Unless you plan on doing much video and photo editing or gaming the Air is the hands down choice for school use.
    The newly released macbook Retina (entry level ones), in easy examination is a thicker macbook Air, thats a bit faster with a retina display.
    I have 2 Pros (older) and the current Air. The Air is very nice for its very lightweight packing around,......
    ,...however now the new Retina pro and the Air are very close together,........both 802ac wifi
    both have PCIe SSD
    both have Mavericks and Haswell
    as said, bit more speed and Retina display.
    The 13" Air in I5 however has the longest battery life by far, with reports in the 13 and 14 hour range.

  • If i do a lot of writing, web surfing and email, which is better for me, macbook pro or air?

    looking for the right portable as a gift for someone who does a LOT of writing and also email and websurfing and research. which is better, the macbook pro or the air?

    Either one.

  • Which is better Ipods Or Z

    Which is better the "Ipods" or ZENS personally i think the zens there way better that the ipods by the long shot.

    Ipod Photo?vs. Zen Vision:M, if you sompare price for price then ipod photo 60Gb can be purchased for practically same price as the 30Gb zen vision, feature wise you get more for your money with zen. . Better screen: more colours, brighter (I beli've)2. Better sound quality.3. Better/wider video format codec support (eg. Divx, Xvid)4. Radio: you can record your radio with zen.5. Voice recorder.6. Other stuff that I can't think off at this time. ipod has the looks plus they have started when nobody else was making an mp3 player, so they have the advance on the market today.

  • What USB 3.0 card should I get for early 2009 Mac Pro so I can connect the Drobo 5D? They say get CalDigit or Sonnet. Anyone have preference or experience with reliability. Trying to find which is better.

    What USB 3.0 card should I get for early 2009 Mac Pro so I can connect the Drobo 5D? They say get CalDigit or Sonnet. Anyone have preference or experience with reliability with this. I am running Lion and Trying to find which is better as I know from experience not all cards are created equal. Thanks in advance for your help!

    yakov536 wrote:
    High Point RocketU Quad USB 3.0 for Mac is working great for me. Had an issue with CD/DVD Drive which was resolved with most current driver downloaded from the support site.
    Running Moutain Lion on Early 2009, mirroring two Seagate Go Flex 2TB USB 3.0 Drives. Installed in Slot 4.
    Using it primarily with VMWare Fusion for Virtual Drives. Windows, Unbuntu and other OS running really well.
    HPT Support was responsive and very helpfull using the WEB Portal under the product page.
    I have some comments and a suggestion:
    Have you tried your setup with a SD/CF combo card reader (like the Lexar or Kingston FCR-H63)? Does the card appear on the desktop when first plugged in?
    Did you need to fool around with any kind of power issues in installing this card in the x4 PCIe slot of the MacPro?
    Suggestion. Have you tried one of the fixed in this article to cure the BT issues in MacPro 3,1?
    Good luck.
    Henry

  • How to find the number of ODBC connections to Oracle Database

    Hi All,
    How to find the number of ODBC connections and all connections to the Database in last week. Are there any views to get this information?
    Thanks in advance,
    Mahi

    What Ed said is true that Oracle doesn't note which type of protocol is connecting to the database, however, you can see which program is accessing the database.
    For example: if you already know of a user using ODBC, you can verify as:
    select username, osuser, terminal, program from v$session where username = 'SCOTT'
    USERNAME                 OSUSER          TERMINAL   PROGRAM
    SCOTT                    IUSR_SRV231     SRV231     w3wp.exe
    SCOTT                    IUSR_SRV231     SRV231     w3wp.exe
    2 rows selected.Assuming that you can confirm the progam noted in the above (example) is the one using ODBC, then you can change the query such as:
    SQL> select username, osuser, terminal, program from v$session where program = 'w3wp.exe';
    USERNAME                 OSUSER          TERMINAL   PROGRAM
    SCOTT                    IUSR_SRV231     SRV231     w3wp.exe
    SCOTT                    IUSR_SRV231     SRV231     w3wp.exe
    2 rows selected.Just for kicks, I checked our listener.log file, but there was no reference of odbc in it either.
    Hope this helps...

  • What are the ODBC connect details for the HR sample database?

    I have installed Oracle Express on Ubuntu 8.10 and read the Getting Started tutorials. Everything worked fine.
    THE DSN
    I need to connect via ODBC, to start with to the HR sample database on my PC.
    The Getting Started tutorial says the userid and password are both hr, but what is the data source name (dsn) to be used with the SQLConnect?
    THE INIs
    The ini files below are the result of googling, not of any insight on my part.
    /etc/odbcinst.ini
    [OracleExpressdrv]
    Driver = /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib/libsqora.so.10.1
    Description = Oracle 10g express driver
    /etc/odbc.ini
    [hrdsn]
    Driver = OracleExpressdrv
    Application Attributes = T
    Attributes = W
    BatchAutocommitMode = IfAllSuccessful
    CloseCursor = F
    DisableDPM = F
    DisableMTS = T
    DSN = TestDSN
    EXECSchemaOpt =
    EXECSyntax = T
    Failover = T
    FailoverDelay = 10
    FailoverRetryCount = 10
    FetchBufferSize = 64000
    ForceWCHAR = F
    Lobs = T
    Longs = T
    MetadataIdDefault = F
    QueryTimeout = T
    ResultSets = T
    # ServerName is TNS_alias_from_tnsnames.ora
    ServerName = OraDB
    SQLGetData extensions = F
    Translation DLL =
    Translation Option = 0
    UserID = ken
    THE ENVIRONMENT
    Before running my odbc test program I issued
    LD_LIBRARY_PATH=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib;export LD_LIBRARY_PATH
    and checked via env command that the ldlibpath actually had been set correctly.
    After SQLConnect received the following error:
    Usage error: SQLConnect: dsn=hrdsn, user=hr, password=hr <<< output by my test program
    1: st=IM002, nerr=0, msg=
    [unixODBC][Driver Manager]Data source name not found, and no default driver specified
    The first part of the error message hints at there being something wrong with dsn=hrdsn. I don't understand the second part 'and no default driver specified'.
    I am totally stuck. Advice would be most appreciated.

    Oracle® Database Express Edition Installation Guide for Linux talks about Compiling the Oracle ODBC Driver Demos. It tells you to download and install the unixODBC DriverManager from unixODBC. On Ubuntu this is already preinstalled and/or available via the Synaptic Manager. It also instructs you to run a makefile demo_xe.mk to build an odbcdemo program. The makefile did not work for me (hundreds of compilation errors), but I looked at the odbcdemo.c code and could see that dsn=TESTDBDSN for user=hr and password=hr. In other words, by luck the demo program seems to be connecting to the HR sample database.
    I changed the /etc/odbc.ini file to:
    [TestDBDSN]
    Application Attributes = T
    Attributes = W
    BatchAutocommitMode = IfAllSuccessful
    CloseCursor = F
    DisableDPM = F
    DisableMTS = T
    Driver = OracleExpressdrv
    DSN = TestDBDSN
    and also in my test program which now produced the following error:
    Usage error: SQLConnect: dsn=TestDBDSN, user=hr, password=hr
    1: st=IM004, nerr=0, msg=
    [unixODBC][Driver Manager]Driver's SQLAllocHandle on SQL_HANDLE_HENV failed
    which shows that the unixODBC driver manager has loaded the driver and that the driver immediately encountered problems.
    The sql calls issued before the SQLConnect("TestDBDSN", "hr" , "hr") were OK, i.e. these:
    rc0 = SQLAllocHandle ( SQL_HANDLE_ENV , SQL_NULL_HANDLE , &henv ) ;
    rc = SQLSetEnvAttr ( henv, SQL_ATTR_ODBC_VERSION , *)SQL_OV_ODBC3 , 0 ) ;
    rc = SQLAllocHandle ( SQL_HANDLE_DBC , henv , &hdbc ) ;
    SQLSetConnectAttr ( hdbc , SQL_LOGIN_TIMEOUT , (void*)5 , 0 ) ;
    However, the error appears after SQLConnect and yet the rc0 was reported as OK.
    The error message 'Driver's SQLAllocHandle on SQL_HANDLE_HENV failed' is totally unhelpful to me as a user since I don't know the conditions that lead to failure. I really think this calls for some documentation. Such documentation should be complete, self-contained and correct and give ALL OPERATIONAL steps, i.e. I want to know exactly what I have to do. Ambiguous English often referring to undefined terms is not what Oracle beginners like myself want.
    I don't know if this is a bug. It is so fundamental that Oracle ODBC driver writers could/should not have got it wrong. The connect does not even start.
    I have googled for hours, but every lead has failed.
    I don't want to give up on this. What can I do?

Maybe you are looking for

  • Re: Why can't I have a raincheck when the ad does not say limited quantities?

    Not the same person, but is it possible to get a rain check for this deal whether it is online or in store? The games I wanted to buy are out in both options.

  • 1099 Printout 2 copies for each vendor

    SAP Gurus, I am trying to run 1099 forms, I am using tcode S_P00_07000134 - Generic Withholding Tax Reporting. When I run program I only see Copy B, which is for the vendors records, I will still need Copy A in order to send to Federal. Does anyone k

  • External mp4 metadata

    I have a Actionscript 2.0 project exported as Flash Player 9. We're using the FLVPlayback component to play external mp4 videos. Most of the mp4 videos are the same size but there are some are varying sizes. The player is currently setup with fixed w

  • Problem with InputRender drop down lists

    Basically, everytime i go through a particualar .particular, which initializes several View Objects for displaying various information to the system's user, in all my other .jsp forms, all the drop down lists that i create, loose all the data they sh

  • Populate data for Invoice tab in UDM_SUPERVISOR transaction code.

    Hi All, I need to add new fields to invoice tab of tcode UDM_SUPERVISOR . For this i am appending new fileds to structure FDM_COLL_INVOICE. I need to calculate the new added fields and display it . The suggested solution was using BADI FDM_COLL_SEND_