Semantic model size

Hello.
I'm working with oracle 11g and Jena Adaptor for Oracle Database 11g Release 2.
I'm trying a simple test that add triples:
public void testAddTriples() throws Exception {
     Oracle oracle = new Oracle(jdbcUrl, null, null);
     GraphOracleSem graph = new GraphOracleSem(oracle, MODEL_NAME);
     for (int i=0;i<1000;i++) {
          Node sub = Node.createURI("http://test/s_" + i);
          Node pre = Node.createURI("http://test/p_" + i);
          Node obj = Node.createURI("http://test/o_" + i);
          Triple triple1 = Triple.create(sub, pre, obj);
          graph.add(triple1);
     graph.close();
     oracle.dispose();
After running the previous test for several times, I have realized that depending on the method used to remove the triples the space of the tablespace is released or not.
For instance, if I use the method "model.removeAll()" and then check the free space of the tablespace, I can see that the free space is greater than before, but, in the other hand, If I use the method "model.remove(model.listStatements())" the free space doesn't change... so when I run again the test "testAddTriples()" the disk space keep on growing.
Any idea?
Thanks in advance.
Edited by: user9344030 on 15-mar-2010 10:19

Hi,
If you mean that your tablespace has grown from adding new triples and you want to reduce the size of the datafiles after removing those triples, then you could shrink the tablespace as discussed here:
http://jonathanlewis.wordpress.com/2010/02/06/shrink-tablespace/
About the second question, the number of rows in the application table grows because duplicates are allowed in the application table. Note that you will not get any duplicates back when you query them using SEM_MATCH of Jena Adapter - this is because of the RDF semantics - however, they are stored in the application table nevertheless. If you want to avoid storing duplicates, you could create a unique index on the application table.
Cheers,
Vladimir

Similar Messages

  • Multiple diagram editor using the same semantic model and the same representation

    Hi Obeo,
    At the moment, If I want to open many editors to view representation of a semantic model, I can create many representations and open them in editors. The problem is that if a new representation is create, the file .aird size is increased.
    Is there any way to open many editors for 1 representation instance? (the style of node/edge between editors may be different, and the editor titles are also different)
    Thanks
    Sann Tran

    Le 04/08/2015 05:55, Sann Tran a écrit :
    > Hi Obeo,
    Hi.
    > At the moment, If I want to open many editors to view representation of
    > a semantic model, I can create many representations and open them in
    > editors. The problem is that if a new representation is create, the file
    > .aird size is increased.
    > Is there any way to open many editors for 1 representation instance?
    > (the style of node/edge between editors may be different, and the editor
    > titles are also different)
    No, that's not possible. If the the style of node/edge are different,
    then they are different diagram instances (which may reference the same
    domain model, but are otherwise independent), with the storage overhead
    this implies (both in disk and memory).
    Note that you can extract some specific diagrams (or representations in
    general) into separate (referenced) aird, see
    https://www.eclipse.org/sirius/doc/user/general/Modeling%20Project.html#ReprManagement.
    This would keep the size of the main aird file constant (or almost, it
    would gain a link to the referenced aird).
    May I ask why the aird size increase is an issue in your case?
    Pierre-Charles David - Obeo
    Need professional services for Sirius?
    http://www.obeodesigner.com/sirius

  • Cannot connect to specific Cube through BI Semantic Model for Power View in SharePoint 2013

    I'm trying to create a connection to an Analysis Services Cube through a BI Semantic Model connection in SharePoint 2013 to create a Power View report. I'm able to connect to other cubes on the same server, and I have SQL Server 2012 SP1 Update 9 installed
    so it's not a versioning issue.
    I've captured a log of two different connection attempts to show this in action. I can't post links, but just send me a message if you need it, just in case there's any interest in it. The first is a successful connection to an alternate cube
    on the same server, and the second is an unsuccessful attempt that produces and error with "Internal error: An unexpected exception occurred.".
    On the SharePoint side, the error is reported as:
    Internal error: An unexpected exception occurred. ---> Microsoft.ReportingServices.DataExtensions.AdomdTestConnectionException: Internal error: An unexpected exception
    occurred.
    This cube was working the previous day, but it has since been edited and it no longer works now but there's no clear reason why. It can still be queried directly through SSMS with MDX queries, and produces no errors.
    Any help is much appreciated,
    Ryan

    Hi Ryan Myers,
    According to your description, when you tried to connect to an Analysis Services Cube in SharePoint 2013 through BI Semantic Model, you get the error message: Internal error: An unexpected exception occurred. But the MDX queries works fine in SSMS.
    It's hard to give you the exact reason that cause this issue based on the limited information, please validate if the connection string is correct. Besides, we can troubleshoot this issue by using the Windows Event logs and msmdsrv.log.
    We can access Windows Event logs via "Administrative Tools" --> "Event Viewer".  SSAS error messages will appear in the application log.
    The msmdsrv.log file for the SSAS instance that can be found in \log folder of the instance. (C:\Program Files\Microsoft SQL Server\MSAS11.MSSQLSERVER\OLAP\Log)
    Reference:
    Data collection for troubleshooting Analysis Services issues
    Data Connection For a Power View Report
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu
    If you have any feedback on our support, please click
    here.

  • Not able to create New BI Semantic Model Connection

    Hi,
    I am facing some issues in creating BI Semantic Model connection,It says below Error.
    <contenttemplate>
    There were errors found while validating the page:
    Cannot connect to the server or database.
    Please help me to fix these Error.
    </contenttemplate>

    Hi,
    Now i am able to configure the BISM successfully but if i try to open the Create POWER view report i am getting these Error Message.
    Error Message:-
    <detail><ErrorCode xmlns="http://www.microsoft.com/sql/reportingservices">rsCannotRetrieveModel</ErrorCode><HttpStatus xmlns="http://www.microsoft.com/sql/reportingservices">400</HttpStatus><Message xmlns="http://www.microsoft.com/sql/reportingservices">An
    error occurred while loading the model for the item or data source 'http://cmfabduappd1vm5/sites/two/alnahari/PowerPivot%20Gallery/Sharepoint_MGEC.bism'. Verify that the connection information is correct and that you have permissions to access the data source.</Message><HelpLink
    xmlns="http://www.microsoft.com/sql/reportingservices">http://go.microsoft.com/fwlink/?LinkId=20476&amp;EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&amp;EvtID=rsCannotRetrieveModel&amp;ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&amp;ProdVer=11.0.3000.0</HelpLink><ProductName
    xmlns="http://www.microsoft.com/sql/reportingservices">Microsoft SQL Server Reporting Services</ProductName><ProductVersion xmlns="http://www.microsoft.com/sql/reportingservices">11.0.3000.0</ProductVersion><ProductLocaleId xmlns="http://www.microsoft.com/sql/reportingservices">127</ProductLocaleId><OperatingSystem
    xmlns="http://www.microsoft.com/sql/reportingservices">OsIndependent</OperatingSystem><CountryLocaleId xmlns="http://www.microsoft.com/sql/reportingservices">1033</CountryLocaleId><MoreInformation xmlns="http://www.microsoft.com/sql/reportingservices"><Source>ReportingServicesLibrary</Source><Message
    msrs:ErrorCode="rsCannotRetrieveModel" msrs:HelpLink="http://go.microsoft.com/fwlink/?LinkId=20476&amp;EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&amp;EvtID=rsCannotRetrieveModel&amp;ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&amp;ProdVer=11.0.3000.0"
    xmlns:msrs="http://www.microsoft.com/sql/reportingservices">An error occurred while loading the model for the item or data source 'http://cmfabduappd1vm5/sites/two/alnahari/PowerPivot%20Gallery/Sharepoint_MGEC.bism'. Verify that the connection information
    is correct and that you have permissions to access the data source.</Message><MoreInformation><Source>Microsoft.ReportingServices.DataExtensions</Source><Message>The metadata discovery operation DISCOVER_CSDL_METADATA returned
    invalid content. Verify that the connection string and permissions are correct.</Message></MoreInformation></MoreInformation><Warnings xmlns="http://www.microsoft.com/sql/reportingservices" /></detail>

  • Maximum model size of 32k reached

    Hi
    I've reached the maximum model size of 32k.
    The problem is that the dashboard I'm creating is still only a fifth of what the final solution will be.
    So now I'm trying to think of ways to split the model into five models. And hopefully still maintain communication between the models.
    Anyone have any ideas?
    My thoughts this far is to have a "main" model that implements four other models through the "HTML view".
    The best solution would be to implement the other models as external IViews but I don't know if it's possible.
    BR
    //Robin

    Hi Michael
    I think I'm not explaining my problem properly
    I have created my model in the way that you described it. But it's just One model. And it's growing too big. Compilation is taking too much time and I sometimes get the 32k error message.
    What I would like to do is to split the model into several models. Ex: 1 model with navigation and 1 model for each view. But I dont know how to do this.
    I know that I could have 2 models in separate IViews in a portal page that could communicate through events. But I don't know how to put 2 IViews on top of each other and toggle between them.
    What I hope will be implemented in VC is the ability to create an IView that links directly to another precompiled model.
    BR
    /Robin

  • How to find the Model size in Semantics

    Hi All,
    Please can you tell me how to find the model size in Semantics.
    Thanks,
    Indu

    Hi,
    Instead of looking up the ID for the Entailment in DB_VIEWS you can better use MDSYS.SEM_NETWORK_INDEX_INFO
    For example:
    select name, type, id from MDSYS.SEM_NETWORK_INDEX_INFO;
    NAME TYPE ID
    MYMODEL MODEL 60
    MYMODEL_INF ENTAILMENT 69
    *** Space about the B-tree indexes on models and entailments ***
    Indexes created in RDF_LINK$ for a specific model:
    SQL> select name, type, id, index_name from MDSYS.SEM_NETWORK_INDEX_INFO;
    NAME TYPE ID INDEX_NAME
    MYMODEL MODEL 60 RDF_LNK_PCSGM_IDX
    FAMILY100 MODEL 59 RDF_LNK_PSCGM_IDX
    FAMILY100 MODEL 59 RDF_LNK_PCSGM_IDX
    FAMILY2 MODEL 56 RDF_LNK_PCSGM_IDX
    FAMILY2 MODEL 56 RDF_LNK_PSCGM_IDX
    FAMILY MODEL 57 RDF_LNK_PCSGM_IDX
    FAMILY MODEL 57 RDF_LNK_PSCGM_IDX
    OTHERMODEL MODEL 58 RDF_LNK_PSCGM_IDX
    OTHERMODEL MODEL 58 RDF_LNK_PCSGM_IDX
    0 NETWORK 0 RDF_LNK_PCSGM_IDX
    0 NETWORK 0 RDF_LNK_PSCGM_IDX
    MYMODEL_INF ENTAILMENT 69 RDF_LNK_PCSGM_IDX
    MYMODEL_INF ENTAILMENT 69 RDF_LNK_PSCGM_IDX
    Then get the size from DBA_SEGMENTS
    select bytes/1024/1024 MB, partition_name from dba_segments where segment_name in ('RDF_LNK_PSCGM_IDX','RDF_LNK_PCSGM_IDX');
    Specifically for our model 60 and Entailment 69:
    select bytes/1024/1024 MB, partition_name from dba_segments where segment_name in ('RDF_LNK_PSCGM_IDX','RDF_LNK_PCSGM_IDX') and partition_name in ('MODEL_60','MODEL_69');
    MB PARTITION_NAME
    192 MODEL_60
    192 MODEL_60
    60.0625 MODEL_69
    62.375 MODEL_69
    You would add them all for the size of the indexes

  • Are SSAS 2012 BI Tabular Semantic Models supported as data source for Cognos 10?

    Hello,
    As the title states, I need to have an official answer and if possible a URL  stating the same. We're implementing  a Tabular Semantic Model with SQL Server 2012 SP1 and SharePoint 2013 SP1 and since Power View doesn't support iOS (primarily managers
    consuming reports & dashboards with their iPads) at least not on-premises just yet, I understand that's fully supported in Office 365 with Power BI, unless this has changed lately, we're forced to find out alternative solutions and since
    our customer has Cognos 10 already deployed, it's critical to know whether it provides some level of support or if there's any  workaround to support iOS with the current deployment perhaps?
    Thanks in advance for the help.
    PS: I'm posting this question on Cognos' forums as well.
    Marcelo Estrada MCP-MCTS-MCITP-MCSA-MCSE

    Thanks Simon,
    Unfortunately having access to SSRS alone isn't good enough, our customer absolutely loves Power View but the fact that isn't supported for iOS is a huge drawback. I've seen this requirement in Microsoft Connect several times drawing a lot of attention,
    and now it appears closed, any chance you know what's the current status?
    https://connect.microsoft.com/SQLServer/feedback/details/738938/power-view-without-silverlight
    Furthermore, there's this article as well that points out Power View in HTML5, just wondering whether it might be available for on-premises, perhaps through an update any time soon? Please this is critical.
    https://support.office.microsoft.com/en-gb/article/Power-View-in-HTML5-c71dc902-2a2c-482e-b5a5-e9c884650a26?CorrelationId=c6913a00-3470-4eee-bc9d-a5b094e8afcf&ui=en-US&rs=en-GB&ad=GB
    Thanks again, looking forward to hearing from you soon,
    Marcelo Estrada MCP-MCTS-MCITP-MCSA-MCSE

  • Microsoft BI Semantic Model for Power View is missing in data source

    Microsoft BI Semantic Model for Power View is missing in data source type drop down when cretaing a rsds data source for powerview in sharepoint 2013

    Hi Sanjay,
    I resolved the issue.Follow the steps
    1)Go to Central Admin->System Settings->Manage Farm Solutions (Under Farm Management)
    2)Check if "powerpivotwebapplicationsolution.wsp" is there and is deployed for the webapplication under which you are creating report by verifying
    Deployed to:,if not then deploy that for your web application.
    Please Mark it as answer if this reply helps you in resolving the issue,It will help other users facing similar problem

  • 3D Model Size

    Hi,
    With this script i want to find out the size of 3d model. But it does not work correctly: some models has the same size like in 3d program, other has a diferent size. Specialy by models with more than 1 mesh is the size calculation not corect. What is wrong on my script?
      myworld = member("3dmember")
      myworld.model (1).addModifier(#meshdeform)
    myvertexlist = (myworld.model[1].meshdeform.mesh[1].vertexlist)
      maxmin = [myvertexlist.max().x,myvertexlist.min().x,myvertexlist.max().y,myvertexlist.min().y,myve rtexlist.max().z,myvertexlist.min().z]
        repeat with n = 1 to myworld.model[1].meshdeform.mesh.count
        Nvertexlist = (myworld.model[1].meshdeform.mesh[n].vertexlist)
        if Nvertexlist.max().x > getAt(maxmin, 1) then
          setAt maxmin, 1, Nvertexlist.max().x
        end if
        if Nvertexlist.min().x < getAt(maxmin, 2) then
          setAt maxmin, 2, Nvertexlist.min().x
        end if
        if Nvertexlist.max().y > getAt(maxmin, 3) then
          setAt maxmin, 3, Nvertexlist.max().y
        end if
        if Nvertexlist.min().y < getAt(maxmin, 4) then
          setAt maxmin, 4, Nvertexlist.min().y
        end if
        if Nvertexlist.max().z > getAt(maxmin, 5) then
          setAt maxmin, 5, Nvertexlist.max().z
        end if
        if Nvertexlist.min().z < getAt(maxmin, 6) then
          setAt maxmin, 6, Nvertexlist.min().z
        end if
      end repeat
      SizeX = getat (maxmin, 1) - getat (maxmin, 2)
      SizeY = getat (maxmin, 3) - getat (maxmin, 4)
      SizeZ = getat (maxmin, 5) - getat (maxmin, 6)
      put SizeX * 2.54
      put SizeY * 2.54
      put SizeZ * 2.54
    Thanks for any ideas.

    even-1 wrote:
    Imagine scenario: you import wrong scaled model into 3d world, you know the real sizes(height, width, length) of the model. Which scale factor you need to correct the model size?
    I never had to deal with that scenario in the past 10 years.
    Simply because I own the sources of the 3D models.
    A W3D file is not a source file and Director Shockwave is not a 3D modeler.
    cheers

  • Problem with model size in Visual Composer

    Hello madam/sir,
    We are using ECC 5.0 and VC 700.8.0.1. We got error message during
    deployment "Error in compiling Flex application. Branch between 19217
    and 228774 around line 0 exceeds 32K". When we delete several blocks in
    the model, it works good. So tried to delete different blocks so we
    think that the problem is not with specific block but with model size.
    Our model is in one iView. We cannot use additional nested
    iViews because we have HTML View blocks that cannot be in
    nested iView (according to VC documentation). Is there any solution for
    this error? What does it mean?
    Best Regards,
    Sergey Kozyrev

    I agree with Ashutosh, you have to remodeling your model. You can also try to restart VC and deploy your model again, this might also help sometimes (I had sometimes the issue, that I removed any components and then I get the 32K error, after restarting the error disappeared).
    You can also check if you have any global entry list, which you do not use in your model, this also could help to reduce you model size.
    Best Regards,
    Marcel

  • How does the SSAS storage mode (MOLAP/ROLAP/HOLAP) fits into the BI Semantic Model?

    Hi there,
    I've been reading some posts and whitepapers about the BI Semantic Model (BISM) but there is something that is a bit unclear to me.
    If we imagine Venn diagrams, how does the concept of BISM fits along the storage modes, such as MOLAP, HOLAP and ROLAP? How does these two concepts work together?
    Are they completely independent from the other, or do they overlap somehow? Can I have 
    Regards,
    P.

    BISM is just a marketing term referring to any type of Analysis Services model. What is more important is Multidimensional models can have three storage modes: MOLAP, ROLAP, or HOLAP. Tabular models can have two storage modes: In-Memory or DirectQuery.
    http://artisconsulting.com/Blogs/GregGalloway

  • SDO_RDF_MATCH() Query Performace on 10g - ontology model size-5000 triples

    Hi,
    We are observing severe degradation in the performance of the queries as their size increases? In this context, I want to know if the performance of the query is dependent on the query pattern size? For example, a query with 25 triples in the query pattern is taking nearly 10 secs, to retrieve results from a ontology of size 5000 triples. (no rule bases attached, no inferencing).
    Does using query API in Jena Adapter (instead of using sdo_rdf_match() directly) help improve the performance? Also, can u suggest any tuning on the ontology model for speeding up the query execution?
    Thanks,
    Rajesh.
    Edited by: rajesh narni on Oct 8, 2009 4:29 AM

    Please see my comments in the following post.
    Failing to execute large queries --> 11.1.0.7.0
    Cheers,
    Zhe Wu

  • Model size limit

    Hi,
    Is there any size limit for models to be deployed. I am currently working in BI sources with flex 2 compiler in VC 7.00 SP 15 . Compilation of one of the model is successfull buy deployment hangs at 85% .. Is there any space limitation with models ?? where can i check the deployment space consumed ?? ..what can be the reason for this
    Thanks
    Prashant

    Hi I got the following server log file which tells
    "Didn't find value to DLGFIND"
    "Didn't find value to HISTPORTALURL"
    "Didn't find value to HISTLOGINSERVER"
    Below is the part of log file . What does it mean .. any one having idea
    <!LOGHEADER[START]/>
    <!HELP[Manual modification of the header may cause parsing problem!]/>
    <!LOGGINGVERSION[1.5.3.7185 - 630]/>
    <!NAME[./log/vcserver/vc.log]/>
    <!PATTERN[vc.log]/>
    <!FORMATTER[com.sap.tc.logging.ListFormatter]/>
    <!ENCODING[UTF8]/>
    <!FILESET[0, 10, 10485760]/>
    <!PREVIOUSFILE[vc.9.log]/>
    <!NEXTFILE[vc.1.log]/>
    <!LOGHEADER[END]/>
    #1.5 #001A4B064A70007800000041000015F600045100F253AE36#1214964414262#/System/Server/VCServer#sap.com/VisualComposerServerEar04#com.sap.portal.vc.server#ANUJ#139##n/a##8878f02047db11ddcdf1001a4b064a70#SAPEngine_Application_Thread[impl:3]_26##0#0#Debug#1#com.sap.portal.vc.server#Plain###VC04 Server: studio.ini didn't find value to DLGFIND#
    #1.5 #001A4B064A70007800000043000015F600045100F253B17D#1214964414262#/System/Server/VCServer#sap.com/VisualComposerServerEar04#com.sap.portal.vc.server#ANUJ#139##n/a##8878f02047db11ddcdf1001a4b064a70#SAPEngine_Application_Thread[impl:3]_26##0#0#Debug#1#com.sap.portal.vc.server#Plain###VC04 Server: studio.ini didn't find value to HISTPORTALURL#
    #1.5 #001A4B064A70007800000045000015F600045100F253B2D5#1214964414263#/System/Server/VCServer#sap.com/VisualComposerServerEar04#com.sap.portal.vc.server#ANUJ#139##n/a##8878f02047db11ddcdf1001a4b064a70#SAPEngine_Application_Thread[impl:3]_26##0#0#Debug#1#com.sap.portal.vc.server#Plain###VC04 Server: studio.ini didn't find value to HISTLOGINSERVER#
    #1.5 #001A4B064A70007800000047000015F600045100F253B412#1214964414263#/System/Server/VCServer#sap.com/VisualComposerServerEar04#com.sap.portal.vc.server#ANUJ#139##n/a##8878f02047db11ddcdf1001a4b064a70#SAPEngine_Application_Thread[impl:3]_26##0#0#Debug#1#com.sap.portal.vc.server#Plain###VC04 Server: studio.ini didn't find value to HISTFILESEARCH#
    #1.5 #001A4B064A70007800000049000015F600045100F253B563#1214964414263#/System/Server/VCServer#sap.com/VisualComposerServerEar04#com.sap.portal.vc.server#ANUJ#139##n/a##8878f02047db11ddcdf1001a4b064a70#SAPEngine_Application_Thread[impl:3]_26##0#0#Debug#1#com.sap.portal.vc.server#Plain###VC04 Server: studio.ini didn't find value to STBLASTSESSION#
    #1.5 #001A4B064A7000780000004B000015F600045100F253B69C#1214964414264#/System/Server/VCServer#sap.com/VisualComposerServerEar04#com.sap.portal.vc.server#ANUJ#139##n/a##8878f02047db11ddcdf1001a4b064a70#SAPEngine_Application_Thread[impl:3]_26##0#0#Debug#1#com.sap.portal.vc.server#Plain###VC04 Server: studio.ini didn't find value to STBLOGINDEV#
    #1.5 #001A4B064A7000780000004D000015F600045100F253B7C6#1214964414264#/System/Server/VCServer#sap.com/VisualComposerServerEar04#com.sap.portal.vc.server#ANUJ#139##n/a##8878f02047db11ddcdf1001a4b064a70#SAPEngine_Application_Thread[impl:3]_26##0#0#Debug#1#com.sap.portal.vc.server#Plain###VC04 Server: studio.ini didn't find value to STBLOGINPWD#
    #1.5 #001A4B064A70006F0000002E000015F600045100F2774AC7#1214964416595#/System/Server/VCServer#sap.com/VisualComposerServerEar04#com.sap.portal.vc.server#ANUJ#139##n/a##8c2640b047db11dd8624001a4b064a70#SAPEngine_Application_Thread[impl:3]_29##0#0#Debug#1#com.sap.portal.vc.server#Plain###VC04 Server: LoginSession path is Public/PerformanceManagementDashboard/Mgmt_cockpit_final.mdl readOnly is Public/PerformanceManagementDashboard/Mgmt_cockpit_final.mdl#

  • Dropping a semantic model

    We use a third-party tool (TopBraid) for creating semantic data models in our Oracle 11.1.0.7.0 database (we will be upgrading to 11.2 soon). As such, aside from the set-up of the Semantic support in our database, most of the interaction with the database is abstracted from us. A few months ago, I consulted some of the documentation for how to completely eliminate all remnants of a model from the database. I thought I was successful at the time, but I noticed that it appears that I'm not truly removing everything. Because of this, our database, particularly in our development environment, has become cluttered with tables and references to models that we don't want anymore. I'm concerned this could lead to other issues. I don't think there will be much use to me telling you what our current procedure for deleting these models. I can't find any straight answers for this in any of the documentation, so I'm hoping someone can outline it for me:
    Given that I only have a model name (for example, 'TESTMODEL'), what are all the steps I need to do to completely eradicate it from the database? Ideally, I'd like to be able to get it back to a state where I can re-use the model name if I wanted, although I have no plans to do that. I understand there may be additional requirements that our third-party tool is placing on it, but I'd like to know the requirements from the Oracle perspective so I can determine if they are doing anything extra.
    Thanks!
    Edited by: 954858 on Jan 9, 2013 11:47 AM

    I should note that I put TESTMODEL in there as an example; I've been trying this on a few different models we have in our database.
    I attempted a call to SEM_APIS.CREATE_SEM_MODEL on a model I had called DROP_SEM_MODEL on, but had not yet dropped the TPL and NS tables for, and it failed (ADAMSPEEDTEST2 is the name of the model):
    ERROR at line 1:
    ORA-55318: column TRIPLE in table ADAMSPEEDTEST2_TPL already contains data
    ORA-06512: at "MDSYS.MD", line 1723
    ORA-06512: at "MDSYS.MDERR", line 27
    ORA-06512: at "MDSYS.SDO_RDF", line 985
    ORA-06512: at "MDSYS.SDO_RDF", line 1023
    ORA-06512: at "MDSYS.RDF_APIS", line 749
    ORA-06512: at line 1
    Thinking I could get around this by dropping the data from the _TPL table manually, that failed as well:
    ERROR at line 1:
    ORA-01403: no data found
    ORA-06512: at "MDSYS.RDF_APIS_INTERNAL", line 1715
    ORA-06512: at "MDSYS.ADAMSPEEDTEST2_DML", line 3
    ORA-04088: error during execution of trigger 'MDSYS.ADAMSPEEDTEST2_DML'
    I would attempt to drop the tables manually and start from scratch, but part of the issue is that we don't create models that way in practice; all of our models are (I assume) created through the Oracle Jena adapter via TopBraid, so I would have no idea of how to recreate them in the same manner. Our current methods of creating new models are not currently working in this environment (the write to Oracle step is hanging; attempting to debug why with our DBA has not turned up any answers). Any other tests I can do, or things I can the DBA look for would be helpful.
    Thanks!

  • SSRS 2008 R2 (Semantic Model Query Language) to T-SQL

    Hello,
    Is there any way to convert the SMQL to SQL?
    Thanks,
    Andrei
    SSIS question

    Hi Andrei,
    Based on my research, I haven't found one direct way to convert semantic query to T-SQL query. But we can get the T-SQL query from Report Server Service Trace Log to work around this issue. If we want to view the Transact-SQL statements that are generated
    for each semantic query, we can set "SemanticQueryEngine:4" as the Components property value. The Transact-SQL statements are recorded in the trace log.
    The following example illustrates the configuration setting that adds Transact-SQL statements to the log:
    <add name="Components" value="all,SemanticQueryEngine:4" />
    For more details about the Report Server Service Trace Log, please refer to the following article:
    http://msdn.microsoft.com/en-IN/library/ms156500(v=sql.105).aspx
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

Maybe you are looking for