Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
142d42f9
Commit
142d42f9
authored
Sep 26, 1997
by
Vadim B. Mikheev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Scripts to run queries and data.
parent
dbde5cae
Changes
10
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
16451 additions
and
0 deletions
+16451
-0
src/test/performance/sqls/connection
src/test/performance/sqls/connection
+2
-0
src/test/performance/sqls/crtsimple
src/test/performance/sqls/crtsimple
+5
-0
src/test/performance/sqls/crtsimpleidx
src/test/performance/sqls/crtsimpleidx
+5
-0
src/test/performance/sqls/drpsimple
src/test/performance/sqls/drpsimple
+5
-0
src/test/performance/sqls/inssimple
src/test/performance/sqls/inssimple
+29
-0
src/test/performance/sqls/inssimple.data
src/test/performance/sqls/inssimple.data
+8192
-0
src/test/performance/sqls/orbsimple
src/test/performance/sqls/orbsimple
+2
-0
src/test/performance/sqls/slcsimple
src/test/performance/sqls/slcsimple
+14
-0
src/test/performance/sqls/slcsimple.data
src/test/performance/sqls/slcsimple.data
+8192
-0
src/test/performance/sqls/vacuum
src/test/performance/sqls/vacuum
+5
-0
No files found.
src/test/performance/sqls/connection
0 → 100644
View file @
142d42f9
`echo "" | time $FrontEnd`;
src/test/performance/sqls/crtsimple
0 → 100644
View file @
142d42f9
if ( $TestDBMS =~ /^pgsql/ )
{
`echo "CREATE TABLE simple (justint int);" | time $FrontEnd`;
}
src/test/performance/sqls/crtsimpleidx
0 → 100644
View file @
142d42f9
if ( $TestDBMS =~ /^pgsql/ )
{
`echo "CREATE INDEX simpleidx ON simple (justint);" | time $FrontEnd`;
}
src/test/performance/sqls/drpsimple
0 → 100644
View file @
142d42f9
if ( $TestDBMS =~ /^pgsql/ )
{
`echo "DROP TABLE simple;" | time $FrontEnd`;
}
src/test/performance/sqls/inssimple
0 → 100644
View file @
142d42f9
#
# Transactions are unsupported by MySQL - so for insertion of
# 8192 rows, 1 INSERT per Xaction, we returned "Transactions unsupported"
#
if ( $TestDBMS =~ /^mysql/ && $XACTBLOCK eq '' )
{
print STDERR " No_Xact\n";
return;
}
`> .sqlf`; # clean file
#
# PgSQL specific: if all queries from inssimple.data must be executed in
# single xaction ($XACTBLOCK ne '') then add BEGIN/END arround queries
#
`echo "BEGIN;" >> .sqlf` if ( $TestDBMS =~ /^pgsql/ && $XACTBLOCK ne '' );
`cat sqls/inssimple.data >> .sqlf`;
# PgSQL (see above)
`echo "END;" >> .sqlf` if ( $TestDBMS =~ /^pgsql/ && $XACTBLOCK ne '' );
# Ok - run queries
`time $FrontEnd < .sqlf`;
src/test/performance/sqls/inssimple.data
0 → 100644
View file @
142d42f9
This diff is collapsed.
Click to expand it.
src/test/performance/sqls/orbsimple
0 → 100644
View file @
142d42f9
`echo "SELECT * FROM simple ORDER BY justint;" | time $FrontEnd`;
src/test/performance/sqls/slcsimple
0 → 100644
View file @
142d42f9
`> .sqlf`;
# PgSQL specific to execute all queries in single xaction
`echo "BEGIN;" >> .sqlf` if ( $TestDBMS =~ /^pgsql/ && $XACTBLOCK ne '' );
`cat sqls/slcsimple.data >> .sqlf`;
`echo "END;" >> .sqlf` if ( $TestDBMS =~ /^pgsql/ && $XACTBLOCK ne '' );
# Run queries
`time $FrontEnd < .sqlf`;
src/test/performance/sqls/slcsimple.data
0 → 100644
View file @
142d42f9
This diff is collapsed.
Click to expand it.
src/test/performance/sqls/vacuum
0 → 100644
View file @
142d42f9
if ( $TestDBMS =~ /^pgsql/ )
{
`time $FrontEnd -c 'vacuum'`;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment