Can I change BDB's locking level (SQL api mode)?

Can I change BDB locking level ?
if so , how to change it ?
I am testing SQLite vs BDB with --enable-sql_compat (configure option)
I want to change it to Data base level , ( like SQLite )
Edited by: 861245 on 2011. 6. 23 오후 6:54

Hello,
If I understand your question you want to change Berkeley DB to
implement locking at a database level like SQLite. Please see
the "Locking granularity" documentation at:
http://download.oracle.com/docs/cd/E17076_02/html/programmer_reference/lock_page.html
With the exception of the Queue access method the Berkeley DB
access methods do page-level locking. The Queue access method
performs record-level locking.
Thank you,
Sandra

Similar Messages

  • I have a pdf file, how do it ONLY View but not can get changed, I mean locked

    I have a pdf file, how do it ONLY View but not can get changed, I mean locked?

    Use the Security tab in the properties of the document.

  • Can we change the system date using Sql

    can we change the system date using Sql statement..
    can anyone help
    Tariq.

    There is an initialization parameter called FIXED_DATE which lets you set a fixed sysdate for testing purposes, and you can alter that date using the ALTER SYSTEM command, but as implied by the name you are setting a data/time that doesn't change. Since the normal sysdate is derived from the O/S it cannot be altered through SQL

  • Can i change my Exchange 2003 organization to NATIVE MODE if my Front-End Exchange server is Windows 2000 Server

    I am planing to upgrade from exchange server 2003 to exchange server 2010. I understand 2010 can co-exisist with 2003, but my 2003 organization must be in NATIVE MODE, not a problem because i don't have anymore MS Server 2000 domain controllers, they
    were decommisioned a few moths after we moved to AD. However my Front-End exchange server that sits on my DMZ is running Exchange server 2003 on Windows 2000 Server.
    Can i change my Exchange 2003 organization to NATIVE MODE if my Front-End Exchange server is on the Windows 2000 Server OS? If not, will i have to setup a new Front-End Exchange server on at least Windows Server 2003 to replace the 2000 server setup?
    It's been a very long time since these servers were configured so i may need help setting up a new Front-End server if it will be required.
    thanks
    B
    Bobby

    My apologies for the very, very late reply, is have made the change to native mode for my
    Exchange environment, email is working fine, no problems. Thanks Cheng.<o:p></o:p>
    I ran the Exchange 2010 Pre-Deployment Analyzer tool yesterday, and it showed that the
    Active Directoy Forest is not Windows Server 2003 native. The domain forest
    functional level showed the level to be "Windows Server 2003", is
    just wanted to verify this.<o:p></o:p>
    Our corporate AD has one Root domain, (I’ll call it, Corp.com) and one child
    domain, (I’ll call it, na.corp.com). na.corp.com is functioning at Server 2003,
    the Forest of Corp.com, as the analyzer found, shows a functional level of
    Windows 2000. All Windows 2000 PDC have been off the network for almost 9
    years, and were properly demoted and removed. I guess the one place is didn't
    look was at the Forest level.<o:p></o:p>
    I opened the AD Sites and Service mmc plugin on the corp.com server and did find the old
    Windows 2000 PDC listed with the Servers. I drilled down into the containers
    for the old server, deleted everything, and was able to delete the W2K PDC. I
    still cannot raise the Forest level however.<o:p></o:p>
    I also noticed that domain replication has errors, (8614, 1908, 1256, and 8606), so i
    have a bit of a mess, and i am not sure how to fix it. I will post this on the
    Exchange 2010 upgrade, and AD forums for assistance, but i wonder if i need
    paid assistance.<o:p></o:p>
    Thanks again Cheng
    B<o:p></o:p>
    Bobby

  • Can we change/Modify BI server generated Sql query and run to fetch data

    Hi,
    My client is saying that there is an option to modify bi server generated sql query to fetch data from source.
    question:As a request is made in presentation services, A dynamic sql query is generated and fetches data from source. all this is loggedin Nqlquery log..well can we change/modify the sql query generated and run modified sql query to fetch data from source. ., if so how? if not why?
    Thanks in advance
    Edited by: user10794468 on Jun 16, 2009 6:29 PM
    Edited by: user10794468 on Aug 12, 2009 6:58 PM

    Thank you so much for your reply..
    ..Can we also modify sql query generated by bi server to fetech data. the query's which we see in query log file..

  • Can you change toolbar button images in SQL Server 2012?

    In SQL Server 2012 management studio I do not see an option to change the button image of the buttons on the toolbar.
    In previous versions of SQL, you could go to Tools --> Customize --> Rearrange Commands, select the toolbar, click on a command and then click "Modify Selection". One of the resulting choices was "Change Button Image". You could
    choose a different image for the toolbar button you selected. Another choice was "Edit Button Image" which allowed you to create a completely new image for your toolbar button.
    I do not see any way to do this in SQL Server 2012. Has this functionality been removed or am I just not finding it?
    Thanks,
    Alan

    Hi Alan,
    Based on your description, I make a test in SQL Server 2012, and I also find that there is no option to change button image or edit button image when customizing toolbar. It seems that the functionality has been changed from SQL Server 2012.
    Therefore, If you concern about this feature, I recommend you submit the requirement at
    https://connect.microsoft.com/SQLServer/ .  If the requirement mentioned by customers for many times, the product team may consider to add this feature. Your feedback is valuable for us to improve
    our products and increase the level of service provided.
    Thanks,
    Lydia Zhang

  • How can I change ownership on locked folder? (error 120)

    I had to create a new user after my previous (file vault) sparse image became corrupt. Fortunately I had backup and I'm getting things back to normal with a new user name.
    But several of the folders and files on my secondary internal drive are now locked as read only. The owner is the old name (of the corrupted user folder).
    How can I unlock the folders to change ownership and permissions to my current user name? I am logged in as an administrator. Whenever I try I get an error code 120.
    G5 dual 1.8   Mac OS X (10.4.4)  

    Solved it. Checked the "ignore ownership" box on the secondary drive and I can unlock the folders. Works for now.

  • Can not change the input volume level of a track

    I mean the buton for the volume in the track information window, between "Input" (Mono/Stereo) and "Monitor"
    It is on the lowest level and not highlighted, so I can't move it.
    On my iBook I got an older version of GarageBand 2, there I can change the input volume, but I want to use the iMac because I use an external Microphone.
    I don't think its got something to do with the mic, I've tried different settings, with the line in, and the internal mic, but this input volume level bar ist never highlighted.
    What's wrong?

    http://www.thehangtime.com/gb/gbfaq2.html#volumesliderdimmed

  • Can I change the default schema from "sql"

    I wish to switch between several sets of identical tables under different schemas/owners in the same database - say dev1, dev2, test, prod schemas.
    The (single) user I connect with (say - called Reader1) has granted select to all these tables, and now i wish to do something like:
    alter session set schema='dev1'
    select count(*) from customers
    select count(*) from sales
    alter session set schema='test'
    select count(*) from customers
    select count(*) from sales
    The database should then translate it to something like:
    select count(*) from dev1.customers
    select count(*) from dev1.sales
    select count(*) from prod.customers
    select count(*) from prod.sales
    Is this possible or does anyone have alternative suggestions ?

    This sure sounds like what "private synonyms" are supposed to be used for...
    -- User Reader1 needs the system privilege "create synonym"
    -- to create private synonyms
    create synonym flex_customers for dev1.customers ;
    create synonym flex_sales for dev1.sales ;
    select count(*) from flex_customers ;
    select count(*) from flex_sales ;
    drop synonym flex_customers ;
    drop synonym flex_sales ;
    create synonym flex_customers for test.customers ;
    create synonym flex_sales for test.sales ;
    select count(*) from flex_customers ;
    select count(*) from flex_sales ;
    drop synonym flex_customers ;
    drop synonym flex_sales ;
    Hope that helps,
    Stan

  • How can I change 'attach a file' back from classic mode to regular mode

    I was having a problem attaching a file (it was the file's fault, not FF) and switched to the 'classic' mode. I prefer the 'regular', previous mode and cannot figure out how to switch it back. I'm hoping when I reopen it it will revert to 'normal', but I would like to go back to the regular mode. I went to the tools (gear) page and flicked the attach section back and forth to the 'show progress bar setting it was originally on but it didn't work. Help?

    Hi Prem,
    You can attach this manually in the document tab of BP. Thats the standard functionality.
    Regards
    Arun Kumar

  • How can I make my whole site in fullscreen (API) mode, not just the opening page?

    I'm building a site that consists only of static pages, no scrolling, and I want the whole site to be in fullscreen mode. I know it's not good manners on the internet to have a whole site in this mode but it's a site with art and music and I really have a reason to have it this way.
    I've been doing a lot of searching and I've got the fullscreen API to work for me, but just on that one particular page. I want it to stay fullscreen even when I go to another page on the site.
    Maybe I've been doing this wrong somehow and the script is supposed to work that way but I've not been able to make it work.
    Thanks in advance
    db

    Thanks so much for your quick replies.
    The thing is I designed the site and tested it on a lot of different screen resizer plugins and it looked good.
    What I did not count on was the space you lose with the dock. The content just gets too small on a 1366x768 for example.
    Nancy, with "This allows content to fit the available viewport.", you mean the browser window? I've already built it that way.
    Jon, ok so I was right about the API not working on whole sites then but it does have the the opputunity to make a single page fullscreen though.
    Though I want the fullscreen mode on IE as well, I don't think the interface elements take that much space on windows computers and
    maybe I won't have to use fullscreen there. This site is also not designed to work on mobiles so no issue there.
    I have been thinking about some alternatives:
    1. Some kind of workaround that you mention Nancy, but I haven't found any.
    2. Have the visitors push a key to get into fullscreen but it seems that there is no equivalent to the F11 on mac, just different shortcuts for
        different browsers. Or have I missed something here?
    3. Make the next page open up in an iframe but it just slows down the loading of the page.

  • W500 with ATI Mobility FireGL V5700 -can't change switchable graphics to "High Performanc​e"

    My W500 crashed on me this morning while playing a game, and I ran into a couple blue screens of death.After doing some troubleshooting, I determined that I had an issue with my video card, more specifically that my machine no longer recognizes my ATI Mobility FGL V5700, and only the low quality Intel chipset.
    I tried uninstalling and reinstalling the ATI Catalyst drivers, but that did not work.
    I also tried changing the switchable graphics back to "High Performance", but when I do, the screen goes completely black. If I put my computer to sleep and then wake it back up, the switchable graphics automatically go back to "Energy Saving", and my display works again, of course with the Intel graphics only.
    If reinstalling the drivers doesn't work, and I can't change the graphics back to High Performance mode, does that mean my video card is shot? Any suggestions other than buy a new one or live with the Intel graphics?
    I'd try to contact support but unfortunately my warranty just expired a month ago. Seems like everything breaks within a couple months of the warranty expiring. Grrr.

    I'm having identical issues. After updating the driver through lenovo update utility, i can no longer get the graphic card driver working. I've tried several different drivers, none of them work, and I'm now stuck here with a useless computer while my deadlines come closer and closer. Are there seriously no offical reply to any of these threads?

  • Why can't I change the transaction isolation level?

    I was trying to change the transaction isolation level from an EJB. My source codes are shown as the follows:
    ======================================================
    /*********************** Database Routines *************************/
    private void makeConnection() {
    try {
    InitialContext ic = new InitialContext();
    DataSource ds = ( DataSource )ic.lookup( dbName );
    con = ds.getConnection();
    DatabaseMetaData dmd = con.getMetaData();
    show_supported_trans_levels( dmd );
    int status = con.getTransactionIsolation();
    System.out.print( "1. " );
    disp_tx_status( status );
    System.out.println( "con.isReadOnly() = " + con.isReadOnly() );
    con.setTransactionIsolation( Connection.TRANSACTION_SERIALIZABLE );
    System.out.print( "2. " );
    disp_tx_status( status );
    } catch( SQLException ex ) {
    System.err.println( "SQLException: " + ex.toString() );
    throw new EJBException("Unable to connect to database. " +
    ex.getMessage());
    } catch( NamingException ex ) {
    System.err.println( "NamingException: " + ex.toString() );
    throw new EJBException("Unable to connect to database. " +
    ex.getMessage());
    private void disp_tx_status( int status )
    System.out.print( "Transaction Status: " );
    switch( status )
    case( Connection.TRANSACTION_READ_UNCOMMITTED ):
    System.out.println( "TRANSACTION_READ_UNCOMMITTED" );
    break;
    case( Connection.TRANSACTION_READ_COMMITTED ):
    System.out.println( "TRANSACTION_READ_COMMITTED" );
    break;
    case( Connection.TRANSACTION_REPEATABLE_READ ):
    System.out.println( "TRANSACTION_REPEATABLE_READ" );
    break;
    case( Connection.TRANSACTION_SERIALIZABLE ):
    System.out.println( "TRANSACTION_SERIALIZABLE" );
    break;
    case( Connection.TRANSACTION_NONE ):
    System.out.println( "TRANSACTION_NONE" );
    break;
    default:
    System.out.println( "UNKNOWN" );
    break;
    private void show_supported_trans_levels( DatabaseMetaData dmd ) throws SQLException
    System.out.println( "List of Supported Transaction Isolation Levels: " );
    if( dmd.supportsTransactionIsolationLevel( Connection.TRANSACTION_READ_UNCOMMITTED ) )
    System.out.println( "TRANSACTION_READ_UNCOMMITTED is supported!" );
    else
    System.out.println( "TRANSACTION_READ_UNCOMMITTED is unsupported!" );
    if( dmd.supportsTransactionIsolationLevel( Connection.TRANSACTION_READ_COMMITTED ) )
    System.out.println( "TRANSACTION_READ_COMMITTED is supported!" );
    else
    System.out.println( "TRANSACTION_READ_COMMITTED is unsupported!" );
    if( dmd.supportsTransactionIsolationLevel( Connection.TRANSACTION_REPEATABLE_READ ) )
    System.out.println( "TRANSACTION_REPEATABLE_READ is supported!" );
    else
    System.out.println( "TRANSACTION_REPEATABLE_READ is unsupported!" );
    if( dmd.supportsTransactionIsolationLevel( Connection.TRANSACTION_SERIALIZABLE ) )
    System.out.println( "TRANSACTION_SERIALIZABLE is supported!" );
    else
    System.out.println( "TRANSACTION_SERIALIZABLE is unsupported!" );
    =========================================================
    However, I encountered the following exception when running at the highlighted statement:
    ======================================================
    SQLException: java.sql.SQLException: Transaction manager errors. statement not allowed in XA Session.
    ======================================================
    To my surprise, the isolation level TRANSACTION_SERIALIZABLE is supported from the database vendor. So why can't I change the transaction isolation level?

    You can change the setting, you may need to click the lock at the bottom of the preference pane. Be careful what you download and install, Gatekeeper is there to help you. OS X: About Gatekeeper - Apple Support

  • Can not change the control level of item attribute "Inventory Asset Value"

    I can not change the control level of the item attribute "Inventory Asset Value" from Master Level to Org Level. It's show me the message "FRM-40200: Field is protected against update".
    Version is below:
    Oracle Application: 10.7SC
    Form: INVIDCTL 6.0.26

    I did a trace when I chage the control level. the SQL is below:
    SELECT COUNT(*)
    FROM CST_ITEM_COSTS CHILD
    , CST_ITEM_COSTS MASTER
    WHERE MASTER.INVENTORY_ITEM_ID = CHILD.INVENTORY_ITEM_ID (+)
    AND MASTER.COST_TYPE_ID = 1
    AND CHILD.COST_TYPE_ID (+) = 1
    AND NVL(MASTER.ITEM_COST,0) != NVL(CHILD.ITEM_COST (+) ,DECODE(MASTER.ITEM_COST, NULL ,0,-99999))
    AND MASTER.ORGANIZATION_ID IN (SELECT MASTER_ORGANIZATION_ID
    FROM MTL_PARAMETERS
    WHERE ORGANIZATION_ID != MASTER_ORGANIZATION_ID )
    AND CHILD.ORGANIZATION_ID IN (SELECT ORGANIZATION_ID
    FROM MTL_PARAMETERS
    WHERE MASTER_ORGANIZATION_ID = MASTER.ORGANIZATION_ID )

  • You can only specify the READPAST lock in the READ COMMITTED or REPEATABLE READ isolation levels

    Hi, I have a piece of code that works fine in SSMS as T-SQL. When I put the T-Sql inside a SP, I get the error :
    You can only specify the READPAST lock in the READ COMMITTED or REPEATABLE READ isolation levels
    The script starts is as follows (only select)
    SET NOCOUNT ON
    Set Transaction Isolation Level Read Committed
    Set Deadlock_Priority Low
    Select......
    From MyTable WITH (NOLOCK)
    GROUP BY .....
    Order BY ....
    works fine as I said in SSMS as T-SQL but the SP generates the following
    Msg 650, Level 16, State 1, Procedure usp_TotalMessages, Line 15
    You can only specify the READPAST lock in the READ COMMITTED or REPEATABLE READ isolation levels.
    By the way, when it says line 15, from where we should start counting, is it from The USE DB statement which includes comments as well as Set ANSI....or should we start counting from the Alter PRocedure statement
    Thanks in advance

    Set Transaction Isolation Level Read Committed
    Set Deadlock_Priority Low
    Select......
    From MyTable WITH (NOLOCK)
    GROUP BY .....
    Order BY ....
    First you define transactionlevel = "Read Committed", then you use a query hint "NOLOCK" which is equivalent to "Read Uncommitted"; so what do you want now, committed or uncommitted, you have to decide.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

Maybe you are looking for

  • Split list view in finder

    Anyone know if there is any plugin (or app) for Finder that split list view in 2 independent columns, so I could drag and drop files (and folders) between folders more easily? Path Finder have this feature, but I wish to keep in finder (its free and

  • How do I backup voice memos from iPhone 4 to my Macbook with iOS 6.0?

    How do I backup voice memos from my iPhone 4 to my MacBook, with iOS 6? I have synchronised them a hundred times but iTunes just doesn't backup my voice memos. And I haven't seen a playlist called "Voice Memos" on the left sidebar either...

  • Anyone had video just not play when on the timeline?

    Video is just not playing when pulled down to the timeline.  Seems to resolve itself for a bit after I reboot the program.

  • Convert numbers into words

    i work on release 11i application and converts some reports to run with xml publisher i want to convert a total field that exist in po report to words it seems to convert number into words isthat possible i tried to make this in oracle reports and it

  • Which certification I should go for?

    Hi All, I have been working on SQL, PL/SQL from last 4 years. I know SQL and PL/SQL very well, but I don't have any Oracle certificate with me. I went to Oraccle website there I found some 11g certifications like fundamental, administrator I and II.