Announcement
ABCFeatured Content
Recent Activity
Systems Diagnostics - Database Sizes math?
Does anyone know how Used (GB) and Unused is derived? Maybe I'm wrong, going to assume it's looking at total_size, total_used, reserved_pages, ect.. Trying to figure out the math, and questioning if it's correct. This is what I have so far, any feedback is appreciated! Dim sql As String = "SELECT " & " DB_NAME() AS DatabaseName, " & " CAST(f.total_size * 8.0 / 1048576 AS DECIMAL(10,2)) AS TotalSizeGB, " & " CAST(f.total_used * 8.0 / 1048576 AS DECIMAL(10,2)) AS UsedByFilesGB, " & " CAST((f.total_size - f.total_used) " & " * 8.0 / 1048576 AS DECIMAL(10,2)) AS UnallocatedGB, " & " CAST(s.reserved_pages * 8.0 / 1048576 AS DECIMAL(10,2)) AS ReservedGB, " & " CAST(s.data_pages * 8.0 / 1048576 AS DECIMAL(10,2)) AS DataGB, " & " CAST(s.index_pages * 8.0 / 1048576 AS DECIMAL(10,2)) AS IndexSizeGB, " & " CAST((s.reserved_pages - s.data_pages - s.index_pages) " & " * 8.0 / 1048576 AS DECIMAL(10,2)) AS UnusedGB " & "FROM ( " & " SELECT " & " SUM(size) AS total_size, " & " SUM(FILEPROPERTY(name, 'SpaceUsed')) AS total_used " & " FROM sys.database_files " & ") f " & "CROSS JOIN ( " & " SELECT " & " SUM(a.total_pages) AS reserved_pages, " & " SUM(CASE WHEN p.index_id IN (0,1) " & " THEN a.used_pages " & " ELSE 0 END) AS data_pages, " & " SUM(CASE WHEN p.index_id > 1 " & " THEN a.used_pages " & " ELSE 0 END) AS index_pages " & " FROM sys.partitions p " & " JOIN sys.allocation_units a " & " ON p.partition_id = a.container_id " & ") s" Here's the output --- Level 1 (Total) --- TotalSize: 1394.27 GB UsedByFiles: 228.51 GB Unallocated: 1165.75 GB (83.6% of Total) LogFile: 1.67 GB (0.1% of Total) --- Level 2 (Reserved) --- Reserved: 226.85 GB (16.3% of Total) UsedGB (Data+Index): 221.60 GB (15.9% of Total) Unused: 5.25 GB (0.4% of Total) --- Level 3 (Used) --- Data: 129.73 GB (9.3% of Total) IndexSize: 91.87 GB (6.6% of Total) --- Math Checks --- Total=Reserved+Unalloc+Log: 1394.27 = 1394.27 → True Reserved=Used+Unused: 226.85 = 226.85 → True Used=Data+Index: 221.60 = 221.60 → Truejayaleck12 minutes agoNew Contributor III9Views0likes1CommentParameters not working in cube views
Hi all, I'm having a strange problem with cubeviews. I created some parameters to apply a standard formatting to my cube views: when I use them into the cubeview and I launch it, though, they appear in the initial popup without any value, as if they were user input params: am I missing something? is there anything I need to configure to make them work automatically? Any help is appreciated!fc40 minutes agoContributor19Views0likes2CommentsData retention and deletion
As shocking as it may seem, someone has decided that we actually should delete data from OneStream. In this case, we've been instructed to retain a maximum of five years of data. Everything older than that must be expunged. Manual, painful, detailed steps aside: is there a good way to clear all old data that I just have never learned about because I have never actually worked with an org who was willing to let go of even one byte of information? I can manually delete the cube data with enough work (clear rules, consols, the odd custom rule or update to a member formula.) I can delete stage source data with even less work, though its still a bit tedious to click through a bunch of workflows. I haven't yet looked into how to delete stage target data; I'm hoping to find an easy solution but I'm also hoping someone will just tell me so I don't have to learn the hard way. What other data have I not even thought of yet? How do I get rid of it? Going forward, after we finish our year-end close, I suspect the next step for we admins will be to clear the oldest year. Ultimately, I'll have to write this into a guide that those who come after can follow but there's still lot I don't know that I don't know.Solved37Views0likes4CommentsPassing Entity in a Cube View Row to an XFBR in a Cube View Column
Hi all, I have an XFBR that I would like to take the entity member in any given row in a cube view. I've tried |MFEntity| but that doesn't work. |CVEntity| and |POVEntity| don't work either since they can only pass a single entity for a given cube view. Is there a way to get what I need outside of manually doing a column override for every single row in my cube view and hard coding the entity that I need to pass to the XFBR?gandi231 hour agoNew Contributor6Views0likes0CommentsReportBackgroundColor not filling the entire cell when viewing the report as a PDF
Hi, I am encountering an issue with the header format of the 'Total' row below where the ReportBackgroundColor is not filling the entire cell when viewing the report as a PDF. There is no issue when viewing view the cube view or Excel. Below is the header formatting we're suing: ELSE IF (RowName Contains ':Total:') THEN ExcelBottomBorderColor = Black, ExcelTopBorderColor = Black, ExcelTopBorderLineStyle = Thin, Italic = True, ReportBackgroundColor = Gray, ReportUseBottomLine1 = True, ReportUseTopLine1 = True I'm using the same formatting for Header and Cell Format but as you can see from the screenshot below, there is a blank space below Total. Has anyone encountered this?wolfee1 hour agoNew Contributor4Views0likes0CommentsCPM Express GAAP PV920-SV100 is now available on Solution Exchange!
1 MIN READ The Express Development team is excited to share that CPMx GAAP (PV920 SV100) was released on March 25th! Whats new in GAAP? This latest release focuses on introducing new planning calculation settings, enhanced What-If Analysis, alias functionality, and Workforce Planning Express integration, along with various backend updates. Want to learn more? Read: Review of the release notes and product documentation on the Solution Exchange. Want to get involved? If you are a customer and are interested in how CPM Express is used, please contact your implementation partner or Customer Success Manager. If you are a partner and would like to learn more about CPM Express, please contact your Partner Alliances Manager. Looking for Training? Instructor-led training is now available and coming late this spring. Check out the details in Navigator. Have feedback? If you have feedback or receive it from customers or prospects, please share it with the team via this link so we can continue improving the solution.agoralewski2 hours agoCommunity Manager16Views1like0CommentsGet member description in user's culture code
Does anyone know how to get the member description in the user's culture code?SolvedMarcusH5 hours agoValued Contributor7.3KViews0likes19Comments- T_Kress5 hours agoOneStream Employee21Views0likes0Comments
Lookup Drivers in LIM is not working
Hi All, I'm working with Line Item Modelling to implement workforce solution and trying Lookup drivers for one of the calculations. Lookup drivers doesn't seem to work at all. Has anyone tried and whether its working? The lookup driver that i defined doesn't fetch & return anything while using in calculation (formula) though it returns data while i preview it under Lookup drivers. Any help on this would be much appreciated. Thanks in advance. Cheers - Ramesh.rameshkumarsiva15 hours agoNew Contributor6Views0likes0Comments
Getting Started
Learn more about the OneStream Community with the links below.