Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
3 replies
Subscribers
6 subscribers
Views
1844 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Integrations
Can query rules, data stores, and the other Appian out of the box supported data
jorgea272
over 12 years ago
Can query rules, data stores, and the other Appian out of the box supported database features use an Oracle data source that has its transaction isolation set to TRANSACTION_SERIALIZABLE?
Is the out of the box database functionality limited to the defaulted transaction isolation value of TRANSACTION_READ_COMMITTED? #database #oracle ...
OriginalPostID-61747
OriginalPostID-61747
Discussion posts and replies are publicly visible
Parents
0
Brett Shomaker
Appian Employee
over 12 years ago
Hi Jorge, Can you give me some more information about what you're trying to achieve? Are you talking about the primary data source or a business data source?
We certify the database support with the TRANSACTION_READ_COMMITTED transaction isolation level as given in the documentation (
forum.appian.com/.../Configuring_Relational_Databases)
for a couple of reasons.
First, Oracle creates tables with an INITRANS setting of 1 by default, which causes an error (ORA-08177) when creating the schema from a Data Store using a connection with a transaction isolation setting of SERIALIZABLE because an INITRANS setting of 3 is required for that transaction isolation level. Even if you worked around that by creating your schemas manually with INITRANS of 3 and then just verifying them via the Data Store interface, you'd run into the second issue.
The second issue is that in our testing we found that having a transaction isolation setting of SERIALIZABLE did not perform well with multiple concurrent reads and writes to the same table. It ended up in a high number of deadlocks. This problem was not specific to Oracle. We saw it with the other supported database vendors as well.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Brett Shomaker
Appian Employee
over 12 years ago
Hi Jorge, Can you give me some more information about what you're trying to achieve? Are you talking about the primary data source or a business data source?
We certify the database support with the TRANSACTION_READ_COMMITTED transaction isolation level as given in the documentation (
forum.appian.com/.../Configuring_Relational_Databases)
for a couple of reasons.
First, Oracle creates tables with an INITRANS setting of 1 by default, which causes an error (ORA-08177) when creating the schema from a Data Store using a connection with a transaction isolation setting of SERIALIZABLE because an INITRANS setting of 3 is required for that transaction isolation level. Even if you worked around that by creating your schemas manually with INITRANS of 3 and then just verifying them via the Data Store interface, you'd run into the second issue.
The second issue is that in our testing we found that having a transaction isolation setting of SERIALIZABLE did not perform well with multiple concurrent reads and writes to the same table. It ended up in a high number of deadlocks. This problem was not specific to Oracle. We saw it with the other supported database vendors as well.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data