1 SQL instances with several archive Databases using all AWE RAM memory of server
Hello,
I just migrated my accounting system to a new SQL Server deployment of the software.
We just purchased the expensive SQL Server enterprise to accomodate.
I have some replicated databases to of lower priority that I put on the same instance that we occasionally query. I also imported a 70GB old archive DB that we on very rare occasions. We are not concerned about performance on these databases
as we are about the accounting DB on the same instance.
The MAX memory was set to unlimited on that instance. As soon as I put in this monster 70GB archived databases the AWE memory usage used up my full 30GB of RAM.
Is there a way to set the memory usage so the archive databases do not get loaded into the AWE but still the critical accounting system DB on the same instance is taken care of?
Or do I have to shell out another $3-6k for a separate instance? SQL Server Express has a 4GB limitation and one of the backup DB we don't really care about is 20GB replicated from Azure.
Hi,
>>70GB archived databases the AWE memory usage used up my full 30GB of RAM.
How did you checked that Archived database is using 30 G did you used sys.dm_os_buffer_descriptor.Do SQL server have locked pages in memory
SQL Server bring pages in memory if it is requested ,if you access Archived database heavily its bound to take memory but if yous top accessing it and access your other database SQL server will flush out pages of archive IF REQUIRED.
SQL server manages memory dynamically so I guess you do not need to worry
>>s there a way to set the memory usage so the archive databases do not get loaded into the AWE but still the critical accounting system DB on the same instance is taken care of?
No ,there is no way buffer pool is shared region
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 Articles
Similar Messages
-
Oracle using all the ram on my server
Hi,
I have oracle 11g r2 installed on red hat linux 5 with 8 GB of RAM. I need to specify that only oracle is installed on this machine, and even in idle (absolutely no one connected on the database) all the memory is used
total used free shared buffers cached
Mem: 8175452 8127612 47840 0 11504 6787324
The performance of this machine is really poor although the hardware is supposed to be more than sufficient to the task its supposed to do.
This is the value of sga
Total System Global Area 3574284288 bytes
Fixed Size 2218512 bytes
Variable Size 2650801648 bytes
Database Buffers 905969664 bytes
Redo Buffers 15294464 bytes
And
select * from v$pgastat order by 2 desc;
gives the following result
NAME VALUE UNIT
PGA memory freed back to OS 1643595431936 bytes
bytes processed 1395680836608 bytes
extra bytes read/written 1166086521856 bytes
aggregate PGA target parameter 1241513984 bytes
aggregate PGA auto target 988563456 bytes
maximum PGA allocated 730347520 bytes
maximum PGA used for manual workareas 392226816 bytes
maximum PGA used for auto workareas 377039872 bytes
total PGA allocated 298163200 bytes
total PGA inuse 143101952 bytes
total freeable PGA memory 126287872 bytes
global memory bound 124149760 bytes
recompute count (total) 593752
max processes count 113
process count 88
cache hit percentage 54.48 percent
total PGA used for manual workareas 0 bytes
over allocation count 0
total PGA used for auto workareas 0 bytesYou may not expressly be using all the RAM in your machine but OS X will, whether you know it or not.
Each time you read a file from disk, whatever was read is cached by the system; when the file or program is no longer in use, the memory is marked free for the system to recover for other purposes but as long as it remains in memory the next time you need to access that disk information it's simply read from memory.
The more RAM, the more disk data is kept around and the faster your machine will operate until that memory needs to be recovered or you reboot (or otherwise flush the disk cache.) -
I am trying to install WSUS role on Windows Server 2012 R2 using dedicated SQL Instance with static port on remote SQL Server 2012 SP1 CU7 on Windows Server 2012 R2.
It verifies the connection and then throws the error:
The request to add or remove features on the specified server failed. The operation cannot be completed, because the server you specified requires a restart.
WSUS Server : Windows Server 2012 R2
Remote SQL Server: 2012 SP1 CU7 hosted on Windows Server 2012 R2
Please let me know if anyone has experienced this issue.We were trying to install WSUS role on Windows Server 2012 R2 using dedicated SQL Instance with static port on remote SQL Server 2012 SP1 CU7 on Windows Server 2012 R2.
It verifies the connection and then throws the error:
The request to add or remove features on the specified server failed. The operation cannot be completed, because the server you specified requires a restart.
Same error even after rebooting the server multiple times.
WSUS Server : Windows Server Standard2012 R2
Remote SQL Server: Windows Server 2012 SP1 CU7 hosted on Windows Server 2012 R2
Event ID 7000:
The Windows Internal Database service failed to start due to the following error:
The service did not start due to a logon failure.
Event ID 7041
The MSSQL$MICROSOFT##WID service was unable to log on as NT SERVICE\MSSQL$MICROSOFT##WID with the currently configured password due to the following error:
Logon failure: the user has not been granted the requested logon type at this computer.
Service: MSSQL$MICROSOFT##WID
Domain and account: NT SERVICE\MSSQL$MICROSOFT##WID
This service account does not have the required user right "Log on as a service."
User Action
Assign "Log on as a service" to the service account on this computer. You can use Local Security Settings (Secpol.msc) to do this. If this computer is a node in a cluster, check that this user
right is assigned to the Cluster service account on all nodes in the cluster.
If you have already assigned this user right to the service account, and the user right appears to be removed, check with your domain administrator to find out if a Group Policy object associated
with this node might be removing the right.
I found following article:
"MSSQL$MICROSOFT##WID service was unable to log on as NT SERVICE\MSSQL$MICROSOFT##WID" error when you install WID in Windows Server 2012
http://support.microsoft.com/kb/2832204/en-us
To work around the issue, use one of the following methods:
Assign the Log on as a service user right to NT SERVICE\ALL SERVICES in the GPO that defines the user right.
Exclude the computer from the GPO that defines the user right.
We moved the SCCM server to OU where no policies were getting applied and then applied the new GPO to that OU. Restarted the server and we were able to install WSUS role.
Regards
PR -
PL/SQL table with several arguments
Hi All!
I need a pl/sql table with several arguments. It should looks like this:
DECLARE
CURSOR C1
IS
SELECT ARTICLE_ID,
SALES_SECTION_ID,
COUNTRY_ID,
COLL_OF_DATA_TYPE_ID,
SYSTEM_ID
FROM F_IPV_BASE;
CURSOR C2
IS
SELECT ARTICLE_ID,
SALES_SECTION_ID,
COUNTRY_ID,
COLL_OF_DATA_TYPE_ID,
SYSTEM_ID,
COUNT (ALL ORDER_POSITION_NO) CREDIT_NOTE_POS_QTY
FROM F_IPV_BASE
WHERE DAY_ID BETWEEN tFirstDayofMonth AND tLastDayofMonth
AND BILLING_METHOD_ID = (SELECT BILLING_METHOD_ID
FROM K_BILLING_METHOD
WHERE SRC_BILLING_METHOD_ID = '2')
GROUP BY ARTICLE_ID,
SALES_SECTION_ID,
COUNTRY_ID,
COLL_OF_DATA_TYPE_ID,
SYSTEM_ID;
TYPE CREDIT_NOTE_POS_QTY_REC IS RECORD (
ARTICLE_ID F_IPV_BASE.ARTICLE_ID%TYPE,
SALES_SECTION_ID F_IPV_BASE.SALES_SECTION_ID%TYPE,
COUNTRY_ID F_IPV_BASE.COUNTRY_ID%TYPE,
COLL_OF_DATA_TYPE_ID F_IPV_BASE.COLL_OF_DATA_TYPE_ID%TYPE,
SYSTEM_ID F_IPV_BASE.SYSTEM_ID%TYPE,
CREDIT_NOTE_POS_QTY NUMBER
TYPE CREDIT_NOTE_POS_QTY_TYP IS TABLE OF CREDIT_NOTE_POS_QTY_REC
INDEX BY VARCHAR2 (30);
CREDIT_NOTE_POS_QTY_TAB CREDIT_NOTE_POS_QTY_TYP;
tPosQTY NUMBER := 0;
BEGIN
FOR TmpRec1 IN C2
LOOP
CREDIT_NOTE_POS_QTY_TAB (TmpRec1.ARTICLE_ID, TmpRec1.SALES_SECTION_ID, TmpRec1.COUNTRY_ID, TmpRec1.COLL_OF_DATA_TYPE_ID, TmpRec1.SYSTEM_ID).CREDIT_NOTE_POS_QTY := TmpRec1.CREDIT_NOTE_POS_QTY;
END LOOP;
FOR TmpRec1 IN C1
LOOP
IF (CREDIT_NOTE_POS_QTY_TAB.EXISTS (TmpRec1.ARTICLE_ID, TmpRec1.SALES_SECTION_ID, TmpRec1.COUNTRY_ID, TmpRec1.COLL_OF_DATA_TYPE_ID, TmpRec1.SYSTEM_ID) = TRUE)
THEN
tPosQTY := CREDIT_NOTE_POS_QTY_TAB (TmpRec1.ARTICLE_ID, TmpRec1.SALES_SECTION_ID, TmpRec1.COUNTRY_ID, TmpRec1.COLL_OF_DATA_TYPE_ID, TmpRec1.SYSTEM_ID).CREDIT_NOTE_POS_QTY;
ELSE
tPosQTY := 0;
END IF;
END LOOP;
END;
I get PLS-00316 in loops.
Any help will be appreciated.
With best regards,
Andrej Litowka.Hi
the .exists(n#) method will just check if the n# element exists. there is no build in function to locate or compare record or who oracle says;
Comparing Records
Records cannot be tested for nullity, or compared for equality, or inequality.
If you want to make such comparisons, write your own function that accepts two records as parameters and does the appropriate checks or comparisons on the corresponding fields. -
Create multiple portal instances with only one database?
Can someone create multiple portal instances with only one database?
If so, how is this done, just by running the portal configuration wizard?
How are most people running with multiple developers working on portal? Do they share a portal instance, or create their own?
Thank you very much!
Phillipi'm currently using 9ias rel 2(9.0.2) and i have install one infrastructure and two mid tier, hoping that this will create two portal, but it didn't. Can you please tell me how to do create two portal within one server.
thanks and regards;
andrew -
I am running Firefox 18.0.1 and the plugin-container is using all my ram, have tried altering dom.ipc.plugins to false but makes no difference. Any advice please
plugin-container.exe is used to run Flash and other plugins so if they crash they do not take down your main Firefox session. But... I don't think memory usage would be that different if you tricked Firefox into running Flash inside firefox.exe. (There was a thread with the trick, but I can't recall the details. It was not a regular Firefox setting.)
-
Final cut pro using all of my memory
So I have the latest version of Mavericks (as of late July) and the latest version of Final Cut Pro (10.1.2). Now I am creating a short film for my Extension English major work and I am editing with Final Cut Pro, the problem that I am having is that the program keeps using up all of my memory under the "other" field. My "Other" usage is weighing in at around 60GB as of now. I do own a 2TB harddrive and my MacBook is 120GB (with HSC documents that I need to keep or else my future as a human is basically pointless).
How am I able to continue editing my project without using all of my memory. is there an autosave switch i need to turn off, is there a problem with my software!?!?
Please help!You really need to get an external drive – Thunderbolt, USB3, or Firewire 800 – depending on the vintage of your machine. And you should get a second external for backup. (Sorry to be spending your money for you, but it's important; drives fail – both spinning drives and SSDs.)
Put your media, and your libraries on the external drive. You can drag the libraries you have now to the new drive, working in the Finder, with FCP closed,. Before you do that, it's a good idea to select the libraries and use the Consolidate Library Files command. WHen you drag a library to another drive, it will be copied. Before you trash the duplicate libraries on the boot drive, open the new libraries to make sure they work properly.
Good luck.
Russ -
HT3918 Does Snow Leopard use all the ram installed, I know that Leopard didn't.
Does Snow Leopard use all the ram installed, 10 gigs in my case. Leopard didn't.
You should be OK with that much, however, besides the basic needs of the OS, it will depend on how many and which applications are open and how memory intensive they are. Someone might easily get away with 4GB and someone else might have trouble with 16GB.
-
Export out of Motion uses all my Ram?
Why when I export out of Motion it uses all my Ram? Whether I have 6GB or 10GB of Ram it uses it all.
Then it starts all the page outs. Right now I am at 12GB of page outs.
From what I understood you should not have a lot of page outs thats why I purchased more Ram.Well, as a bit rate, HDV has the same throughput as regular DV. The throughput for ProRes is higher so if you have a lot of multiclip angles, you'll need RAID speeds to run it.
However, HDV is a Long GOP format and as such is not really meant for editing, it's designed for file compression. Pro-Res is an intraframe codec. You can wiki the difference if you want to get into specifics, but the gist of it is that HDV requires a lot of processor power to uncompress the GOP structure, allow for editing and then rebuild the GOP structure on export. This is what makes HDV undesirable for editing. It also eats up a lot of what Motion uses to perform math for motion gfx.
If you're working with multiclips, and you have FCS 3, then you have access to the ProRes LT and Proxy codecs, both of which are high-quality/low bitrate codecs. I would convert the HDV to proxy or LT (whichever your system can handle), edit, and then batch re-digitize to the source tapes. However, I would want the high-rez source to be ProRes regular, not HDV. -
Anyway to fully use all the ram in bootcamp?
is there anyway to fully use all the ram in bootcamp? where now only up to 2.17 usable from my 4gb ram in macbook pro or this is normal?
I'm using window 7 with 32bit.Use the 64-bit Windows 7 to get the full amount of RAM.
It's a limitation of 32-bit Windows in conjunction with a limitation of Apples Boot Camp.
Stefan -
Photoshop CS6 not using all available computer memory [was:Hello all]
I have the creative cloud trial version, and when I use photoshop cs6 it will not allow me to use all of the memory. I would love any help that can be offered.
Sound like you starting the 32 bit version of Photoshop on a Windows system. If you have a 64 bit Windows system both the 32bit version and the 64bit version of CS6 is installed. Look in you start button you should sett two CS6 start icons one for each version. Only the 64 Bit version can use more than 4GB of Ram.
-
I need to clear some of my mail and pictures because they're using all of my memory, but how?
Just open the "Photos" app, open the "Camera Roll" folder and start deleting the pictures you do not want to keep. For mails just open the Mail app and do the same, click edit, choose your emails you do not want to keep and delete them.
-
How to use sql request with Jdev and database connection
Hello,
I have a login page with simple username and password inputsecret text and a button validate! I would like, when the user click on the validate button, to check in the database that the user and password matches. I've done the "Method BIndind..." with the commandButton_action and the database connection works fine.
How can I use an already existing procedure, say authenticate, wich is stored in the database to authenticate my user ?
Do I have to create a jdbc connection in java even if I've done the connection with the "create new database connection" wizard ?
String s1 = "jdbc:oracle:thin:@address:1521:ORCL";
System.out.println( "Connecting with: " );
System.out.println( s1 );
DriverManager.registerDriver(new oracle.jdbc.OracleDriver());
this.conn = DriverManager.getConnection( s1,"user","pass");
thanks for your helpCreating a connection to the DB in JDeveloper doesn't mean that your application is now connected to the DB - so yes you do need to create a connection to the database using JDBC.
One note - if you are trying to do a database user authentication the following is probably the better way to go about it:
http://www.oracle.com/technology/products/jdev/howtos/1013/oc4jjaas/oc4j_jaas_login_module.htm -
Issue after patching after SQL instance with SP3
Hi All,
I have recently patched one of 2008 SQL instance in my environment with SP3 and after applying the patch I can see that the version got changed to 10.0.5500, but when checked summary logs I'm seeing below message. Could some one please let me know what are
the steps to be followed to get this issues fixed.
I have checked few things from my end and was able to see that uninstalling the sp3 which is applied should fix this and roll it back to its previous version which was sp2, but what I'm concerned is the missing .msi file. How can i fix this missing
msi file thing?
Error Message logged in summary.txt file
Overall summary:
Final result: The patch installer has failed to update the shared features. To determine the reason for failure, review the log files.
Exit code (Decimal): -2068709373
Exit facility code: 1202
Exit error code: 3
Exit message: The cached patch file "C:\Windows\Installer\6c1c7e81.msp" is missing. The original file for this cached file
is
"sql_engine_core_inst.msp", which can be installed from "Service Pack 3 for SQL Server 2008 (KB2546951) (64-bit)", version 10.3.5500.0. For more information about how
to resolve this problem, see “Steps to resolve missing media issue with SQL Server 2008” (http://go.microsoft.com/fwlink/?LinkId=144387) in the Microsoft Knowledge
Base.
Start time: 2015-03-21 12:31:47
End time: 2015-03-21 12:32:39
Requested action: Patch
Thanks in Advance, KranthiHi All,
Got the fix for this issue from the below video which is very much in detail.
http://blogs.msdn.com/b/sqlserverfaq/archive/2012/05/08/missing-msi-s-msp-s-error-during-sql-server-patching.aspx -
Can DPM share a remote SQL Instance with other System Centre Products?
Firstly, apologies if this has been answered elsewhere but I can't seem to find a definitive line on it.
I am about to install and start implementing DPM 2012 R2 and have restricted access to SQL instances and the creation of. Can DPM share a SQL instance? Mainly can it share an instance shared with other System Centre products?
Does it really need a dedicated DB engine and Reporting services instance?Hi,
No, Each DPM server requires it's own dedicated instance name. You can have a single remote SQL server, but with seperate instances for each DPM server, or other System Center products.
Make sure that names of your instances does not contains an underscore in the instance name.
http://technet.microsoft.com/en-us/library/dn554221.aspx
Hope this helps.
Note: This posting is provided 'AS IS' with no warranties or guarantees, and confers no rights. Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable. This helps the community, keeps the forums tidy, and
recognises useful contributions.
Maybe you are looking for
-
How to use BAPI_ACC_DOCUMENT_POST for CO-PA Account Assignment
hi all, when i used bapi to posting docment,but for document_type ='DR'(customer invoice), it is related with Profit. Segment. it returned following message in return table: E RW 609 Error in document: ZBKPF ZY2005 DEVCLNT230 E F5
-
Has anyone found an easy way to insert another page to your document other then pressing the return button until you get to the bottom of the page your on? An option to do this would be most helpful Thanks!
-
Bulk import error - Missing required attribute fullname
Folks, I am having trouble trying to bulk import some users. I have the following file for import (cut down from what I really want to import): command,user,waveset.resources,password.password,password.confirmpassword,global.firstname,global.lastname
-
Is it possible to use %TYPE while defining table column datatype? Does Oracle support userdefined datatypes which can be used in Table-Column definition as well as stored procedure variables?
-
Double separator page when printing with W8 x64?
Hi all, I am having an issue, when I print from a Windows 8 x64 machine I get 2 separator pages instead of 1. I'm assuming one is the server pcl and one is the local pcl. If I take away the pcl file on either machine I get no separator page. I've sea