Nolock and readpast which one give efficient performance

Dear All,
please help me.
in both nolock and readpast which one give efficient performance.
mastanvali shaik

Dear All,
please help me.
in both nolock and readpast which one give efficient performance.
mastanvali shaik
Both are equally bad and are used by coders who just want to get things done and don't care about data integrity. So bottom line both are bad , avoid it.
Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
My Technet Wiki Article
MVP

Similar Messages

  • Which one is efficient???

    I have a text file with huge data. I need to generate Oracle report from this file.
    I have two options...
    1. Creating External table and query the data from external table
    2. Directly accessing data from text file.
    Which one is efficient?
    Thank you,
    Prasad

    hello,
    i guess that depends on
    a) how often your data changes
    b) how often your report is run
    c) how often the format of the data changes
    d) is creating the report the only use for that file
    if you have one single file that does not change and you want to use the data from other applications, i would load it intot he database. also if you generate a lot of reports off that data, going the database route would possibly be the best one.
    on the other hand if creating a report off this data is more of an one-off thing and you might create a new version once in a while but don't need the data for anything else, you might want to access the data directly.
    overall it's a performance vs. work issue. you will have to invest a bit of work to load the data into the database, but will have a much better performance if you use the data heavily, but if you only use it once in a while you might not want to invest in creating loader scripts or setting up a warehousebuilder mapping.
    regards,
    philipp

  • What is dbms_sql, execute_immediate?which one is efficient?

    what is dbms_sql, execute_immediate?which one is efficient?

    Efficient is to use static sql and don't bother with dynamic sql unlss you are FORCED to do that because it cannot be achieved with static sql. Most of the times it can.
    Generally speaking dbms_sql is more efficient if you have to execute your statement over and over again, native dynamic sql aka execute immediate is more efficient if you need to do something only once.
    Of course native dynamic sql is easier to code, although there may be times when you cannot live without dbms_sql for example if you don't know types or number of returning columns.
    Anyway I repeat one more time - use static sql whenever possible.
    Gints Plivna
    http://www.gplivna.eu

  • So i have 29 albums and my computer says it has 2.55gb on the itunes, and im planing on getting a iphone 5 that has 16gb or 32gb and idk which one to get? Can someone please help me out!!!!!!!!!!!

    So i have 29 albums and my computer says it has 2.55gb on the itunes, and im planing on getting a iphone 5 that has 16gb or 32gb and idk which one to get?  Idk but i just need to know how much storage  that can hold 2.55 gb of albums and rest of the apps and pic i gonna put on this iphone 5 im getting! please help!!!!! (16gb or 32gb?) If maybe can i get some tips about Storage!

    I certainly owuld not get the 16 Gb.  My old phone had 32 Gb and it was pretty much full.  I just depends on what you wan tto place on it in the way music, apps, videos etc

  • In most web sites many web sites, the menue buttons do not appear i have to scroll over the screen untill the cursor changes indicating a button is actually there, and guess which one it is. I am using windows 7 , 64 bit

    In most web sites many web sites, the menu buttons do not appear i have to scroll over the screen until the cursor changes indicating a button is actually there, and guess which one it is. I am using windows 7 , 64 bit

    See:
    * http://kb.mozillazine.org/Website_colors_are_wrong
    * http://kb.mozillazine.org/Websites_look_wrong

  • Difference between Temp table and Variable table and which one is better performance wise?

    Hello,
    Anyone could you explain What is difference between Temp Table (#, ##) and Variable table (DECLARE @V TABLE (EMP_ID INT)) ?
    Which one is recommended to use for better performance?
    also Is it possible to create CLUSTER and NONCLUSTER Index on Variable table?
    In my case: 1-2 days transactional data are more than 3-4 Millions. I tried using both # and table variable and found table variable is faster.
    Is that Table variable using Memory or Disk space?
    Thanks Shiven:) If Answer is Helpful, Please Vote

    Check following link to see differences b/w TempTable & TableVariable: http://sqlwithmanoj.com/2010/05/15/temporary-tables-vs-table-variables/
    TempTables & TableVariables both use memory & tempDB in similar manner, check this blog post: http://sqlwithmanoj.com/2010/07/20/table-variables-are-not-stored-in-memory-but-in-tempdb/
    Performance wise if you are dealing with millions of records then TempTable is ideal, as you can create explicit indexes on top of them. But if there are less records then TableVariables are good suited.
    On Tables Variable explicit index are not allowed, if you define a PK column, then a Clustered Index will be created automatically.
    But it also depends upon specific scenarios you are dealing with , can you share it?
    ~manoj | email: http://scr.im/m22g
    http://sqlwithmanoj.wordpress.com
    MCCA 2011 | My FB Page

  • SQL Installation for SharePoint 2013 - Windows Firewall - Profile - domain, Public and Private - Which ones to choose?

    Hi there,
    I am setting up SQL Server (to be used in our SharePoint 2013 farm).
    The Firewall exception for SQL server gives me three choices in Profile section as 
    Domain, Public and Private profiles 
    Which ones should I choose please? 
    Thank you so much.

    Hi,
    According to your description, my understanding is that you want to set the firewall exception for SQL server.
    Domain profile—This profile is active when the server is connected to an Active Directory (AD) domain via an internal network. This is the profile that's typically active, because most servers are members of an AD domain.
    Private profile—This profile is active when the server is a member of a workgroup. Microsoft recommends more restrictive firewall settings for this profile than for the domain profile.
    Public profile—This profile is active when the server is connected to an AD domain via a public network. Microsoft recommends the most restrictive settings for this profile.
    More information, please refer to the link:
    http://windowsitpro.com/windows/windows-server-2008-r2-firewall-security
    Please 'propose as answer'
    if it helped you, also 'vote helpful' if you like this reply.
    Prabhu

  • RFC and Webservice which one i should use and why?

    Hi,
      I have to write a extractor program in BI which would be fetching a huge data from CRM.
      I have two options to achieve this targer.
               1-> Create a RFC which will give me all the data
               2-> Create a Webservice in CRM and use it in BI
    Please advice me , which way i should go and advantage of that way.
    Regards
    PG

    Hi,
    If amount of data is huge then it is recomnded to use RFC because of its speed and reliability. Webservice not yet proven good for extracting and handling very large chunk of data.
    Regards,
    Gourav Khare

  • Compare to fields and show which ones dont exists?

    Hi
    I have two tables, one is SR_TRANSACTIONS and the other is SR_CUSTOMERS.
    I want to report on which companies are listed in SR_TRANSACTIONS but not in SR_CUSTOMERS i.e which ones need to be added before this database goes live.
    This is the query that shows a list of matching companies in both tables, could you suggest a modification of this code that shows which companies arent listed in SR_CUSTOMERS but are listed in SR_TRANSACTIONS?
    select DISTINCT      "SR_CUSTOMERS"."NAME" as "NAME",
          "SR_TRANSACTIONS"."CUSTNAME" as "CUSTNAME"
    from      "SR_TRANSACTIONS" "SR_TRANSACTIONS",
          "SR_CUSTOMERS" "SR_CUSTOMERS"
    where   "SR_TRANSACTIONS"."CUSTNAME" = "SR_CUSTOMERS"."NAME" Thanks
    Adam

    Use an outer join, like in following example :
    TEST@db102 > select * from dept;
        DEPTNO DNAME          LOC
            10 ACCOUNTING     NEW YORK
            20 RESEARCH       DALLAS
            30 SALES          CHICAGO
            40 OPERATIONS     BOSTON
    TEST@db102 > create table dept1 as select * from dept;
    Table created.
    TEST@db102 > delete dept1 where deptno=30;
    1 row deleted.
    TEST@db102 > select a.* from dept a, dept1 b
      2  where a.deptno = b.deptno(+)
      3  and b.deptno is null;
        DEPTNO DNAME          LOC
            30 SALES          CHICAGO
    TEST@db102 >

  • Xsd and dtd: which one will overrule

    Hi,
    if I have both DTD and XSD, and the rules in them are conflicting (say: the DTD indicates that an element is mandatory and the XSD is indicating that the element is optional): which one will overrule?
    Kind regards

    An XML document may have only either a DTD or a schema specified.

  • UITextField and knowing which one was first responder

    I have a app with several UITextFields and I want to know which textfield was the first responder within the function.
    ie I have a text field created in interface builder and its outlet is assigned to nameField.
    So how can I know when nameField was the one that received the input from the keyboard of DONE ??
    - (BOOL)textFieldShouldReturn:(UITextField *)theTextField {
        return YES;
    I've tried
    - (BOOL)textFieldShouldReturn:(UITextField *)theTextField {
        [theTextField resignFirstResponder];
        if(theTextField == nameField)
            NSLog(@"I got here");
        return YES;
    But my NSLog output is not sent, so I don't know why theTextField is evaluating to false.
    Thanks

    Take a view based application and name it as textField.
    Make Sure that in interface builder set each textField delegate to File's Owner. Otherwise it won't work.
    Here is the code:
    textFieldViewController.h
    #import <UIKit/UIKit.h>
    @interface textFieldViewController : UIViewController <UITextFieldDelegate> {
              UITextField *textField1;
              UITextField *textField2;
              UITextField *textField3;
              UITextField *textField4;
              UITextField *textField5;
    @property (nonatomic, retain) IBOutlet UITextField *textField1;
    @property (nonatomic, retain) IBOutlet UITextField *textField2;
    @property (nonatomic, retain) IBOutlet UITextField *textField3;
    @property (nonatomic, retain) IBOutlet UITextField *textField4;
    @property (nonatomic, retain) IBOutlet UITextField *textField5;
    @end
    textFieldViewController.m
    #import "textFieldViewController.h"
    @implementation textFieldViewController
    @synthesize textField1;
    @synthesize textField2;
    @synthesize textField3;
    @synthesize textField4;
    @synthesize textField5;
    - (BOOL)textFieldShouldReturn:(UITextField *)theTextField {
              [theTextField resignFirstResponder];
              if (theTextField == textField1)
                        NSLog(@"I Got here");
              return YES;
    - (void)dealloc {
              [textField1 release];
              [textField2 release];
              [textField3 release];
              [textField4 release];
              [textField5 release];
        [super dealloc];
    @end

  • JEditorPane and JTextPane,which one should I choose?

    I wanna develop a Java IDE, Could anybody kindly give me suggestions on which component should I choose to use for the editor of the IDE? why? and what is the difference of "StyledDocment" and "PlainDocument"?
    thanks so much!!!!

    I'm not going to give you the answer rather direct you to read Vorobiev's SWING book. Lots of good examples.
    Good luck.

  • WRT300N and SPA2102, which one first?

    I'm planning to get VoIP installed with SPA2102 but not sure which router should be the first one.
    Before I used Belkin G and then NetGeat G routers and I always use SPA2102 as the first one but now I'm not sure it would be a good idea with 300N.
    I believe the one has QoS but still not sure what is the best ....
    Anyone ? any suggestions?
    thanks

    sorry for last post
                                        computer
    modem -> router ->
                                        spa with QoS enabled
    right? or computer goes to SPA and nothing to the router?

  • Dot11radio0 and Dot11radio1 - which one and why?

    As some may know by know (lol) i am setting up my 1841 for home access. I obtained a 802.11 abg module and started studying and experimenting.
    What i have not yet clarified is if Dot11radio 0 and 1 -  2.4 and 5 ghz both support 54mbp transfer rates, and if the 2.4 is the most compatible and common at the time, why would someone also setup the 5ghz one? Are there any clear advantages?
    I have currently both running. My small mobile devices connet to the 2.4 one and My laptop to the 5ghz but if both been activated has any downsides
    i could probably move to a different setup.
    Open to recommendations - suggestions!

    Hello,
    The 2.4 GHz spectrum has only 3 available non-overlapping channels (1, 6, 11), so if you are in an area with other wireless networks in range you could see some interference. There is also potential interference from Microwaves, Bluetooth, etc.
    The 5.0 GHz spectrum has many more channels available, and the chances of interference issues are much much lower.
    The range is typically better on 2.4 GHz and it is more compatible with devices, but 5.0 GHz will usually have better performance. Also, with both radios turned on, you can split your clients onto both radios, so they aren't contending with eachother as much, since wireless is after all a shared medium.
    No real downside to having both Radios turned on that I can think of, aside from a minimal power draw increase (not sure on the specifics)...
    -Pat

  • How does one do updates when your service provider is s-l-o-w??                     According to the counter, our computer needs almost 20 hrs. of updates, is there a way to pick and choose which ones are downloaded?

    We have a "Rocket Hub" and our download times vary greatly.  My husband's computer, Snow Leopard OS, shows he has about 20 hrs. of updates to download.  Is there a way to pick and choose so we can catch up?

    Nope, because files sizes, machines, software installed are different and you can't control what needs to be installed first before others work.
    Apple is all Internet, you should see Lion users, they can't reinstall their OS at all without a Internet connection. (or pay $69 for the Lion USB key) and then there still the updates to deal with.
    So take a ride, to a Apple Store early in the morning before their network gets overloaded (what a way to get you in the door and buy more junk uh?) fully update to 10.6.8.
    Good thing about Snow Leopard, not much more in large updates coming for that verision, in fact they will stop completely come next spring or so when 10.8 is released.
    Unless you live in a wealthy area with broadband, your a nobody in Apple's viewpoint.
    You could get a 3G laptop connect card, hopefully that will give you enough to download your updates but they cost a fortune.
    If I could just provide you with update disk I would, but I can't, machines are different.
    Call Apple and ask for a update disk, perhaps they have a solution
    Once you do get all your updates, Carbon Copy Clone your boot drive to a external drive, it's hold the option key bootable duplicate.
    Donationware too.
    http://www.bombich.com/index.html

Maybe you are looking for

  • (SOLVED) Closing a terminal window

    When I am through using the terminal window, I hit the X at the top right corner but get this message: There is still a process running in this terminal. Closing the terminal will kill it. Why do I get this? I think I have nothing running. is there a

  • Smart playlists;  no longer smart in version 3  how to tell Apple?

    Since iphone and ipod version 3 & itunes 9 smart playlists will not sync onto ipod. Several posts relate to this. Apple has posted a complex set of solutions, including to disable live updating. The later works but eliminates the value and purpose of

  • Why won't my Mac lock when I shut it down?

    I have recently found out that my Mac won't lock after I shut it down. And if I leave it in sleep mode, all I have to do to bypass the password screen is just restart it. What can I do to fix this?

  • Whatsapp running without BB Plan

    Hello, I am using BB 9360 with a Vodafone connection. Recently I changed my number and since then I have noticed two changes that I have no explanations for. 1. I have not activated any new BB Plan in my new number yet ( hence it is showing as 'edge'

  • Emails saved in my DRAFT folder freeze my screen when opened

    Neither the SEND nor the CANCEL button activate so the whole email system is frozen.