Using CLOB data type - Pros and Cons

Dear Gurus,
We are designing a database that will be receiving comments from external data source. These comments are stored as CLOB in the external database. We found that only 1% of incoming data will be larger than 4000 characters and are now evaluating the Pros and Cons of storing only 4000 characters of incoming comments in VARCHAR2 data type or using CLOB data type.
Some of the concerns brought up during discussion were:
- having to store CLOBs in separate tablespace;
- applications, such Toad require changing defaults settings to display CLOBs in the grid. Default value is not to display them;
- applications that build web page with CLOBs will be struggling to fit 18 thousand chararcters of which 17 thousand are blank lines;
- cashing CLOBs in memory will consume big chunk of data buffers which will affect performance;
- to manipulate CLOBs you need PL/SQL anonymous block or procedure;
- bind variables cannot be assigned CLOB value;
- dynamic SQL cannot use CLOBs;
- temp tables don't work very well with CLOBs;
- fuzzy logic search on CLOBs is ineffective;
- not all ODBC drivers support Oracle CLOBs
- UNION, MINUS, INTERSECT don't work with CLOBs
I have not delt with CLOB data type in the past, so I am hoping to hear from you of any possible issues/hastles we may encounter?

848428 wrote:
Dear Gurus,
We are designing a database that will be receiving comments from external data source. These comments are stored as CLOB in the external database. We found that only 1% of incoming data will be larger than 4000 characters and are now evaluating the Pros and Cons of storing only 4000 characters of incoming comments in VARCHAR2 data type or using CLOB data type.
Some of the concerns brought up during discussion were:
- having to store CLOBs in separate tablespace;They can be stored inline too. Depends on requirements.
- applications, such Toad require changing defaults settings to display CLOBs in the grid. Default value is not to display them;Toad is a developer tool so that shouldn't matter. What should matter is how you display the data to end users etc. but that will depend on the interface. Some can handle CLOBs and others not. Again, it depends on the requirements.
- applications that build web page with CLOBs will be struggling to fit 18 thousand chararcters of which 17 thousand are blank lines;Why would they struggle? 18,000 characters is only around 18k in file size, that's not that big to a web page.
- cashing CLOBs in memory will consume big chunk of data buffers which will affect performance;Who's caching them in memory? What are you planning on doing with these CLOBs? There's no real reason they should impact performance any more than anything else, but it depends on your requirements as to how you plan to use them.
- to manipulate CLOBs you need PL/SQL anonymous block or procedure;You can manipulate CLOBs in SQL too, using the DBMS_LOB package.
- bind variables cannot be assigned CLOB value;Are you sure?
- dynamic SQL cannot use CLOBs;Yes it can. 11g supports CLOBs for EXECUTE IMMEDIATE statements and pre 11g you can use the DBMS_SQL package with CLOB's split into a VARCHAR2S structure.
- temp tables don't work very well with CLOBs;What do you mean "don't work well"?
- fuzzy logic search on CLOBs is ineffective;Seems like you're pulling information from various sources without context. Again, it depends on your requirements as to how you are going to use the CLOB's
- not all ODBC drivers support Oracle CLOBs not all, but there are some. Again, it depends what you want to achieve.
- UNION, MINUS, INTERSECT don't work with CLOBsTrue.
I have not delt with CLOB data type in the past, so I am hoping to hear from you of any possible issues/hastles we may encounter?You may have more hassle if you "need" to accept more than 4000 characters and you are splitting it into seperate columns or rows, when a CLOB would do it easily.
It seems as though you are trying to find all the negative aspects of CLOBs and ignoring all the positive aspects, and also ignoring the negative aspects of not using CLOB's.
Without context you're assumptions are just that, assumptions, so nobody can tell you if it will be right or wrong to use them. CLOB's do have their uses, just as XMLTYPE's have their uses etc. If you're using them for the right reasons then great, but if you're ignoring them for the wrong reasons then you'll suffer.

