Locks aquired for dbremove call in CDS
Hello,
We are using this to remove older database files from a CDS environment.
if ((ret =cds_env->dbremove(cds_env, NULL, db_name, NULL, 0)) != 0) {
goto err;
We see that this aquires a lot of locks in the environment. Each file has approximately 100000 records. Our understanding was that in CDS locks are taken at the database level and not at the page level. We seem to hit the maximum number of locks configured, which is configured as 1000. We do share the environment with other databases but do not expect the dbremove to exhaust the locks.
Using release 5.1.19 on HP-UX Itanium.
Thanks in advance.
Hi,
I'm surprised the DB_ENV->dbremove call is taking out a lot of locks. Have you tried analyzing the output from db_stat?
http://docs.oracle.com/cd/E17076_02/html/api_reference/C/db_stat.html
If you post the output from running db_stat -CA on your environment, I'll try to help.
Regards,
Alex Gorrod
Oracle Berkeley DB
Similar Messages
-
please help ... have new samsung ativ se windows 8 phone ... screen lock is on to require password, but on incoming calls its not locked ... how do i lock it for incoming calls too ???? thanks
Personal rant, why do people write the entire problem in topic line
It's not possible with Windows Phone 8. What's the point, a call is coming in and the phone allows you to answer. -
Row cache lock aquired for more than 1 hour
Hi could some please let me know what is ROW CACHE LOCK, and at what situations does this happen. And also what does dc_histogram_defs enqueue means, what happening internally??
I am facing with a problem in our d/b(11g r1) with a code running more that 1 hr, but nothing is happening in our objects actually, only info i can see is ROW CACHE LOCK for more that 3000 seconds:
select p1text,p1,p2text,p2,p3text,p3 from v$session where event = 'row cache lock' and sid=37
P1TEXT P1 P2TEXT P2 P3TEXT P3
cache id 16 mode 0 request 3
select type,parameter,count,usage,gets,getmisses,scans,scanmisses,flushes,dlm_requests from v$rowcache where cache#=16
TYPE PARAMETER COUNT USAGE GETS GETMISSES SCANS SCANMISSES FLUSHES DLM_REQUESTS
PARENT dc_histogram_defs 4,497 4,497 12,426,122 1,446,845 0 0 210,040 1,706,801
SUBORDINATE dc_histogram_data 1,965 1,965 8,995,128 500,660 0 0 91,463 0
SUBORDINATE dc_histogram_data 297 297 3,500,090 46,371 0 0 6,591 0hi,
could you take a look at this topic
row cache lock
regards, -
Why the 'decline' option not present in the lock screen for an incoming call in ios7?
Why is there no call decline option on the lock screen for an incoming call in IOS7??
Yeah... One workaround is double-click the lock button. But still it's stupid. The "Decline" is available only when screen in 'unlocked'. They think, you only need the to decline only when you are busy doing something on the iPhone, else need not to decline the call i.e. when your screen is locked.
WTH, is my phone the only thing in the world, I could be busy with to decline?? -
How to disable "slide to call" feature for missed calls from lock screen on ios7
I realized that when the iphone (running iOS7) is locked, the“Slide to Call” allows anyone to make an outgoing call to the missed calls from a locked phone (with passcode).
it is nice feature for people who don't care about locking their phone.but I believe there should be an option to disable the “slide to call” or at least require password before allowing the outgoing call to go through.
This is a serious security issue.it should be user configurable.
Hope Apple will take it seriously and release a update for the same.You can provide feedback to Apple here: http://www.apple.com/feedback/iphone.html
-
Option to disable the "slide to call" feature for missed calls from lock screen
I realized that when the iphone (running iOS5) is locked, the“Slide to Call” allows anyone to make an outgoing call to the missed calls from a locked phone (with passcode). This may allow malicious and unwanted calls to be made from a locked phone by anyone having access to the phone and defeats the purpose of having the phone locked by a passcode.
Don't get me wrong, it is nice feature for people who don't care about locking their phone, but I believe there should be an option to disable the “slide to call” or at least require password before allowing the outgoing call to go through.
At this point the only option that I see is to disable the phone related notifications from lock screen, which prevents all phone related notifications to be displayed on lock screen (missed or voicemail). This is not a desired solution.....
This is the first time in the history of iOSes, that a user can make outgoing calls from a locked phone with a passcode. Even the voice commands (for dialling a number) have option to be disabled on locked screen.
I was wondering if anybody else feels the same way about this? or have a solution?I share the same feeling with you about this issue.
Actually I was very surprised when I discovered that!
In addition to this, when you actually slide a missed call, it calls the person and when you end the call, the notification of the missed call is still present! So that person can be called again and again and again.
This is a serious issue that Apple has overlooked!
Please secure the iOS 5.
Thanks. -
i have an older flip phone (CDM8945 DIG ) and somehow it is locked for outgoing calls? how can i unlock it? lost the original manuel. thanks,
LOCK
Locks your phone and prevents unauthorized use.
Phone can only be used after inputting the password.
1. To lock the phone, press and hold
2. To unlock the phone, press (phone button)
then input the password.
Lock feature will deactivate when the phone is
powered off. Upon next power up, you will need to
press
to lock phone again.
The default password is the last 4 digits of your
phone number
See this link for text with pictures of buttons included:
http://www.manualslib.com/manual/12151/Audiovox-Cdm8940.html?page=16#manual
Here is a link to the whole manual (model 8940 but close enough)
http://www.manualslib.com/manual/12151/Audiovox-Cdm8940.html -
Why is the decline button for phone calls not available when the phone is locked? I need that button and it shows only when the phone is not locked on iOS 7
Yep. You need to touch the sleep/power button once to silence the ring, and twice in order for the call to go directly to Voicemail.
Personally, I dont understand why Apple eliminated this. If you wish to give Apple feedback, do it here:
www.apple.com/feedback -
My iPhone has crashed during a sync and now I can't restore from backup as it is asking for password to load the backup yet neither the lock code for the phone or my iTunes Password are working... I have no other password to call upon and need the restore to retrieve info onto my phone, I am a real novice to this...... please help, !!!!
If anyone else is looking for a solution to this same problem, I was able to get it working looking through several older discussions.
The solution was to use the password that I had on my iTunes account the very first time I set up the iPhone about a year ago. I changed my iTunes password about 10 months ago; but apparently, the backups continue to use the password that existed when the phone was first set up.
A couple of troubling things with this are that 1) I didn't apply a password when I did the backup this afternoon so I don't understand why it was required when I did the restore a few hours later. and 2) it makes zero sense why iTunes would not be smart enough to use the current accout password when requiring the password to restore from a backup made with no password.
I thought iTunes and Apple were smarter than that. With so many posts stating exactly the same problem, it is clear that this is bug in the software.
Best,
Craig -
Itunes says i must enter passcode on iphone but iphone only gives option for emergency calls
My sim card is inserted and when I turn the iphone on it only gives the option for emergncy calls, when i connect to itunes it says the phone is locked and i need to enter the passcode on the phone but i cannot enter pass cose on phone as it doesnt give me the option.
Any ideas?
ThanksYou're gonna have to force the phone into recovery mode:
Turn your phone off. If you cannot turn off your phone using the slider, press and hold the Sleep/Wake and Home buttons at the same time. When your phone turns off, release the Sleep/Wake and Home buttons. Then, leave the USB cable connected to your computer, but NOT your phone, itunes running, press & hold the home button while connecting the USB cable to your dock connector, continue holding the home button until you see “Connect to iTunes” on the screen. You may now release the home button. iTunes should now display that it has detected your phone in recovery mode, if not quit and reopen iTunes. If you still don’t see the recovery message repeat these steps again. iTunes will give you the option to restore from a backup or set up as new. -
Hi experts,
I developed a function module to update the confirmations tab of a PO on ME22N screen. Now, I want to have a lock object in the FM so that a user cant make changes while this FM is in use. I do not know if there is any standard lock object for this purpose. I created a lock object in SE11 'EZEKES' since table EKES corresponds to vendor confirmations details. The Enqueue function was called into the program. The code is below:
CALL FUNCTION 'ENQUEUE_EZPHLOCK'
EXPORTING
MODE_EKES = 'E'
MANDT = SY-MANDT
EBELN = ponumber
EXCEPTIONS
FOREIGN_LOCK = 1
SYSTEM_FAILURE = 2
OTHERS = 3
The problem is, i'm not able to have a lock on the confirmations tab when the FM is in use. Is there any problem with the lock object i have created. The lock mode is Exclusive,Cumulative.
Please help me with this.Code:
""Local Interface:
*" IMPORTING
*" REFERENCE(PONUMBER) TYPE EKKO-EBELN
*" TABLES
*" ITAB STRUCTURE UEKES
TABLES: EKES, EKKO.
DATA: BEGIN OF I_EKKO OCCURS 0,
EBELN LIKE EKKO-EBELN,
END OF I_EKKO.
DATA: X LIKE EKES-ETENS.
data: i_tab like itab occurs 0 with header line.
move itab[] to i_tab[].
DATA: i_ekes LIKE uekes OCCURS 0 WITH HEADER LINE.
SELECT EBELN FROM EKKO INTO TABLE I_EKKO WHERE EBELN = PONUMBER.
IF NOT I_EKKO[] IS INITIAL.
SELECT * FROM EKES INTO TABLE I_EKES
FOR ALL ENTRIES IN I_EKKO
WHERE EBELN = I_EKKO-EBELN.
ENDIF.
select single etens from ekes into x WHERE EBELN = PONUMBER.
x = x + 1.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
DATA: VARKEY LIKE RSTABLE-VARKEY.
CALL FUNCTION 'ENQUEUE_E_TABLE'
EXPORTING
MODE_RSTABLE = 'E'
TABNAME = EKES
VARKEY = VARKEY
X_TABNAME = ' '
X_VARKEY = ' '
_SCOPE = '2'
_WAIT = ' '
_COLLECT = ' '
EXCEPTIONS
FOREIGN_LOCK = 1
SYSTEM_FAILURE = 2
OTHERS = 3
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
LOOP AT I_TAB. "WHERE EBELN = PONUMBER.
READ TABLE I_TAB.
LOOP AT i_ekes WHERE ebelp EQ ITAB-EBELP "itemnumber
AND ebtyp EQ 'LA'.
i_ekes-menge = ITAB-MENGE. "quantity.
i_ekes-kz = 'U'.
i_ekes-eindt = ITAB-EINDT. "deldate.
I_EKES-XBLNR = ITAB-XBLNR.
i_ekes-erdat = sy-datum.
i_ekes-ezeit = sy-uzeit.
MODIFY i_ekes.
ENDLOOP.
ENDLOOP.
IF sy-subrc NE 0.
LOOP AT I_TAB. "WHERE EBELN = PONUMBER.
READ TABLE I_TAB.
LOOP AT i_ekes WHERE ebelp EQ ITAB-EBELP "itemnumber
AND ebtyp EQ 'AB'.
i_ekes-menge = ITAB-MENGE. "quantity.
i_ekes-ebtyp = 'LA'.
i_ekes-kz = 'I'.
i_ekes-etens = x.
i_ekes-eindt = ITAB-EINDT. "deldate.
I_EKES-XBLNR = ITAB-XBLNR.
i_ekes-erdat = sy-datum.
i_ekes-ezeit = sy-uzeit.
APPEND i_ekes.
ENDLOOP.
ENDLOOP.
ENDIF.
To update the confirmations tab
CALL FUNCTION 'ME_CONFIRMATION_UPDATE'
EXPORTING
I_EBELN = PONUMBER
TABLES
XEKES = i_ekes[].
YEKES = I_EKES[].
IF SY-SUBRC = 0.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
ENDIF.
CALL FUNCTION 'DEQUEUE_E_TABLE'
EXPORTING
MODE_RSTABLE = 'E'
TABNAME = EKES.
VARKEY = VARKEY
X_TABNAME = ' '
X_VARKEY = ' '
_SCOPE = '3'
_SYNCHRON = ' '
_COLLECT = ' '
ENDFUNCTION. -
Lock object for table KNVP and KNVK
Hello Friends,
Can you please tell me the standard lock object for the table KNVP and KNVK.
Thank and regards,
KuldeepHi
see this and do accordingly
Lock objects are use in SAP to avoid the inconsistancy at the time of data is being insert/change into database.
SAP Provide three type of Lock objects.
- Read Lock(Shared Locked)
protects read access to an object. The read lock allows other transactions read access but not write access to
the locked area of the table
- Write Lock(exclusive lock)
protects write access to an object. The write lock allows other transactions neither read nor write access to
the locked area of the table.
- Enhanced write lock (exclusive lock without cumulating)
works like a write lock except that the enhanced write lock also protects from further accesses from the
same transaction.
You can create a lock on a object of SAP thorugh transaction SE11 and enter any meaningful name start with EZ Example EZTEST_LOCK.
Use: you can see in almost all transaction when you are open an object in Change mode SAP could not allow to any other user to open the same object in change mode.
Example: in HR when we are enter a personal number in master data maintainance screen SAP can't allow to any other user to use same personal number for changes.
Technicaly:
When you create a lock object System automatically creat two function module.
1. ENQUEUE_<Lockobject name>. to insert the object in a queue.
2. DEQUEUE_<Lockobject name>. To remove the object is being queued through above FM.
You have to use these function module in your program.
check this link for example.
http://help.sap.com/saphelp_nw04s/helpdata/en/cf/21eea5446011d189700000e8322d00/content.htm
tables:vbak.
call function 'ENQUEUE_EZLOCK3'
exporting
mode_vbak = 'E'
mandt = sy-mandt
vbeln = vbak-vbeln
X_VBELN = ' '
_SCOPE = '2'
_WAIT = ' '
_COLLECT = ' '
EXCEPTIONS
FOREIGN_LOCK = 1
SYSTEM_FAILURE = 2
OTHERS = 3
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
Normally ABAPers will create the Lock objects, because we know when to lock and how to lock and where to lock the Object then after completing our updations we unlock the Objects in the Tables
http://help.sap.com/saphelp_nw04s/helpdata/en/cf/21eea5446011d189700000e8322d00/content.htm
purpose: If multiple user try to access a database object, inconsistency may occer. To avoid that inconsistency and to let multiple user give the accessibility of the database objects the locking mechanism is used.
Steps: first we create a loc object in se11 . Suppose for a table mara. It will create two functional module.:
1. enque_lockobject
1. deque_lockobject
before updating any table first we lock the table by calling enque_lockobject fm and then after updating we release the lock by deque_lockobject.
http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eea5446011d189700000e8322d00/content.htm
GO TO SE11
Select the radio button "Lock object"..
Give the name starts with EZ or EY..
Example: EYTEST
Press Create button..
Give the short description..
Example: Lock object for table ZTABLE..
In the tables tab..Give the table name..
Example: ZTABLE
Save and generate..
Your lock object is now created..You can see the LOCK MODULES..
In the menu ..GOTO -> LOCK MODULES..There you can see the ENQUEUE and DEQUEUE function
Lock objects:
http://www.sap-img.com/abap/type-and-uses-of-lock-objects-in-sap.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/cf/21eea5446011d189700000e8322d00/content.htm
Match Code Objects:
http://help.sap.com/saphelp_nw2004s/helpdata/en/41/f6b237fec48c67e10000009b38f8cf/content.htm
http://searchsap.techtarget.com/tip/0,289483,sid21_gci553386,00.html
See this link:
http://www.sap-img.com/abap/type-and-uses-of-lock-objects-in-sap.htm
Check these links -
lock objects
Lock Objects
Lock Objects
Regards
Anji -
Phone is Locked into an Emergency Call Lock Screen
Hi All,
My SX-Z1C is currently locked into an emergency call lock screen. I tried rebooting the modem without the SD card and SIM but it didnt work. is there a way to reformat the phone without getting into the settings / homescreen? Coz right now i cant get pass through the Emergency Call Lock Screen to get to the homescreen or settings. If so what tools do i need.? Or is there a way to fix the issue without reformatting the phone
Solved!
Go to Solution.To perform a system repair
Switch off your phone and unplug from Pc (Hold volume up and power for around 10 seconds)
Start PC Companion and select Support zone then Update my phone/tablet then in Blue Repair my phone/tablet and follow the onscreen instructions - When prompted connect your phone still switched off holding volume down - This should start the repair or reformat process
If you are using Windows 8/8.1 or a 64bit operating system then adjust the settings for PC Companion and run in compatibility mode and chose Windows 7 or XP
Remove your IMEI number from your above post
For a successful technology, reality must take precedence over public relations, for Nature cannot be fooled. Richard P. Feynman -
My iphone 4 locked up for several hours. i then tried to reset by holding down the home button and power button at the same time for 10 seconds and then the home button for 10 seconds. it is now completely black. what do i do? couldnt restore it in iTunes. Has anyone had this problem? Help!
Same thing happened to me today. I wasn't even using the phone for the past 6 hours and suddenly I can't connect to the internet, none of my internet apps would work - nothing. I tried to call AT&T from the iphone and it locked up - couldn't turn it off, change to the home screen - nada - brick.
Did the Home/Power button thing and that worked but this I've only had this phone for about 4 weeks and it's locked up more times than my 3GS did the whole two years I had it! Ridiculous -
I currently use 2 phones to make calls: one t-mobile locked phone for the US and one O2 locked phone for Germany, both without data plan.
Can I upgrade using just one phone (factory unlocked iPhone 3GS) and continue to use the existing SIM cards for phone calls (just switching the SIM cards when necessary), but use free WIFI spots worldwide for internet access/data transfer?
Thanks MichaelNo supported carrier, including T-Mobile in the U.S., permits the use of an iPhone without a data plan. Though it's technically possible to do it, if and when they find you, they will either charge you for a data plan or shut down your account.
Maybe you are looking for
-
Acrobat 9 Text Box Default Text Properties
Acrobat 9: How do you change the default text properties for a text box?
-
2007 24" Imac yellowing screen
Hi, I have purchased a 2007 Apple Imac 24" and the screen is yellowing. Does apple have a return policy for the replacement after the warranty...
-
Aperture2 - Recovery and Black Point adjustments question
I purchased the Aperture2 upgrade and, I'm impressed!!! I have a question: In the *Adjustment Tab*: Two features in the *Exposure area, "Recover and Black Point"*, works sometimes and other times it does not. There must be a reason for it - I just ca
-
SATA DVD Writer,Y the system cannot detect??
??? I just bought a SATA DVD writer, after fix on the PC SATA 1 slot,it seem that the PC cannot detect it. Any thing need to be done? Pls enlighten. MB:865PE Neo2
-
Combining 2 recordsets in one query possible?
Hello, I've simplified my 2 queries. Is it possible to combine the 2 queries to get the total? I use in my query window (in Dreamweaver) (SELECT COUNT(*) FROM table_1 WHERE field_1="X") + (SELECT COUNT(*) FROM table_2 WHERE field_1="Y") AS TOTAL When