dbTalk Databases Forums  

Re: OLEDB provider requirements for AS data source?

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss Re: OLEDB provider requirements for AS data source? in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Jon Jahren
 
Posts: n/a

Default Re: OLEDB provider requirements for AS data source? - 08-08-2003 , 03:10 AM






Philip,
When AS 2000 says it "supports" SQL Server, Access & Oracle, it means it
will understand the constraints, data types and relational logic in these
OLE DB data sources. It detects that the data source is one of these and
issues queries that are specific to the data source. This support is tested
and tuned specifically against these datasources. We can also use any ODBC
source (using a system DSN) through the OLE DB for ODBC provider, but with
lesser luck using the AS wizards and no chance of doing writebacks or other
cool stuff. Another option in your type of scenario would be to build a
driver which complies with the OLAP section of the OLE DB 2.6 spec, which
then can be used as a data source for a linked cube in AS.

Jon Jahren

"Phillip Ratzloff" <phil.ratzloff (AT) sas (DOT) com> wrote

Quote:
I am writing an OLEDB Provider to be used as a data source for AS. I
have used the ATL OLEDB Provider templates to get me started. I've
made a start by writing a simple SQL parser and can return a rowset to
a client (written in .Net).

The next step is to have AS use my provider. When I try to do that AS
gives me an error related to missing properties. I've started adding
the properties and am working through this, but it would be nice to
know what AS needs in terms of interface and property requirements.
Is there any document that defines the requirements for a provider?
(all I've found is that it supports SQL Server, Access & Oracle).

Why am I doing this? We have a component that generates the fact
table and writes the results to SQL Server. The largest time during
this process is writing to SQL Server. The theory is that by putting
an OLEDB interface on the component and having AS call it directly
(bypassing SQL Server) things will go much faster.




Reply With Quote
  #2  
Old   
Phillip Ratzloff
 
Posts: n/a

Default Re: OLEDB provider requirements for AS data source? - 08-08-2003 , 03:46 PM






On Fri, 8 Aug 2003 09:10:20 +0200, "Jon Jahren"
<nospam_jon (AT) softscenario (DOT) no> wrote:

Writing to the OLEDB 2.6 spec is means that I would need to support
inserting and updating of the data source, which I don't believe is a
requirement for AS. My goal is just to provide a minimal provider
that will supply AS with the data it needs. There will not be any
other consumer of this component.

I've run into two properties that were not supplied by the provider
templates: DBPROP_CURRENTCATALOG and DBPROP_SESS_AUTOCOMMITISOLEVELS.
AS was nice enough to return an error when these weren't supported by
my provider, but then I'm afraid of the cases where it returns a
general error that doesn't give me enough clues as to what's wrong.

I've spent some time to find a document titled "OLE DB Leveling:
Choosing the Right Interfaces", which identifies different levels of
conformance (e.g. interface support on each of the provider objects).
I'd hoped this might give me some clues as to additional functionality
I need to implement, but it doesn't appear to be available any more.

Quote:
Philip,
When AS 2000 says it "supports" SQL Server, Access & Oracle, it means it
will understand the constraints, data types and relational logic in these
OLE DB data sources. It detects that the data source is one of these and
issues queries that are specific to the data source. This support is tested
and tuned specifically against these datasources. We can also use any ODBC
source (using a system DSN) through the OLE DB for ODBC provider, but with
lesser luck using the AS wizards and no chance of doing writebacks or other
cool stuff. Another option in your type of scenario would be to build a
driver which complies with the OLAP section of the OLE DB 2.6 spec, which
then can be used as a data source for a linked cube in AS.

Jon Jahren

"Phillip Ratzloff" <phil.ratzloff (AT) sas (DOT) com> wrote in message
news:b6n5jv4068tm416ne0jhn7le1vopn79685 (AT) 4ax (DOT) com...
I am writing an OLEDB Provider to be used as a data source for AS. I
have used the ATL OLEDB Provider templates to get me started. I've
made a start by writing a simple SQL parser and can return a rowset to
a client (written in .Net).

The next step is to have AS use my provider. When I try to do that AS
gives me an error related to missing properties. I've started adding
the properties and am working through this, but it would be nice to
know what AS needs in terms of interface and property requirements.
Is there any document that defines the requirements for a provider?
(all I've found is that it supports SQL Server, Access & Oracle).

Why am I doing this? We have a component that generates the fact
table and writes the results to SQL Server. The largest time during
this process is writing to SQL Server. The theory is that by putting
an OLEDB interface on the component and having AS call it directly
(bypassing SQL Server) things will go much faster.




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.