Similar Messages

  • Pros and Cons for single sales organization and multiple sales organization

    Hi!
    Does anybody have a good data of Pros and Cons for Single Sales Organization vs. Multiple Sales Organization.
    Thank you!

    Hi,
    Actuall it all depends on the business process.
    I will explain the answer to you through a practical example
    like Ford, it has sales and services all across globe.
    It is not advisable to manage all of its activities under only one sales organization, say Ford Inc.
    So what it does is de-centralises the whole process according to the country, region so that the whole process is divided and hence can be managed more effeciently.
    Hope this helps you in understanding the basics.
    One sales org always provides you with very less data to update and maintain, while many sales org makes the scenario more complex.
    One sales org always gives you the flexibility to bring any changes to the current scenario, while in multiple sales org to bring a change its a tiresome job.
    These are some of the advantages and disadvantages of one to many sales org.
    regards,
    Siddharth.

  • What are the pros and cons using Active Data Guard vs Data Guard?

    My understanding is that Active Data Guard is an additional database option for Oracle 11gR2 Enterprise Edition. I need to know the pros and cons using Active Data Guard vs Data Guard in order to decide whether to get pay extra for the Active Data Guard.
    Thanks for any help.

    Hemant K Chitale wrote:
    Before jumping in to Active Data Guard, one needs to evaluate :
    a. Is there really a need to run queries on the Standby ? The Standby could / should be at a remote site so queries are "across the network". Depending on the nature of the queries and the volume of output, the "performance" of the queries may not seem to be the same.
    b. If the database is not in Maximum Protection mode, the data "seen" at the standby may not be in "real-time" synch
    c. Not all applications are truely read-only when querying. Some applications use "jobs" that write to tables when querying. Such would not work with Active DataGuard. (example : EBusiness Suite). There are very complicated ways of handling this -- and one needs to consider if the complications can be introduced and supported.
    Over the network accessing standby read only is really not an good idea, I think no one will compare performance with primary and standby,
    But some of them they want to validate data which are very critical, as it is matching with primary or not, Its an added advantage with ACTIVE DATAGUARD
    Prior to that until unless stop MRP, open database and then we need to validate, So there is an interruption of recovery, I can say its also an advantage where there is no interruption of recovery.

  • What are the pros and cons re using an intel iMac vs MacPro with LP8?

    I'm considering getting a new intel Mac in the near future (presuming a new MacPro will be released in the near future - maybe at the same time as Leopard). I compose largely for film and television and I am composing largely using a combination of loops, software instruments and some recorded live performance. I usually sync to a low res quicktime movie.
    I do like the idea of a simple and uncluttered work environment with an iMac, added to which there's also a degree of portability with the iMac however the MacPro is obviously more powerful. I'm not sure how much the difference in power between the two computers would affect me.
    Would I be compromising myself much if I went for the iMac over the MacPro? What are the pros and cons of the iMac vs the MacPro in relation to Logic Pro 8?

    In the world large-scale music composition using samples, loops, etc (especially for film) your two biggest needs are RAM and HD speed/access. The imac looses big time in this department (as a single computer at least) as it can only be upgraded to 4gb ram, and only holds one internal HD, and also lacks any PCI expansion for DSP cards, audio interfaces, etc.
    In generalyou want to separate your data vs applications as much as possible, to ensure both can be accessed quickly and easily by the computer. So its best to have your system software / applications on one internal HD, and your logic data (samples, audio recordings, loops) on another drive(s). You can do this with an iMac via USB, FW800, & FW400, but depending on how big your projects get, how many USB and FW drives / interfaces you use, and how much data you need to stream, you could overload the buss on the imac (not sure if it has multiple busses or not). Plus speed wise, internal SATA are much faster than external drives, and the mac pro with its 4 internal slots seems like a great choice for speed and flexibility.
    However, if you dont find yourself doing large scale projects, then you might be better off going with an imac. We just purchased one for my father and it runs great! It blows the socks off of my Dual 2.5 G5 tower in terms of CPU speed! If you run into problems running things from the imac, you could always add a mac-mini down the road to stream sample libs, as a Logic node, etc, which seems to be a much more cost effective solution.
    I hope this was helpful, but I probably just made the decision harder . In fact, if I were to start over today, I dont know if I'd go with a MacPro, or an iMac / mac mini combination. they both seem to have their advantages / disadvantages.
    Best of luck!

  • What are the pros and cons using ospf as the PE/CE protocol

    pros and cons using ospf as the PE/CE Protocol

    Hi,
    Well in short,
    pros:
    well deployed protocol with good user experience
    fast convergence
    no redistribution required on ce side
    cons;
    type 1 & 2 routes (O) from one site are known as type 3 summary routes (OIA) in the other site
    you need a sham link configured on the pe routers to get the routes as type1&2 at each remote site
    If was deploying mpls vpn, i would use either ospf or bgp as pe/ce protocol.
    http://www.cisco.com/en/US/docs/ios/12_2t/12_2t8/feature/guide/ospfshmk.html#wp1024995
    HTH
    LR

  • What are the pros and cons of using people keywords, given that my catalogue is already uptodate with regular keywording of all subjects?  e.g., will the people keyword transfer to other programs?, can I use the same name for a people keyword and regular

    What are the pros and cons of using people keywords, given that my catalog is already up to date with regular keywording of all subjects?  e.g., will the people keyword transfer to other programs?, can I use the same name for a people keyword and regular keyword in the same photo?

    What are the pros and cons of using people keywords, given that my catalog is already up to date with regular keywording of all subjects?  e.g., will the people keyword transfer to other programs?, can I use the same name for a people keyword and regular keyword in the same photo?

  • Pros and cons of using disksets for SUNW.HAStoragePlus

    Hi,
    untill now we were usign disksets for SUNW.HAStoragePlus for installing HA Oracle on both Sun Cluster 3.1 and 3.2.
    On the article ( http://www.sun.com/bigadmin/features/articles/cluster3.1_oracle10g.pdf ) with the title "Installing and Configuring Sun Cluster 3.1 Software for Oracle Database 10g HA" the author prefers using just the disk devices for SUNW.HAStoragePlus.
    What are the pros and cons of using disksets for disks you'll use for SUNW.HAStoragePlus?
    I think that if you do not need to add more than one disk to a diskset there's no need to to use disksets. So, you can eliminate a problematic layer such as SDS. What do you thnik and which option do you prefer?
    Murat BALKAS

    some more details :
    On " Chapter 4 . Configuring SolarisVolume Manager Software" of "Sun Cluster Data Service 16 for Oracle Guide for Solaris OS"
    (http://docs.sun.com/app/docs/doc/819-2980?l=en&q=Sun+CLuster+3.2 ) SDS disksets we use for HA-Oracle installations is explained in detail.
         Our procedure to create diskset to locate Oracle files is attached.
         After reading the article, I realized that using disksets is not a
    must for filesystems to be mounted as SUNW.HAStoragePlus. If yes, I
    would prefer using the disk devices directly instead of putting them
    on disksets so that I can eliminate one for layer which is the problematic SDS layer.
         Our disk devices ( below /dev/did/rdsk/d9 and /dev/did/rdsk/d12 ) are
    disk partitions from a RAID-5 logical drive on the storage.
    * Create the disksets required for HA-ORACLE files
    root@vasdb1 # metaset -s oraset10fs -a -h vasdb1 vasdb2
    root@vasdb1 # metaset -s oraset10fs -a -m vasdb1 vasdb2
    root@vasdb1 # metaset -s oraset10fs -a /dev/did/rdsk/d9
    /dev/did/rdsk/d12
    root@vasdb1 # metainit -s oraset10fs d325 1 1 /dev/did/rdsk/d12s0
    oraset10fs/d325: Concat/Stripe is setup
    root@vasdb1 # metainit -s oraset10fs d305 1 1 /dev/did/rdsk/d9s0
    oraset10fs/d305: Concat/Stripe is setup
    root@vasdb2 # newfs /dev/md/oraset10fs/rdsk/d305
    * Change the ownership of newly created devices to use by Oracle
    installation owner.
    root@vasdb1 # chown oracle10:dba /dev/md/oraset10/rdsk/d*
    root@vasdb1 # chown oracle10:dba /dev/md/oraset10/dsk/d*
    root@vasdb2 # chown oracle10:dba /dev/md/oraset10/rdsk/d*
    root@vasdb2 # chown oracle10:dba /dev/md/oraset10/dsk/d*
    * Make required directories on both nodes for mountpoints
    root@vasdb2 # cd /global
    root@vasdb2 # mkdir oracle10
    root@vasdb1 # cd /global/
    root@vasdb1 # mkdir oracle10
    * Add directories to vfstab on both nodes
    root@vasdb2 # more /etc/vfstab
    /dev/md/oraset10/dsk/d325 /dev/md/oraset10/rdsk/d325 /global/oracle10
    ufs 2 no logging
    * Create raw deivces for using as redolog files.
    root@lbsdb1 # metainit -s oraset d312 -p d305 1025M
    d302: Soft Partition is setup
    root@lbsdb1 # metainit -s oraset d313 -p d305 1025M
    d303: Soft Partition is setup
    root@lbsdb1 # metainit -s oraset d314 -p d305 1025M
    d304: Soft Partition is setup
    root@lbsdb1 # metainit -s oraset d315 -p d305 1025M
    d305: Soft Partition is setup
    root@lbsdb1 # metainit -s oraset d316 -p d305 1025M
    d306: Soft Partition is setup
    root@lbsdb1 # metainit -s oraset d317 -p d305 1025M
    d307: Soft Partition is setup
    root@lbsdb1 # metainit -s oraset d318 -p d305 1025M
    d308: Soft Partition is setup
    root@lbsdb1 # metainit -s oraset d319 -p d305 1025M
    d309: Soft Partition is setup
    * Register
    root@vasdb1 # scrgadm -a -L -j oraset10fs-lh -g oraset10fs-rg -l
    oraset10fs-IP -n net1@vasdb1,net2@vasdb2
    root@vasdb1 # scrgadm -a -t SUNW.HAStoragePlus:2
    root@vasdb2 # scrgadm -a -j oracle10-hastp-rs-raw -g oraset10-rg -t
    SUNW.HAStoragePlus:2 -x
    GlobalDevicePaths=oraset10,/dev/md/oraset10/rdsk/d305 -x
    AffinityOn=TRUE
    root@vasdb2 # scrgadm -a -j oracle10-hastp-rs-fs -g oraset10-rg -t
    SUNW.HAStoragePlus:2 -x FilesystemMountPoints=/global/oracle10 -x
    AffinityOn=TRUE
    root@vasdb2 # scswitch -e -j oracle10-hastp-rs-fs
    root@vasdb2 # scswitch -e -j oracle10-hastp-rs-raw

  • Pros and cons of using DB LINK

    Hi
    I am planning to use dblink in my current project to acess external database .But is there any other alternative to this ? What are the pros and cons of using Oracle DB Links ? Can anybody help me on this ?
    Thanks in advance .
    Pradipta

    Well, it depends on where you want to access the other database from. If you want to access tables in database B from a stored procedure in database A, then you have to use a dblink to do it. If your front-end application sometimes needs data from database A and sometimes needs data from database B, then you could establish two connections, one to each database, in your front-end, and use the appropriate connection for the different queries.
    HTH
    John

  • Pros and cons for posing video to youtube for use in iWeb

    Hello
    Can someone explain the pros and cons of posting video to YouTube for use in an iWeb website instead of iDisk?
    Thanks
    Carl

    Carl ~ Some of the following points have already been mentioned above, but anyway...
    Pros for posting videos to YouTube are:
    Viewers of your video wouldn't be using up your limited .Mac data transfer allowance.
    Once your site is published, if subsequently you have to do a +Publish All+ from iWeb, you wouldn't be uploading your video yet again to .Mac ~ saving time and usage of your limited .Mac data transfer allowance.
    YouTube videos have a wide audience and popular features such as ratings, playlists, comments, etc.
    Cons for posting videos to YouTube are:
    Limitations on size and quality of videos and their unappealing presentation style. For example, compare YouTube's presentation style and limited size options with that of a +.Mac Web Gallery+:
    http://gallery.mac.com/emily_parker#100471
    Perhaps a compromise would be to post your videos to YouTube (for the publicity) and link from your iWeb site to a +.Mac Web Gallery+ (for its elegance and avoidance of iWeb re-publishing it.)

  • Pros and cons of using iFS

    HAI ALL,
    assuming that i have stored all of my data(both RDBMS and no-relational data html files,xml files)in an iFS.the first thing i want to ask u is
    1)if i want to read the iFS and display only the RDBMS data from the iFS ,how fast it can be done compared to traditionally storing the RDBMS data in a table in oracle8i ?
    2)if i want to use indexing,how fast is iFS compared to doing indexing in oracle8i ?
    3)if i want to search for a particular record how fast is it compared to doing the same in an RDBMS table in oracle8i ?
    4)say i want to mirror the contents of the iFS from one oracle8i server to another oracle8i server,what are the pros and cons ?
    throw some light on the above points which is crutial for us to either go for iFS or not?
    awaiting reply
    null

    Ravi, I sorry, but I don't understand your questions. My comments are preceded with >>.
    Assuming that I have stored all of my data--both RDBMS and non-relational data, namely html files and xml files--in iFS, the first thing I want to ask you is:
    I don't know what you mean, "store your RDBMS data in iFS". You store RDBMS data in the Oracle database directly. 1) if i want to read the iFS and display only the RDBMS data from the iFS, how fast it can be done compared to traditionally storing the RDBMS data in a table in oracle8i?
    You don't store RDBMS data in iFS.2) if i want to use indexing, how fast is iFS compared to doing indexing in oracle8i ?
    It's the same. Under the covers, iFS uses both the normal RDBMS indexing for its metadata, and the normal interMedia Text indexing for the non-relational data.3) if i want to search for a particular record how fast is it compared to doing the same in an RDBMS table in oracle8i?
    It's the same. iFS uses the normal RDBMS searching capabilities under the covers.4) say i want to mirror the contents of the iFS from one oracle8i server to another oracle8i server,what are the pros and cons?
    I'm not sure what you mean by "mirror". Are you referring to replicating?null

  • Pros and Cons of using different uploads in LSMW

    Hi,
    I need to prepare a document, which specifies the pros and cons of migration using LSMW by different methods for a specific upload, where all the below options are available.
    1) Batch Input
    2) Direct Input
    3) Idocs
    4) BAPI
    If anyone has prepared any document, can you pls send to me at [email protected] or give me some pointers.
    Thanks in advance,
    Ananth

    Hi Kathirvel,
          I need to upload data into SAP using LSMW. I also need the document you sent to Anand. <b>Please</b> send it to me either at [email protected] or [email protected] will be a great help.
          One more thing Kathirvel, Can you help me find out how to Map flat legacy files to Hierarchical structures of SAP objects.(Flat file is having header record and list items).
         If you need more information please ask.
    Thanks a lot,
    Navdeep

  • HT204053 What are the pros and cons of 1) choosing to use the SAME Apple ID for iCloud services on one side, and purchases on the iTunes Store, App Store, and iBookstore, on the other side; or 2) to have and use two separate Apple Ids for these "two sides

    All is in the title, so I repeat it below with a better identation.
    What are the pros and cons of
    1) choosing to use the SAME
                                                  Apple ID for iCloud services on one side, and
                                                  purchases on the iTunes Store, App Store, and iBookstore, on the other side; or
    2) to have and use two separate Apple Ids for these "two sides"?
    P.S.
    I have loads and loads of free podcasts in iTunes in my iMac, that are certainly more thant the 5 gigas the iCloud provides for free, so I don't want those to go to the cloud. But this is perhaps a different question...
    Also need to mention that I have itunes on a mac, a pc and an iphone.
    Sorry to look so silly with this question, but I don't get the "big picture".

    You need to create a user account for your wife (or yourself depending on who has the current user account). When syncing, each of you should sign in as a separate user, login to iTunes and then sync. I had this problem when my sister got an iPhone. When we did her initial sync, everything on my iPhone showed up on hers. Apple gave me this solution.

  • What are the Pros and Cons of Using Batch Numbers over Serialization

    Dear SAP Gurus:
    Will someone please give me the benefits of using Batch Management over serial numbers in this case scenerio, or vice versa:
    Client wants to trace all the components of an assembly in a BOM.  Even the Raw material.  The client sends the material out today and has the vendor assign serial numbers to the individual pieces, the client gives the range of serial numbers to use.  We are looking at using batch numbers to accomplish this and issue one material and batch number to a production order.  Then use MB56 batch where used functionality to view history.  I am wanting to understand the benefits of this.  Please advise and points will be awarded as always. 
    Also, in this scenerio, can you issue multiple material/batch numbers to one vendor op that has its own production order?

    Yes it is a subcontract. 
    Example:  This is the solution but need the pros and cons of doing this scenerio
    Sheet of metal sent to vendor to make lets say 1800 peices of material number nas5703-01.  All 1800 pieces come back and issued to a production work order using one bacth number for one material item so that batch number can be traced in history in MB56 and a fit up report.

  • Pros and Cons of using JBDC Adapter with XI

    Hi Experts,
        Can somebody help me understand pros and cons in using different JDBC adapters with XI?
       I would be really greatful to you.
    Thanks & Regards
    Gopal

    Hai,
    Go through the links:
    /people/varadharajan.krishnasamy/blog/2007/02/27/configuring-jdbc-connector-service-to-perform-database-lookups
    http://help.sap.com/saphelp_nw04/helpdata/en/44/f565854b7341e6e10000000a1553f6/frameset.htm
    Regarding JDBC Adapter in SAP XI
    Configuring File and JDBC adapters
    Thanks,
    Rajani.

  • Pros and cons of using email sending package in oracle 8.1.6

    hi ,
    i would like to know the advantages /disadvantages of using email sending package from oracle 8.1.6
    compared to sending the same using say perl or php.
    iam developing a site in php/oracle8.1.6 , in which iam supposed to create a payement module.whenever a user
    register(for free trial or subscribing the site) i'll have to send him a welcoming mail.In addition to this iam also supposed to find out wether subscribers are paying cash at right time and if not send them reminder mails and other for related scenarios . i can do the same in Perl or PHP.but if iam not gaining much(say based on server performance or load) then i think i can go ahead with oracle package. when i tested it i found that its slow . what about the load that it may cause for the server (ours is linux ).
    please do give inputs on this

    Hi Ravi,
    Thanks for your reply.
    But I am specifically looking at pros and cons for web services. So the thread which you passed to me won't help.
    Regards
    Nitin.

Maybe you are looking for

  • What is Logic used in  ARXSGPO Report

    Hi all, Can any one tell me what exactly ARXSGPO Report(AR Statement) does , i assume that it is selecting data from tables mentioned below and storing it in some temp table , when the report is ran , after its completion ,data is purged from that te

  • Steam Linux Games have slow FPS

    Any tips on improving FPS? It's rather sad that it's 2013 and I'm still getting fps down to 50 in HL1 mods (with my laptop[1]). I've been playing Day of Defeat for a few days and the low fps is pretty irritating. I don't know how many decades it take

  • E-Mail Listing in Feed Burner

    Howdy all, My show is listed BUT I need to change some things in Feed Burner so they display properly. I need to change the name of the hosts, and the e-mail address. If anyone knows the answer please let me know. Thanks, Charlie

  • Nesting does not retain audio settings

    This one has me stumped. I am working on a project that is being built in segments. As the segments are built I am nesting to later bring them for the final output. One and only one of the nested sequences is giving me trouble. Each of the nested seq

  • Url display help

    I have a website that navigates between about 50 scenes. The url in the address block does not change with each scene - how can I make this happen so that I can send people direct links to specific scenes?