How to calculate the HFM Cube size in SQL Server-2005
Hi
How to calculate the HFM Cube size in SQL Server-2005 ?
Below query used for Oracle. Then what is query for SQL Server?
SQL> select sum(bytes/1024/1024) from dba_segments where segment_name like 'FINANCIAL_%' and owner='HFM';
SUM(BYTES/1024/1024)
SQL> select sum(bytes/1024/1024) from dba_segments where segment_name like 'HSV FINANCIAL%' and owner='HFM';
SUM(BYTES/1024/1024)
Regards
Smilee
What is your objective? The subcube in HFM is a concept which applies to the application tier - not so much to the database tier. The size of the subcube is the unique number of data strips (data values for January - December inclusive, for example) for the given entity, currency triplet or Parent.Child node. You have to account for parent accounts and customs which don't exist in the database but are generated in RAM in the application tier.
So, if your objective is to find the largest subcubes, you could do this by querying the database and counting the number of records per entity/value (DCE tables) or parent.child entity combination (DCN tables). I'm not versed in SQL, but I think the script below would just tell you the schema size and not the subcube sizes.
Check out Accelatis.com for a third party software product that can do this for you. The feature is called the Subcube Analyzer and was written by the same team that wrote HFM, so they ought to know how this works :-)
--chris
Similar Messages
-
How can I connect NetBeans 6.1 with SQL Server 2005?
Hello guys...
how can i connect NetBeans 6.1 with SQL Server 2005?
there is no SQL Server in Server list when we create a new Web Project and choose Server.
I'm new to NetBeans and this is my first time of posting.
If has some errors and unwanted disturbing,pls understand me. Thanks.
(If you have references or some snippets, i'll be glad if u can share.)
scsfdevThe JDBC-ODBC bridge wasn't recognizing any of the primary keys I had set up in SQL Server. After lots of head banging, here's the solution I came up with:
1. Download the appropriate driver. SQL Server 2000 requires the SQL Server 2000 JDBC driver (http://www.microsoft.com/downloads/details.aspx?FamilyId=07287B11-0502-461A-B138-2AA54BFDC03A&displaylang=en).
SQL Server 2005 download: (http://www.microsoft.com/downloads/details.aspx?familyid=C47053EB-3B64-4794-950D-81E1EC91C1BA&displaylang=en)
3. After installing, right-click on "Libraries" in your project, and choose "Add Library...". Next, give it a name (i.e. SQLServer2000), and select "Class Libraries".
4. On the next screen, find the JAR files (should be in C:\Program Files\Microsoft SQL Server 2000 Driver for JDBC\lib\), and add them under the "Classpath" tab. It will now be available under "Libraries" for future projects.
5. You can now create a connection to a specific database under the "Services" tab (next to "Projects" and "Files" in the top left of the screen). Select "Microsoft Sql Server 2000 (Microsoft Driver)" and format the "Database URL" like this:
jdbc:microsoft:sqlserver//YOURSERVER:1433;DatabaseName=YOURDATABASE
1433 is the default port, though your DBA may have changed it.
I posted a simpler version of this on the NetBeans.org FAQ page - they had the following title with no content on the answer page:
"Cannot Select Tables From MsSql 2000 Because It Says No Primary Key Next To Each Table But The Tables DO Have A Primary Key. What Do I Do?" -
Error"Failed to open the connection" - Named Instance of SQL Server 2005
"Failed to open the connection" error, when connecting to the Named Instance of SQL Server 2005
The report is throwing error, when changing the logon information dynamically through C#.
Code
string reportPath = @"D:\NET\TestReport\TestReport.rpt";
ReportDocument reportDocument = new ReportDocument();
reportDocument.Load(reportPath);
foreach(CrystalDecisions.CrystalReports.Engine.Table table in tables)
TableLogOnInfo tableLogonInfo = table.LogOnInfo;
tableLogonInfo.ConnectionInfo.ServerName = @"TestServer\Instance1"; //Connnecting to Named instance of SQL Server 2005
tableLogonInfo.ConnectionInfo.UserID = "sa";
tableLogonInfo.ConnectionInfo.Password = "password";
tableLogonInfo.ConnectionInfo.DatabaseName = "TEST_DB";
table.ApplyLogOnInfo(tableLogonInfo);
crystalReportViewer1.ReportSource = reportDocument;
Error Message
Failed to open the connection.
Failed to open the connection.
C:\DOCUME1\PUGALE1\LOCALS~1\Temp\{DF9593A5-5C80-4CBC-ABC3-EC4EF204A7EB}.rpt
The error is occuring only whenever i am connecting to the Named Instance of SQL Server 2005.
Thanks in Advance
Edited by: pugalendran p on Feb 2, 2009 10:32 AM
Edited by: pugalendran p on Feb 2, 2009 10:43 AMHi,
Following solution might help you to resolve the issue.
Solution1:
Issue happens because universe connection to the Database is not responding and the Data Source Name is not configured to write SQL Server 2005 database.
Resolution
Created new DSN connection under SYSTEM DSN to SQL Server 2005 Database.
Import the universe from the designer.
Go to File->Parameters.
Edit Connection.
On the Database Middleware Page expand SQl Server 2005->Select SQL Server 2005 driver.
Change the DSN to new DSN connection
Test the connection.
Save the Universe and Export it to the repository.
Solution2:
I am taking Oracle as an example over here.
This can be caused when the SQLNET.ora is located in a remote location using mapped drives.
Resolution
To resolve,
check the registry [HKLM\SOFTWARE\ORACLE] you should see a folder called HOME0
look for any paths that contain a mapped drive partition
Change the mapped drive letter to a UNC path (
server\folder)
Open a command prompt and do a tnsping using the tnsname and verify the location of the SQLNET.ora or TNSNAMES.ora
If the path is not updated to the new path
Reboot the server
Regards,
Sarbhjeet Kaur -
Does anyone know if there is a decent algorithm/method to calculate the shared pool size in Oracle 8.1.7.
look my answer on your thread about db cache size
How to Calculate the DB Block Buffer value. -
How retrieving the product key for a SQL Server 2005 installation
Hi,
is it possible to retrieve the product key associated to a SQL Server 2005 installation?
If yes, how?
Many thanksHello,
The following tool may provide you the product key for SQL Server 2005 and SQL Server 2008 instances.
http://www.nirsoft.net/utils/product_cd_key_viewer.html
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.com -
Size of SQL Server 2005 Database for SAP B1 2005 B is heavy
Hi all,
In my company we are working with SAP B1 2005 B SP 25.
Our Database is in SQL Server 2005. Its Size reaches 6 GB in less then two years periods.
Can Any body guide me to reduce the size or how to maintain database. Can we split Database in SAP B1 ?
Due to the size users getting less speed
Awaiting your valuable guidance for the same.
Best Regards,
Chintesh SoniHi Chintesh,
I would advise caution doing any of the things suggested in SAP Note 548772. In particular, I strongly recommend you do NOT set auto-shrink on. This is a really bad idea on a production database and I can't understand why SAP would suggest it.
Is it the data file that is 6GB or the overall size of the database (ie data and log files)? If your log file is large then this can slow performance. I recommend setting up transaction log backups on an hourly basis. This is good practice and not only keeps the log file healthy but also gives you the option to recover your data to the last transaction log backup in the case of an emergency. If you don't want transaction log backups then do as the SAP note mentions and set the recovery model to simple and do a once-off truncation of the log file.
Are you doing regular maintenance on the database (ie rebuilding indexes, updating statistics)? Are you monitoring fragmentation on the data drive and doing a defrag occasionally to keep the drive healthy?
Kind Regards,
Owen -
How to install a DB Instance in a SQL Server 2005 cluster
Hi all,
I have an installation scenaro is install SCS/CI in machine A, and DB instance on a already exist cluster. This is based on Windows 2003 SR2 and SQL Server 2005 cluster. But now after i finish SCS, i don't know how to install the DB instance. Do i just need sign in the active node of the DB cluster and start the sapinst.exe. I am worry about any of my mis-action will broke the cluster.. Appreciate any tips or idea about it, thanks.
Peterdirectly start sapinst.exe on the cluster node.
-
How do I configure Tuxedo 8.1 with SQL Server 2005 database?
Hi,
Currently using Tuxedo 8.1 (64bit) on SUN Solaris 8.
1. I want to know whether I can configure a SQL Server 2005 database in my current Tuxedo domain?
2. Are there any BEA useful links for examples?
3. Known problems?
Any other useful information
Regards SamHi
Thanks for your reply.
I build the TLOG using following:
tmadmin ?c
crdl -b 500 -z c:\tuxedo\envs\sqlpoc\tlogs\TLOG
tmadmin
crlog -m simple
Built the TMS using the following:
buildtms -v -r SQL_SERVER -o TMS_SQLSERVER
When trying to boot the TMS_SQLSERVER, get the following error (TRACE is switched on):
113626.W039133!TMS_SQLSERVER.exe.3180.3184.0: 08-08-2007: Tuxedo Version 8.1, 32-bit
113626.W039133!TMS_SQLSERVER.exe.3180.3184.0: LIBTUX_CAT:262: INFO: Standard main starting
113626.W039133!TMS_SQLSERVER.exe.3180.3184.0: TRACE:ia: { tpsvrinit(14, "C:\TUXEDO\envs\sqlpoc\bin\TMS_SQLSERVER.exe -C dom=simpapp -g 500 -i 30001 -u W039133 -U C:\TUXEDO\envs\sqlpoc\logs\ULOG -m 0 -A")
113626.W039133!TMS_SQLSERVER.exe.3180.3184.0: TRACE:ia: { tpopen()
113626.W039133!TMS_SQLSERVER.exe.3180.3184.0: TRACE:xa: { xa_open(0x90026c, 0, 0x0)
113632.W039133!TMS_SQLSERVER.exe.3180.3184.0: TRACE:xa: } xa_open = -3
113632.W039133!TMS_SQLSERVER.exe.3180.3184.0: LIBTUX_CAT:466: ERROR: tpopen TPERMERR xa_open returned XAER_RMERR
113632.W039133!TMS_SQLSERVER.exe.3180.3184.0: TRACE:ia: } tpopen = -1 [tperrno TPERMERR]
113632.W039133!TMS_SQLSERVER.exe.3180.3184.0: TRACE:ia: } tpsvrinit = -1 [tperrno TPERMERR]
113632.W039133!TMS_SQLSERVER.exe.3180.3184.0: LIBTUX_CAT:250: ERROR: tpsvrinit() failed
113632.W039133!TMS_SQLSERVER.exe.3180.3184.0: LIBTUX_CAT:300: ERROR: tlogopen: gptblopen: UNIX sys call error - 2
113632.W039133!tmboot.3132.2844.-2: 08-08-2007: Tuxedo Version 8.1, 32-bit
113632.W039133!tmboot.3132.2844.-2: CMDTUX_CAT:825: ERROR: Process C:\TUXEDO\envs\sqlpoc\bin\TMS_SQLSERVER.exe at simple failed with /T tperrno (TPERMERR - resource manager error)
113632.W039133!TMS_SQLSERVER.exe.3284.3528.0: 08-08-2007: Tuxedo Version 8.1, 32-bit
113632.W039133!TMS_SQLSERVER.exe.3284.3528.0: LIBTUX_CAT:262: INFO: Standard main starting
113632.W039133!TMS_SQLSERVER.exe.3284.3528.0: TRACE:ia: { tpsvrinit(14, "C:\TUXEDO\envs\sqlpoc\bin\TMS_SQLSERVER.exe -C dom=simpapp -g 500 -i 30002 -u W039133 -U C:\TUXEDO\envs\sqlpoc\logs\ULOG -m 0 -A")
Can anyone help?
Thanks -
How to Calculate the Database block size??
Can someone please tell me how during the Oracle Installation does one calculate the db_dblock_size. Thank u
One way to find is to right click the drive in Windows Explorer and click Format (Not actually formatting it).
In the popup window, you would see the "Allocation unit size" for the selected drive. Click "Close" to exit when done. -
How I calculate the flv file size whe I recording from camera and microphone?
Hi all:
I'm recording video from my webcam and my microphone.
I would like to know how I can to determinate via some formula, approximately, the result file size due to camera and microphone configuration.
I show you my actual configuration:
// setup cam
cam = Camera.get();
// setting dimensions and framerate
cam.setMode(320, 240, 30);
// set to minimum of 70% quality
cam.setQuality(0,70);
// setup mic
mic = Microphone.get();
mic.setRate(22);
Only ohert question:
What enconders are using to encoder video and audio by default?
Regards, Roberto.I'd say 9.4 mb is correct. Email attachments always put on a lot of weight, so 12 mb as an attachment is probably right too.
Why don't you use a free service like Filemail? It's very easy to use, and you dont't have to sign up to use it. -
How extract data from bw cube to MS SQL server.
Hi all,
This is Sateesh.In my requirement, i need to extract date from BW Cube and to be moved to MS SQL server.can any one give the slution .Pls give me the process how to move from bw to sql server.HI Kumar,
Try with Open Hub.........
Check these.....
http://help.sap.com/saphelp_nw04/helpdata/en/66/76473c3502e640e10000000a114084/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/c5/03853c01c89d7ce10000000a11405a/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/59/90070982d5524b931ae16d613ac04a/frameset.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/ce/c2463c6796e61ce10000000a114084/frameset.htm
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/43f92595-0501-0010-5eb5-bb772d41ffa4
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e830a690-0201-0010-ac86-9689620a8bc9
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5f12a03d-0401-0010-d9a7-a55552cbe9da
http://help.sap.com/saphelp_nw04/helpdata/en/66/76473c3502e640e10000000a114084/frameset.htm
/people/happy.tony/blog/2006/09/18/hyperion-essbase-data-extraction-transformation-and-loading
/people/marc.bernard/blog/2005/07/11/reorganization-of-sap-business-intelligence-forums
Using OpenHub Unix to export to SQL Server
Infospoke
HOW TO RETRACT DATA FROM BPS 7.1 TO SRM 5.0
Regards,
Vijay. -
How to present SAP R/3 data in SQL Server 2005 Reporting service?
Our company is using SharePoint Portal Server 2003 as our intranet. We are also using SAP R/3 4.6C to run their business. There are huge amount of important data in SAP database. There ere are business needs to present SAP data on SharePoint pages which are easier and more friendly to be accessed by users.
The top concern for IT people to meet this challenge is DO NOT CHANGE/UPGRADE THE EXISTING SAP SYSTEM which is so far run smoothly and stably. We cannot accept any risk to make big changes on SAP. and now we want to adopt the Microsoft SQLServer 2005 BI Solution. the most challenge is the ETL part.how to extract the data from SAP R/3 Data base to the SQL Server Data warehouse?
any suggestion or comments is welcome!Hi
1.if you use web templates you can post the URL in share
point very easily.
any web developer will do that for you in 2 min.
2.this is a more chalanging issue.
the main issue is exacly as you defined it - the ETL.
the main advantage of BW over most BI tools is its
connectivity to SAP R3 and CRM.
But still there are many way's to extract data out
of any SAP sys and in R3 the data model makes it quite
easy.
In CRM its much more complicated because of the much
more complex Data Model.
Here are a few way's to extract data from SAP:
- olap bapi
http://help.sap.com/saphelp_bw33/helpdata/en/64/9b8f3c855f0454e10000000a11405a/frameset.htm
- odbo - vb/.net/c sharp
'connecting to sap bw using vb and ado md'
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ee19e9c7-0301-0010-8f84-97e3f6d7b5a6
'connecting to sap bw with excel and odbo'
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a06a51f3-0201-0010-8591-b742cfafd267
'odbo'
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/7f88b390-0201-0010-ae94-fdfd42b13407
'sap .net connector' (seems old version)
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/fb4dc990-0201-0010-429a-bf43852a6895
.net connector
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5a04426d-0601-0010-5e99-aeea1cd4aa81
'Access SAP BW ODS BAPI Using C-Sharp and SAP .NET Connector 2.0' doc can be download here
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/12f6d390-0201-0010-e18d-cdb4554a9e75
Reg's
Edan -
Issue : Types don't match between the anchor and the recursive part in column Sql server 2005
My table structure as follow
ID JID EntryDate RefundDate Comments Refund ActionBy
3 41986 2013-12-17 12/24/2013 Cancel 0 Matt
4 41986 2013-12-17 12/25/2013 done 1 Kelly
5 41986 2013-12-17 12/24/2013 no 0 Smith
i want this type of output after issuing sql
JID EntryDate RefundDate Comments Refund ActionBy
41986
2013-12-17 12/24/2013 Cancel 0 Matt
2013-12-17 12/25/2013 done 1 Kelly
2013-12-17 12/24/2013 no 0 Smith
just to get the above output i issued this sql as follows
;WITH Hierarchy AS
-- Anchor
SELECT TOP 1 JID
,NULL EntryDate
,NULL RefundDate
,NULL Comments
,NULL Refund
,NULL ActionBy
,nLevel = 1
FROM refundrequested
UNION ALL
-- Recursive query
SELECT E.JID
,E.EntryDate
,E.RefundDate
,E.Comments
,E.Refund
,E.ActionBy
,H.nLevel+1
FROM refundrequested E
JOIN Hierarchy H ON E.JID = H.JID
SELECT *
FROM Hierarchy
ORDER BY JID, nLeveli did this way and the error vanished
;WITH Hierarchy AS
SELECT TOP 1 JID
,CAST(NULL AS DATETIME) EntryDate
,CAST(NULL AS DATETIME) RefundDate
,CAST(NULL AS VARCHAR(MAX)) Comments
,CAST(NULL AS BIT) Refund
,CAST(NULL AS VARCHAR(30)) ActionBy
,nLevel = 1
FROM refundrequested
UNION ALL
SELECT E.JID
,E.EntryDate
,E.RefundDate
,E.Comments
,E.Refund
,E.ActionBy
,H.nLevel+1
FROM refundrequested E
JOIN Hierarchy H ON E.JID = H.JID
SELECT *
FROM Hierarchy
ORDER BY JID, nLevel
but a new error is showing and that is The statement terminated. The maximum recursion 100 has been exhausted before statement completion. how to fix this problem? please guide me. thanks -
My question is what the steps do I need to take to upgrade SSRS from 2005 SP2 to SP4. The web server that host the SSRS is in 2005 SP2, and the OS is in window 2003.
Our SSRS report server and report server database are in different servers. The SSRS in the web server is in 2005 SP2 enterprise edition, the report server database is in sql server 2005 SP4 enterprise edition.
To upgrade the SSRS in web server from 2005 sp2 to sp4, do I need to backup/restore the encryption key? Nothing will be changed in the report server database. We will still pointing to the same database in the current server, all
I wanted to do is performing a inplace upgrade of SSRS from 2005 SP2 to SP4.
Any response will be greate appreciated. Thank you!
Li-hui ChenHi Lihui Chen,
According to your description, you want to install the Services Pack 4 for SQL Server. Right?
In SQL Server, Services Packs are used for fixing issues of current version product. It's not an Upgrade, you don't have to backup/restore your encryption key. You just need to download the Service Pack 4 on:
Microsoft SQL Server 2005 Service Pack 4 RTM . Please make sure you have administrative rights on the computer to install SQL Server 2005 SP4. For more information, see links below:
How to obtain the latest service pack for SQL Server 2005
List of the issues that are fixed in SQL Server 2005 Service Pack 4
SQL Server 2005 SP4, KBA 2463332, Installation Issues
If you have any question, please feel free to ask.
Best Regards,
Simon Hou -
How to deploy MS Sql Server 2005 and 2008 jdbc driver
Hi SAP Guru's
Can somebody tell me how to deploy the jdbc driver of MS SQL Server 2005 and 2008 on SDM.
According to the SAP instruction we should have 3 files(mssqlserver.jar,msbase.jar,msutil.jar) but in 2005 driver file we only have 1 file i.e sqljdbc.jar so how do i deploy it .
Secondly i cannot deploy it on visual administrator as well and when i am doing the File to jdbc scenarion i am getting this error
" Accessing database connection "jdbc.sqlserver://localhost:1433;DatabaseName=Employee failed DriverManagerException. Cannot establish connection to URL jdbc.sqlserver://localhost:1433;DatabaseName=Employee SAPClassNotFoundException com.microsoft.sqlserver.jdbc.SQLServerDriver".
can somebody please upload the screen shots on mediafire or any other site so that i will solve my problem.Hello,
*OS: First of all: *
3 files (msbase.jar,mssqlserver.jar and msutility.jar )should be zipped to aii_af_jmsproviderlib.zip file only for UNIX OS.
For Windows OS only sqljdbc.jar file which in every version of JDBC driver should be zipped to aii_af_jmsproviderlib.zip.
You can deploy JDBC driver through SDM tool which mention in guide below:
New version of JDBC driver installation guiade:
External Driver Configuration for Process Integration 7.0
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60237e74-ef19-2b10-5a9b-b35cc6a28e83
Drivertool from this guide you can find at https://www.sdn.sap.com/irj/sdn/howtoguides
Then Exchange Infrastructure How-to Guides for SAP NetWeaver 2004 HYPERLINK "https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f04ce027-934d-2a10-5a8f-fa0b1ed4d88f"
How to Install and Configure External Drivers for JDBC & JMS
AdaptersHYPERLINK "https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e00262f5-934d-2a10-b99c-9bc63c2a7768"
Download attached system files (ZIP 16KB)
Any questions - let me know
BR,
Dzmitry
Maybe you are looking for
-
My movies are not showing up in iMovie application?
Hi, I just uploaded 5 movies from my camera to my iMac using iPhoto. I can see them all in there. Here is a photo. When I drag the movies out you can see in this picture above the iPhoto app (top left). If you notice an older one has the Quicktime sy
-
Hi Experts, Can anyone please post Infopackage routine that populates with below spec. Spec1 Routine to populate date field Lower Range should be 1st day of teh Fiscal Year period and Upper Range should be the cuurent date minus 1. If current date is
-
I have a problen with the buttons. I have made a button as a basis for all the other buttons (10) all these buttons must have a link to a object on the stage. I have 10 copies of the same basis button. When I import the object to button 1, all 10 hav
-
Hi Folks, Just to reassure myself that I didn't screw something up. Could I ask someone more knowledgable than I to let me know if what I did is okay or not? I just upgraded from a MacBook Air to a MacBook Pro Retnia. The way I did that was to boot u
-
I was about to purchase an new HD for my 2011 27" iMac to replace the existing one since I started to notice errors and performance issues. Mainly PM kernel: disk0s2: I/O error. I came upon sites indicating fan issues with generic (non Apple) SSD's o